summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-11-02 11:13:53 +0100
committerLars Wendler <polynomial-c@gentoo.org>2015-11-02 11:14:38 +0100
commit41c1ff540856f1f87cf9719162a853816776514b (patch)
tree953e1876ba4143f032a181f2bcffc0a0f8d318fe /app-admin/sudo
parentdev-ros/openni2_launch: Initial import. Ebuild by me. (diff)
downloadgentoo-41c1ff540856f1f87cf9719162a853816776514b.tar.gz
gentoo-41c1ff540856f1f87cf9719162a853816776514b.tar.bz2
gentoo-41c1ff540856f1f87cf9719162a853816776514b.zip
app-admin/sudo: Revbump to add ldap schema file (bug #472948).
Package-Manager: portage-2.2.23 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-admin/sudo')
-rw-r--r--app-admin/sudo/sudo-1.8.15-r1.ebuild (renamed from app-admin/sudo/sudo-1.8.15.ebuild)7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-admin/sudo/sudo-1.8.15.ebuild b/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