From: Lars Wendler Date: Mon, 2 Nov 2015 10:13:53 +0000 (+0100) Subject: app-admin/sudo: Revbump to add ldap schema file (bug #472948). X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=41c1ff540856f1f87cf9719162a853816776514b;p=gentoo.git app-admin/sudo: Revbump to add ldap schema file (bug #472948). Package-Manager: portage-2.2.23 Signed-off-by: Lars Wendler --- diff --git a/app-admin/sudo/sudo-1.8.15.ebuild b/app-admin/sudo/sudo-1.8.15-r1.ebuild similarity index 98% rename from app-admin/sudo/sudo-1.8.15.ebuild rename to app-admin/sudo/sudo-1.8.15-r1.ebuild index d36ae5e10180..1d919c9a407a 100644 --- a/app-admin/sudo/sudo-1.8.15.ebuild +++ b/app-admin/sudo/sudo-1.8.15-r1.ebuild @@ -128,7 +128,7 @@ src_install() { default if use ldap ; then - dodoc README.LDAP doc/schema.OpenLDAP + dodoc README.LDAP dosbin plugins/sudoers/sudoers2ldif cat <<-EOF > "${T}"/ldap.conf.sudo @@ -137,12 +137,15 @@ src_install() { # supported directives: host, port, ssl, ldap_version # uri, binddn, bindpw, sudoers_base, sudoers_debug - # tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key + # tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key} EOF insinto /etc doins "${T}"/ldap.conf.sudo fperms 0440 /etc/ldap.conf.sudo + + insinto /etc/openldap/schema + newins doc/schema.OpenLDAP sudo.schema fi pamd_mimic system-auth sudo auth account session