mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-07 18:31:54 +01:00
Merge pull request #804 from kinvolk/t-lo/sudo-remove-perl-dependency
app-admin/sudo: remove perl dependency
This commit is contained in:
commit
e04c5d4447
@ -51,11 +51,14 @@ DEPEND="
|
||||
)
|
||||
sssd? ( sys-auth/sssd[sudo] )
|
||||
"
|
||||
|
||||
# Flatcar: remove perl runtime dependency
|
||||
# ldap? ( dev-lang/perl )
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
sendmail? ( virtual/mta )
|
||||
@ -194,8 +197,9 @@ src_install() {
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
# Flatcar: we don't ship openldap schemas
|
||||
#insinto /etc/openldap/schema
|
||||
#newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
if use pam; then
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user