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: metadata.xml ChangeLog neon-0.28.4.ebuild
Date: Sat, 21 Mar 2009 21:52:22
Message-Id: E1Ll976-0000iN-6j@stork.gentoo.org
1 arfrever 09/03/21 21:52:20
2
3 Modified: metadata.xml ChangeLog
4 Added: neon-0.28.4.ebuild
5 Log:
6 Version bump (bug #261572).
7 (Portage version: 13139-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 net-misc/neon/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/metadata.xml?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/metadata.xml?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/metadata.xml?r1=1.4&r2=1.5
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/neon/metadata.xml,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- metadata.xml 8 Aug 2008 05:00:14 -0000 1.4
23 +++ metadata.xml 21 Mar 2009 21:52:20 -0000 1.5
24 @@ -1,7 +1,10 @@
25 <?xml version="1.0" encoding="UTF-8"?>
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 - <herd>apache</herd>
29 + <maintainer>
30 + <email>arfrever@g.o</email>
31 + <name>Arfrever Frehtes Taifersar Arahesis</name>
32 + </maintainer>
33 <longdescription>
34 neon is an HTTP and WebDAV client library for Unix
35 systems, with a C language API. It provides high-level interfaces to
36
37
38
39 1.119 net-misc/neon/ChangeLog
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/ChangeLog?rev=1.119&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/ChangeLog?rev=1.119&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/ChangeLog?r1=1.118&r2=1.119
44
45 Index: ChangeLog
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/net-misc/neon/ChangeLog,v
48 retrieving revision 1.118
49 retrieving revision 1.119
50 diff -u -r1.118 -r1.119
51 --- ChangeLog 12 Nov 2008 05:50:58 -0000 1.118
52 +++ ChangeLog 21 Mar 2009 21:52:20 -0000 1.119
53 @@ -1,6 +1,12 @@
54 # ChangeLog for net-misc/neon
55 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
56 -# $Header: /var/cvsroot/gentoo-x86/net-misc/neon/ChangeLog,v 1.118 2008/11/12 05:50:58 pva Exp $
57 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
58 +# $Header: /var/cvsroot/gentoo-x86/net-misc/neon/ChangeLog,v 1.119 2009/03/21 21:52:20 arfrever Exp $
59 +
60 +*neon-0.28.4 (21 Mar 2009)
61 +
62 + 21 Mar 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
63 + metadata.xml, +neon-0.28.4.ebuild:
64 + Version bump (bug #261572).
65
66 12 Nov 2008; Peter Volkov <pva@g.o> neon-0.28.3.ebuild:
67 ~mips keyword back, bug #212056.
68
69
70
71 1.1 net-misc/neon/neon-0.28.4.ebuild
72
73 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/neon-0.28.4.ebuild?rev=1.1&view=markup
74 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/neon-0.28.4.ebuild?rev=1.1&content-type=text/plain
75
76 Index: neon-0.28.4.ebuild
77 ===================================================================
78 # Copyright 1999-2009 Gentoo Foundation
79 # Distributed under the terms of the GNU General Public License v2
80 # $Header: /var/cvsroot/gentoo-x86/net-misc/neon/neon-0.28.4.ebuild,v 1.1 2009/03/21 21:52:20 arfrever Exp $
81
82 inherit autotools eutils libtool versionator
83
84 RESTRICT="test"
85
86 DESCRIPTION="HTTP and WebDAV client library"
87 HOMEPAGE="http://www.webdav.org/neon/"
88 SRC_URI="http://www.webdav.org/neon/${P}.tar.gz"
89
90 LICENSE="GPL-2"
91 SLOT="0"
92 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
93 IUSE="doc expat gnutls kerberos nls pkcs11 socks5 ssl zlib"
94 IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN"
95 for lingua in ${IUSE_LINGUAS}; do
96 IUSE="${IUSE} linguas_${lingua}"
97 done
98
99 RDEPEND="expat? ( dev-libs/expat )
100 !expat? ( dev-libs/libxml2 )
101 gnutls? (
102 >=net-libs/gnutls-2.0
103 pkcs11? ( dev-libs/pakchois )
104 )
105 !gnutls? ( ssl? (
106 >=dev-libs/openssl-0.9.6f
107 pkcs11? ( dev-libs/pakchois )
108 ) )
109 kerberos? ( virtual/krb5 )
110 nls? ( virtual/libintl )
111 socks5? ( net-proxy/dante )
112 zlib? ( sys-libs/zlib )"
113 DEPEND="${RDEPEND}"
114
115 src_unpack() {
116 unpack ${A}
117 cd "${S}"
118
119 local lingua linguas
120 for lingua in ${IUSE_LINGUAS}; do
121 use linguas_${lingua} && linguas="${linguas} ${lingua}"
122 done
123 sed -i -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/g" configure.in
124 sed -i -e "s/socks5/socks/g" macros/neon.m4
125
126 AT_M4DIR="macros" eautoreconf
127 }
128
129 src_compile() {
130 local myconf
131
132 if has_version sys-libs/glibc; then
133 if built_with_use --missing true sys-libs/glibc nptlonly \
134 || built_with_use --missing true sys-libs/glibc nptl; then
135 einfo "Enabling SSL library thread-safety using POSIX threads..."
136 myconf="${myconf} --enable-threadsafe-ssl=posix"
137 fi
138 fi
139
140 if use expat; then
141 myconf="${myconf} --with-expat"
142 else
143 myconf="${myconf} --with-libxml2"
144 fi
145
146 if use gnutls; then
147 myconf="${myconf} --with-ssl=gnutls"
148 elif use ssl; then
149 myconf="${myconf} --with-ssl=openssl"
150 fi
151
152 econf \
153 --enable-static \
154 --enable-shared \
155 $(use_with kerberos gssapi) \
156 $(use_enable nls) \
157 $(use_with pkcs11 pakchois) \
158 $(use_with socks5 socks) \
159 $(use_with zlib) \
160 ${myconf}
161 emake || die "emake failed"
162 }
163
164 src_test() {
165 emake check || die "Trying make check without success."
166 }
167
168 src_install() {
169 emake DESTDIR="${D}" install-lib install-headers install-config install-nls || die "emake install failed"
170
171 if use doc; then
172 emake DESTDIR="${D}" install-docs || die "emake install-docs failed"
173 fi
174
175 dodoc AUTHORS BUGS NEWS README THANKS TODO
176 doman doc/man/*.[1-8]
177 }
178
179 pkg_postinst() {
180 ewarn "Neon has a policy of breaking API across minor versions, this means"
181 ewarn "that any package that links against neon may be broken after"
182 ewarn "updating. They will remain broken until they are ported to the"
183 ewarn "new API. You can downgrade neon to the previous version by doing:"
184 ewarn
185 ewarn " emerge --oneshot '<net-misc/neon-$(get_version_component_range 1-2 ${PV})'"
186 ewarn
187 ewarn "You may also have to downgrade any package that has already been"
188 ewarn "ported to the new API."
189 }