summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-11-04 09:01:49 -0500
committerMike Gilbert <floppym@gentoo.org>2020-11-04 09:01:49 -0500
commit4781f2f800f253622b5c30bd3bc3b79564ff40b8 (patch)
tree91d829dd9d58cd505de1ee22f822bb639900c742 /app-admin/sudo
parentapp-admin/sudo: fix REQUIRED_USE (diff)
downloadgentoo-4781f2f800f253622b5c30bd3bc3b79564ff40b8.tar.gz
gentoo-4781f2f800f253622b5c30bd3bc3b79564ff40b8.tar.bz2
gentoo-4781f2f800f253622b5c30bd3bc3b79564ff40b8.zip
app-admin/sudo: sync live ebuild
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-admin/sudo')
-rw-r--r--app-admin/sudo/sudo-9999.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/app-admin/sudo/sudo-9999.ebuild b/app-admin/sudo/sudo-9999.ebuild
index 7d0daa6f3504..84770ae1b432 100644
--- a/app-admin/sudo/sudo-9999.ebuild
+++ b/app-admin/sudo/sudo-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit pam multilib libtool tmpfiles
+inherit pam multilib libtool systemd tmpfiles
MY_P="${P/_/}"
MY_P="${MY_P/beta/b}"
@@ -49,7 +49,7 @@ DEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)
- sssd? ( sys-auth/sssd[sudo(+)] )
+ sssd? ( sys-auth/sssd[sudo] )
"
RDEPEND="
${DEPEND}
@@ -62,13 +62,14 @@ RDEPEND="
"
BDEPEND="
sys-devel/bison
+ virtual/pkgconfig
"
S="${WORKDIR}/${MY_P}"
REQUIRED_USE="
- pam? ( !skey )
- skey? ( !pam )
+ ?? ( pam skey )
+ ?? ( gcrypt ssl )
"
MAKEOPTS+=" SAMPLES="
@@ -198,6 +199,7 @@ src_install() {
fi
pamd_mimic system-auth sudo auth account session
+ pamd_mimic system-auth sudo-i auth account session
keepdir /var/db/sudo/lectured
fperms 0700 /var/db/sudo/lectured