1 |
radhermit 13/05/30 19:56:09 |
2 |
|
3 |
Modified: gnutls-3.1.10.ebuild gnutls-3.2.0.ebuild |
4 |
gnutls-3.1.11.ebuild ChangeLog |
5 |
Added: gnutls-2.12.23-r1.ebuild |
6 |
Log: |
7 |
Revision bump to fix CVE-2013-2116 (bug #471788), drop redundant --disable-silent-rules econf option for EAPI 5 ebuilds, and run tests serially since they often fail in parallel. |
8 |
|
9 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
10 |
|
11 |
Revision Changes Path |
12 |
1.3 net-libs/gnutls/gnutls-3.1.10.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.1.10.ebuild?rev=1.3&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.1.10.ebuild?rev=1.3&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.1.10.ebuild?r1=1.2&r2=1.3 |
17 |
|
18 |
Index: gnutls-3.1.10.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.1.10.ebuild,v |
21 |
retrieving revision 1.2 |
22 |
retrieving revision 1.3 |
23 |
diff -u -r1.2 -r1.3 |
24 |
--- gnutls-3.1.10.ebuild 22 May 2013 10:10:43 -0000 1.2 |
25 |
+++ gnutls-3.1.10.ebuild 30 May 2013 19:56:09 -0000 1.3 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2013 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.1.10.ebuild,v 1.2 2013/05/22 10:10:43 radhermit Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.1.10.ebuild,v 1.3 2013/05/30 19:56:09 radhermit Exp $ |
31 |
|
32 |
EAPI=5 |
33 |
|
34 |
@@ -76,7 +76,6 @@ |
35 |
# TPM needs to be tested before being enabled |
36 |
econf \ |
37 |
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ |
38 |
- --disable-silent-rules \ |
39 |
--disable-valgrind-tests \ |
40 |
--enable-heartbeat-support \ |
41 |
$(use_enable cxx) \ |
42 |
@@ -91,6 +90,11 @@ |
43 |
--without-tpm |
44 |
} |
45 |
|
46 |
+src_test() { |
47 |
+ # parallel testing often fails |
48 |
+ emake -j1 check |
49 |
+} |
50 |
+ |
51 |
src_install() { |
52 |
default |
53 |
|
54 |
|
55 |
|
56 |
|
57 |
1.4 net-libs/gnutls/gnutls-3.2.0.ebuild |
58 |
|
59 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.2.0.ebuild?rev=1.4&view=markup |
60 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.2.0.ebuild?rev=1.4&content-type=text/plain |
61 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.2.0.ebuild?r1=1.3&r2=1.4 |
62 |
|
63 |
Index: gnutls-3.2.0.ebuild |
64 |
=================================================================== |
65 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.2.0.ebuild,v |
66 |
retrieving revision 1.3 |
67 |
retrieving revision 1.4 |
68 |
diff -u -r1.3 -r1.4 |
69 |
--- gnutls-3.2.0.ebuild 22 May 2013 18:32:22 -0000 1.3 |
70 |
+++ gnutls-3.2.0.ebuild 30 May 2013 19:56:09 -0000 1.4 |
71 |
@@ -1,6 +1,6 @@ |
72 |
# Copyright 1999-2013 Gentoo Foundation |
73 |
# Distributed under the terms of the GNU General Public License v2 |
74 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.2.0.ebuild,v 1.3 2013/05/22 18:32:22 radhermit Exp $ |
75 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.2.0.ebuild,v 1.4 2013/05/30 19:56:09 radhermit Exp $ |
76 |
|
77 |
EAPI=5 |
78 |
|
79 |
@@ -76,7 +76,6 @@ |
80 |
# TPM needs to be tested before being enabled |
81 |
econf \ |
82 |
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ |
83 |
- --disable-silent-rules \ |
84 |
--disable-valgrind-tests \ |
85 |
--enable-heartbeat-support \ |
86 |
$(use_enable cxx) \ |
87 |
@@ -91,6 +90,11 @@ |
88 |
--without-tpm |
89 |
} |
90 |
|
91 |
+src_test() { |
92 |
+ # parallel testing often fails |
93 |
+ emake -j1 check |
94 |
+} |
95 |
+ |
96 |
src_install() { |
97 |
default |
98 |
|
99 |
|
100 |
|
101 |
|
102 |
1.3 net-libs/gnutls/gnutls-3.1.11.ebuild |
103 |
|
104 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.1.11.ebuild?rev=1.3&view=markup |
105 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.1.11.ebuild?rev=1.3&content-type=text/plain |
106 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.1.11.ebuild?r1=1.2&r2=1.3 |
107 |
|
108 |
Index: gnutls-3.1.11.ebuild |
109 |
=================================================================== |
110 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.1.11.ebuild,v |
111 |
retrieving revision 1.2 |
112 |
retrieving revision 1.3 |
113 |
diff -u -r1.2 -r1.3 |
114 |
--- gnutls-3.1.11.ebuild 22 May 2013 10:10:43 -0000 1.2 |
115 |
+++ gnutls-3.1.11.ebuild 30 May 2013 19:56:09 -0000 1.3 |
116 |
@@ -1,6 +1,6 @@ |
117 |
# Copyright 1999-2013 Gentoo Foundation |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.1.11.ebuild,v 1.2 2013/05/22 10:10:43 radhermit Exp $ |
120 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.1.11.ebuild,v 1.3 2013/05/30 19:56:09 radhermit Exp $ |
121 |
|
122 |
EAPI=5 |
123 |
|
124 |
@@ -76,7 +76,6 @@ |
125 |
# TPM needs to be tested before being enabled |
126 |
econf \ |
127 |
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ |
128 |
- --disable-silent-rules \ |
129 |
--disable-valgrind-tests \ |
130 |
--enable-heartbeat-support \ |
131 |
$(use_enable cxx) \ |
132 |
@@ -91,6 +90,11 @@ |
133 |
--without-tpm |
134 |
} |
135 |
|
136 |
+src_test() { |
137 |
+ # parallel testing often fails |
138 |
+ emake -j1 check |
139 |
+} |
140 |
+ |
141 |
src_install() { |
142 |
default |
143 |
|
144 |
|
145 |
|
146 |
|
147 |
1.429 net-libs/gnutls/ChangeLog |
148 |
|
149 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.429&view=markup |
150 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.429&content-type=text/plain |
151 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.428&r2=1.429 |
152 |
|
153 |
Index: ChangeLog |
154 |
=================================================================== |
155 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v |
156 |
retrieving revision 1.428 |
157 |
retrieving revision 1.429 |
158 |
diff -u -r1.428 -r1.429 |
159 |
--- ChangeLog 22 May 2013 18:32:22 -0000 1.428 |
160 |
+++ ChangeLog 30 May 2013 19:56:09 -0000 1.429 |
161 |
@@ -1,6 +1,15 @@ |
162 |
# ChangeLog for net-libs/gnutls |
163 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
164 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.428 2013/05/22 18:32:22 radhermit Exp $ |
165 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.429 2013/05/30 19:56:09 radhermit Exp $ |
166 |
+ |
167 |
+*gnutls-2.12.23-r1 (30 May 2013) |
168 |
+ |
169 |
+ 30 May 2013; Tim Harder <radhermit@g.o> +gnutls-2.12.23-r1.ebuild, |
170 |
+ gnutls-3.1.10.ebuild, gnutls-3.1.11.ebuild, gnutls-3.2.0.ebuild, |
171 |
+ +files/gnutls-2.12.23-CVE-2013-2116.patch: |
172 |
+ Revision bump to fix CVE-2013-2116 (bug #471788), drop redundant |
173 |
+ --disable-silent-rules econf option for EAPI 5 ebuilds, and run tests |
174 |
+ serially since they often fail in parallel. |
175 |
|
176 |
22 May 2013; Tim Harder <radhermit@g.o> gnutls-3.2.0.ebuild: |
177 |
Update nettle dep (bug #471022). |
178 |
|
179 |
|
180 |
|
181 |
1.1 net-libs/gnutls/gnutls-2.12.23-r1.ebuild |
182 |
|
183 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-2.12.23-r1.ebuild?rev=1.1&view=markup |
184 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-2.12.23-r1.ebuild?rev=1.1&content-type=text/plain |
185 |
|
186 |
Index: gnutls-2.12.23-r1.ebuild |
187 |
=================================================================== |
188 |
# Copyright 1999-2013 Gentoo Foundation |
189 |
# Distributed under the terms of the GNU General Public License v2 |
190 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.12.23-r1.ebuild,v 1.1 2013/05/30 19:56:09 radhermit Exp $ |
191 |
|
192 |
EAPI=5 |
193 |
|
194 |
inherit autotools libtool eutils versionator |
195 |
|
196 |
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project" |
197 |
HOMEPAGE="http://www.gnutls.org/" |
198 |
SRC_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v$(get_version_component_range 1-2)/${P}.tar.bz2" |
199 |
|
200 |
# LGPL-2.1 for libgnutls library and GPL-3 for libgnutls-extra library. |
201 |
LICENSE="GPL-3 LGPL-2.1" |
202 |
SLOT="0" |
203 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
204 |
IUSE="bindist +cxx doc examples guile lzo +nettle nls pkcs11 static-libs test zlib" |
205 |
|
206 |
RDEPEND=">=dev-libs/libtasn1-0.3.4 |
207 |
<dev-libs/libtasn1-3 |
208 |
guile? ( >=dev-scheme/guile-1.8[networking] ) |
209 |
nettle? ( >=dev-libs/nettle-2.1[gmp] ) |
210 |
!nettle? ( >=dev-libs/libgcrypt-1.4.0 ) |
211 |
nls? ( virtual/libintl ) |
212 |
pkcs11? ( >=app-crypt/p11-kit-0.11 ) |
213 |
zlib? ( >=sys-libs/zlib-1.2.3.1 ) |
214 |
!bindist? ( lzo? ( >=dev-libs/lzo-2 ) )" |
215 |
DEPEND="${RDEPEND} |
216 |
virtual/pkgconfig |
217 |
sys-devel/libtool |
218 |
doc? ( dev-util/gtk-doc ) |
219 |
nls? ( sys-devel/gettext ) |
220 |
test? ( app-misc/datefudge )" |
221 |
|
222 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO ) |
223 |
|
224 |
pkg_setup() { |
225 |
if use lzo && use bindist; then |
226 |
ewarn "lzo support is disabled for binary distribution of GnuTLS due to licensing issues." |
227 |
fi |
228 |
} |
229 |
|
230 |
src_prepare() { |
231 |
# tests/suite directory is not distributed |
232 |
sed -i -e 's|AC_CONFIG_FILES(\[tests/suite/Makefile\])|:|' \ |
233 |
configure.ac || die |
234 |
|
235 |
sed -i -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \ |
236 |
doc/Makefile.am || die |
237 |
|
238 |
local dir |
239 |
for dir in m4 lib/m4 libextra/m4; do |
240 |
rm -f "${dir}/lt"* "${dir}/libtool.m4" |
241 |
done |
242 |
find . -name ltmain.sh -exec rm {} \; |
243 |
|
244 |
epatch "${FILESDIR}"/${PN}-2.12.20-AF_UNIX.patch |
245 |
epatch "${FILESDIR}"/${PN}-2.12.20-libadd.patch |
246 |
epatch "${FILESDIR}"/${PN}-2.12.20-guile-parallelmake.patch |
247 |
epatch "${FILESDIR}"/${PN}-2.12.23-CVE-2013-2116.patch |
248 |
|
249 |
# support user patches |
250 |
epatch_user |
251 |
|
252 |
for dir in . lib libextra; do |
253 |
pushd "${dir}" > /dev/null |
254 |
sed -i -e '/^AM_INIT_AUTOMAKE/s/-Werror//' configure.ac || die |
255 |
eautoreconf |
256 |
popd > /dev/null |
257 |
done |
258 |
|
259 |
# Use sane .so versioning on FreeBSD. |
260 |
elibtoolize |
261 |
} |
262 |
|
263 |
src_configure() { |
264 |
local myconf |
265 |
use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)" |
266 |
[[ "${VALGRIND_TESTS}" != "1" ]] && myconf+=" --disable-valgrind-tests" |
267 |
|
268 |
econf \ |
269 |
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
270 |
$(use_enable cxx) \ |
271 |
$(use_enable doc gtk-doc) \ |
272 |
$(use_enable doc gtk-doc-pdf) \ |
273 |
$(use_enable guile) \ |
274 |
$(use_with !nettle libgcrypt) \ |
275 |
$(use_enable nls) \ |
276 |
$(use_with pkcs11 p11-kit) \ |
277 |
$(use_enable static-libs static) \ |
278 |
$(use_with zlib) \ |
279 |
${myconf} |
280 |
} |
281 |
|
282 |
src_test() { |
283 |
if has_version dev-util/valgrind && [[ ${VALGRIND_TESTS} != 1 ]]; then |
284 |
elog |
285 |
elog "You can set VALGRIND_TESTS=\"1\" to enable Valgrind tests." |
286 |
elog |
287 |
fi |
288 |
|
289 |
# parallel testing often fails |
290 |
emake -j1 check |
291 |
} |
292 |
|
293 |
src_install() { |
294 |
default |
295 |
|
296 |
prune_libtool_files |
297 |
|
298 |
if use doc; then |
299 |
dodoc doc/gnutls.{pdf,ps} |
300 |
dohtml doc/gnutls.html |
301 |
fi |
302 |
|
303 |
if use examples; then |
304 |
docinto examples |
305 |
dodoc doc/examples/*.c |
306 |
fi |
307 |
} |