Gentoo Archives: gentoo-commits

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