1 |
robbat2 10/02/19 19:24:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nss_ldap-265.ebuild nss_ldap-264-r1.ebuild |
5 |
Log: |
6 |
Bug #161195, add an SONAME: Added to 264-r1 as stable candidate. Bug #302914: Version bump to 265. |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.59 sys-auth/nss_ldap/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.59&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.59&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?r1=1.58&r2=1.59 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v |
19 |
retrieving revision 1.58 |
20 |
retrieving revision 1.59 |
21 |
diff -p -w -b -B -u -u -r1.58 -r1.59 |
22 |
--- ChangeLog 28 Jul 2009 18:45:51 -0000 1.58 |
23 |
+++ ChangeLog 19 Feb 2010 19:24:14 -0000 1.59 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for sys-auth/nss_ldap |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.58 2009/07/28 18:45:51 robbat2 Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.59 2010/02/19 19:24:14 robbat2 Exp $ |
30 |
+ |
31 |
+*nss_ldap-265 (19 Feb 2010) |
32 |
+*nss_ldap-264-r1 (19 Feb 2010) |
33 |
+ |
34 |
+ 19 Feb 2010; Robin H. Johnson <robbat2@g.o> |
35 |
+ +files/nss_ldap-254-soname.patch, +nss_ldap-264-r1.ebuild, |
36 |
+ +nss_ldap-265.ebuild, +files/nss_ldap-265-reconnect-timeouts.patch: |
37 |
+ Bug #161195, add an SONAME: Added to 264-r1 as stable candidate. Bug |
38 |
+ #302914: Version bump to 265. |
39 |
|
40 |
*nss_ldap-264 (28 Jul 2009) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 sys-auth/nss_ldap/nss_ldap-265.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-265.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-265.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: nss_ldap-265.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-265.ebuild,v 1.1 2010/02/19 19:24:14 robbat2 Exp $ |
55 |
|
56 |
EAPI=2 |
57 |
inherit fixheadtails eutils multilib autotools |
58 |
|
59 |
IUSE="debug ssl sasl kerberos" |
60 |
|
61 |
DESCRIPTION="NSS LDAP Module" |
62 |
HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html" |
63 |
SRC_URI="http://www.padl.com/download/${P}.tar.gz" |
64 |
|
65 |
SLOT="0" |
66 |
LICENSE="LGPL-2" |
67 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
68 |
|
69 |
DEPEND=">=net-nds/openldap-2.1.30-r5 |
70 |
sasl? ( dev-libs/cyrus-sasl ) |
71 |
kerberos? ( virtual/krb5 ) |
72 |
ssl? ( dev-libs/openssl )" |
73 |
RDEPEND="${DEPEND} |
74 |
!<net-fs/autofs-4.1.3" |
75 |
|
76 |
src_prepare() { |
77 |
cd "${S}" |
78 |
|
79 |
epatch "${FILESDIR}"/nsswitch.ldap.diff |
80 |
|
81 |
# Applied by upstream |
82 |
#epatch "${FILESDIR}"/${PN}-239-tls-security-bug.patch |
83 |
|
84 |
epatch "${FILESDIR}"/${PN}-249-sasl-compile.patch |
85 |
|
86 |
EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-265-reconnect-timeouts.patch |
87 |
|
88 |
# Applied by upstream |
89 |
#EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-254-nss_getgrent_skipmembers.patch |
90 |
|
91 |
EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-257-nss_max_group_depth.patch |
92 |
|
93 |
sed -i.orig \ |
94 |
-e '/^ @(#)\$Id: ldap.conf,v/s,^,#,' \ |
95 |
"${S}"/ldap.conf || die "failed to clean up initial version marker" |
96 |
|
97 |
# fix head/tail stuff |
98 |
ht_fix_file "${S}"/Makefile.am "${S}"/Makefile.in "${S}"/depcomp |
99 |
|
100 |
# fix build borkage |
101 |
for i in Makefile.{in,am}; do |
102 |
sed -i.orig \ |
103 |
-e '/^install-exec-local: nss_ldap.so/s,nss_ldap.so,,g' \ |
104 |
"${S}"/$i |
105 |
done |
106 |
|
107 |
epatch "${FILESDIR}"/${PN}-257.2-gssapi-headers.patch |
108 |
|
109 |
# Bug #214750, no automagic deps |
110 |
epatch "${FILESDIR}"/${PN}-264-disable-automagic.patch |
111 |
|
112 |
# Upstream forgets the version number sometimes |
113 |
#sed -i \ |
114 |
# -e "/^AM_INIT_AUTOMAKE/s~2..~$PV~" \ |
115 |
# "${S}"/configure.in |
116 |
|
117 |
# Include an SONAME |
118 |
epatch "${FILESDIR}"/${PN}-254-soname.patch |
119 |
|
120 |
sed -i \ |
121 |
-e 's, vers_string , ./vers_string ,g' \ |
122 |
"${S}"/Makefile.am |
123 |
|
124 |
eautoreconf |
125 |
} |
126 |
|
127 |
src_configure() { |
128 |
local myconf="" |
129 |
use debug && myconf="${myconf} --enable-debugging" |
130 |
use kerberos && myconf="${myconf} --enable-configurable-krb5-ccname-gssapi" |
131 |
# --enable-schema-mapping \ |
132 |
econf \ |
133 |
--with-ldap-lib=openldap \ |
134 |
--libdir=/$(get_libdir) \ |
135 |
--enable-paged-results \ |
136 |
--enable-rfc2307bis \ |
137 |
$(use_enable ssl) \ |
138 |
$(use_enable sasl) \ |
139 |
$(use_enable kerberos krb) \ |
140 |
${myconf} || die "configure failed" |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
dodir /$(get_libdir) |
145 |
|
146 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
147 |
|
148 |
insinto /etc |
149 |
doins ldap.conf |
150 |
|
151 |
dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \ |
152 |
COPYING CVSVersionInfo.txt README nsswitch.ldap certutil |
153 |
docinto docs; dodoc doc/* |
154 |
} |
155 |
|
156 |
pkg_postinst() { |
157 |
elog "If you use a ldaps:// string in the 'uri' setting of" |
158 |
elog "your /etc/ldap.conf, you must set 'ssl on'!" |
159 |
} |
160 |
|
161 |
|
162 |
|
163 |
1.1 sys-auth/nss_ldap/nss_ldap-264-r1.ebuild |
164 |
|
165 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-264-r1.ebuild?rev=1.1&view=markup |
166 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-264-r1.ebuild?rev=1.1&content-type=text/plain |
167 |
|
168 |
Index: nss_ldap-264-r1.ebuild |
169 |
=================================================================== |
170 |
# Copyright 1999-2010 Gentoo Foundation |
171 |
# Distributed under the terms of the GNU General Public License v2 |
172 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-264-r1.ebuild,v 1.1 2010/02/19 19:24:14 robbat2 Exp $ |
173 |
|
174 |
EAPI=2 |
175 |
inherit fixheadtails eutils multilib autotools |
176 |
|
177 |
IUSE="debug ssl sasl kerberos" |
178 |
|
179 |
DESCRIPTION="NSS LDAP Module" |
180 |
HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html" |
181 |
SRC_URI="http://www.padl.com/download/${P}.tar.gz" |
182 |
|
183 |
SLOT="0" |
184 |
LICENSE="LGPL-2" |
185 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
186 |
|
187 |
DEPEND=">=net-nds/openldap-2.1.30-r5 |
188 |
sasl? ( dev-libs/cyrus-sasl ) |
189 |
kerberos? ( virtual/krb5 ) |
190 |
ssl? ( dev-libs/openssl )" |
191 |
RDEPEND="${DEPEND} |
192 |
!<net-fs/autofs-4.1.3" |
193 |
|
194 |
src_prepare() { |
195 |
cd "${S}" |
196 |
|
197 |
epatch "${FILESDIR}"/nsswitch.ldap.diff |
198 |
|
199 |
# Applied by upstream |
200 |
#epatch "${FILESDIR}"/${PN}-239-tls-security-bug.patch |
201 |
|
202 |
epatch "${FILESDIR}"/${PN}-249-sasl-compile.patch |
203 |
|
204 |
EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-252-reconnect-timeouts.patch |
205 |
|
206 |
# Applied by upstream |
207 |
#EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-254-nss_getgrent_skipmembers.patch |
208 |
|
209 |
EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-257-nss_max_group_depth.patch |
210 |
|
211 |
sed -i.orig \ |
212 |
-e '/^ @(#)\$Id: ldap.conf,v/s,^,#,' \ |
213 |
"${S}"/ldap.conf || die "failed to clean up initial version marker" |
214 |
|
215 |
# fix head/tail stuff |
216 |
ht_fix_file "${S}"/Makefile.am "${S}"/Makefile.in "${S}"/depcomp |
217 |
|
218 |
# fix build borkage |
219 |
for i in Makefile.{in,am}; do |
220 |
sed -i.orig \ |
221 |
-e '/^install-exec-local: nss_ldap.so/s,nss_ldap.so,,g' \ |
222 |
"${S}"/$i |
223 |
done |
224 |
|
225 |
epatch "${FILESDIR}"/${PN}-257.2-gssapi-headers.patch |
226 |
|
227 |
# Bug #214750, no automagic deps |
228 |
epatch "${FILESDIR}"/${PN}-264-disable-automagic.patch |
229 |
|
230 |
# Upstream forgets the version number sometimes |
231 |
#sed -i \ |
232 |
# -e "/^AM_INIT_AUTOMAKE/s~2..~$PV~" \ |
233 |
# "${S}"/configure.in |
234 |
|
235 |
# Include an SONAME |
236 |
epatch "${FILESDIR}"/${PN}-254-soname.patch |
237 |
|
238 |
eautoreconf |
239 |
} |
240 |
|
241 |
src_configure() { |
242 |
local myconf="" |
243 |
use debug && myconf="${myconf} --enable-debugging" |
244 |
use kerberos && myconf="${myconf} --enable-configurable-krb5-ccname-gssapi" |
245 |
# --enable-schema-mapping \ |
246 |
econf \ |
247 |
--with-ldap-lib=openldap \ |
248 |
--libdir=/$(get_libdir) \ |
249 |
--enable-paged-results \ |
250 |
--enable-rfc2307bis \ |
251 |
$(use_enable ssl) \ |
252 |
$(use_enable sasl) \ |
253 |
$(use_enable kerberos krb) \ |
254 |
${myconf} || die "configure failed" |
255 |
} |
256 |
|
257 |
src_install() { |
258 |
dodir /$(get_libdir) |
259 |
|
260 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
261 |
|
262 |
insinto /etc |
263 |
doins ldap.conf |
264 |
|
265 |
dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \ |
266 |
COPYING CVSVersionInfo.txt README nsswitch.ldap certutil |
267 |
docinto docs; dodoc doc/* |
268 |
} |
269 |
|
270 |
pkg_postinst() { |
271 |
elog "If you use a ldaps:// string in the 'uri' setting of" |
272 |
elog "your /etc/ldap.conf, you must set 'ssl on'!" |
273 |
} |