Commit 5aa21ff8 authored by Ariadne Conill's avatar Ariadne Conill

testing/shadow: install custom pam configuration for /bin/login.

parent 3570515b
......@@ -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"
# /bin/login opens an interactive session.
auth include base-auth
account include base-account
password include base-password
session include base-session
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment