diff options
author | Michael Weiser <michael@weiser.dinsnail.net> | 2020-03-16 19:23:07 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-03-16 19:24:18 +0100 |
commit | 29e539125f8c1a419ae2b2e1a1d59866317dba1c (patch) | |
tree | eb62d371ee9930781972389f74d6a01bcba4bcd1 /sys-apps | |
parent | sci-physics/geant-vmc: Drop old versions (diff) | |
download | gentoo-29e539125f8c1a419ae2b2e1a1d59866317dba1c.tar.gz gentoo-29e539125f8c1a419ae2b2e1a1d59866317dba1c.tar.bz2 gentoo-29e539125f8c1a419ae2b2e1a1d59866317dba1c.zip |
sys-apps/shadow: Revbumps to fix pam usage of chpasswd and newusers
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>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/shadow/files/pam.d-include/chpasswd | 3 | ||||
-rw-r--r-- | sys-apps/shadow/shadow-4.8-r4.ebuild (renamed from sys-apps/shadow/shadow-4.8-r3.ebuild) | 4 | ||||
-rw-r--r-- | sys-apps/shadow/shadow-4.8.1-r2.ebuild (renamed from sys-apps/shadow/shadow-4.8.1-r1.ebuild) | 4 |
3 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/shadow/files/pam.d-include/chpasswd b/sys-apps/shadow/files/pam.d-include/chpasswd new file mode 100644 index 000000000000..1043726b0e50 --- /dev/null +++ b/sys-apps/shadow/files/pam.d-include/chpasswd @@ -0,0 +1,3 @@ +#%PAM-1.0 + +password include system-auth diff --git a/sys-apps/shadow/shadow-4.8-r3.ebuild b/sys-apps/shadow/shadow-4.8-r4.ebuild index 54f1a3d52e84..7dbee719cd43 100644 --- a/sys-apps/shadow/shadow-4.8-r3.ebuild +++ b/sys-apps/shadow/shadow-4.8-r4.ebuild @@ -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 diff --git a/sys-apps/shadow/shadow-4.8.1-r1.ebuild b/sys-apps/shadow/shadow-4.8.1-r2.ebuild index 864ebb3923b0..65f9a6539c89 100644 --- a/sys-apps/shadow/shadow-4.8.1-r1.ebuild +++ b/sys-apps/shadow/shadow-4.8.1-r2.ebuild @@ -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 |