1 |
blueness 14/01/29 12:54:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: curl-7.35.0.ebuild |
5 |
Log: |
6 |
Version bump, bug #499674 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.329 net-misc/curl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.329&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.329&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?r1=1.328&r2=1.329 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v |
20 |
retrieving revision 1.328 |
21 |
retrieving revision 1.329 |
22 |
diff -u -r1.328 -r1.329 |
23 |
--- ChangeLog 20 Jan 2014 13:11:06 -0000 1.328 |
24 |
+++ ChangeLog 29 Jan 2014 12:54:16 -0000 1.329 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/curl |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.328 2014/01/20 13:11:06 blueness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.329 2014/01/29 12:54:16 blueness Exp $ |
30 |
+ |
31 |
+*curl-7.35.0 (29 Jan 2014) |
32 |
+ |
33 |
+ 29 Jan 2014; Anthony G. Basile <blueness@g.o> +curl-7.35.0.ebuild: |
34 |
+ Version bump, bug #499674 |
35 |
|
36 |
20 Jan 2014; Anthony G. Basile <blueness@g.o> -curl-7.33.0.ebuild: |
37 |
Remove vulnerable version, bug #497092 |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/curl/curl-7.35.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.35.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.35.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: curl-7.35.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.35.0.ebuild,v 1.1 2014/01/29 12:54:16 blueness Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
|
54 |
inherit autotools eutils prefix |
55 |
|
56 |
DESCRIPTION="A Client that groks URLs" |
57 |
HOMEPAGE="http://curl.haxx.se/" |
58 |
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="MIT" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
63 |
IUSE="adns idn ipv6 kerberos ldap metalink rtmp ssh ssl static-libs test threads" |
64 |
IUSE="${IUSE} curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl" |
65 |
|
66 |
#lead to lots of false negatives, bug #285669 |
67 |
RESTRICT="test" |
68 |
|
69 |
RDEPEND="ldap? ( net-nds/openldap ) |
70 |
ssl? ( |
71 |
curl_ssl_axtls? ( net-libs/axtls app-misc/ca-certificates ) |
72 |
curl_ssl_cyassl? ( net-libs/cyassl app-misc/ca-certificates ) |
73 |
curl_ssl_gnutls? ( |
74 |
|| ( |
75 |
( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle ) |
76 |
( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle ) |
77 |
( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt[static-libs?] ) |
78 |
) |
79 |
app-misc/ca-certificates |
80 |
) |
81 |
curl_ssl_openssl? ( dev-libs/openssl[static-libs?] ) |
82 |
curl_ssl_nss? ( dev-libs/nss app-misc/ca-certificates ) |
83 |
curl_ssl_polarssl? ( net-libs/polarssl app-misc/ca-certificates ) |
84 |
) |
85 |
idn? ( net-dns/libidn[static-libs?] ) |
86 |
adns? ( net-dns/c-ares ) |
87 |
kerberos? ( virtual/krb5 ) |
88 |
metalink? ( >=media-libs/libmetalink-0.1.0 ) |
89 |
rtmp? ( media-video/rtmpdump ) |
90 |
ssh? ( net-libs/libssh2[static-libs?] ) |
91 |
sys-libs/zlib" |
92 |
|
93 |
# Do we need to enforce the same ssl backend for curl and rtmpdump? Bug #423303 |
94 |
# rtmp? ( |
95 |
# media-video/rtmpdump |
96 |
# curl_ssl_gnutls? ( media-video/rtmpdump[gnutls] ) |
97 |
# curl_ssl_openssl? ( media-video/rtmpdump[-gnutls,ssl] ) |
98 |
# ) |
99 |
|
100 |
# ssl providers to be added: |
101 |
# fbopenssl $(use_with spnego) |
102 |
|
103 |
# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html |
104 |
|
105 |
DEPEND="${RDEPEND} |
106 |
virtual/pkgconfig |
107 |
test? ( |
108 |
sys-apps/diffutils |
109 |
dev-lang/perl |
110 |
)" |
111 |
|
112 |
# c-ares must be disabled for threads |
113 |
# only one ssl provider can be enabled |
114 |
REQUIRED_USE=" |
115 |
threads? ( !adns ) |
116 |
ssl? ( |
117 |
^^ ( |
118 |
curl_ssl_axtls |
119 |
curl_ssl_cyassl |
120 |
curl_ssl_gnutls |
121 |
curl_ssl_openssl |
122 |
curl_ssl_nss |
123 |
curl_ssl_polarssl |
124 |
) |
125 |
)" |
126 |
|
127 |
DOCS=( CHANGES README docs/FEATURES docs/INTERNALS \ |
128 |
docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE) |
129 |
|
130 |
src_prepare() { |
131 |
epatch \ |
132 |
"${FILESDIR}"/${PN}-7.30.0-prefix.patch \ |
133 |
"${FILESDIR}"/${PN}-respect-cflags-3.patch \ |
134 |
"${FILESDIR}"/${PN}-fix-gnutls-nettle.patch |
135 |
sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241 |
136 |
|
137 |
epatch_user |
138 |
eprefixify curl-config.in |
139 |
eautoreconf |
140 |
} |
141 |
|
142 |
src_configure() { |
143 |
einfo "\033[1;32m**************************************************\033[00m" |
144 |
|
145 |
# We make use of the fact that later flags override earlier ones |
146 |
# So start with all ssl providers off until proven otherwise |
147 |
local myconf=() |
148 |
myconf+=( --without-axtls --without-cyassl --without-gnutls --without-nss --without-polarssl --without-ssl ) |
149 |
myconf+=( --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt ) |
150 |
if use ssl ; then |
151 |
if use curl_ssl_axtls; then |
152 |
einfo "SSL provided by axtls" |
153 |
einfo "NOTE: axtls is meant for embedded systems and" |
154 |
einfo "may not be the best choice as an ssl provider" |
155 |
myconf+=( --with-axtls ) |
156 |
fi |
157 |
if use curl_ssl_cyassl; then |
158 |
einfo "SSL provided by cyassl" |
159 |
einfo "NOTE: cyassl is meant for embedded systems and" |
160 |
einfo "may not be the best choice as an ssl provider" |
161 |
myconf+=( --with-cyassl ) |
162 |
fi |
163 |
if use curl_ssl_gnutls; then |
164 |
einfo "SSL provided by gnutls" |
165 |
if has_version ">=net-libs/gnutls-3" || has_version "=net-libs/gnutls-2.12*[nettle]"; then |
166 |
einfo "gnutls compiled with dev-libs/nettle" |
167 |
myconf+=( --with-gnutls --with-nettle ) |
168 |
else |
169 |
einfo "gnutls compiled with dev-libs/libgcrypt" |
170 |
myconf+=( --with-gnutls --without-nettle ) |
171 |
fi |
172 |
fi |
173 |
if use curl_ssl_nss; then |
174 |
einfo "SSL provided by nss" |
175 |
myconf+=( --with-nss ) |
176 |
fi |
177 |
if use curl_ssl_polarssl; then |
178 |
einfo "SSL provided by polarssl" |
179 |
einfo "NOTE: polarssl is meant for embedded systems and" |
180 |
einfo "may not be the best choice as an ssl provider" |
181 |
myconf+=( --with-polarssl ) |
182 |
fi |
183 |
if use curl_ssl_openssl; then |
184 |
einfo "SSL provided by openssl" |
185 |
myconf+=( --with-ssl --without-ca-bundle --with-ca-path="${EPREFIX}"/etc/ssl/certs ) |
186 |
fi |
187 |
else |
188 |
einfo "SSL disabled" |
189 |
fi |
190 |
einfo "\033[1;32m**************************************************\033[00m" |
191 |
|
192 |
# These configuration options are organized alphabetically |
193 |
# within each category. This should make it easier if we |
194 |
# ever decide to make any of them contingent on USE flags: |
195 |
# 1) protocols first. To see them all do |
196 |
# 'grep SUPPORT_PROTOCOLS configure.ac' |
197 |
# 2) --enable/disable options second. |
198 |
# 'grep -- --enable configure | grep Check | awk '{ print $4 }' | sort |
199 |
# 3) --with/without options third. |
200 |
# grep -- --with configure | grep Check | awk '{ print $4 }' | sort |
201 |
econf \ |
202 |
--enable-dict \ |
203 |
--enable-file \ |
204 |
--enable-ftp \ |
205 |
--enable-gopher \ |
206 |
--enable-http \ |
207 |
--enable-imap \ |
208 |
$(use_enable ldap) \ |
209 |
$(use_enable ldap ldaps) \ |
210 |
--enable-pop3 \ |
211 |
--enable-rtsp \ |
212 |
$(use_with ssh libssh2) \ |
213 |
--enable-smtp \ |
214 |
--enable-telnet \ |
215 |
--enable-tftp \ |
216 |
$(use_enable adns ares) \ |
217 |
--enable-cookies \ |
218 |
--enable-hidden-symbols \ |
219 |
$(use_enable ipv6) \ |
220 |
--enable-largefile \ |
221 |
--enable-manual \ |
222 |
--enable-proxy \ |
223 |
--disable-soname-bump \ |
224 |
--disable-sspi \ |
225 |
$(use_enable static-libs static) \ |
226 |
$(use_enable threads threaded-resolver) \ |
227 |
--disable-versioned-symbols \ |
228 |
--without-darwinssl \ |
229 |
$(use_with idn libidn) \ |
230 |
$(use_with kerberos gssapi "${EPREFIX}"/usr) \ |
231 |
--without-krb4 \ |
232 |
$(use_with metalink libmetalink) \ |
233 |
--without-nghttp2 \ |
234 |
$(use_with rtmp librtmp) \ |
235 |
--without-spnego \ |
236 |
--without-winidn \ |
237 |
--without-winssl \ |
238 |
--with-zlib \ |
239 |
"${myconf[@]}" |
240 |
} |
241 |
|
242 |
src_install() { |
243 |
default |
244 |
find "${ED}" -name '*.la' -delete |
245 |
rm -rf "${ED}"/etc/ |
246 |
|
247 |
# https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976 |
248 |
insinto /usr/share/aclocal |
249 |
doins docs/libcurl/libcurl.m4 |
250 |
} |