Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gnutls/
Date: Sat, 29 Aug 2015 19:14:49
Message-Id: 1440875630.f99dede8923b1b788ea943004dd35f3e8e0e195f.alonbl@gentoo
1 commit: f99dede8923b1b788ea943004dd35f3e8e0e195f
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 19:13:50 2015 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 19:13:50 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f99dede8
7
8 net-libs/gnutls: cleanup
9
10 Package-Manager: portage-2.2.20.1
11
12 net-libs/gnutls/Manifest | 2 -
13 net-libs/gnutls/gnutls-3.3.16-r1.ebuild | 176 --------------------------------
14 net-libs/gnutls/gnutls-3.4.3-r1.ebuild | 132 ------------------------
15 3 files changed, 310 deletions(-)
16
17 diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest
18 index 936df1c..c659809 100644
19 --- a/net-libs/gnutls/Manifest
20 +++ b/net-libs/gnutls/Manifest
21 @@ -1,6 +1,4 @@
22 DIST gnutls-2.12.23.tar.bz2 7279415 SHA256 dfa67a7e40727eb0913e75f3c44911d5d8cd58d1ead5acfe73dd933fc0d17ed2 SHA512 7780e9ca7b592350ce9b11e53a63d3212320402d8ad2462bfbc0e69aec4a48bb372a1925627abb7996535c87c90e3d79537ea118c8bb36d26aae8e19eaae3a06 WHIRLPOOL 8cab909c961760c72b478d5cbe75633ce0d26190fdece018e9f33b171879753ed38348c33c00fda7b5f3a6b596a5439fb62f1c82a891e9e62fee5bb784cf7e11
23 DIST gnutls-3.3.15.tar.xz 6286288 SHA256 8961227852911a1974e15bc017ddbcd4779876c867226d199f06648d8b27ba4b SHA512 0d112f20fd1a010c278ecc5c0e9e22a040c5a765073ea722329e9d5d7b4c661c6bd2fc6749903ea562fe44caf9a1643c6d95e2e193bb8c444e2e6418f73d5445 WHIRLPOOL 4a7b28952bcbe837d4f9e9b62b9254a43510363634daa1c9dc61bf07c7734699011bf5963d4556d3f53c45f63cdf6d2447f7b101e026d0d21c94d827bff9c6dc
24 -DIST gnutls-3.3.16.tar.xz 6298460 SHA256 80a471c723572a43ddbe75d7825a3275f640650cc99eae42963ab39b9d0b7552 SHA512 bf9b8f9e51abc1292602bf3a577bdb0d87461ee66d13c840916d83ce59fb67c395dec97a185aacced8af526bd5d845a5c92839d4c91c18b042d86f470feb0779 WHIRLPOOL de17d7b4157e330dfcad9aa2f0ea2e86ee4e6fa7e368b4dba2abdd4a00b86ac435d1b5149c17494dd6e7618bc128e5f3af94657cfceffb8e4a53fb2494e45058
25 DIST gnutls-3.3.17.1.tar.xz 6339588 SHA256 b40f158030a92f450a07b20300a3996710ca19800848d9f6fd62493170c5bbb4 SHA512 9f2945abe1251db176fa227f2c90be46dba831af97647f04b960c71a50fc597776be31080733f9417f2242c4c6ae92fa897bf02d5f2ba40863e94df245c03319 WHIRLPOOL 8a04e56a5f47ddaad106081a613ead85a107b013d3e894074745e9439e0a7797b7f528aab5db7e3ac808f1c5c361c4717d7f0cb3abc943a6f912e5b6981db320
26 -DIST gnutls-3.4.3.tar.xz 6546268 SHA256 65dd55e6de709203b698a729a4a2a7aa07367b63c1615a198ef2436fdd28e928 SHA512 f877500c6d3a731c3560a5f68554532818c87538ba91324957eb2bb85fc2212acfd6dee8f6dd9c5c006d8bd0e311ee17b517e86caca26239b571701e26d623e2 WHIRLPOOL caaf6461b840197bd2c0f9300576cf6065193ba4003640bbd28b15e0dad93db12e9ae8d6298f134ead5b147a9ad8f31e91f96ba561ade296caee9494d1b5f63f
27 DIST gnutls-3.4.4.1.tar.xz 6618988 SHA256 525bd799031948c069fa5ab048c3588592a663a881d2034484782ba73a29c3f5 SHA512 de64c01707496e8b2ba4d750c789ca40c25c0f1df295b31ddef46486b1427ee2b84992f226d3a29265bba06d622c54607e6c7a7525a7e8af1db8a34792e930f2 WHIRLPOOL c92b4a42e44a3016d32c05d845426115db4f0e752d0eebeb6c673f81c34cb346f69f96291923555d9911107042bc1736a8f61e940037f1edf7ebaa3da41a655e
28
29 diff --git a/net-libs/gnutls/gnutls-3.3.16-r1.ebuild b/net-libs/gnutls/gnutls-3.3.16-r1.ebuild
30 deleted file mode 100644
31 index 1337f5f..0000000
32 --- a/net-libs/gnutls/gnutls-3.3.16-r1.ebuild
33 +++ /dev/null
34 @@ -1,176 +0,0 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -# $Id$
38 -
39 -EAPI=5
40 -
41 -inherit autotools libtool eutils multilib-minimal versionator
42 -
43 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
44 -HOMEPAGE="http://www.gnutls.org/"
45 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
46 -
47 -# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
48 -# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
49 -LICENSE="GPL-3 LGPL-3"
50 -SLOT="0"
51 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~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"
52 -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
53 -IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
54 -# heartbeat support is not disabled until re-licensing happens fullyf
55 -
56 -# NOTICE: sys-devel/autogen is required at runtime as we
57 -# use system libopts
58 -RDEPEND=">=dev-libs/libtasn1-3.9[${MULTILIB_USEDEP}]
59 - >=dev-libs/nettle-2.7[gmp,${MULTILIB_USEDEP}]
60 - >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
61 - sys-devel/autogen
62 - crywrap? ( net-dns/libidn )
63 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
64 - guile? ( >=dev-scheme/guile-1.8:*[networking] )
65 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
66 - pkcs11? ( >=app-crypt/p11-kit-0.20.7[${MULTILIB_USEDEP}] )
67 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
68 - abi_x86_32? (
69 - !<=app-emulation/emul-linux-x86-baselibs-20140508
70 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
71 - )"
72 -DEPEND="${RDEPEND}
73 - >=sys-devel/automake-1.11.6
74 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
75 - doc? (
76 - sys-apps/texinfo
77 - dev-util/gtk-doc
78 - )
79 - nls? ( sys-devel/gettext )
80 - test? ( app-misc/datefudge )"
81 -
82 -DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
83 -
84 -S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
85 -
86 -pkg_setup() {
87 - # bug#520818
88 - export TZ=UTC
89 -}
90 -
91 -src_prepare() {
92 - sed -i \
93 - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
94 - doc/Makefile.am || die
95 -
96 - # force regeneration of autogen-ed files
97 - local file
98 - for file in $(grep -l AutoGen-ed src/*.c) ; do
99 - rm src/$(basename ${file} .c).{c,h} || die
100 - done
101 -
102 - # force regeneration of makeinfo files
103 - # have no idea why on some system these files are not
104 - # accepted as-is, see bug#520818
105 - for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
106 - rm "${file}" || die
107 - done
108 -
109 - # support user patches
110 - epatch_user
111 -
112 - eautoreconf
113 -
114 - # Use sane .so versioning on FreeBSD.
115 - elibtoolize
116 -
117 - # bug 497472
118 - use cxx || epunt_cxx
119 -}
120 -
121 -multilib_src_configure() {
122 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
123 -
124 - # TPM needs to be tested before being enabled
125 - # hardware-accell is disabled on OSX because the asm files force
126 - # GNU-stack (as doesn't support that) and when that's removed ld
127 - # complains about duplicate symbols
128 - ECONF_SOURCE=${S} \
129 - econf \
130 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
131 - --disable-valgrind-tests \
132 - --without-included-libtasn1 \
133 - --enable-heartbeat-support \
134 - $(use_enable cxx) \
135 - $(use_enable dane libdane) \
136 - $(multilib_native_use_enable doc) \
137 - $(multilib_native_use_enable doc gtk-doc) \
138 - $(multilib_native_use_enable guile) \
139 - $(multilib_native_use_enable crywrap) \
140 - $(use_enable nls) \
141 - $(use_enable openssl openssl-compatibility) \
142 - $(use_enable static-libs static) \
143 - $(use_with pkcs11 p11-kit) \
144 - $(use_with zlib) \
145 - --without-tpm \
146 - --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
147 - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
148 -
149 - if multilib_is_native_abi; then
150 - ln -s "${S}"/doc/reference/html doc/reference/html || die
151 - fi
152 -}
153 -
154 -multilib_src_compile() {
155 - if multilib_is_native_abi; then
156 - default
157 -
158 - # symlink certtool for use in other ABIs
159 - if use test; then
160 - ln -s "${BUILD_DIR}"/src "${T}"/native-tools || die
161 - fi
162 - else
163 - emake -C gl
164 - emake -C lib
165 - emake -C extra
166 - use dane && emake -C libdane
167 - fi
168 -}
169 -
170 -multilib_src_test() {
171 - if multilib_is_native_abi; then
172 - # parallel testing often fails
173 - emake -j1 check
174 - else
175 - # use native ABI tools
176 - ln -s "${T}"/native-tools/{certtool,gnutls-{serv,cli}} \
177 - "${BUILD_DIR}"/src/ || die
178 -
179 - emake -C gl -j1 check
180 - emake -C tests -j1 check
181 - fi
182 -}
183 -
184 -multilib_src_install() {
185 - if multilib_is_native_abi; then
186 - emake DESTDIR="${D}" install
187 - else
188 - emake -C lib DESTDIR="${D}" install
189 - emake -C extra DESTDIR="${D}" install
190 - use dane && emake -C libdane DESTDIR="${D}" install
191 - fi
192 -}
193 -
194 -multilib_src_install_all() {
195 - einstalldocs
196 - prune_libtool_files --all
197 -
198 - dodoc doc/certtool.cfg
199 -
200 - if use doc; then
201 - dohtml doc/gnutls.html
202 - else
203 - rm -fr "${ED}/usr/share/doc/${PF}/html"
204 - fi
205 -
206 - if use examples; then
207 - docinto examples
208 - dodoc doc/examples/*.c
209 - fi
210 -}
211
212 diff --git a/net-libs/gnutls/gnutls-3.4.3-r1.ebuild b/net-libs/gnutls/gnutls-3.4.3-r1.ebuild
213 deleted file mode 100644
214 index 7da9d8b..0000000
215 --- a/net-libs/gnutls/gnutls-3.4.3-r1.ebuild
216 +++ /dev/null
217 @@ -1,132 +0,0 @@
218 -# Copyright 1999-2015 Gentoo Foundation
219 -# Distributed under the terms of the GNU General Public License v2
220 -# $Id$
221 -
222 -EAPI=5
223 -
224 -inherit autotools libtool eutils multilib-minimal versionator
225 -
226 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
227 -HOMEPAGE="http://www.gnutls.org/"
228 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
229 -
230 -# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
231 -# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
232 -LICENSE="GPL-3 LGPL-3"
233 -SLOT="0/30" # libgnutls.so number
234 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~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"
235 -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
236 -IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test +tools zlib ${IUSE_LINGUAS// / linguas_}"
237 -# heartbeat support is not disabled until re-licensing happens fullyf
238 -
239 -# NOTICE: sys-devel/autogen is required at runtime as we
240 -# use system libopts
241 -RDEPEND=">=dev-libs/libtasn1-3.9[${MULTILIB_USEDEP}]
242 - >=dev-libs/nettle-3.1[gmp,${MULTILIB_USEDEP}]
243 - >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
244 - tools? ( sys-devel/autogen )
245 - crywrap? ( net-dns/libidn )
246 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
247 - guile? ( >=dev-scheme/guile-1.8:*[networking] )
248 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
249 - pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
250 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
251 - abi_x86_32? (
252 - !<=app-emulation/emul-linux-x86-baselibs-20140508
253 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
254 - )"
255 -DEPEND="${RDEPEND}
256 - >=sys-devel/automake-1.11.6
257 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
258 - doc? (
259 - sys-apps/texinfo
260 - dev-util/gtk-doc
261 - )
262 - nls? ( sys-devel/gettext )
263 - test? ( app-misc/datefudge )"
264 -
265 -DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
266 -
267 -pkg_setup() {
268 - # bug#520818
269 - export TZ=UTC
270 -}
271 -
272 -src_prepare() {
273 - sed -i \
274 - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
275 - doc/Makefile.am || die
276 -
277 - # force regeneration of autogen-ed files
278 - local file
279 - for file in $(grep -l AutoGen-ed src/*.c) ; do
280 - rm src/$(basename ${file} .c).{c,h} || die
281 - done
282 -
283 - # force regeneration of makeinfo files
284 - # have no idea why on some system these files are not
285 - # accepted as-is, see bug#520818
286 - for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
287 - rm "${file}" || die
288 - done
289 -
290 - # support user patches
291 - epatch_user
292 -
293 - eautoreconf
294 -
295 - # Use sane .so versioning on FreeBSD.
296 - elibtoolize
297 -
298 - # bug 497472
299 - use cxx || epunt_cxx
300 -}
301 -
302 -multilib_src_configure() {
303 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
304 -
305 - # TPM needs to be tested before being enabled
306 - # hardware-accell is disabled on OSX because the asm files force
307 - # GNU-stack (as doesn't support that) and when that's removed ld
308 - # complains about duplicate symbols
309 - ECONF_SOURCE=${S} \
310 - econf \
311 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
312 - --disable-valgrind-tests \
313 - --without-included-libtasn1 \
314 - --enable-heartbeat-support \
315 - $(use_enable cxx) \
316 - $(use_enable dane libdane) \
317 - $(multilib_native_use_enable tools) \
318 - $(multilib_native_use_enable doc) \
319 - $(multilib_native_use_enable doc gtk-doc) \
320 - $(multilib_native_use_enable guile) \
321 - $(multilib_native_use_enable crywrap) \
322 - $(multilib_native_use_enable test tests) \
323 - $(use_enable nls) \
324 - $(use_enable openssl openssl-compatibility) \
325 - $(use_enable static-libs static) \
326 - $(use_with pkcs11 p11-kit) \
327 - $(use_with zlib) \
328 - --without-tpm \
329 - --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
330 - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
331 -}
332 -
333 -multilib_src_install_all() {
334 - einstalldocs
335 - prune_libtool_files --all
336 -
337 - dodoc doc/certtool.cfg
338 -
339 - if use doc; then
340 - dohtml doc/gnutls.html
341 - else
342 - rm -fr "${ED}/usr/share/doc/${PF}/html"
343 - fi
344 -
345 - if use examples; then
346 - docinto examples
347 - dodoc doc/examples/*.c
348 - fi
349 -}