summaryrefslogtreecommitdiffstats
path: root/testing/shadow/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/shadow/APKBUILD')
-rw-r--r--testing/shadow/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/shadow/APKBUILD b/testing/shadow/APKBUILD
index 591e2c6dc..82b7a947e 100644
--- a/testing/shadow/APKBUILD
+++ b/testing/shadow/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=shadow
pkgver=4.1.4.3
-pkgrel=2
+pkgrel=3
pkgdesc="PAM-using login and passwd utilities"
url="http://pkg-shadow.alioth.debian.org/"
arch="all"
@@ -12,7 +12,8 @@ depends_dev="linux-pam-dev"
makedepends="$depends_dev"
install="$pkgname.post-upgrade $pkgname.post-deinstall"
subpackages="$pkgname-doc"
-source="http://pkg-shadow.alioth.debian.org/releases/shadow-$pkgver.tar.bz2"
+source="http://pkg-shadow.alioth.debian.org/releases/shadow-$pkgver.tar.bz2
+ login.pamd"
_builddir="$srcdir"/shadow-$pkgver
prepare() {
@@ -43,8 +44,11 @@ package() {
make DESTDIR="$pkgdir" install || return 1
# do not install these pam.d files they are broken and outdated
- # plus, the default policy should "just work"
- rm -rf "$pkgdir"/etc/pam.d
+ rm "$pkgdir"/etc/pam.d/*
+
+ # however, install our own for login
+ cp "$srcdir"/login.pamd "$pkgdir"/etc/pam.d/login
}
-md5sums="b8608d8294ac88974f27b20f991c0e79 shadow-4.1.4.3.tar.bz2"
+md5sums="b8608d8294ac88974f27b20f991c0e79 shadow-4.1.4.3.tar.bz2
+72dfc077a61ab7163e312640cc98bba8 login.pamd"