Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/neon/, net-libs/neon/files/
Date: Tue, 04 Apr 2017 19:50:55
Message-Id: 1491335405.37d5df616f6355b44c93aee48c76e22e1aca48ec.floppym@gentoo
1 commit: 37d5df616f6355b44c93aee48c76e22e1aca48ec
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Sun Apr 2 19:23:39 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 4 19:50:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d5df61
7
8 net-libs/neon: Delete old versions.
9
10 net-libs/neon/Manifest | 2 -
11 net-libs/neon/files/neon-0.30.1-gnutls3.4.patch | 282 ----------------------
12 net-libs/neon/files/neon-0.30.1-xml2-config.patch | 15 --
13 net-libs/neon/neon-0.30.0-r1.ebuild | 107 --------
14 net-libs/neon/neon-0.30.0.ebuild | 95 --------
15 net-libs/neon/neon-0.30.1-r1.ebuild | 111 ---------
16 net-libs/neon/neon-0.30.1.ebuild | 109 ---------
17 7 files changed, 721 deletions(-)
18
19 diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest
20 index 253841ba349..1b6c985bd5a 100644
21 --- a/net-libs/neon/Manifest
22 +++ b/net-libs/neon/Manifest
23 @@ -1,3 +1 @@
24 -DIST neon-0.30.0.tar.gz 909989 SHA256 2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2 SHA512 67f8a6c5549c37d984d8a0af88cd93c8c51593fa995662fd686e47acb630143d7b0c02c09d3c19f6a0181e0ff82940618cf72a76f9cb17bb964293f4118f013e WHIRLPOOL 75df16aae54410e97887ad1b1d45a17e58868cffff7d929f511c4840179ace1500c33228b02de7a038b9620d729e5153e1e14cc916ed1af9ce90bf4c49fb4b71
25 -DIST neon-0.30.1.tar.gz 911414 SHA256 00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd SHA512 4a9e45c886e04c5e1a1c781f7c2544b73724e09745097b1e8dc9adf9acd79af1762d668d4f18c295d7b4148d57af797834dd3c1203f2529089f7d1972ca71e63 WHIRLPOOL 747385544f0fbacc6c39fa5911ee5a21654ac21ecea89f297c17b43c21a7a649ae47b08b155733e9da0286a24024f4e54dcff3c9c2d678d9abe27f83054d718b
26 DIST neon-0.30.2.tar.gz 932779 SHA256 db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca SHA512 634caf87522e0bd2695c6fba39cae2465e403f9fbd8007eb10e4e035c765d24cb8da932c67bfa35c34aa51b90c7bc7037ebebaa1ec43259366d5d07233efc631 WHIRLPOOL 977464fc686727dcbdb9def45159d783586fceb289c0eca937429ae3d2b39d9c6bb63a5029be566107d415718ee6ab315b8167c02b3093884757932f89e3b704
27
28 diff --git a/net-libs/neon/files/neon-0.30.1-gnutls3.4.patch b/net-libs/neon/files/neon-0.30.1-gnutls3.4.patch
29 deleted file mode 100644
30 index c5165a0958a..00000000000
31 --- a/net-libs/neon/files/neon-0.30.1-gnutls3.4.patch
32 +++ /dev/null
33 @@ -1,282 +0,0 @@
34 -Description: fix building with GnuTLS 3.4
35 - Rewrite GnuTLS PKCS#11 support to work (exclusively) with the new
36 - GnuTLS 3.x API.
37 -Origin: upstream, r1963
38 -Author: Joe Orton <joe@××××××××××.com>
39 -Bug-Debian: https://bugs.debian.org/782832
40 -Last-Update: 2015-10-03
41 -
42 ----
43 -
44 ---- neon27-0.30.1.orig/macros/neon.m4
45 -+++ neon27-0.30.1/macros/neon.m4
46 -@@ -982,10 +982,11 @@ gnutls)
47 -
48 - # Check for functions in later releases
49 - NE_CHECK_FUNCS([gnutls_session_get_data2 gnutls_x509_dn_get_rdn_ava \
50 -- gnutls_sign_callback_set \
51 - gnutls_certificate_get_issuer \
52 - gnutls_certificate_get_x509_cas \
53 -- gnutls_x509_crt_sign2])
54 -+ gnutls_x509_crt_sign2 \
55 -+ gnutls_certificate_set_retrieve_function2 \
56 -+ gnutls_privkey_import_ext])
57 -
58 - # fail if gnutls_x509_crt_sign2 is not found (it was introduced in 1.2.0, which is required)
59 - if test x${ac_cv_func_gnutls_x509_crt_sign2} != xyes; then
60 -@@ -1039,7 +1040,7 @@ posix|yes)
61 - ;;
62 - esac
63 -
64 --case ${with_pakchois}X${ac_cv_func_gnutls_sign_callback_set}Y${ne_cv_lib_ssl097} in
65 -+case ${with_pakchois}X${ac_cv_func_gnutls_privkey_import_ext}Y${ne_cv_lib_ssl097} in
66 - noX*Y*) ;;
67 - *X*Yyes|*XyesY*)
68 - # PKCS#11... ho!
69 ---- neon27-0.30.1.orig/src/ne_gnutls.c
70 -+++ neon27-0.30.1/src/ne_gnutls.c
71 -@@ -89,6 +89,13 @@ struct ne_ssl_client_cert_s {
72 - ne_ssl_certificate cert;
73 - gnutls_x509_privkey_t pkey;
74 - char *friendly_name;
75 -+#ifdef HAVE_GNUTLS_PRIVKEY_IMPORT_EXT
76 -+ /* Signing callback & userdata provided by ne_pkcs11.c. It would
77 -+ * be better to rewrite the whole module to use gnutls_privkey_t
78 -+ * directly, but it seems impossible to dup such an object. */
79 -+ gnutls_privkey_sign_func sign_func;
80 -+ void *sign_ud;
81 -+#endif
82 - };
83 -
84 - /* Returns the highest used index in subject (or issuer) DN of
85 -@@ -525,6 +532,10 @@ static ne_ssl_client_cert *dup_client_ce
86 -
87 - if (cc->keyless) {
88 - newcc->keyless = 1;
89 -+#ifdef HAVE_GNUTLS_PRIVKEY_IMPORT_EXT
90 -+ newcc->sign_func = cc->sign_func;
91 -+ newcc->sign_ud = cc->sign_ud;
92 -+#endif
93 - }
94 - else {
95 - ret = gnutls_x509_privkey_init(&newcc->pkey);
96 -@@ -553,7 +564,15 @@ dup_error:
97 - static int provide_client_cert(gnutls_session_t session,
98 - const gnutls_datum_t *req_ca_rdn, int nreqs,
99 - const gnutls_pk_algorithm_t *sign_algos,
100 -- int sign_algos_length, gnutls_retr_st *st)
101 -+ int sign_algos_length,
102 -+#ifdef HAVE_GNUTLS_CERTIFICATE_SET_RETRIEVE_FUNCTION2
103 -+ gnutls_pcert_st **pcert,
104 -+ unsigned int *pcert_length,
105 -+ gnutls_privkey_t *pkey
106 -+#else
107 -+ gnutls_retr2_st *st
108 -+#endif
109 -+ )
110 - {
111 - ne_session *sess = gnutls_session_get_ptr(session);
112 -
113 -@@ -611,27 +630,59 @@ static int provide_client_cert(gnutls_se
114 - if (sess->client_cert) {
115 - gnutls_certificate_type_t type = gnutls_certificate_type_get(session);
116 - if (type == GNUTLS_CRT_X509
117 --#if LIBGNUTLS_VERSION_NUMBER > 0x030000
118 -- /* Ugly hack; prevent segfaults w/GnuTLS 3.0. */
119 -- && sess->client_cert->pkey != NULL
120 -+ && (sess->client_cert->pkey || sess->client_cert->keyless)) {
121 -+ int ret;
122 -+
123 -+#ifdef HAVE_GNUTLS_CERTIFICATE_SET_RETRIEVE_FUNCTION2
124 -+ *pkey = gnutls_malloc(sizeof *pkey);
125 -+ gnutls_privkey_init(pkey);
126 -+
127 -+#ifdef HAVE_GNUTLS_PRIVKEY_IMPORT_EXT
128 -+ if (sess->client_cert->sign_func) {
129 -+ int algo = gnutls_x509_crt_get_pk_algorithm(sess->client_cert->cert.subject, NULL);
130 -+ NE_DEBUG(NE_DBG_SSL, "ssl: Signing for %s.\n", gnutls_pk_algorithm_get_name(algo));
131 -+
132 -+ ret = gnutls_privkey_import_ext(*pkey, algo, sess->client_cert->sign_ud,
133 -+ sess->client_cert->sign_func, NULL, 0);
134 -+ }
135 -+ else
136 - #endif
137 -- ) {
138 -- NE_DEBUG(NE_DBG_SSL, "Supplying client certificate.\n");
139 -+ if (sess->client_cert->keyless) {
140 -+ ret = GNUTLS_E_UNSUPPORTED_CERTIFICATE_TYPE;
141 -+ }
142 -+ else {
143 -+ ret = gnutls_privkey_import_x509(*pkey, sess->client_cert->pkey, 0);
144 -+ }
145 -
146 -- st->type = type;
147 -+ if (ret) {
148 -+ NE_DEBUG(NE_DBG_SSL, "ssl: Failed to import private key: %s.\n", gnutls_strerror(ret));
149 -+ ne_set_error(sess, _("Failed to import private key: %s"), gnutls_strerror(ret));
150 -+ return ret;
151 -+ }
152 -+
153 -+ *pcert = gnutls_malloc(sizeof *pcert);
154 -+ gnutls_pcert_import_x509(*pcert, sess->client_cert->cert.subject, 0);
155 -+ *pcert_length = 1;
156 -+#else /* !HAVE_GNUTLS_CERTIFICATE_SET_RETRIEVE_FUNCTION2 */
157 -+ st->cert_type = type;
158 - st->ncerts = 1;
159 - st->cert.x509 = &sess->client_cert->cert.subject;
160 - st->key.x509 = sess->client_cert->pkey;
161 -
162 - /* tell GNU TLS not to deallocate the certs. */
163 - st->deinit_all = 0;
164 -+#endif
165 - } else {
166 - return GNUTLS_E_UNSUPPORTED_CERTIFICATE_TYPE;
167 - }
168 - }
169 - else {
170 -- NE_DEBUG(NE_DBG_SSL, "No client certificate supplied.\n");
171 -+ NE_DEBUG(NE_DBG_SSL, "ssl: No client certificate supplied.\n");
172 -+#ifdef HAVE_GNUTLS_CERTIFICATE_SET_RETRIEVE_FUNCTION2
173 -+ *pcert_length = 0;
174 -+#else
175 - st->ncerts = 0;
176 -+#endif
177 - sess->ssl_cc_requested = 1;
178 - return 0;
179 - }
180 -@@ -649,8 +700,12 @@ ne_ssl_context *ne_ssl_context_create(in
181 - ne_ssl_context *ctx = ne_calloc(sizeof *ctx);
182 - gnutls_certificate_allocate_credentials(&ctx->cred);
183 - if (flags == NE_SSL_CTX_CLIENT) {
184 -+#ifdef HAVE_GNUTLS_CERTIFICATE_SET_RETRIEVE_FUNCTION2
185 -+ gnutls_certificate_set_retrieve_function2(ctx->cred, provide_client_cert);
186 -+#else
187 - gnutls_certificate_client_set_retrieve_function(ctx->cred,
188 - provide_client_cert);
189 -+#endif
190 - }
191 - gnutls_certificate_set_verify_flags(ctx->cred,
192 - GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT);
193 -@@ -1206,8 +1261,10 @@ ne_ssl_client_cert *ne_ssl_clicert_impor
194 - }
195 - }
196 -
197 --ne_ssl_client_cert *ne__ssl_clicert_exkey_import(const unsigned char *der,
198 -- size_t der_len)
199 -+#ifdef HAVE_GNUTLS_PRIVKEY_IMPORT_EXT
200 -+ne_ssl_client_cert *ne__ssl_clicert_exkey_import(const unsigned char *der, size_t der_len,
201 -+ gnutls_privkey_sign_func sign_func,
202 -+ void *userdata)
203 - {
204 - ne_ssl_client_cert *cc;
205 - gnutls_x509_crt_t x5;
206 -@@ -1226,9 +1283,12 @@ ne_ssl_client_cert *ne__ssl_clicert_exke
207 - cc->keyless = 1;
208 - cc->decrypted = 1;
209 - populate_cert(&cc->cert, x5);
210 -+ cc->sign_func = sign_func;
211 -+ cc->sign_ud = userdata;
212 -
213 -- return cc;
214 -+ return cc;
215 - }
216 -+#endif
217 -
218 - int ne_ssl_clicert_encrypted(const ne_ssl_client_cert *cc)
219 - {
220 ---- neon27-0.30.1.orig/src/ne_pkcs11.c
221 -+++ neon27-0.30.1/src/ne_pkcs11.c
222 -@@ -156,6 +156,13 @@ static RSA_METHOD *pk11_rsa_method(ne_ss
223 - }
224 - #endif
225 -
226 -+#ifdef HAVE_GNUTLS
227 -+static int pk11_sign_callback(gnutls_privkey_t pkey,
228 -+ void *userdata,
229 -+ const gnutls_datum_t *raw_data,
230 -+ gnutls_datum_t *signature);
231 -+#endif
232 -+
233 - static int pk11_find_x509(ne_ssl_pkcs11_provider *prov,
234 - pakchois_session_t *pks,
235 - unsigned char *certid, unsigned long *cid_len)
236 -@@ -203,7 +210,7 @@ static int pk11_find_x509(ne_ssl_pkcs11_
237 - ne_ssl_client_cert *cc;
238 -
239 - #ifdef HAVE_GNUTLS
240 -- cc = ne__ssl_clicert_exkey_import(value, a[0].value_len);
241 -+ cc = ne__ssl_clicert_exkey_import(value, a[0].value_len, pk11_sign_callback, prov);
242 - #else
243 - cc = ne__ssl_clicert_exkey_import(value, a[0].value_len, pk11_rsa_method(prov));
244 - #endif
245 -@@ -298,10 +305,8 @@ static int find_client_cert(ne_ssl_pkcs1
246 - #ifdef HAVE_GNUTLS
247 - /* Callback invoked by GnuTLS to provide the signature. The signature
248 - * operation is handled here by the PKCS#11 provider. */
249 --static int pk11_sign_callback(gnutls_session_t session,
250 -+static int pk11_sign_callback(gnutls_privkey_t pkey,
251 - void *userdata,
252 -- gnutls_certificate_type_t cert_type,
253 -- const gnutls_datum_t *cert,
254 - const gnutls_datum_t *hash,
255 - gnutls_datum_t *signature)
256 - {
257 -@@ -571,11 +576,6 @@ void ne_ssl_pkcs11_provider_pin(ne_ssl_p
258 - void ne_ssl_set_pkcs11_provider(ne_session *sess,
259 - ne_ssl_pkcs11_provider *provider)
260 - {
261 --#ifdef HAVE_GNUTLS
262 -- sess->ssl_context->sign_func = pk11_sign_callback;
263 -- sess->ssl_context->sign_data = provider;
264 --#endif
265 --
266 - ne_ssl_provide_clicert(sess, pk11_provide, provider);
267 - }
268 -
269 ---- neon27-0.30.1.orig/src/ne_privssl.h
270 -+++ neon27-0.30.1/src/ne_privssl.h
271 -@@ -58,6 +58,10 @@ ne__ssl_clicert_exkey_import(const unsig
272 -
273 - #include <gnutls/gnutls.h>
274 -
275 -+#ifdef HAVE_GNUTLS_PRIVKEY_IMPORT_EXT
276 -+#include <gnutls/abstract.h>
277 -+#endif
278 -+
279 - struct ne_ssl_context_s {
280 - gnutls_certificate_credentials_t cred;
281 - int verify; /* non-zero if client cert verification required */
282 -@@ -78,17 +82,13 @@ struct ne_ssl_context_s {
283 - } client;
284 - #endif
285 - } cache;
286 --
287 --#ifdef HAVE_GNUTLS_SIGN_CALLBACK_SET
288 -- gnutls_sign_func sign_func;
289 -- void *sign_data;
290 --#endif
291 - };
292 -
293 - typedef gnutls_session_t ne_ssl_socket;
294 -
295 - NE_PRIVATE ne_ssl_client_cert *
296 --ne__ssl_clicert_exkey_import(const unsigned char *der, size_t der_len);
297 -+ne__ssl_clicert_exkey_import(const unsigned char *der, size_t der_len,
298 -+ gnutls_privkey_sign_func sign_func, void *userdata);
299 -
300 - #endif /* HAVE_GNUTLS */
301 -
302 ---- neon27-0.30.1.orig/src/ne_socket.c
303 -+++ neon27-0.30.1/src/ne_socket.c
304 -@@ -1793,11 +1793,6 @@ int ne_sock_connect_ssl(ne_socket *sock,
305 - gnutls_session_set_ptr(sock->ssl, userdata);
306 - gnutls_credentials_set(sock->ssl, GNUTLS_CRD_CERTIFICATE, ctx->cred);
307 -
308 --#ifdef HAVE_GNUTLS_SIGN_CALLBACK_SET
309 -- if (ctx->sign_func)
310 -- gnutls_sign_callback_set(sock->ssl, ctx->sign_func, ctx->sign_data);
311 --#endif
312 --
313 - if (ctx->hostname) {
314 - gnutls_server_name_set(sock->ssl, GNUTLS_NAME_DNS, ctx->hostname,
315 - strlen(ctx->hostname));
316
317 diff --git a/net-libs/neon/files/neon-0.30.1-xml2-config.patch b/net-libs/neon/files/neon-0.30.1-xml2-config.patch
318 deleted file mode 100644
319 index 1290101844c..00000000000
320 --- a/net-libs/neon/files/neon-0.30.1-xml2-config.patch
321 +++ /dev/null
322 @@ -1,15 +0,0 @@
323 -locate the $CHOST prefixed version of xml2-config by default
324 -
325 -would be better to use pkg-config here, but this patch is minimally invasive
326 -
327 ---- a/macros/neon-xml-parser.m4
328 -+++ b/macros/neon-xml-parser.m4
329 -@@ -44,7 +44,7 @@ AC_CHECK_HEADER(expat.h,
330 -
331 - dnl Find libxml2: run $1 if found, else $2
332 - AC_DEFUN([NE_XML_LIBXML2], [
333 --AC_CHECK_PROG(XML2_CONFIG, xml2-config, xml2-config)
334 -+AC_CHECK_TOOL(XML2_CONFIG, xml2-config, xml2-config)
335 - if test -n "$XML2_CONFIG"; then
336 - neon_xml_parser_message="libxml `$XML2_CONFIG --version`"
337 - AC_DEFINE(HAVE_LIBXML, 1, [Define if you have libxml])
338
339 diff --git a/net-libs/neon/neon-0.30.0-r1.ebuild b/net-libs/neon/neon-0.30.0-r1.ebuild
340 deleted file mode 100644
341 index 6778e79114e..00000000000
342 --- a/net-libs/neon/neon-0.30.0-r1.ebuild
343 +++ /dev/null
344 @@ -1,107 +0,0 @@
345 -# Copyright 1999-2017 Gentoo Foundation
346 -# Distributed under the terms of the GNU General Public License v2
347 -
348 -EAPI="5"
349 -
350 -inherit autotools eutils libtool multilib-minimal
351 -
352 -DESCRIPTION="HTTP and WebDAV client library"
353 -HOMEPAGE="http://www.webdav.org/neon/"
354 -SRC_URI="http://www.webdav.org/neon/${P}.tar.gz"
355 -
356 -LICENSE="GPL-2"
357 -SLOT="0/27"
358 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
359 -IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib"
360 -IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN"
361 -for lingua in ${IUSE_LINGUAS}; do
362 - IUSE+=" linguas_${lingua}"
363 -done
364 -unset lingua
365 -RESTRICT="test"
366 -
367 -RDEPEND="expat? ( >=dev-libs/expat-2.1.0-r3:0=[${MULTILIB_USEDEP}] )
368 - !expat? ( >=dev-libs/libxml2-2.9.1-r4:2=[${MULTILIB_USEDEP}] )
369 - gnutls? (
370 - app-misc/ca-certificates
371 - >=net-libs/gnutls-2.12.23-r6:0=[${MULTILIB_USEDEP}]
372 - pkcs11? ( >=dev-libs/pakchois-0.4-r1:0=[${MULTILIB_USEDEP}] )
373 - )
374 - !gnutls? ( ssl? (
375 - >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
376 - pkcs11? ( >=dev-libs/pakchois-0.4-r1:0=[${MULTILIB_USEDEP}] )
377 - ) )
378 - kerberos? ( >=virtual/krb5-0-r1:0=[${MULTILIB_USEDEP}] )
379 - libproxy? ( >=net-libs/libproxy-0.4.11-r1:0=[${MULTILIB_USEDEP}] )
380 - nls? ( >=virtual/libintl-0-r1:0=[${MULTILIB_USEDEP}] )
381 - zlib? ( >=sys-libs/zlib-1.2.8-r1:0=[${MULTILIB_USEDEP}] )"
382 -DEPEND="${RDEPEND}
383 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
384 -RDEPEND="${RDEPEND}
385 - abi_x86_32? (
386 - !<=app-emulation/emul-linux-x86-baselibs-20140508-r8
387 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
388 - )"
389 -
390 -MULTILIB_CHOST_TOOLS=(
391 - /usr/bin/neon-config
392 -)
393 -
394 -src_prepare() {
395 - local lingua linguas
396 - for lingua in ${IUSE_LINGUAS}; do
397 - use linguas_${lingua} && linguas+=" ${lingua}"
398 - done
399 - sed -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/" -i configure.in
400 -
401 - AT_M4DIR="macros" eautoreconf
402 -
403 - elibtoolize
404 -}
405 -
406 -multilib_src_configure() {
407 - local myconf=()
408 -
409 - if has_version sys-libs/glibc; then
410 - einfo "Enabling SSL library thread-safety using POSIX threads..."
411 - myconf+=(--enable-threadsafe-ssl=posix)
412 - fi
413 -
414 - if use expat; then
415 - myconf+=(--with-expat)
416 - else
417 - myconf+=(--with-libxml2)
418 - fi
419 -
420 - if use gnutls; then
421 - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt")
422 - elif use ssl; then
423 - myconf+=(--with-ssl=openssl)
424 - fi
425 -
426 - ECONF_SOURCE=${S} \
427 - econf \
428 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
429 - --enable-shared \
430 - $(use_with kerberos gssapi) \
431 - $(use_with libproxy) \
432 - $(use_enable nls) \
433 - $(use_with pkcs11 pakchois) \
434 - $(use_enable static-libs static) \
435 - $(use_with zlib) \
436 - "${myconf[@]}"
437 -}
438 -
439 -multilib_src_install() {
440 - emake DESTDIR="${D}" install-{config,headers,lib,man,nls}
441 -
442 - if use doc; then
443 - emake DESTDIR="${D}" install-html
444 - fi
445 -}
446 -
447 -multilib_src_install_all() {
448 - prune_libtool_files --all
449 -
450 - dodoc AUTHORS BUGS NEWS README THANKS TODO
451 -}
452
453 diff --git a/net-libs/neon/neon-0.30.0.ebuild b/net-libs/neon/neon-0.30.0.ebuild
454 deleted file mode 100644
455 index 3a4ae72fd33..00000000000
456 --- a/net-libs/neon/neon-0.30.0.ebuild
457 +++ /dev/null
458 @@ -1,95 +0,0 @@
459 -# Copyright 1999-2017 Gentoo Foundation
460 -# Distributed under the terms of the GNU General Public License v2
461 -
462 -EAPI="5"
463 -
464 -inherit autotools libtool
465 -
466 -DESCRIPTION="HTTP and WebDAV client library"
467 -HOMEPAGE="http://www.webdav.org/neon/"
468 -SRC_URI="http://www.webdav.org/neon/${P}.tar.gz"
469 -
470 -LICENSE="GPL-2"
471 -SLOT="0/27"
472 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
473 -IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib"
474 -IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN"
475 -for lingua in ${IUSE_LINGUAS}; do
476 - IUSE+=" linguas_${lingua}"
477 -done
478 -unset lingua
479 -RESTRICT="test"
480 -
481 -RDEPEND="expat? ( dev-libs/expat:0= )
482 - !expat? ( dev-libs/libxml2:2= )
483 - gnutls? (
484 - app-misc/ca-certificates
485 - net-libs/gnutls:0=
486 - pkcs11? ( dev-libs/pakchois:0= )
487 - )
488 - !gnutls? ( ssl? (
489 - dev-libs/openssl:0=
490 - pkcs11? ( dev-libs/pakchois:0= )
491 - ) )
492 - kerberos? ( virtual/krb5:0= )
493 - libproxy? ( net-libs/libproxy:0= )
494 - nls? ( virtual/libintl:0= )
495 - zlib? ( sys-libs/zlib:0= )"
496 -DEPEND="${RDEPEND}
497 - virtual/pkgconfig"
498 -
499 -src_prepare() {
500 - local lingua linguas
501 - for lingua in ${IUSE_LINGUAS}; do
502 - use linguas_${lingua} && linguas+=" ${lingua}"
503 - done
504 - sed -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/" -i configure.in
505 -
506 - AT_M4DIR="macros" eautoreconf
507 -
508 - elibtoolize
509 -}
510 -
511 -src_configure() {
512 - local myconf=()
513 -
514 - if has_version sys-libs/glibc; then
515 - einfo "Enabling SSL library thread-safety using POSIX threads..."
516 - myconf+=(--enable-threadsafe-ssl=posix)
517 - fi
518 -
519 - if use expat; then
520 - myconf+=(--with-expat)
521 - else
522 - myconf+=(--with-libxml2)
523 - fi
524 -
525 - if use gnutls; then
526 - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt")
527 - elif use ssl; then
528 - myconf+=(--with-ssl=openssl)
529 - fi
530 -
531 - econf \
532 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
533 - --enable-shared \
534 - $(use_with kerberos gssapi) \
535 - $(use_with libproxy) \
536 - $(use_enable nls) \
537 - $(use_with pkcs11 pakchois) \
538 - $(use_enable static-libs static) \
539 - $(use_with zlib) \
540 - "${myconf[@]}"
541 -}
542 -
543 -src_install() {
544 - emake DESTDIR="${D}" install-{config,headers,lib,man,nls}
545 -
546 - find "${ED}" -name "*.la" -delete
547 -
548 - if use doc; then
549 - emake DESTDIR="${D}" install-html
550 - fi
551 -
552 - dodoc AUTHORS BUGS NEWS README THANKS TODO
553 -}
554
555 diff --git a/net-libs/neon/neon-0.30.1-r1.ebuild b/net-libs/neon/neon-0.30.1-r1.ebuild
556 deleted file mode 100644
557 index 1a978773242..00000000000
558 --- a/net-libs/neon/neon-0.30.1-r1.ebuild
559 +++ /dev/null
560 @@ -1,111 +0,0 @@
561 -# Copyright 1999-2017 Gentoo Foundation
562 -# Distributed under the terms of the GNU General Public License v2
563 -
564 -EAPI="5"
565 -
566 -inherit autotools libtool multilib-minimal
567 -
568 -DESCRIPTION="HTTP and WebDAV client library"
569 -HOMEPAGE="http://www.webdav.org/neon/"
570 -SRC_URI="http://www.webdav.org/neon/${P}.tar.gz"
571 -
572 -LICENSE="GPL-2"
573 -SLOT="0/27"
574 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
575 -IUSE="doc expat gnutls kerberos libproxy libressl nls pkcs11 ssl static-libs zlib"
576 -IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN"
577 -for lingua in ${IUSE_LINGUAS}; do
578 - IUSE+=" linguas_${lingua}"
579 -done
580 -unset lingua
581 -RESTRICT="test"
582 -
583 -RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] )
584 - !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
585 - gnutls? (
586 - app-misc/ca-certificates
587 - net-libs/gnutls:0=[${MULTILIB_USEDEP}]
588 - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
589 - )
590 - !gnutls? ( ssl? (
591 - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
592 - libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
593 - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
594 - ) )
595 - kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] )
596 - libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] )
597 - nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] )
598 - zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )"
599 -DEPEND="${RDEPEND}
600 - virtual/pkgconfig[${MULTILIB_USEDEP}]"
601 -RDEPEND="${RDEPEND}
602 - abi_x86_32? (
603 - !<=app-emulation/emul-linux-x86-baselibs-20140508-r8
604 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
605 - )"
606 -
607 -MULTILIB_CHOST_TOOLS=(
608 - /usr/bin/neon-config
609 -)
610 -
611 -src_prepare() {
612 - local lingua linguas
613 - for lingua in ${IUSE_LINGUAS}; do
614 - use linguas_${lingua} && linguas+=" ${lingua}"
615 - done
616 - sed -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/" -i configure.ac || die
617 -
618 - epatch "${FILESDIR}"/${P}-xml2-config.patch \
619 - "${FILESDIR}"/${P}-gnutls3.4.patch
620 - AT_M4DIR="macros" eautoreconf
621 -
622 - elibtoolize
623 -
624 - multilib_copy_sources
625 -}
626 -
627 -multilib_src_configure() {
628 - local myconf=()
629 -
630 - if has_version sys-libs/glibc; then
631 - einfo "Enabling SSL library thread-safety using POSIX threads..."
632 - myconf+=(--enable-threadsafe-ssl=posix)
633 - fi
634 -
635 - if use expat; then
636 - myconf+=(--with-expat)
637 - else
638 - myconf+=(--with-libxml2)
639 - fi
640 -
641 - if use gnutls; then
642 - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt")
643 - elif use ssl; then
644 - myconf+=(--with-ssl=openssl)
645 - fi
646 -
647 - econf \
648 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
649 - --enable-shared \
650 - $(use_with kerberos gssapi) \
651 - $(use_with libproxy) \
652 - $(use_enable nls) \
653 - $(use_with pkcs11 pakchois) \
654 - $(use_enable static-libs static) \
655 - $(use_with zlib) \
656 - "${myconf[@]}"
657 -}
658 -
659 -multilib_src_install() {
660 - emake DESTDIR="${D}" install-{config,headers,lib,man,nls}
661 -
662 - if multilib_is_native_abi && use doc; then
663 - dohtml -r doc/html/
664 - fi
665 -}
666 -
667 -multilib_src_install_all() {
668 - find "${ED}" -name "*.la" -delete
669 -
670 - dodoc AUTHORS BUGS NEWS README THANKS TODO
671 -}
672
673 diff --git a/net-libs/neon/neon-0.30.1.ebuild b/net-libs/neon/neon-0.30.1.ebuild
674 deleted file mode 100644
675 index 34e157af079..00000000000
676 --- a/net-libs/neon/neon-0.30.1.ebuild
677 +++ /dev/null
678 @@ -1,109 +0,0 @@
679 -# Copyright 1999-2017 Gentoo Foundation
680 -# Distributed under the terms of the GNU General Public License v2
681 -
682 -EAPI="5"
683 -
684 -inherit autotools libtool multilib-minimal
685 -
686 -DESCRIPTION="HTTP and WebDAV client library"
687 -HOMEPAGE="http://www.webdav.org/neon/"
688 -SRC_URI="http://www.webdav.org/neon/${P}.tar.gz"
689 -
690 -LICENSE="GPL-2"
691 -SLOT="0/27"
692 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
693 -IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib"
694 -IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN"
695 -for lingua in ${IUSE_LINGUAS}; do
696 - IUSE+=" linguas_${lingua}"
697 -done
698 -unset lingua
699 -RESTRICT="test"
700 -
701 -RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] )
702 - !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
703 - gnutls? (
704 - app-misc/ca-certificates
705 - net-libs/gnutls:0=[${MULTILIB_USEDEP}]
706 - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
707 - )
708 - !gnutls? ( ssl? (
709 - dev-libs/openssl:0=[${MULTILIB_USEDEP}]
710 - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
711 - ) )
712 - kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] )
713 - libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] )
714 - nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] )
715 - zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )"
716 -DEPEND="${RDEPEND}
717 - virtual/pkgconfig[${MULTILIB_USEDEP}]"
718 -RDEPEND="${RDEPEND}
719 - abi_x86_32? (
720 - !<=app-emulation/emul-linux-x86-baselibs-20140508-r8
721 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
722 - )"
723 -
724 -MULTILIB_CHOST_TOOLS=(
725 - /usr/bin/neon-config
726 -)
727 -
728 -src_prepare() {
729 - local lingua linguas
730 - for lingua in ${IUSE_LINGUAS}; do
731 - use linguas_${lingua} && linguas+=" ${lingua}"
732 - done
733 - sed -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/" -i configure.ac || die
734 -
735 - epatch "${FILESDIR}"/${P}-xml2-config.patch
736 - AT_M4DIR="macros" eautoreconf
737 -
738 - elibtoolize
739 -
740 - multilib_copy_sources
741 -}
742 -
743 -multilib_src_configure() {
744 - local myconf=()
745 -
746 - if has_version sys-libs/glibc; then
747 - einfo "Enabling SSL library thread-safety using POSIX threads..."
748 - myconf+=(--enable-threadsafe-ssl=posix)
749 - fi
750 -
751 - if use expat; then
752 - myconf+=(--with-expat)
753 - else
754 - myconf+=(--with-libxml2)
755 - fi
756 -
757 - if use gnutls; then
758 - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt")
759 - elif use ssl; then
760 - myconf+=(--with-ssl=openssl)
761 - fi
762 -
763 - econf \
764 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
765 - --enable-shared \
766 - $(use_with kerberos gssapi) \
767 - $(use_with libproxy) \
768 - $(use_enable nls) \
769 - $(use_with pkcs11 pakchois) \
770 - $(use_enable static-libs static) \
771 - $(use_with zlib) \
772 - "${myconf[@]}"
773 -}
774 -
775 -multilib_src_install() {
776 - emake DESTDIR="${D}" install-{config,headers,lib,man,nls}
777 -
778 - if multilib_is_native_abi && use doc; then
779 - dohtml -r doc/html/
780 - fi
781 -}
782 -
783 -multilib_src_install_all() {
784 - find "${ED}" -name "*.la" -delete
785 -
786 - dodoc AUTHORS BUGS NEWS README THANKS TODO
787 -}