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