aboutsummaryrefslogtreecommitdiffstats
path: root/community/autossh/APKBUILD
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-09-03 19:00:47 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-09-11 12:35:48 +0200
commitc84b0e472be76e3d487e8997fdbcbbd5be22f659 (patch)
tree1e9ac4e9a8386420e37fe8e7f27cde71087ca038 /community/autossh/APKBUILD
parenta9f7dfbf8dfaaf3c0ade5cf4e6468657d575eacc (diff)
downloadaports-c84b0e472be76e3d487e8997fdbcbbd5be22f659.tar.bz2
aports-c84b0e472be76e3d487e8997fdbcbbd5be22f659.tar.xz
community/autossh: update README.alpine and improve abuild
Diffstat (limited to 'community/autossh/APKBUILD')
-rw-r--r--community/autossh/APKBUILD27
1 files changed, 8 insertions, 19 deletions
diff --git a/community/autossh/APKBUILD b/community/autossh/APKBUILD
index ef27bd3518..f382e6c9d9 100644
--- a/community/autossh/APKBUILD
+++ b/community/autossh/APKBUILD
@@ -2,32 +2,21 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=autossh
pkgver=1.4e
-pkgrel=0
+pkgrel=1
pkgdesc="Automatically restart SSH sessions and tunnels"
url="http://www.harding.motd.ca/autossh/"
arch="all"
license="BSD"
depends="openssh-client"
-depends_dev=""
-makedepends="$depends_dev"
+makedepends=""
subpackages="$pkgname-doc"
source="http://www.harding.motd.ca/autossh/autossh-$pkgver.tgz
README.alpine
"
-
-_builddir="$srcdir"/autossh-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/autossh-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -41,7 +30,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
install -D -m755 autossh \
"$pkgdir"/usr/bin/autossh || return 1
install -D -m644 CHANGES \
@@ -59,8 +48,8 @@ package() {
}
md5sums="f86684b96e99d22b2e9d35dc63b0aa29 autossh-1.4e.tgz
-fb31542bb76c90a8286fdf8eca402d1e README.alpine"
+a3ed8e9fdefac64d1b7f17a52587c0e1 README.alpine"
sha256sums="9e8e10a59d7619176f4b986e256f776097a364d1be012781ea52e08d04679156 autossh-1.4e.tgz
-7e1a64e013743e94aa9477968d1a9dc9ca71f11b45a0530088d0c03b19f474cb README.alpine"
+f01d7e7ca2f3751875a756f3f2ba5a28cb2703fea21026d7c29a9bfc4a969b79 README.alpine"
sha512sums="2f71403ee005103c6a3e2e669f6b26153161c95c8dacd3e73d61673461b3512348636877760d911341771e744c0a682b107df4ac48621661ff36a9fc0191f2fb autossh-1.4e.tgz
-25ec2d17c5b93d8c3f5b41f1bb2671432e8d29081621fe58ff8de4c20171b7447459272a27264440a947ef5867ed15bbaaea8ea7ec02783956055e0ee8e31128 README.alpine"
+40cf39a391ad7320a07fbe8d4edd17498c92794f330393374406a0dbf4a0415d51e1fe11e6d2d07f399025bf8620b8937abd152c00be0297b30c6c3a876675cb README.alpine"