Gentoo Archives: gentoo-commits

From: "Daniel Black (dragonheart)" <dragonheart@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/curl: ChangeLog curl-7.17.1.ebuild curl-7.16.4.ebuild curl-7.18.1.ebuild curl-7.17.0.ebuild curl-7.17.1_pre20071013.ebuild
Date: Tue, 01 Apr 2008 13:46:54
Message-Id: E1Jggp7-0008Om-Qf@stork.gentoo.org
1 dragonheart 08/04/01 13:46:49
2
3 Modified: ChangeLog curl-7.17.1.ebuild curl-7.16.4.ebuild
4 Added: curl-7.18.1.ebuild
5 Removed: curl-7.17.0.ebuild curl-7.17.1_pre20071013.ebuild
6 Log:
7 added 7.18.1 which fixes bugs #210295, #204130, #209421, #206566 and part of bug #207653. 7.17.1 has fixes from bug #206566. Thanks to Daniel Stenberg, Micha Kiedrowicz, Olivier Dole, and Fabrice Bacchella. Cleaned out some old versions too
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.115 net-misc/curl/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/ChangeLog?rev=1.115&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/ChangeLog?rev=1.115&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/ChangeLog?r1=1.114&r2=1.115
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v
20 retrieving revision 1.114
21 retrieving revision 1.115
22 diff -u -r1.114 -r1.115
23 --- ChangeLog 10 Feb 2008 09:12:28 -0000 1.114
24 +++ ChangeLog 1 Apr 2008 13:46:49 -0000 1.115
25 @@ -1,6 +1,15 @@
26 # ChangeLog for net-misc/curl
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.114 2008/02/10 09:12:28 dertobi123 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.115 2008/04/01 13:46:49 dragonheart Exp $
30 +
31 +*curl-7.18.1 (01 Apr 2008)
32 +
33 + 01 Apr 2008; Daniel Black <dragonheart@g.o> -curl-7.17.0.ebuild,
34 + -curl-7.17.1_pre20071013.ebuild, curl-7.17.1.ebuild, +curl-7.18.1.ebuild:
35 + added 7.18.1 which fixes bugs #210295, #204130, #209421, #206566 and part of
36 + bug #207653. 7.17.1 has fixes from bug #206566. Thanks to Daniel Stenberg,
37 + Micha Kiedrowicz, Olivier Dole, and Fabrice Bacchella. Cleaned out some old
38 + versions too
39
40 10 Feb 2008; Tobias Scherbaum <dertobi123@g.o> curl-7.17.1.ebuild:
41 ppc stable, bug #202891
42
43
44
45 1.7 net-misc/curl/curl-7.17.1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.17.1.ebuild?rev=1.7&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.17.1.ebuild?rev=1.7&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.17.1.ebuild?r1=1.6&r2=1.7
50
51 Index: curl-7.17.1.ebuild
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.17.1.ebuild,v
54 retrieving revision 1.6
55 retrieving revision 1.7
56 diff -u -r1.6 -r1.7
57 --- curl-7.17.1.ebuild 10 Feb 2008 09:12:28 -0000 1.6
58 +++ curl-7.17.1.ebuild 1 Apr 2008 13:46:49 -0000 1.7
59 @@ -1,6 +1,6 @@
60 # Copyright 1999-2008 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.17.1.ebuild,v 1.6 2008/02/10 09:12:28 dertobi123 Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.17.1.ebuild,v 1.7 2008/04/01 13:46:49 dragonheart Exp $
64
65 # NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl!
66
67 @@ -51,8 +51,9 @@
68 src_compile() {
69
70 myconf="$(use_enable ldap)
71 + $(use_enable ldap ldaps)
72 $(use_with idn libidn)
73 - $(use_enable kerberos gssapi)
74 + $(use_with kerberos gssapi)
75 $(use_enable ipv6)
76 --enable-http
77 --enable-ftp
78 @@ -71,6 +72,10 @@
79 --without-spnego"
80 # $(use_with libssh2)
81
82 + if use ldap && use kerberos; then
83 + die 'ldap and kerberos (gssapi) not playing nicely try version >=7.18.1'
84 + fi
85 +
86 if use ipv6 && use ares; then
87 elog "c-ares support disabled because it is incompatible with ipv6."
88 myconf="${myconf} --disable-ares"
89 @@ -92,6 +97,18 @@
90 emake || die "install failed for current version"
91 }
92
93 +src_test() {
94 + if use gnutls; then
95 + elog 'disabling test 405 ftps as gnutls does differing return codes'
96 + elog 'that the test case does not allow for. '
97 + elog 'https://bugs.gentoo.org/show_bug.cgi?id=204130 refers'
98 + cd "${S}"/tests
99 + ./runtests.pl -a -s '!405' || die 'self test failed'
100 + else
101 + make check || die 'self test failed'
102 + fi
103 +}
104 +
105 src_install() {
106 emake DESTDIR="${D}" install || die "installed failed for current version"
107 rm -rf "${D}"/etc/
108
109
110
111 1.12 net-misc/curl/curl-7.16.4.ebuild
112
113 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.16.4.ebuild?rev=1.12&view=markup
114 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.16.4.ebuild?rev=1.12&content-type=text/plain
115 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.16.4.ebuild?r1=1.11&r2=1.12
116
117 Index: curl-7.16.4.ebuild
118 ===================================================================
119 RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.16.4.ebuild,v
120 retrieving revision 1.11
121 retrieving revision 1.12
122 diff -u -r1.11 -r1.12
123 --- curl-7.16.4.ebuild 25 Aug 2007 14:34:19 -0000 1.11
124 +++ curl-7.16.4.ebuild 1 Apr 2008 13:46:49 -0000 1.12
125 @@ -1,6 +1,6 @@
126 -# Copyright 1999-2007 Gentoo Foundation
127 +# Copyright 1999-2008 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 -# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.16.4.ebuild,v 1.11 2007/08/25 14:34:19 vapier Exp $
130 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.16.4.ebuild,v 1.12 2008/04/01 13:46:49 dragonheart Exp $
131
132 # NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl!
133
134 @@ -14,7 +14,7 @@
135
136 LICENSE="MIT X11"
137 SLOT="0"
138 -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
139 +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
140 IUSE="ssl ipv6 ldap ares gnutls nss idn kerberos test"
141
142 RDEPEND="gnutls? ( net-libs/gnutls )
143
144
145
146 1.1 net-misc/curl/curl-7.18.1.ebuild
147
148 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.18.1.ebuild?rev=1.1&view=markup
149 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/curl/curl-7.18.1.ebuild?rev=1.1&content-type=text/plain
150
151 Index: curl-7.18.1.ebuild
152 ===================================================================
153 # Copyright 1999-2008 Gentoo Foundation
154 # Distributed under the terms of the GNU General Public License v2
155 # $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.18.1.ebuild,v 1.1 2008/04/01 13:46:49 dragonheart Exp $
156
157 # NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl!
158
159 inherit libtool autotools
160
161 #MY_P=${P/_pre/-}
162 DESCRIPTION="A Client that groks URLs"
163 HOMEPAGE="http://curl.haxx.se/ http://curl.planetmirror.com"
164 #SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2"
165 SRC_URI="http://curl.planetmirror.com/download/${P}.tar.bz2"
166
167 LICENSE="MIT X11"
168 SLOT="0"
169 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
170 #IUSE="ssl ipv6 ldap ares gnutls nss idn kerberos test"
171 IUSE="ssl ipv6 ldap ares gnutls libssh2 nss idn kerberos test"
172
173 # TODO - change to openssl USE flag in the not too distant future
174 # https://bugs.gentoo.org/show_bug.cgi?id=207653#c3 (April 2008)
175
176 RDEPEND="gnutls? ( net-libs/gnutls app-misc/ca-certificates )
177 nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) )
178 ssl? ( !gnutls? ( !nss? ( dev-libs/openssl app-misc/ca-certificates ) ) )
179 ldap? ( net-nds/openldap )
180 idn? ( net-dns/libidn )
181 ares? ( >=net-dns/c-ares-1.4.0 )
182 kerberos? ( virtual/krb5 )
183 libssh2? ( >=net-libs/libssh2-0.16 )"
184
185 # fbopenssl (not in gentoo) --with-spnego
186 # krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
187
188 DEPEND="${RDEPEND}
189 test? (
190 sys-apps/diffutils
191 dev-lang/perl
192 )"
193 # used - but can do without in self test: net-misc/stunnel
194 #S="${WORKDIR}"/${MY_P}
195
196 src_unpack() {
197 unpack ${A}
198 cd "${S}"
199 ## epatch "${FILESDIR}"/${P}-strip-ldflags.patch
200 epatch "${FILESDIR}"/curl-7.17.0-strip-ldflags.patch
201 # epatch "${FILESDIR}"/${P}-null-handler-segfault.patch
202 # elibtoolize
203 elibtoolize
204 eaclocal
205 /usr/bin/perl -i.bak -pe 's/\bmv +([^-\s])/mv -f $1/g' aclocal.m4
206 eautoheader
207 cp lib/config.h.in src/config.h.in
208 eautoconf
209 eautomake
210 }
211
212 src_compile() {
213
214 myconf="$(use_enable ldap)
215 $(use_enable ldap ldaps)
216 $(use_with idn libidn)
217 $(use_with kerberos gssapi /usr)
218 $(use_with libssh2)
219 $(use_enable ipv6)
220 --enable-http
221 --enable-ftp
222 --enable-gopher
223 --enable-file
224 --enable-dict
225 --enable-manual
226 --enable-telnet
227 --enable-nonblocking
228 --enable-largefile
229 --enable-maintainer-mode
230 --disable-sspi
231 --without-krb4
232 --without-spnego"
233
234 if use ipv6 && use ares; then
235 elog "c-ares support disabled because it is incompatible with ipv6."
236 myconf="${myconf} --disable-ares"
237 else
238 myconf="${myconf} $(use_enable ares)"
239 fi
240
241 if use gnutls; then
242 myconf="${myconf} --without-ssl --with-gnutls --without-nss"
243 myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
244 elif use nss; then
245 myconf="${myconf} --without-ssl --without-gnutls --with-nss"
246 myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
247 elif use ssl; then
248 myconf="${myconf} --without-gnutls --without-nss --with-ssl"
249 myconf="${myconf} --without-ca-bundle --with-ca-path=/etc/ssl/certs"
250 else
251 myconf="${myconf} --without-gnutls --without-nss --without-ssl"
252 fi
253
254 econf ${myconf} || die 'configure failed'
255 emake || die "install failed for current version"
256 }
257
258 src_install() {
259 emake DESTDIR="${D}" install || die "installed failed for current version"
260 rm -rf "${D}"/etc/
261
262 # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
263 insinto /usr/share/aclocal
264 doins docs/libcurl/libcurl.m4
265
266 dodoc CHANGES README
267 dodoc docs/FEATURES docs/INTERNALS
268 dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE
269 }
270
271 pkg_postinst() {
272 if [[ -e "${ROOT}"/usr/$(get_libdir)/libcurl.so.3 ]] ; then
273 elog "You must re-compile all packages that are linked against"
274 elog "curl-7.15.* by using revdep-rebuild from gentoolkit:"
275 elog "# revdep-rebuild --library libcurl.so.3"
276 fi
277 }
278
279
280
281 --
282 gentoo-commits@l.g.o mailing list