summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2006-07-01 19:57:29 +0000
committerMartin Schlemmer <azarah@gentoo.org>2006-07-01 19:57:29 +0000
commit971e6b2b9b5747c223542b8839416477257ada3a (patch)
tree1e9ab02c36d294901d4779cdf912893fb6e7ef7d /sys-libs
parentFix sys-libs/db stuff, bug #135766. (diff)
downloadgentoo-2-971e6b2b9b5747c223542b8839416477257ada3a.tar.gz
gentoo-2-971e6b2b9b5747c223542b8839416477257ada3a.tar.bz2
gentoo-2-971e6b2b9b5747c223542b8839416477257ada3a.zip
Use try_first_pass instead of likeauth, as it seems missing from pam-0.99's
pam_unix module. (Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/pam/ChangeLog8
-rw-r--r--sys-libs/pam/files/pam.d-0.99/other6
-rw-r--r--sys-libs/pam/files/pam.d-0.99/system-auth14
-rw-r--r--sys-libs/pam/pam-0.99.5.0-r1.ebuild4
-rw-r--r--sys-libs/pam/pam-0.99.5.0.ebuild4
5 files changed, 31 insertions, 5 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog
index f84cc88ca9b4..5cb3f5e47943 100644
--- a/sys-libs/pam/ChangeLog
+++ b/sys-libs/pam/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/pam
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.111 2006/07/01 19:28:49 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.112 2006/07/01 19:57:29 azarah Exp $
+
+ 01 Jul 2006; Martin Schlemmer <azarah@gentoo.org> +files/pam.d-0.99/other,
+ +files/pam.d-0.99/system-auth, pam-0.99.5.0.ebuild,
+ pam-0.99.5.0-r1.ebuild:
+ Use try_first_pass instead of likeauth, as it seems missing from pam-0.99's
+ pam_unix module.
01 Jul 2006; Martin Schlemmer <azarah@gentoo.org> Manifest:
Repoman booboo on Manifest.
diff --git a/sys-libs/pam/files/pam.d-0.99/other b/sys-libs/pam/files/pam.d-0.99/other
new file mode 100644
index 000000000000..85ca04ecf3ce
--- /dev/null
+++ b/sys-libs/pam/files/pam.d-0.99/other
@@ -0,0 +1,6 @@
+#%PAM-1.0
+
+auth required pam_deny.so
+account required pam_deny.so
+password required pam_deny.so
+session required pam_deny.so
diff --git a/sys-libs/pam/files/pam.d-0.99/system-auth b/sys-libs/pam/files/pam.d-0.99/system-auth
new file mode 100644
index 000000000000..14e67b71dc77
--- /dev/null
+++ b/sys-libs/pam/files/pam.d-0.99/system-auth
@@ -0,0 +1,14 @@
+#%PAM-1.0
+
+auth required pam_env.so
+auth sufficient pam_unix.so try_first_pass nullok
+auth required pam_deny.so
+
+account required pam_unix.so
+
+password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3
+password sufficient pam_unix.so try_first_pass use_authtok nullok md5 shadow
+password required pam_deny.so
+
+session required pam_limits.so
+session required pam_unix.so
diff --git a/sys-libs/pam/pam-0.99.5.0-r1.ebuild b/sys-libs/pam/pam-0.99.5.0-r1.ebuild
index b9305cbe1fe0..cc0b779de58b 100644
--- a/sys-libs/pam/pam-0.99.5.0-r1.ebuild
+++ b/sys-libs/pam/pam-0.99.5.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.5.0-r1.ebuild,v 1.1 2006/07/01 19:27:06 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.5.0-r1.ebuild,v 1.2 2006/07/01 19:57:29 azarah Exp $
inherit libtool multilib eutils autotools pam toolchain-funcs gnuconfig
@@ -187,7 +187,7 @@ src_install() {
dodoc CHANGELOG ChangeLog README AUTHORS Copyright
docinto modules ; dodoc doc/txts/README.*
- for x in "${FILESDIR}/pam.d/"*; do
+ for x in "${FILESDIR}/pam.d-0.99/"*; do
[[ -f "${x}" ]] && dopamd "${x}"
done
}
diff --git a/sys-libs/pam/pam-0.99.5.0.ebuild b/sys-libs/pam/pam-0.99.5.0.ebuild
index 56e9b90eb821..4c395eb6b0e9 100644
--- a/sys-libs/pam/pam-0.99.5.0.ebuild
+++ b/sys-libs/pam/pam-0.99.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.5.0.ebuild,v 1.1 2006/06/28 13:27:41 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.5.0.ebuild,v 1.2 2006/07/01 19:57:29 azarah Exp $
inherit libtool multilib eutils autotools pam
@@ -74,7 +74,7 @@ src_install() {
dodoc CHANGELOG ChangeLog README AUTHORS Copyright
- for x in "${FILESDIR}/pam.d/"*; do
+ for x in "${FILESDIR}/pam.d-0.99/"*; do
[[ -f "${x}" ]] && dopamd "${x}"
done
}