commit:     fe07c3e46ee67b99c88c249cacaab79336e68682
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 08:22:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 08:22:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe07c3e4

sys-apps/util-linux: su requires PAM

Right now, util-linux su requires PAM -- shadow's doesn't.

Bug: https://github.com/shadow-maint/shadow/issues/464
Closes: https://bugs.gentoo.org/622666
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/util-linux/util-linux-2.37.2-r3.ebuild | 2 +-
 sys-apps/util-linux/util-linux-9999.ebuild      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/util-linux/util-linux-2.37.2-r3.ebuild 
b/sys-apps/util-linux/util-linux-2.37.2-r3.ebuild
index fbcdb0e57e81..6fe8be147bb4 100644
--- a/sys-apps/util-linux/util-linux-2.37.2-r3.ebuild
+++ b/sys-apps/util-linux/util-linux-2.37.2-r3.ebuild
@@ -79,7 +79,7 @@ if [[ "${PV}" == 9999 ]] ; then
        "
 fi
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) su? ( pam )"
 RESTRICT="!test? ( test )"
 
 S="${WORKDIR}/${MY_P}"

diff --git a/sys-apps/util-linux/util-linux-9999.ebuild 
b/sys-apps/util-linux/util-linux-9999.ebuild
index ef948cebe7e0..66a76758c397 100644
--- a/sys-apps/util-linux/util-linux-9999.ebuild
+++ b/sys-apps/util-linux/util-linux-9999.ebuild
@@ -79,7 +79,7 @@ if [[ "${PV}" == 9999 ]] ; then
        "
 fi
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) su? ( pam )"
 RESTRICT="!test? ( test )"
 
 S="${WORKDIR}/${MY_P}"

Reply via email to