aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-06-22 09:16:31 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-06-22 09:16:31 -0500
commitbc0089b96c1b1f6dd188c130a412eb37da08baf3 (patch)
treea372bf2346286618e5f031b026dc5224b398593b /testing
parent3e1952d6ed660d5889242d1b7342a48bbe2b4673 (diff)
downloadaports-bc0089b96c1b1f6dd188c130a412eb37da08baf3.tar.bz2
aports-bc0089b96c1b1f6dd188c130a412eb37da08baf3.tar.xz
testing/shadow: fix up login.defs errors by shipping a blank config
Diffstat (limited to 'testing')
-rw-r--r--testing/shadow/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/testing/shadow/APKBUILD b/testing/shadow/APKBUILD
index 82b7a947e5..624d607028 100644
--- a/testing/shadow/APKBUILD
+++ b/testing/shadow/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=shadow
pkgver=4.1.4.3
-pkgrel=3
+pkgrel=4
pkgdesc="PAM-using login and passwd utilities"
url="http://pkg-shadow.alioth.debian.org/"
arch="all"
@@ -48,6 +48,10 @@ package() {
# however, install our own for login
cp "$srcdir"/login.pamd "$pkgdir"/etc/pam.d/login
+
+ # /etc/login.defs is not very useful - replace it with a blank file
+ rm "$pkgdir"/etc/login.defs
+ touch "$pkgdir"/etc/login.defs
}
md5sums="b8608d8294ac88974f27b20f991c0e79 shadow-4.1.4.3.tar.bz2