aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2018-03-21 09:58:36 +0000
committerSören Tempel <soeren+git@soeren-tempel.net>2018-03-24 13:05:43 +0100
commit898f14cff434994862efc06174dbae4f311e64d9 (patch)
tree2036bf774d941cb09737fdbd3ddc62fb8a91fa64
parenta8f721b3404da43c439cd8940b69b59d4b00c274 (diff)
downloadaports-898f14cff434994862efc06174dbae4f311e64d9.tar.gz
aports-898f14cff434994862efc06174dbae4f311e64d9.tar.bz2
aports-898f14cff434994862efc06174dbae4f311e64d9.tar.xz
community/autossh: upgrade to 1.4f
Also modernize the APKBUILD while being here.
-rw-r--r--community/autossh/APKBUILD30
1 files changed, 13 insertions, 17 deletions
diff --git a/community/autossh/APKBUILD b/community/autossh/APKBUILD
index f382e6c9d9..0ff521afaf 100644
--- a/community/autossh/APKBUILD
+++ b/community/autossh/APKBUILD
@@ -1,14 +1,15 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=autossh
-pkgver=1.4e
-pkgrel=1
+pkgver=1.4f
+pkgrel=0
pkgdesc="Automatically restart SSH sessions and tunnels"
url="http://www.harding.motd.ca/autossh/"
arch="all"
license="BSD"
depends="openssh-client"
makedepends=""
+options="!check" # no unit tests available
subpackages="$pkgname-doc"
source="http://www.harding.motd.ca/autossh/autossh-$pkgver.tgz
README.alpine
@@ -24,32 +25,27 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
cd "$builddir"
install -D -m755 autossh \
- "$pkgdir"/usr/bin/autossh || return 1
+ "$pkgdir"/usr/bin/autossh
install -D -m644 CHANGES \
- "$pkgdir"/usr/share/doc/autossh/CHANGES || return 1
+ "$pkgdir"/usr/share/doc/autossh/CHANGES
install -D -m644 README \
- "$pkgdir"/usr/share/doc/autossh/README || return 1
+ "$pkgdir"/usr/share/doc/autossh/README
install -D -m644 autossh.host \
- "$pkgdir"/usr/share/autossh/examples/autossh.host || return 1
+ "$pkgdir"/usr/share/autossh/examples/autossh.host
install -D -m644 rscreen \
- "$pkgdir"/usr/share/autossh/examples/rscreen || return 1
+ "$pkgdir"/usr/share/autossh/examples/rscreen
install -D -m644 autossh.1 \
- "$pkgdir"/usr/share/man/man1/autossh.1 || return 1
+ "$pkgdir"/usr/share/man/man1/autossh.1
install -Dm644 "$srcdir"/README.alpine \
- "$pkgdir"/usr/share/doc/$pkgname/README.alpine || return 1
+ "$pkgdir"/usr/share/doc/$pkgname/README.alpine
}
-md5sums="f86684b96e99d22b2e9d35dc63b0aa29 autossh-1.4e.tgz
-a3ed8e9fdefac64d1b7f17a52587c0e1 README.alpine"
-sha256sums="9e8e10a59d7619176f4b986e256f776097a364d1be012781ea52e08d04679156 autossh-1.4e.tgz
-f01d7e7ca2f3751875a756f3f2ba5a28cb2703fea21026d7c29a9bfc4a969b79 README.alpine"
-sha512sums="2f71403ee005103c6a3e2e669f6b26153161c95c8dacd3e73d61673461b3512348636877760d911341771e744c0a682b107df4ac48621661ff36a9fc0191f2fb autossh-1.4e.tgz
+sha512sums="a66912a04d1b659802913ec63d7b951fa6265dedf4480f0ad2dfdfb852e1e3029355b9a132bf3fa5b4b67e5ac8dace83b96e837182d8b3f0c2c72ad9188b7b8f autossh-1.4f.tgz
40cf39a391ad7320a07fbe8d4edd17498c92794f330393374406a0dbf4a0415d51e1fe11e6d2d07f399025bf8620b8937abd152c00be0297b30c6c3a876675cb README.alpine"