aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pamtester
diff options
context:
space:
mode:
authorFabio Napoleoni <f.napoleoni@gmail.com>2016-02-14 01:07:29 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-02-15 14:07:06 +0000
commit17b0e160769187dafb12ff4341075cfd6f4845cb (patch)
treeedf357a745f4abf067be40671ceb3c776afdb58a /testing/pamtester
parent24684747f588033d6a7ea41a366e0ff6871ce00e (diff)
downloadaports-17b0e160769187dafb12ff4341075cfd6f4845cb.tar.bz2
aports-17b0e160769187dafb12ff4341075cfd6f4845cb.tar.xz
testing/pamtester: new aport. Fixes 5114
While working with pam configurations this tool is valuable for debugging.
Diffstat (limited to 'testing/pamtester')
-rw-r--r--testing/pamtester/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/pamtester/APKBUILD b/testing/pamtester/APKBUILD
new file mode 100644
index 0000000000..8d5f1737da
--- /dev/null
+++ b/testing/pamtester/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Fabio Napoleoni <f.napoleoni@gmail.com>
+# Maintainer:
+pkgname=pamtester
+pkgver=0.1.2
+pkgrel=0
+pkgdesc="Command line tool to test PAM configuration"
+url="http://pamtester.sourceforge.net/"
+arch="all"
+license="BSD"
+depends="linux-pam"
+depends_dev="linux-pam-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://netix.dl.sourceforge.net/project/pamtester/pamtester/0.1.2/pamtester-0.1.2.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$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
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="f441a6617cbc640ea02f3e22058c0461 pamtester-0.1.2.tar.gz"
+sha256sums="83633d0e8a4f35810456d9d52261c8ae0beb9148276847cae8963505240fb2d5 pamtester-0.1.2.tar.gz"
+sha512sums="baf4786ad735d73bce8f351071e658cffa5fa45dcf67045827f998555e6cff2bd7ff88dd751ab0198b7b1ecfb9c37ffc8ad0bcc5def098ea7143241a3d501168 pamtester-0.1.2.tar.gz"