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