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/
Date: Fri, 27 Jan 2017 17:34:42
Message-Id: 1485538433.5d9b7ab316c35e871c1528231e5e5190c50265ef.floppym@gentoo
1 commit: 5d9b7ab316c35e871c1528231e5e5190c50265ef
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Fri Jan 27 17:14:33 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 27 17:33:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9b7ab3
7
8 net-libs/neon: Version bump (0.30.2).
9
10 net-libs/neon/Manifest | 1 +
11 net-libs/neon/neon-0.30.2.ebuild | 99 ++++++++++++++++++++++++++++++++++++++++
12 2 files changed, 100 insertions(+)
13
14 diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest
15 index ec1be18..253841b 100644
16 --- a/net-libs/neon/Manifest
17 +++ b/net-libs/neon/Manifest
18 @@ -1,2 +1,3 @@
19 DIST neon-0.30.0.tar.gz 909989 SHA256 2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2 SHA512 67f8a6c5549c37d984d8a0af88cd93c8c51593fa995662fd686e47acb630143d7b0c02c09d3c19f6a0181e0ff82940618cf72a76f9cb17bb964293f4118f013e WHIRLPOOL 75df16aae54410e97887ad1b1d45a17e58868cffff7d929f511c4840179ace1500c33228b02de7a038b9620d729e5153e1e14cc916ed1af9ce90bf4c49fb4b71
20 DIST neon-0.30.1.tar.gz 911414 SHA256 00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd SHA512 4a9e45c886e04c5e1a1c781f7c2544b73724e09745097b1e8dc9adf9acd79af1762d668d4f18c295d7b4148d57af797834dd3c1203f2529089f7d1972ca71e63 WHIRLPOOL 747385544f0fbacc6c39fa5911ee5a21654ac21ecea89f297c17b43c21a7a649ae47b08b155733e9da0286a24024f4e54dcff3c9c2d678d9abe27f83054d718b
21 +DIST neon-0.30.2.tar.gz 932779 SHA256 db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca SHA512 634caf87522e0bd2695c6fba39cae2465e403f9fbd8007eb10e4e035c765d24cb8da932c67bfa35c34aa51b90c7bc7037ebebaa1ec43259366d5d07233efc631 WHIRLPOOL 977464fc686727dcbdb9def45159d783586fceb289c0eca937429ae3d2b39d9c6bb63a5029be566107d415718ee6ab315b8167c02b3093884757932f89e3b704
22
23 diff --git a/net-libs/neon/neon-0.30.2.ebuild b/net-libs/neon/neon-0.30.2.ebuild
24 new file mode 100644
25 index 00000000..d88dd40
26 --- /dev/null
27 +++ b/net-libs/neon/neon-0.30.2.ebuild
28 @@ -0,0 +1,99 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +# $Id$
32 +
33 +EAPI="6"
34 +
35 +inherit autotools libtool multilib-minimal
36 +
37 +DESCRIPTION="HTTP and WebDAV client library"
38 +HOMEPAGE="http://www.webdav.org/neon/"
39 +SRC_URI="http://www.webdav.org/neon/${P}.tar.gz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0/27"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
44 +IUSE="doc expat gnutls kerberos libproxy libressl nls pkcs11 ssl static-libs zlib"
45 +RESTRICT="test"
46 +
47 +RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] )
48 + !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
49 + gnutls? (
50 + app-misc/ca-certificates
51 + net-libs/gnutls:0=[${MULTILIB_USEDEP}]
52 + pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
53 + )
54 + !gnutls? ( ssl? (
55 + libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
56 + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
57 + pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
58 + ) )
59 + kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] )
60 + libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] )
61 + nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] )
62 + zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )"
63 +DEPEND="${RDEPEND}
64 + virtual/pkgconfig[${MULTILIB_USEDEP}]"
65 +
66 +MULTILIB_CHOST_TOOLS=(
67 + /usr/bin/neon-config
68 +)
69 +
70 +src_prepare() {
71 + # Use CHOST-prefixed version of xml2-config for cross-compilation.
72 + sed -e "s/AC_CHECK_PROG(XML2_CONFIG,/AC_CHECK_TOOL(XML2_CONFIG,/" -i macros/neon-xml-parser.m4 || die "sed failed"
73 +
74 + eapply_user
75 +
76 + AT_M4DIR="macros" eautoreconf
77 +
78 + elibtoolize
79 +
80 + multilib_copy_sources
81 +}
82 +
83 +multilib_src_configure() {
84 + local myconf=()
85 +
86 + if has_version sys-libs/glibc; then
87 + einfo "Enabling SSL library thread-safety using POSIX threads..."
88 + myconf+=(--enable-threadsafe-ssl=posix)
89 + fi
90 +
91 + if use expat; then
92 + myconf+=(--with-expat)
93 + else
94 + myconf+=(--with-libxml2)
95 + fi
96 +
97 + if use gnutls; then
98 + myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt")
99 + elif use ssl; then
100 + myconf+=(--with-ssl=openssl)
101 + fi
102 +
103 + econf \
104 + --docdir="${EPREFIX}/usr/share/doc/${PF}" \
105 + --enable-shared \
106 + $(use_with kerberos gssapi) \
107 + $(use_with libproxy) \
108 + $(use_enable nls) \
109 + $(use_with pkcs11 pakchois) \
110 + $(use_enable static-libs static) \
111 + $(use_with zlib) \
112 + "${myconf[@]}"
113 +}
114 +
115 +multilib_src_install() {
116 + emake DESTDIR="${D}" install-{config,headers,lib,man,nls}
117 +
118 + if multilib_is_native_abi && use doc; then
119 + dohtml -r doc/html/
120 + fi
121 +}
122 +
123 +multilib_src_install_all() {
124 + find "${ED}" -name "*.la" -delete
125 +
126 + dodoc AUTHORS BUGS NEWS README THANKS TODO
127 +}