Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/curl: curl-7.42.1.ebuild ChangeLog
Date: Wed, 29 Apr 2015 10:48:01
Message-Id: 20150429104752.CDCDA998@oystercatcher.gentoo.org
1 blueness 15/04/29 10:47:51
2
3 Modified: ChangeLog
4 Added: curl-7.42.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.405 net-misc/curl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.405&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.405&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?r1=1.404&r2=1.405
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v
20 retrieving revision 1.404
21 retrieving revision 1.405
22 diff -u -r1.404 -r1.405
23 --- ChangeLog 29 Apr 2015 09:18:23 -0000 1.404
24 +++ ChangeLog 29 Apr 2015 10:47:51 -0000 1.405
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/curl
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.404 2015/04/29 09:18:23 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.405 2015/04/29 10:47:51 blueness Exp $
30 +
31 +*curl-7.42.1 (29 Apr 2015)
32 +
33 + 29 Apr 2015; Anthony G. Basile <blueness@g.o> +curl-7.42.1.ebuild:
34 + Version bump.
35
36 29 Apr 2015; Agostino Sarubbo <ago@g.o> curl-7.42.0.ebuild:
37 Stable for sparc, wrt bug #547376
38
39
40
41 1.1 net-misc/curl/curl-7.42.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.42.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.42.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: curl-7.42.1.ebuild
47 ===================================================================
48 # Copyright 1999-2015 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.42.1.ebuild,v 1.1 2015/04/29 10:47:51 blueness Exp $
51
52 EAPI="5"
53
54 inherit autotools eutils prefix multilib-minimal
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 samba ssh ssl static-libs test threads"
64 IUSE="${IUSE} curl_ssl_axtls curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl curl_ssl_winssl"
65 IUSE="${IUSE} elibc_Winnt"
66
67 #lead to lots of false negatives, bug #285669
68 RESTRICT="test"
69
70 RDEPEND="ldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
71 ssl? (
72 curl_ssl_axtls? (
73 >=net-libs/axtls-1.4.9-r1[${MULTILIB_USEDEP}]
74 app-misc/ca-certificates
75 )
76 curl_ssl_gnutls? (
77 || (
78 (
79 >=net-libs/gnutls-3.2.15[static-libs?,${MULTILIB_USEDEP}]
80 >=dev-libs/nettle-2.6[${MULTILIB_USEDEP}]
81 )
82 (
83 =net-libs/gnutls-2.12*[nettle,static-libs?,${MULTILIB_USEDEP}]
84 >=dev-libs/nettle-2.6[${MULTILIB_USEDEP}]
85 )
86 (
87 =net-libs/gnutls-2.12*[-nettle,static-libs?,${MULTILIB_USEDEP}]
88 >=dev-libs/libgcrypt-1.5.3[static-libs?,${MULTILIB_USEDEP}]
89 )
90 )
91 app-misc/ca-certificates
92 )
93 curl_ssl_openssl? (
94 >=dev-libs/openssl-1.0.1h-r2[static-libs?,${MULTILIB_USEDEP}]
95 )
96 curl_ssl_nss? (
97 >=dev-libs/nss-3.15.4[${MULTILIB_USEDEP}]
98 app-misc/ca-certificates
99 )
100 curl_ssl_polarssl? (
101 >=net-libs/polarssl-1.3.4:=[${MULTILIB_USEDEP}]
102 app-misc/ca-certificates
103 )
104 )
105 idn? ( >=net-dns/libidn-1.28[static-libs?,${MULTILIB_USEDEP}] )
106 adns? ( >=net-dns/c-ares-1.10.0-r1[${MULTILIB_USEDEP}] )
107 kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
108 metalink? ( >=media-libs/libmetalink-0.1.1[${MULTILIB_USEDEP}] )
109 rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
110 ssh? ( >=net-libs/libssh2-1.4.3[static-libs?,${MULTILIB_USEDEP}] )
111 >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
112 abi_x86_32? (
113 !<=app-emulation/emul-linux-x86-baselibs-20140508-r13
114 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
115 )"
116
117 # Do we need to enforce the same ssl backend for curl and rtmpdump? Bug #423303
118 # rtmp? (
119 # media-video/rtmpdump
120 # curl_ssl_gnutls? ( media-video/rtmpdump[gnutls] )
121 # curl_ssl_openssl? ( media-video/rtmpdump[-gnutls,ssl] )
122 # )
123
124 # ssl providers to be added:
125 # fbopenssl $(use_with spnego)
126
127 # krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
128
129 DEPEND="${RDEPEND}
130 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
131 test? (
132 sys-apps/diffutils
133 dev-lang/perl
134 )"
135
136 # c-ares must be disabled for threads
137 # only one ssl provider can be enabled
138 REQUIRED_USE="
139 curl_ssl_winssl? ( elibc_Winnt )
140 threads? ( !adns )
141 ssl? (
142 ^^ (
143 curl_ssl_axtls
144 curl_ssl_gnutls
145 curl_ssl_openssl
146 curl_ssl_nss
147 curl_ssl_polarssl
148 curl_ssl_winssl
149 )
150 )"
151
152 DOCS=( CHANGES README docs/FEATURES docs/INTERNALS \
153 docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE)
154
155 MULTILIB_WRAPPED_HEADERS=(
156 /usr/include/curl/curlbuild.h
157 )
158
159 MULTILIB_CHOST_TOOLS=(
160 /usr/bin/curl-config
161 )
162
163 src_prepare() {
164 epatch \
165 "${FILESDIR}"/${PN}-7.30.0-prefix.patch \
166 "${FILESDIR}"/${PN}-respect-cflags-3.patch \
167 "${FILESDIR}"/${PN}-fix-gnutls-nettle.patch
168
169 sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241
170
171 epatch_user
172 eprefixify curl-config.in
173 eautoreconf
174 }
175
176 multilib_src_configure() {
177 einfo "\033[1;32m**************************************************\033[00m"
178
179 # We make use of the fact that later flags override earlier ones
180 # So start with all ssl providers off until proven otherwise
181 local myconf=()
182 myconf+=( --without-axtls --without-gnutls --without-nss --without-polarssl --without-ssl --without-winssl )
183 myconf+=( --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt )
184 if use ssl ; then
185 if use curl_ssl_axtls; then
186 einfo "SSL provided by axtls"
187 einfo "NOTE: axtls is meant for embedded systems and"
188 einfo "may not be the best choice as an ssl provider"
189 myconf+=( --with-axtls )
190 fi
191 if use curl_ssl_gnutls; then
192 einfo "SSL provided by gnutls"
193 if has_version ">=net-libs/gnutls-3.2.15[${MULTILIB_USEDEP}]" || has_version "=net-libs/gnutls-2.12*[nettle,${MULTILIB_USEDEP}]"; then
194 einfo "gnutls compiled with dev-libs/nettle"
195 myconf+=( --with-gnutls --with-nettle )
196 else
197 einfo "gnutls compiled with dev-libs/libgcrypt"
198 myconf+=( --with-gnutls --without-nettle )
199 fi
200 fi
201 if use curl_ssl_nss; then
202 einfo "SSL provided by nss"
203 myconf+=( --with-nss )
204 fi
205 if use curl_ssl_polarssl; then
206 einfo "SSL provided by polarssl"
207 einfo "NOTE: polarssl is meant for embedded systems and"
208 einfo "may not be the best choice as an ssl provider"
209 myconf+=( --with-polarssl )
210 fi
211 if use curl_ssl_openssl; then
212 einfo "SSL provided by openssl"
213 myconf+=( --with-ssl --with-ca-path="${EPREFIX}"/etc/ssl/certs )
214 fi
215 if use curl_ssl_winssl; then
216 einfo "SSL provided by Windows"
217 myconf+=( --with-winssl )
218 fi
219 else
220 einfo "SSL disabled"
221 fi
222 einfo "\033[1;32m**************************************************\033[00m"
223
224 # These configuration options are organized alphabetically
225 # within each category. This should make it easier if we
226 # ever decide to make any of them contingent on USE flags:
227 # 1) protocols first. To see them all do
228 # 'grep SUPPORT_PROTOCOLS configure.ac'
229 # 2) --enable/disable options second.
230 # 'grep -- --enable configure | grep Check | awk '{ print $4 }' | sort
231 # 3) --with/without options third.
232 # grep -- --with configure | grep Check | awk '{ print $4 }' | sort
233 ECONF_SOURCE="${S}" \
234 econf \
235 --enable-dict \
236 --enable-file \
237 --enable-ftp \
238 --enable-gopher \
239 --enable-http \
240 --enable-imap \
241 $(use_enable ldap) \
242 $(use_enable ldap ldaps) \
243 --enable-pop3 \
244 --enable-rtsp \
245 $(use_enable samba smb) \
246 $(use_with ssh libssh2) \
247 --enable-smtp \
248 --enable-telnet \
249 --enable-tftp \
250 $(use_enable adns ares) \
251 --enable-cookies \
252 --enable-hidden-symbols \
253 $(use_enable ipv6) \
254 --enable-largefile \
255 --enable-manual \
256 --enable-proxy \
257 --disable-soname-bump \
258 --disable-sspi \
259 $(use_enable static-libs static) \
260 $(use_enable threads threaded-resolver) \
261 --disable-versioned-symbols \
262 --without-cyassl \
263 --without-darwinssl \
264 $(use_with idn libidn) \
265 $(use_with kerberos gssapi "${EPREFIX}"/usr) \
266 --without-krb4 \
267 $(use_with metalink libmetalink) \
268 --without-nghttp2 \
269 $(use_with rtmp librtmp) \
270 --without-spnego \
271 --without-winidn \
272 --with-zlib \
273 "${myconf[@]}"
274
275 if ! multilib_is_native_abi; then
276 # avoid building the client
277 sed -i -e '/SUBDIRS/s:src::' Makefile || die
278 fi
279 }
280
281 multilib_src_install_all() {
282 einstalldocs
283 prune_libtool_files --all
284
285 rm -rf "${ED}"/etc/
286
287 # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
288 insinto /usr/share/aclocal
289 doins docs/libcurl/libcurl.m4
290 }