Gentoo Archives: gentoo-commits

From: "Alexander Vershilov (qnikst)" <qnikst@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/neon: neon-0.29.6-r3.ebuild ChangeLog
Date: Sun, 24 Feb 2013 09:50:27
Message-Id: 20130224095024.2F9272171D@flycatcher.gentoo.org
1 qnikst 13/02/24 09:50:24
2
3 Modified: ChangeLog
4 Added: neon-0.29.6-r3.ebuild
5 Log:
6 fix docs layout, thanks to Chris Mayo (#458628)
7
8 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 52CC1A172155E2DA!)
9
10 Revision Changes Path
11 1.56 net-libs/neon/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?rev=1.56&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?rev=1.56&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?r1=1.55&r2=1.56
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v
20 retrieving revision 1.55
21 retrieving revision 1.56
22 diff -u -r1.55 -r1.56
23 --- ChangeLog 21 Feb 2013 18:25:40 -0000 1.55
24 +++ ChangeLog 24 Feb 2013 09:50:24 -0000 1.56
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-libs/neon
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v 1.55 2013/02/21 18:25:40 zmedico Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v 1.56 2013/02/24 09:50:24 qnikst Exp $
30 +
31 +*neon-0.29.6-r3 (24 Feb 2013)
32 +
33 + 24 Feb 2013; <qnikst@g.o> +files/neon-0.29.6-doc.patch,
34 + +neon-0.29.6-r3.ebuild:
35 + fix docs layout, thanks to Chris Mayo (#458628)
36
37 21 Feb 2013; Zac Medico <zmedico@g.o> neon-0.29.6-r2.ebuild:
38 Add ~arm-linux keyword.
39
40
41
42 1.1 net-libs/neon/neon-0.29.6-r3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/neon-0.29.6-r3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/neon-0.29.6-r3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: neon-0.29.6-r3.ebuild
48 ===================================================================
49 # Copyright 1999-2013 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.6-r3.ebuild,v 1.1 2013/02/24 09:50:24 qnikst Exp $
52
53 EAPI="4"
54
55 inherit autotools eutils libtool
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 ~amd64-fbsd ~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 static-libs 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 app-misc/ca-certificates
76 >=net-libs/gnutls-2.0
77 pkcs11? ( dev-libs/pakchois )
78 )
79 !gnutls? ( ssl? (
80 >=dev-libs/openssl-0.9.6f
81 pkcs11? ( dev-libs/pakchois )
82 ) )
83 kerberos? ( virtual/krb5 )
84 libproxy? ( net-libs/libproxy )
85 nls? ( virtual/libintl )
86 zlib? ( sys-libs/zlib )"
87 DEPEND="${RDEPEND}
88 virtual/pkgconfig"
89
90 src_prepare() {
91 local lingua linguas
92 for lingua in ${IUSE_LINGUAS}; do
93 use linguas_${lingua} && linguas+=" ${lingua}"
94 done
95 sed -i -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/g" configure.in
96
97 epatch "${FILESDIR}"/${PN}-0.29.6-no-ssl-check.patch
98 epatch "${FILESDIR}"/${PN}-0.29.6-gnutls-3-functions.patch
99 epatch "${FILESDIR}"/${PN}-0.29.6-gnutls-3-types.patch
100 epatch "${FILESDIR}"/${PN}-0.29.6-gnutls-3-backport.patch
101 epatch "${FILESDIR}"/${PN}-0.29.6-doc.patch
102 AT_M4DIR="macros" eautoreconf
103
104 elibtoolize
105 }
106
107 src_configure() {
108 local myconf=()
109
110 if has_version sys-libs/glibc; then
111 einfo "Enabling SSL library thread-safety using POSIX threads..."
112 myconf+=(--enable-threadsafe-ssl=posix)
113 fi
114
115 if use expat; then
116 myconf+=(--with-expat)
117 else
118 myconf+=(--with-libxml2)
119 fi
120
121 if use gnutls; then
122 myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt")
123 elif use ssl; then
124 myconf+=(--with-ssl=openssl)
125 fi
126
127 # work around broken check, we really need -lintl on Solaris
128 [[ ${CHOST} == *-solaris* ]] && export ne_cv_libsfor_bindtextdomain=-lintl
129
130 econf \
131 --enable-shared \
132 $(use_with kerberos gssapi) \
133 $(use_with libproxy) \
134 $(use_enable nls) \
135 $(use_with pkcs11 pakchois) \
136 $(use_enable static-libs static) \
137 $(use_with zlib) \
138 "${myconf[@]}"
139 }
140
141 src_install() {
142 emake DESTDIR="${D}" install-lib install-headers install-config install-nls || die "emake install failed"
143
144 find "${ED}" -name "*.la" -print0 | xargs -0 rm -f
145
146 if use doc; then
147 emake DESTDIR="${D}" install-docs || die "emake install-docs failed"
148 fi
149
150 dodoc AUTHORS BUGS NEWS README THANKS TODO
151 doman doc/man/*.[1-8]
152 }