diff options
-rw-r--r-- | testing/shadow/APKBUILD | 14 | ||||
-rw-r--r-- | testing/shadow/login.pamd | 6 |
2 files changed, 15 insertions, 5 deletions
diff --git a/testing/shadow/APKBUILD b/testing/shadow/APKBUILD index 591e2c6dc4..82b7a947e5 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" diff --git a/testing/shadow/login.pamd b/testing/shadow/login.pamd new file mode 100644 index 0000000000..ad45558094 --- /dev/null +++ b/testing/shadow/login.pamd @@ -0,0 +1,6 @@ +# /bin/login opens an interactive session. + +auth include base-auth +account include base-account +password include base-password +session include base-session |