aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/ssh-getkey-ldap/APKBUILD15
-rw-r--r--testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install2
2 files changed, 6 insertions, 11 deletions
diff --git a/testing/ssh-getkey-ldap/APKBUILD b/testing/ssh-getkey-ldap/APKBUILD
index dcb012f608..5d00dba6ec 100644
--- a/testing/ssh-getkey-ldap/APKBUILD
+++ b/testing/ssh-getkey-ldap/APKBUILD
@@ -2,27 +2,24 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ssh-getkey-ldap
pkgver=0.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="A simple script to be used as AuthorizedKeysCommand in OpenSSH server to look up user's public keys in LDAP."
url="https://github.com/jirutka/ssh-getkey-ldap"
arch="noarch"
license="MIT"
depends="lua-ldap"
-depends_dev=""
makedepends=""
install="$pkgname.post-install"
-subpackages=""
-source="saveas-http://github.com/jirutka/${pkgname}/archive/v${pkgver}.tar.gz/${pkgname}-${pkgver}.tar.gz"
-
-_builddir="$srcdir/$pkgname-$pkgver"
+source="$pkgname-$pkgver.tar.gz::http://github.com/jirutka/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ exit 0
}
package() {
- cd "$_builddir"
- DESTDIR="$pkgdir" PREFIX="/usr" ./install || return 1
+ cd "$builddir"
+ DESTDIR="$pkgdir" PREFIX="/usr" ./install
}
md5sums="5eb480083707e16ce05df7e5692092bb ssh-getkey-ldap-0.1.0.tar.gz"
diff --git a/testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install b/testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install
index 9b03cb3c54..e5183e1d88 100644
--- a/testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install
+++ b/testing/ssh-getkey-ldap/ssh-getkey-ldap.post-install
@@ -9,5 +9,3 @@ cat <<EOF 1>&2
* AuthorizedKeysCommandUser nobody
*
EOF
-
-exit 0