1 |
qnikst 12/11/28 11:17:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: neon-0.29.6-r2.ebuild |
5 |
Log: |
6 |
backporting patches for gnutls (#440936) |
7 |
|
8 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.46 net-libs/neon/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?rev=1.46&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?rev=1.46&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?r1=1.45&r2=1.46 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v |
20 |
retrieving revision 1.45 |
21 |
retrieving revision 1.46 |
22 |
diff -u -r1.45 -r1.46 |
23 |
--- ChangeLog 1 Nov 2012 15:52:27 -0000 1.45 |
24 |
+++ ChangeLog 28 Nov 2012 11:17:14 -0000 1.46 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-libs/neon |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v 1.45 2012/11/01 15:52:27 qnikst Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v 1.46 2012/11/28 11:17:14 qnikst Exp $ |
30 |
+ |
31 |
+*neon-0.29.6-r2 (28 Nov 2012) |
32 |
+ |
33 |
+ 28 Nov 2012; Alexander Vershilov <qnikst@g.o> |
34 |
+ +files/neon-0.29.6-gnutls-3-backport.patch, +neon-0.29.6-r2.ebuild: |
35 |
+ backporting patches for gnutls (#440936) |
36 |
|
37 |
01 Nov 2012; Alexander Vershilov <qnikst@g.o> |
38 |
+files/neon-0.29.6-gnutls-3-functions.patch, |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-libs/neon/neon-0.29.6-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/neon-0.29.6-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/neon-0.29.6-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: neon-0.29.6-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 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-r2.ebuild,v 1.1 2012/11/28 11:17:13 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 |
AT_M4DIR="macros" eautoreconf |
102 |
|
103 |
elibtoolize |
104 |
} |
105 |
|
106 |
src_configure() { |
107 |
local myconf=() |
108 |
|
109 |
if has_version sys-libs/glibc; then |
110 |
einfo "Enabling SSL library thread-safety using POSIX threads..." |
111 |
myconf+=(--enable-threadsafe-ssl=posix) |
112 |
fi |
113 |
|
114 |
if use expat; then |
115 |
myconf+=(--with-expat) |
116 |
else |
117 |
myconf+=(--with-libxml2) |
118 |
fi |
119 |
|
120 |
if use gnutls; then |
121 |
myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") |
122 |
elif use ssl; then |
123 |
myconf+=(--with-ssl=openssl) |
124 |
fi |
125 |
|
126 |
# work around broken check, we really need -lintl on Solaris |
127 |
[[ ${CHOST} == *-solaris* ]] && export ne_cv_libsfor_bindtextdomain=-lintl |
128 |
|
129 |
econf \ |
130 |
--enable-shared \ |
131 |
$(use_with kerberos gssapi) \ |
132 |
$(use_with libproxy) \ |
133 |
$(use_enable nls) \ |
134 |
$(use_with pkcs11 pakchois) \ |
135 |
$(use_enable static-libs static) \ |
136 |
$(use_with zlib) \ |
137 |
"${myconf[@]}" |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
emake DESTDIR="${D}" install-lib install-headers install-config install-nls || die "emake install failed" |
142 |
|
143 |
find "${ED}" -name "*.la" -print0 | xargs -0 rm -f |
144 |
|
145 |
if use doc; then |
146 |
emake DESTDIR="${D}" install-docs || die "emake install-docs failed" |
147 |
fi |
148 |
|
149 |
dodoc AUTHORS BUGS NEWS README THANKS TODO |
150 |
doman doc/man/*.[1-8] |
151 |
} |