Gentoo Archives: gentoo-commits

From: "Alon Bar-Lev (alonbl)" <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gnutls: gnutls-3.2.1-r1.ebuild ChangeLog gnutls-3.2.1.ebuild
Date: Mon, 03 Jun 2013 20:17:24
Message-Id: 20130603201717.865632171E@flycatcher.gentoo.org
1 alonbl 13/06/03 20:17:17
2
3 Modified: ChangeLog
4 Added: gnutls-3.2.1-r1.ebuild
5 Removed: gnutls-3.2.1.ebuild
6 Log:
7 backport patches from upstream related to bug#472056, should solve bug#472196
8
9 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
10
11 Revision Changes Path
12 1.435 net-libs/gnutls/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.435&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.435&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.434&r2=1.435
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v
21 retrieving revision 1.434
22 retrieving revision 1.435
23 diff -u -r1.434 -r1.435
24 --- ChangeLog 2 Jun 2013 20:43:15 -0000 1.434
25 +++ ChangeLog 3 Jun 2013 20:17:17 -0000 1.435
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-libs/gnutls
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.434 2013/06/02 20:43:15 rich0 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.435 2013/06/03 20:17:17 alonbl Exp $
31 +
32 +*gnutls-3.2.1-r1 (03 Jun 2013)
33 +
34 + 03 Jun 2013; Alon Bar-Lev <alonbl@g.o>
35 + +files/gnutls-3.2.1-build-gmp-1.patch, +files/gnutls-3.2.1-build-gmp-2.patch,
36 + +files/gnutls-3.2.1-build-gmp-3.patch, +gnutls-3.2.1-r1.ebuild,
37 + -files/gnutls-3.2.1-build-gmp.patch, -gnutls-3.2.1.ebuild:
38 + backport patches from upstream related to bug#472056, should solve bug#472196
39
40 02 Jun 2013; Richard Freeman <rich0@g.o> gnutls-2.12.23-r1.ebuild:
41 amd64 stable - 471788
42
43
44
45 1.1 net-libs/gnutls/gnutls-3.2.1-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.2.1-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.2.1-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: gnutls-3.2.1-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2013 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.2.1-r1.ebuild,v 1.1 2013/06/03 20:17:17 alonbl Exp $
55
56 EAPI=5
57
58 inherit autotools libtool eutils versionator
59
60 DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
61 HOMEPAGE="http://www.gnutls.org/"
62 SRC_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
63
64 # LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
65 # soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
66 LICENSE="GPL-3 LGPL-3"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
69 IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
70 IUSE="+cxx dane doc examples guile nls pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
71 # heartbeat support is not disabled until re-licensing happens fullyf
72
73 # NOTICE: sys-devel/autogen is required at runtime as we
74 # use system libopts
75 RDEPEND=">=dev-libs/libtasn1-2.14
76 >=dev-libs/nettle-2.7[gmp]
77 dev-libs/gmp
78 sys-devel/autogen
79 dane? ( net-dns/unbound )
80 guile? ( >=dev-scheme/guile-1.8[networking] )
81 nls? ( virtual/libintl )
82 pkcs11? ( >=app-crypt/p11-kit-0.11 )
83 zlib? ( >=sys-libs/zlib-1.2.3.1 )"
84 DEPEND="${RDEPEND}
85 >=sys-devel/automake-1.11.6
86 virtual/pkgconfig
87 doc? ( dev-util/gtk-doc )
88 nls? ( sys-devel/gettext )
89 test? ( app-misc/datefudge )"
90
91 DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
92
93 src_prepare() {
94 epatch "${FILESDIR}/${P}-build-gmp-"*.patch
95
96 # tests/suite directory is not distributed
97 sed -i \
98 -e ':AC_CONFIG_FILES(\[tests/suite/Makefile\]):d' \
99 -e '/^AM_INIT_AUTOMAKE/s/-Werror//' \
100 configure.ac || die
101
102 sed -i \
103 -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
104 doc/Makefile.am || die
105
106 rm -f {m4,gl/m4}/{lt*,libtool.m4}
107 find . -name ltmain.sh -delete
108
109 # use system libopts
110 sed -i -e "/^enable_local_libopts/s/yes/no/" configure.ac || die
111
112 # force regeneration of autogen-ed files
113 local file
114 for file in $(grep -l AutoGen-ed src/*.c) ; do
115 rm src/$(basename ${file} .c).{c,h} || die
116 done
117
118 # support user patches
119 epatch_user
120
121 eautoreconf
122
123 # Use sane .so versioning on FreeBSD.
124 elibtoolize
125 }
126
127 src_configure() {
128 LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
129
130 # TPM needs to be tested before being enabled
131 econf \
132 --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
133 --disable-valgrind-tests \
134 --enable-heartbeat-support \
135 $(use_enable cxx) \
136 $(use_enable dane libdane) \
137 $(use_enable doc gtk-doc) \
138 $(use_enable doc gtk-doc-pdf) \
139 $(use_enable guile) \
140 $(use_enable nls) \
141 $(use_enable static-libs static) \
142 $(use_with pkcs11 p11-kit) \
143 $(use_with zlib) \
144 --without-tpm
145 }
146
147 src_test() {
148 # parallel testing often fails
149 emake -j1 check
150 }
151
152 src_install() {
153 default
154
155 find "${ED}" -name '*.la' -delete
156
157 dodoc doc/certtool.cfg
158
159 if use doc; then
160 dodoc doc/gnutls.pdf
161 dohtml doc/gnutls.html
162 fi
163
164 if use examples; then
165 docinto examples
166 dodoc doc/examples/*.c
167 fi
168 }