1 |
alonbl 14/03/29 21:15:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnutls-2.12.23-r5.ebuild |
5 |
Log: |
6 |
Fix perl-5.18 compatibility, bug#504028, thanks to Kerin Millar |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key BF20DC51) |
9 |
|
10 |
Revision Changes Path |
11 |
1.483 net-libs/gnutls/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.483&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.483&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.482&r2=1.483 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v |
20 |
retrieving revision 1.482 |
21 |
retrieving revision 1.483 |
22 |
diff -u -r1.482 -r1.483 |
23 |
--- ChangeLog 24 Mar 2014 14:29:11 -0000 1.482 |
24 |
+++ ChangeLog 29 Mar 2014 21:15:05 -0000 1.483 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-libs/gnutls |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.482 2014/03/24 14:29:11 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.483 2014/03/29 21:15:05 alonbl Exp $ |
30 |
+ |
31 |
+*gnutls-2.12.23-r5 (29 Mar 2014) |
32 |
+ |
33 |
+ 29 Mar 2014; Alon Bar-Lev <alonbl@g.o> |
34 |
+ +files/gnutls-2.12.23-gdoc-perl-5.18.patch, +gnutls-2.12.23-r5.ebuild: |
35 |
+ Fix perl-5.18 compatibility, bug#504028, thanks to Kerin Millar |
36 |
|
37 |
24 Mar 2014; Agostino Sarubbo <ago@g.o> gnutls-2.12.23-r4.ebuild: |
38 |
Stable for ppc64, wrt bug #503394 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-libs/gnutls/gnutls-2.12.23-r5.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-2.12.23-r5.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-2.12.23-r5.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gnutls-2.12.23-r5.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.12.23-r5.ebuild,v 1.1 2014/03/29 21:15:05 alonbl Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit autotools libtool eutils versionator |
56 |
|
57 |
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project" |
58 |
HOMEPAGE="http://www.gnutls.org/" |
59 |
SRC_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v$(get_version_component_range 1-2)/${P}.tar.bz2" |
60 |
|
61 |
# LGPL-2.1 for libgnutls library and GPL-3 for libgnutls-extra library. |
62 |
LICENSE="GPL-3 LGPL-2.1" |
63 |
SLOT="0" |
64 |
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" |
65 |
IUSE="bindist +cxx doc examples guile lzo +nettle nls pkcs11 static-libs test zlib" |
66 |
|
67 |
RDEPEND=">=dev-libs/libtasn1-0.3.4 |
68 |
<dev-libs/libtasn1-3 |
69 |
guile? ( >=dev-scheme/guile-1.8[networking] ) |
70 |
nettle? ( >=dev-libs/nettle-2.1[gmp] ) |
71 |
!nettle? ( >=dev-libs/libgcrypt-1.4.0:0 ) |
72 |
nls? ( virtual/libintl ) |
73 |
pkcs11? ( >=app-crypt/p11-kit-0.11 ) |
74 |
zlib? ( >=sys-libs/zlib-1.2.3.1 ) |
75 |
!bindist? ( lzo? ( >=dev-libs/lzo-2 ) )" |
76 |
DEPEND="${RDEPEND} |
77 |
virtual/pkgconfig |
78 |
sys-devel/libtool |
79 |
doc? ( dev-util/gtk-doc ) |
80 |
nls? ( sys-devel/gettext ) |
81 |
test? ( app-misc/datefudge )" |
82 |
|
83 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO ) |
84 |
|
85 |
pkg_setup() { |
86 |
if use lzo && use bindist; then |
87 |
ewarn "lzo support is disabled for binary distribution of GnuTLS due to licensing issues." |
88 |
fi |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
# tests/suite directory is not distributed |
93 |
sed -i -e 's|AC_CONFIG_FILES(\[tests/suite/Makefile\])|:|' \ |
94 |
configure.ac || die |
95 |
|
96 |
sed -i -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \ |
97 |
doc/Makefile.am || die |
98 |
|
99 |
for dir in . lib libextra; do |
100 |
sed -i -e '/^AM_INIT_AUTOMAKE/s/-Werror//' "${dir}/configure.ac" || die |
101 |
done |
102 |
|
103 |
epatch "${FILESDIR}"/${PN}-2.12.20-AF_UNIX.patch |
104 |
epatch "${FILESDIR}"/${PN}-2.12.20-libadd.patch |
105 |
epatch "${FILESDIR}"/${PN}-2.12.20-guile-parallelmake.patch |
106 |
epatch "${FILESDIR}"/${PN}-2.12.23-CVE-2013-2116.patch |
107 |
epatch "${FILESDIR}"/${PN}-2.12.23-hppa.patch |
108 |
epatch "${FILESDIR}"/${PN}-2.12.23-CVE-2014-0092.patch |
109 |
epatch "${FILESDIR}"/${PN}-2.12.23-CVE-2014-1959.patch |
110 |
epatch "${FILESDIR}"/${P}-gl-tests-getaddrinfo-skip-if-no-network.patch |
111 |
epatch "${FILESDIR}"/${P}-gdoc-perl-5.18.patch |
112 |
|
113 |
# support user patches |
114 |
epatch_user |
115 |
|
116 |
eautoreconf |
117 |
|
118 |
# Use sane .so versioning on FreeBSD. |
119 |
elibtoolize |
120 |
} |
121 |
|
122 |
src_configure() { |
123 |
local myconf |
124 |
use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)" |
125 |
[[ "${VALGRIND_TESTS}" != "1" ]] && myconf+=" --disable-valgrind-tests" |
126 |
|
127 |
econf \ |
128 |
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
129 |
$(use_enable cxx) \ |
130 |
$(use_enable doc gtk-doc) \ |
131 |
$(use_enable doc gtk-doc-pdf) \ |
132 |
$(use_enable guile) \ |
133 |
$(use_with !nettle libgcrypt) \ |
134 |
$(use_enable nls) \ |
135 |
$(use_with pkcs11 p11-kit) \ |
136 |
$(use_enable static-libs static) \ |
137 |
$(use_with zlib) \ |
138 |
${myconf} |
139 |
} |
140 |
|
141 |
src_test() { |
142 |
if has_version dev-util/valgrind && [[ ${VALGRIND_TESTS} != 1 ]]; then |
143 |
elog |
144 |
elog "You can set VALGRIND_TESTS=\"1\" to enable Valgrind tests." |
145 |
elog |
146 |
fi |
147 |
|
148 |
# parallel testing often fails |
149 |
emake -j1 check |
150 |
} |
151 |
|
152 |
src_install() { |
153 |
default |
154 |
|
155 |
prune_libtool_files |
156 |
|
157 |
if use doc; then |
158 |
dodoc doc/gnutls.{pdf,ps} |
159 |
dohtml doc/gnutls.html |
160 |
fi |
161 |
|
162 |
if use examples; then |
163 |
docinto examples |
164 |
dodoc doc/examples/*.c |
165 |
fi |
166 |
} |