diff options
-rw-r--r-- | community/tinyssh/APKBUILD | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/community/tinyssh/APKBUILD b/community/tinyssh/APKBUILD index d0041e30e4..1cc0fa221b 100644 --- a/community/tinyssh/APKBUILD +++ b/community/tinyssh/APKBUILD @@ -1,13 +1,14 @@ # Contributor: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=tinyssh -pkgver=20160812 +pkgver=20161101 pkgrel=0 pkgdesc="Small SSH server using NaCl / TweetNaCl (no dependency on OpenSSL)" url="http://tinyssh.org/" arch="all" license="CC0 1.0" makedepends="libsodium-dev" +options="!check" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/janmojzis/$pkgname/archive/$pkgver.tar.gz $pkgname.initd @@ -20,18 +21,18 @@ build() { export LIBS="-lsodium" export CFLAGS="$CFLAGS -I/usr/include/sodium" export LDFLAGS="-L/usr/lib" - make || return 1 + make } package() { cd "$builddir" - make install DESTDIR="${pkgdir}" || return 1 + make install DESTDIR="${pkgdir}" mkdir -p "$pkgdir"/etc/$pkgname install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/tinysshd || return 1 + "$pkgdir"/etc/init.d/tinysshd install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/tinysshd || return 1 + "$pkgdir"/etc/conf.d/tinysshd # post-install message mkdir -p "$pkgdir/usr/share/doc/$pkgname" @@ -51,12 +52,6 @@ Stealth SSH with FWKNOP: https://it-offshore.co.uk/security/53-stealth-your-ssh- EOF } -md5sums="c757f3d01d883d9be7e0750450b66455 tinyssh-20160812.tar.gz -78ec724804035bae29e1c47abec737d8 tinyssh.initd -83e705f0f71db5ae0d8530edafa63497 tinyssh.confd" -sha256sums="89b407548cee0e98bf90a0bf43d5e70ac380f9ba02966a3eecce6c98d075b369 tinyssh-20160812.tar.gz -b3584c463f6ba0de6a5fe2e28fb98cd8ef65a55f17a0f4c877f61f54019ef34c tinyssh.initd -c6c67395e7230d75077734f0b08d5f8c76f11aaef27878b013b7bd68dd7ba774 tinyssh.confd" -sha512sums="54817e7e0da778eb4e404e165caff321ef3c8b13f1e1840c9fad1e8f6f64fee086019f4222199bf2b47e19754913400bb719443a944c612e987e3d3fdae14147 tinyssh-20160812.tar.gz +sha512sums="684aac5bf8f8713582bc4a0459680f7b9f32ea6bfa7896c2e48b8431ff5e1f4cf067d055986ecfa988edd32cea13694c1621a86d0b9652fce45954284cf1eafd tinyssh-20161101.tar.gz d10f995c6687e706453e51d06b3466427d476036efdbd86db2f9330281e46049bf2e3698208524b3f70cdbd30373f5bf46c7164dd626d22b3fa9a75ca5d8d478 tinyssh.initd 4513bd0d43ef0825fbd77365a8a7adefcd99211102df76003becf7e3a09a47ad9bbd16a68c3fadfb7868e0562f8d42a26106b7582cb70490a7e52a7d1e6110e9 tinyssh.confd" |