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