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