diff options
author | Thomas Sachau <tommy@gentoo.org> | 2008-12-05 20:53:21 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2008-12-05 20:53:21 +0000 |
commit | c2e087ebba21566f15498c1aade089a2c21a798b (patch) | |
tree | 02a823fca252a0f11aaa2e1a108373d68fd5f804 /sys-auth/nss-ldapd/nss-ldapd-0.6.4.ebuild | |
parent | dev-php/awl: Fix ChangeLog header (diff) | |
download | sunrise-c2e087ebba21566f15498c1aade089a2c21a798b.tar.gz sunrise-c2e087ebba21566f15498c1aade089a2c21a798b.tar.bz2 sunrise-c2e087ebba21566f15498c1aade089a2c21a798b.zip |
sys-auth/nss-ldapd: In gentoo-x86
svn path=/sunrise/; revision=7449
Diffstat (limited to 'sys-auth/nss-ldapd/nss-ldapd-0.6.4.ebuild')
-rw-r--r-- | sys-auth/nss-ldapd/nss-ldapd-0.6.4.ebuild | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/sys-auth/nss-ldapd/nss-ldapd-0.6.4.ebuild b/sys-auth/nss-ldapd/nss-ldapd-0.6.4.ebuild deleted file mode 100644 index 8c43eb48d..000000000 --- a/sys-auth/nss-ldapd/nss-ldapd-0.6.4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils multilib autotools - -DESCRIPTION="NSS module for name lookups using LDAP" -HOMEPAGE="http://ch.tudelft.nl/~arthur/nss-ldapd/" -SRC_URI="http://ch.tudelft.nl/~arthur/nss-ldapd/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="sasl kerberos" - -DEPEND="net-nds/openldap - sasl? ( dev-libs/cyrus-sasl ) - kerberos? ( virtual/krb5 )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Fix configure.ac to make sasl and kerberos support configurable - epatch "${FILESDIR}/${PN}-0.6.4-configure-fixes.patch" - eautoreconf -} - -src_compile() { - # nss libraries go in /lib (as opposed to /usr/lib) - econf \ - $(use_enable sasl) \ - $(use_enable kerberos) \ - --libdir=/$(get_libdir) - - emake || die "make failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - insinto /etc - doins nss-ldapd.conf - - insinto /usr/share/nss-ldapd - doins nss-ldapd.conf - - newinitd "${FILESDIR}"/nslcd.rc nslcd - - dodoc NEWS ChangeLog AUTHORS README || die "error installing documentation" - - # Make directory for pid file and socket file - keepdir /var/run/nslcd -} - -pkg_postinst() { - echo - elog "In order to use nss-ldapd, nslcd needs to be running. You can start" - elog "it like this:" - elog " # /etc/init.d/nslcd start" - elog - elog "You can add it to the default runlevel like so:" - elog " # rc-update add nslcd default" - echo -} |