Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 396691
Collapse All | Expand All

(-)/usr/portage/net-nds/openldap/openldap-2.4.24.ebuild (-1 / +14 lines)
Lines 14-20 Link Here
14
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
14
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
15
15
16
IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal"
16
IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal"
17
IUSE_BACKEND="+berkdb"
17
IUSE_BACKEND="+berkdb threads"
18
IUSE_OVERLAY="overlays perl"
18
IUSE_OVERLAY="overlays perl"
19
IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 syslog selinux"
19
IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 syslog selinux"
20
IUSE_CONTRIB="smbkrb5passwd kerberos"
20
IUSE_CONTRIB="smbkrb5passwd kerberos"
Lines 503-508 Link Here
503
	fowners ldap:ldap /var/run/openldap
503
	fowners ldap:ldap /var/run/openldap
504
	fperms 0755 /var/run/openldap
504
	fperms 0755 /var/run/openldap
505
505
506
	if use threads ; then
507
		einfo "Replacing libldap with libldap_r"
508
		cd "${D}/usr"
509
		for unsafe_full in lib*/libldap[-.]*so* lib*/libldap.a; do
510
			safe=`basename ${unsafe_full} | sed 's/libldap/libldap_r/'`
511
			ln -sf ${safe} ${unsafe_full}
512
		done
513
		for safe_full in lib*/libldap_r.la; do
514
			unsafe_full=`echo ${safe_full} | sed 's/libldap_r/libldap/'`
515
			sed 's/libldap_r/libldap/' < $safe_full > $unsafe_full
516
		done
517
	fi
518
506
	if ! use minimal; then
519
	if ! use minimal; then
507
		# use our config
520
		# use our config
508
		rm "${D}"etc/openldap/slapd.conf
521
		rm "${D}"etc/openldap/slapd.conf

Return to bug 396691