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.2.ebuild
Date: Sun, 13 Apr 2008 15:21:24
Message-Id: E1Jl41B-0007jM-GT@stork.gentoo.org
1 hollow 08/04/13 15:21:21
2
3 Modified: ChangeLog
4 Added: neon-0.28.2.ebuild
5 Log:
6 version bump wrt #216240
7 (Portage version: 2.1.5_rc2)
8
9 Revision Changes Path
10 1.104 net-misc/neon/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/ChangeLog?rev=1.104&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/ChangeLog?rev=1.104&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/ChangeLog?r1=1.103&r2=1.104
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/neon/ChangeLog,v
19 retrieving revision 1.103
20 retrieving revision 1.104
21 diff -u -r1.103 -r1.104
22 --- ChangeLog 13 Apr 2008 15:12:57 -0000 1.103
23 +++ ChangeLog 13 Apr 2008 15:21:20 -0000 1.104
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.103 2008/04/13 15:12:57 hollow Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/neon/ChangeLog,v 1.104 2008/04/13 15:21:20 hollow Exp $
29 +
30 +*neon-0.28.2 (13 Apr 2008)
31 +
32 + 13 Apr 2008; Benedikt Böhm <hollow@g.o> +neon-0.28.2.ebuild:
33 + version bump wrt #216240
34
35 13 Apr 2008; Benedikt Böhm <hollow@g.o> neon-0.28.1.ebuild:
36 fix documentation install; re-drop mips and ppc keywords due to repoman
37
38
39
40 1.1 net-misc/neon/neon-0.28.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/neon-0.28.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/neon/neon-0.28.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: neon-0.28.2.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.2.ebuild,v 1.1 2008/04/13 15:21:20 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 ~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
91 AT_M4DIR="macros" eautoreconf
92 }
93
94 src_compile() {
95 local myconf
96
97 if has_version sys-libs/glibc; then
98 if built_with_use --missing true sys-libs/glibc nptlonly \
99 || built_with_use --missing true sys-libs/glibc nptl; then
100 einfo "Enabling SSL library thread-safety using POSIX threads..."
101 myconf="${myconf} --enable-threadsafe-ssl=posix"
102 fi
103 fi
104
105 if use expat; then
106 myconf="${myconf} --with-expat"
107 else
108 myconf="${myconf} --with-libxml2"
109 fi
110
111 if use gnutls; then
112 myconf="${myconf} --with-ssl=gnutls"
113 elif use ssl; then
114 myconf="${myconf} --with-ssl=openssl"
115 fi
116
117 econf \
118 --enable-static \
119 --enable-shared \
120 $(use_with kerberos gssapi) \
121 $(use_enable nls) \
122 $(use_with pkcs11 pakchois) \
123 $(use_with socks5 socks) \
124 $(use_with zlib) \
125 ${myconf}
126 emake || die "emake failed"
127 }
128
129 src_test() {
130 emake check || die "Trying make check without success."
131 }
132
133 src_install() {
134 emake DESTDIR="${D}" install-lib install-headers install-config install-nls || die "emake install failed"
135
136 if use doc; then
137 emake DESTDIR="${D}" install-docs || die "emake install-docs failed"
138 fi
139
140 dodoc AUTHORS BUGS NEWS README THANKS TODO
141 doman doc/man/*.[1-8]
142 }
143
144 pkg_postinst() {
145 ewarn "Neon has a policy of breaking API across minor versions, this means"
146 ewarn "that any package that links against neon may be broken after"
147 ewarn "updating. They will remain broken until they are ported to the"
148 ewarn "new API. You can downgrade neon to the previous version by doing:"
149 ewarn
150 ewarn " emerge --oneshot '<net-misc/neon-$(get_version_component_range 1-2 ${PV})'"
151 ewarn
152 ewarn "You may also have to downgrade any package that has already been"
153 ewarn "ported to the new API."
154 }
155
156
157
158 --
159 gentoo-commits@l.g.o mailing list