Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/nss_ldap: ChangeLog nss_ldap-258.ebuild
Date: Thu, 08 Nov 2007 03:18:01
Message-Id: E1Ipxty-0006Bx-HD@stork.gentoo.org
1 robbat2 07/11/08 03:17:54
2
3 Modified: ChangeLog
4 Added: nss_ldap-258.ebuild
5 Log:
6 Version bump. Bugfixes only, fixes nss_srv_domain per upstream bug, and gentoo bug #165638 for kerberos building.
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.45 sys-auth/nss_ldap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.45&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.45&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?r1=1.44&r2=1.45
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v
19 retrieving revision 1.44
20 retrieving revision 1.45
21 diff -u -r1.44 -r1.45
22 --- ChangeLog 7 Nov 2007 17:51:34 -0000 1.44
23 +++ ChangeLog 8 Nov 2007 03:17:53 -0000 1.45
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sys-auth/nss_ldap
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.44 2007/11/07 17:51:34 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.45 2007/11/08 03:17:53 robbat2 Exp $
29 +
30 +*nss_ldap-258 (08 Nov 2007)
31 +
32 + 08 Nov 2007; Robin H. Johnson <robbat2@g.o>
33 + +files/nss_ldap-257.2-gssapi-headers.patch, +nss_ldap-258.ebuild:
34 + Version bump. Bugfixes only, fixes nss_srv_domain per upstream bug, and
35 + gentoo bug #165638 for kerberos building.
36
37 07 Nov 2007; Raúl Porcel <armin76@g.o> nss_ldap-257.2.ebuild:
38 Add ~ia64 wrt #198261
39
40
41
42 1.1 sys-auth/nss_ldap/nss_ldap-258.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-258.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-258.ebuild?rev=1.1&content-type=text/plain
46
47 Index: nss_ldap-258.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-258.ebuild,v 1.1 2007/11/08 03:17:53 robbat2 Exp $
52
53 inherit fixheadtails eutils multilib autotools
54
55 IUSE="debug sasl kerberos"
56
57 DESCRIPTION="NSS LDAP Module"
58 HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
59 SRC_URI="http://www.padl.com/download/${P}.tar.gz"
60
61 SLOT="0"
62 LICENSE="LGPL-2"
63 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
64
65 DEPEND=">=net-nds/openldap-2.1.30-r5
66 sasl? ( dev-libs/cyrus-sasl )
67 kerberos? ( virtual/krb5 )"
68 RDEPEND="${DEPEND}
69 !<net-fs/autofs-4.1.3"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${FILESDIR}"/nsswitch.ldap.diff
75 # Applied by upstream
76 #epatch "${FILESDIR}"/${PN}-239-tls-security-bug.patch
77 epatch "${FILESDIR}"/${PN}-249-sasl-compile.patch
78 EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-252-reconnect-timeouts.patch
79 # Applied by upstream
80 #EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-254-nss_getgrent_skipmembers.patch
81 EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-257-nss_max_group_depth.patch
82 sed -i.orig \
83 -e '/^ @(#)\$Id: ldap.conf,v/s,^,#,' \
84 "${S}"/ldap.conf || die "failed to clean up initial version marker"
85 # fix head/tail stuff
86 ht_fix_file "${S}"/Makefile.am "${S}"/Makefile.in "${S}"/depcomp
87 # fix build borkage
88 for i in Makefile.{in,am}; do
89 sed -i.orig \
90 -e '/^install-exec-local: nss_ldap.so/s,nss_ldap.so,,g' \
91 "${S}"/$i
92 done
93 epatch "${FILESDIR}"/${PN}-257.2-gssapi-headers.patch
94 eautoreconf
95 }
96
97 src_compile() {
98 local myconf=""
99 use debug && myconf="${myconf} --enable-debugging"
100 use kerberos && myconf="${myconf} --enable-configurable-krb5-ccname-gssapi"
101 econf \
102 --with-ldap-lib=openldap \
103 --libdir=/$(get_libdir) \
104 --enable-schema-mapping \
105 --enable-paged-results \
106 --enable-rfc2307bis \
107 ${myconf} || die "configure failed"
108
109 emake || die "make failed"
110 }
111
112 src_install() {
113 dodir /$(get_libdir)
114
115 emake -j1 DESTDIR="${D}" install || die "make install failed"
116
117 insinto /etc
118 doins ldap.conf
119
120 dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
121 COPYING CVSVersionInfo.txt README nsswitch.ldap certutil
122 docinto docs; dodoc doc/*
123 }
124
125
126
127 --
128 gentoo-commits@g.o mailing list