Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/nss-ldapd: nss-ldapd-0.6.7.ebuild ChangeLog
Date: Fri, 05 Dec 2008 21:12:53
Message-Id: E1L8hyl-0007AP-U5@stork.gentoo.org
1 cardoe 08/12/05 21:12:51
2
3 Modified: nss-ldapd-0.6.7.ebuild ChangeLog
4 Log:
5 merge in improvements from Sunrise Overlay by Heath Caldwell <hncaldwell@g.o>
6 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r2 x86_64)
7
8 Revision Changes Path
9 1.2 sys-auth/nss-ldapd/nss-ldapd-0.6.7.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss-ldapd/nss-ldapd-0.6.7.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss-ldapd/nss-ldapd-0.6.7.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss-ldapd/nss-ldapd-0.6.7.ebuild?r1=1.1&r2=1.2
14
15 Index: nss-ldapd-0.6.7.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss-ldapd/nss-ldapd-0.6.7.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- nss-ldapd-0.6.7.ebuild 4 Dec 2008 22:17:14 -0000 1.1
22 +++ nss-ldapd-0.6.7.ebuild 5 Dec 2008 21:12:51 -0000 1.2
23 @@ -1,6 +1,8 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-ldapd/nss-ldapd-0.6.7.ebuild,v 1.1 2008/12/04 22:17:14 cardoe Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-ldapd/nss-ldapd-0.6.7.ebuild,v 1.2 2008/12/05 21:12:51 cardoe Exp $
28 +
29 +inherit multilib
30
31 DESCRIPTION="NSS module for name lookups using LDAP"
32 HOMEPAGE="http://ch.tudelft.nl/~arthur/nss-ldapd/"
33 @@ -12,11 +14,15 @@
34 IUSE="debug"
35
36 DEPEND="net-nds/openldap
37 + sasl? ( dev-libs/cyrus-sasl )
38 + kerberos? ( virtual/krb5 )
39 !sys-auth/nss_ldap"
40 RDEPEND="${DEPEND}"
41
42 src_compile() {
43 + # nss libraries always go in /lib on Gentoo
44 econf --enable-warnings --with-ldap-lib=openldap $(use_enable debug) \
45 + --libdir=/$(get_libdir) \
46 || die "econf failed"
47 emake || die "emake failed"
48 }
49 @@ -24,11 +30,17 @@
50 src_install() {
51 emake DESTDIR="${D}" install || die "make install failed"
52
53 + dodoc NEWS ChangeLog AUTHORS README
54 +
55 # for socket and pid file
56 - mkdir "${D}"/var/run/nslcd
57 + keepdir /var/run/nslcd
58
59 # init script
60 newinitd "${FILESDIR}"/nslcd.rc nslcd
61 +
62 + # make an example copy
63 + insinto /usr/share/nss-ldapd
64 + doins nss-ldapd.conf
65 }
66
67 pkg_postinst() {
68 @@ -36,6 +48,10 @@
69 elog "For this to work you must configure /etc/nss-ldapd.conf"
70 elog "This configuration is similar to pam_ldap's /etc/ldap.conf"
71 elog
72 - elog "After configuring it, you MUST add `nslcd` to be started"
73 - elog "i.e. $ rc-update add nslcd default"
74 + elog "In order to use nss-ldapd, nslcd needs to be running. You can"
75 + elog "start it like this:"
76 + elog " # /etc/init.d/nslcd start"
77 + elog
78 + elog "You can add it to the default runlevel like so:"
79 + elog " # rc-update add nslcd default"
80 }
81
82
83
84 1.2 sys-auth/nss-ldapd/ChangeLog
85
86 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss-ldapd/ChangeLog?rev=1.2&view=markup
87 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss-ldapd/ChangeLog?rev=1.2&content-type=text/plain
88 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss-ldapd/ChangeLog?r1=1.1&r2=1.2
89
90 Index: ChangeLog
91 ===================================================================
92 RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss-ldapd/ChangeLog,v
93 retrieving revision 1.1
94 retrieving revision 1.2
95 diff -u -r1.1 -r1.2
96 --- ChangeLog 4 Dec 2008 22:17:14 -0000 1.1
97 +++ ChangeLog 5 Dec 2008 21:12:51 -0000 1.2
98 @@ -1,6 +1,11 @@
99 # ChangeLog for sys-auth/nss-ldapd
100 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
101 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-ldapd/ChangeLog,v 1.1 2008/12/04 22:17:14 cardoe Exp $
102 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-ldapd/ChangeLog,v 1.2 2008/12/05 21:12:51 cardoe Exp $
103 +
104 + 05 Dec 2008; Doug Goldstein <cardoe@g.o> files/nslcd.rc,
105 + nss-ldapd-0.6.7.ebuild:
106 + merge in improvements from Sunrise Overlay by Heath Caldwell
107 + <hncaldwell@g.o>
108
109 *nss-ldapd-0.6.7 (04 Dec 2008)