Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/neon: neon-0.29.6.ebuild ChangeLog
Date: Tue, 03 May 2011 20:06:49
Message-Id: 20110503200639.8FDE820054@flycatcher.gentoo.org
1 arfrever 11/05/03 20:06:39
2
3 Modified: ChangeLog
4 Added: neon-0.29.6.ebuild
5 Log:
6 Version bump. Fixed support for >=net-libs/gnutls-2.11.1[nettle] (bug #339393). Update dependencies (bug #341373).
7
8 (Portage version: 2.2.0_alpha30_p40/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.16 net-libs/neon/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 16 Jan 2011 18:30:57 -0000 1.15
24 +++ ChangeLog 3 May 2011 20:06:39 -0000 1.16
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-libs/neon
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v 1.15 2011/01/16 18:30:57 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v 1.16 2011/05/03 20:06:39 arfrever Exp $
30 +
31 +*neon-0.29.6 (03 May 2011)
32 +
33 + 03 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +neon-0.29.6.ebuild:
35 + Version bump. Fixed support for >=net-libs/gnutls-2.11.1[nettle] (bug #339393).
36 + Update dependencies (bug #341373).
37
38 16 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
39 neon-0.29.5.ebuild:
40
41
42
43 1.1 net-libs/neon/neon-0.29.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/neon-0.29.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/neon-0.29.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: neon-0.29.6.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/neon/neon-0.29.6.ebuild,v 1.1 2011/05/03 20:06:39 arfrever Exp $
53
54 EAPI="3"
55
56 inherit autotools libtool versionator
57
58 DESCRIPTION="HTTP and WebDAV client library"
59 HOMEPAGE="http://www.webdav.org/neon/"
60 SRC_URI="http://www.webdav.org/neon/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~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"
65 IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib"
66 IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN"
67 for lingua in ${IUSE_LINGUAS}; do
68 IUSE+=" linguas_${lingua}"
69 done
70 unset lingua
71 RESTRICT="test"
72
73 RDEPEND="expat? ( dev-libs/expat )
74 !expat? ( dev-libs/libxml2 )
75 gnutls? (
76 app-misc/ca-certificates
77 >=net-libs/gnutls-2.0
78 pkcs11? ( dev-libs/pakchois )
79 )
80 !gnutls? ( ssl? (
81 >=dev-libs/openssl-0.9.6f
82 pkcs11? ( dev-libs/pakchois )
83 ) )
84 kerberos? ( virtual/krb5 )
85 libproxy? ( net-libs/libproxy )
86 nls? ( virtual/libintl )
87 zlib? ( sys-libs/zlib )"
88 DEPEND="${RDEPEND}
89 dev-util/pkgconfig"
90
91 src_prepare() {
92 local lingua linguas
93 for lingua in ${IUSE_LINGUAS}; do
94 use linguas_${lingua} && linguas+=" ${lingua}"
95 done
96 sed -i -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/g" configure.in
97
98 AT_M4DIR="macros" eautoreconf
99
100 elibtoolize
101 }
102
103 src_configure() {
104 local myconf
105
106 if has_version sys-libs/glibc; then
107 einfo "Enabling SSL library thread-safety using POSIX threads..."
108 myconf+=" --enable-threadsafe-ssl=posix"
109 fi
110
111 if use expat; then
112 myconf+=" --with-expat"
113 else
114 myconf+=" --with-libxml2"
115 fi
116
117 if use gnutls; then
118 myconf+=" --with-ssl=gnutls --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
119 elif use ssl; then
120 myconf+=" --with-ssl=openssl"
121 fi
122
123 econf \
124 --enable-shared \
125 $(use_with kerberos gssapi) \
126 $(use_with libproxy) \
127 $(use_enable nls) \
128 $(use_with pkcs11 pakchois) \
129 $(use_enable static-libs static) \
130 $(use_with zlib) \
131 ${myconf}
132 }
133
134 src_install() {
135 emake DESTDIR="${D}" install-lib install-headers install-config install-nls || die "emake install failed"
136
137 find "${ED}" -name "*.la" -print0 | xargs -0 rm -f
138
139 if use doc; then
140 emake DESTDIR="${D}" install-docs || die "emake install-docs failed"
141 fi
142
143 dodoc AUTHORS BUGS NEWS README THANKS TODO
144 doman doc/man/*.[1-8]
145 }
146
147 pkg_postinst() {
148 ewarn "Neon has a policy of breaking API across minor versions, this means"
149 ewarn "that any package that links against Neon may be broken after"
150 ewarn "updating. They will remain broken until they are ported to the"
151 ewarn "new API. You can downgrade Neon to the previous version by doing:"
152 ewarn
153 ewarn " emerge --oneshot '<${CATEGORY}/${PN}-$(get_version_component_range 1-2 ${PV})'"
154 ewarn
155 ewarn "You may also have to downgrade any package that has not been"
156 ewarn "ported to the new API yet."
157 }