sys-apps/shadow: Revbumps to fix pam usage of chpasswd and newusers
authorMichael Weiser <michael@weiser.dinsnail.net>
Mon, 16 Mar 2020 18:23:07 +0000 (19:23 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 16 Mar 2020 18:24:18 +0000 (19:24 +0100)
Closes: https://bugs.gentoo.org/712372
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-apps/shadow/files/pam.d-include/chpasswd [new file with mode: 0644]
sys-apps/shadow/shadow-4.8-r4.ebuild [moved from sys-apps/shadow/shadow-4.8-r3.ebuild with 98% similarity]
sys-apps/shadow/shadow-4.8.1-r2.ebuild [moved from sys-apps/shadow/shadow-4.8.1-r1.ebuild with 98% similarity]

diff --git a/sys-apps/shadow/files/pam.d-include/chpasswd b/sys-apps/shadow/files/pam.d-include/chpasswd
new file mode 100644 (file)
index 0000000..1043726
--- /dev/null
@@ -0,0 +1,3 @@
+#%PAM-1.0
+
+password   include     system-auth
similarity index 98%
rename from sys-apps/shadow/shadow-4.8-r3.ebuild
rename to sys-apps/shadow/shadow-4.8-r4.ebuild
index 54f1a3d52e847c95427cd9c120379d62d9b44eee..7dbee719cd43eb617055d772b30a960f4f29e27a 100644 (file)
@@ -152,6 +152,10 @@ src_install() {
                        newpamd "${FILESDIR}"/pam.d-include/passwd ${x}
                done
 
+               for x in chpasswd newusers ; do
+                       newpamd "${FILESDIR}"/pam.d-include/chpasswd ${x}
+               done
+
                newpamd "${FILESDIR}"/pam.d-include/shadow-r1 groupmems
 
                # comment out login.defs options that pam hates
similarity index 98%
rename from sys-apps/shadow/shadow-4.8.1-r1.ebuild
rename to sys-apps/shadow/shadow-4.8.1-r2.ebuild
index 864ebb3923b0b177059374098c3b6b17c5f69b3b..65f9a6539c890314c939883cf28a746b90307005 100644 (file)
@@ -152,6 +152,10 @@ src_install() {
                        newpamd "${FILESDIR}"/pam.d-include/passwd ${x}
                done
 
+               for x in chpasswd newusers ; do
+                       newpamd "${FILESDIR}"/pam.d-include/chpasswd ${x}
+               done
+
                newpamd "${FILESDIR}"/pam.d-include/shadow-r1 groupmems
 
                # comment out login.defs options that pam hates