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: Fri, 14 Oct 2016 15:27:18
Message-Id: 1476458805.2a070946c5165120973de4b35c73d51eaf60c853.alonbl@gentoo
1 commit: 2a070946c5165120973de4b35c73d51eaf60c853
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 14 15:25:18 2016 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 14 15:26:45 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a070946
7
8 net-libs/gnutls: cleanup
9
10 Package-Manager: portage-2.3.0
11
12 net-libs/gnutls/Manifest | 4 -
13 net-libs/gnutls/gnutls-3.3.17.1.ebuild | 174 ------------------------------
14 net-libs/gnutls/gnutls-3.3.23.ebuild | 177 ------------------------------
15 net-libs/gnutls/gnutls-3.3.24-r2.ebuild | 183 --------------------------------
16 net-libs/gnutls/gnutls-3.3.24.ebuild | 177 ------------------------------
17 net-libs/gnutls/gnutls-3.4.15.ebuild | 132 -----------------------
18 net-libs/gnutls/gnutls-3.5.4-r1.ebuild | 131 -----------------------
19 net-libs/gnutls/gnutls-3.5.4.ebuild | 126 ----------------------
20 8 files changed, 1104 deletions(-)
21
22 diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest
23 index 7fc29b3..9271102 100644
24 --- a/net-libs/gnutls/Manifest
25 +++ b/net-libs/gnutls/Manifest
26 @@ -1,8 +1,4 @@
27 -DIST gnutls-3.3.17.1.tar.xz 6339588 SHA256 b40f158030a92f450a07b20300a3996710ca19800848d9f6fd62493170c5bbb4 SHA512 9f2945abe1251db176fa227f2c90be46dba831af97647f04b960c71a50fc597776be31080733f9417f2242c4c6ae92fa897bf02d5f2ba40863e94df245c03319 WHIRLPOOL 8a04e56a5f47ddaad106081a613ead85a107b013d3e894074745e9439e0a7797b7f528aab5db7e3ac808f1c5c361c4717d7f0cb3abc943a6f912e5b6981db320
28 -DIST gnutls-3.3.23.tar.xz 6304332 SHA256 f53453857e369d66d665c40389201c0b9dacb7ccda560fd21b20b798687a4239 SHA512 5c2e93ddbff3ca2fc5f8fca8eeaef363bf8fe0f5dce2f4a9448e3235c930baa09d59a456a019283a451d19e0497d3ae645786080aa31febc7f1bcd71c6de1e09 WHIRLPOOL fa082db1933eefc7e061dc7f7e6584d03920f40584865e2983250097db9acea0e6d0c075e8207a2e5b96e37ae77db2b91bcf21e97cc7dfdec0744904de4b5866
29 DIST gnutls-3.3.24.tar.xz 6294532 SHA256 5b65fe2a91c8dfa32bedc78acffcb152e5426cd3349e2afc43cccc9bdaf18aa5 SHA512 1fbb2e15ade14db15d7acc9ff559ecfc39517fd99e6c784583a7a4f8786daf8053f35f41e39cde0eeb5a1dfd3193ad908b52f62f945fbd43c147dc87e55f192f WHIRLPOOL 0725b35af9bbb4a7ee8f430af95e078066fb455328dd0ee71cca6633d093fe0433c7d869ebf0fabf8983679a32ff8451a2b631aec672810eb7bc55a3de28cc7d
30 DIST gnutls-3.3.25.tar.xz 6315372 SHA256 189d6c4e43465d2ec84f2cd66f0ef63657225926f56875e182743cfeef9f1f2e SHA512 6f9074f58250517287d183faac27afcc4318293b24b587b00494d40b6b5dae088fef993b5c2adf6842238adc1f694a747262b50bc602037626579b84401207f6 WHIRLPOOL 3d320378cd8e7330e2b399876bb8739dd35fe2dc1204b0ead561f214676583f2b2c1fa4c5a61b720e3af5c72769e804d9bc36f69f8659eb7a1d6e8a1a7012e2c
31 -DIST gnutls-3.4.15.tar.xz 6676480 SHA256 eb2a013905f5f2a0cbf7bcc1d20c85a50065063ee87bd33b496c4e19815e3498 SHA512 03157f2da22890ecd080ad58144a9aabe933382c0b7e969b7b194a0248bb5e6e25207078c0a92755650d0004970eb1c0cf0140dbdbf2e615808f9978e965a5e5 WHIRLPOOL a5f866e44421b6ecb492587f9eee09373fbda0644cc71468995fd2756b620c254c2cd69c07e8db30df415810d1090daf5ea5d50b33f2fda02c0758a7d4ee04e8
32 DIST gnutls-3.4.16.tar.xz 6677636 SHA256 d99abb1b320771b58c949bab85e4b654dd1e3e9d92e2572204b7dc479d923927 SHA512 4decbb35b47181e47e601fb40d21b9a6d1a5343cb711db63c816226a4a230b3b0b904da05a1e4c4222fc64014beeb7f62762699cad418004602c7b7b6f19112f WHIRLPOOL 75bc453acc49d96540a088fd50fadbeff008b4e534ffc550dbf170a1c9dd80da2d70e3c6ff5cba4b09946db4277aeeb72aa8dd2d69c0f22655fe0529566a351c
33 -DIST gnutls-3.5.4.tar.xz 6930620 SHA256 4e38014332e0f70c5d19b0eca8d85025ccd0d8be85894c0aaa498b42f6b9a8eb SHA512 175aab43b6349a62530938333910feb26ea5d923e151a9942fd5a6989f87193b18862e69bbbdb6308f889585d428d689d8fd3a6e8149f9fd1ac2882802ea6a9f WHIRLPOOL 6625adb815a69ba24e19b7966884f36577e8035272884d3d3b38c813ddd73e211ec3d2180c4e9160ad8459acab0ee72a36b328eae27357d6d1eb6476a06db75a
34 DIST gnutls-3.5.5.tar.xz 6974628 SHA256 86994fe7804ee16d2811e366b9bf2f75304f8e470ae0e3716d60ffeedac0e529 SHA512 d3065d62d1d1e3ed7079b108e2d71586a14d465886c623e0ec9d6b012645cd4dbe6760da1502ecf4a6a6efa233114ecfbe09a1c1d94688bd0386d55048f9cbef WHIRLPOOL b029d960937dd3a8ef1a3b9ba270b4003732d53f37246b162190813baab39d60c403d1d68ffe16d24efdabf212435bfa59d8fa58d9ca7e3a6029256ca3efe0a9
35
36 diff --git a/net-libs/gnutls/gnutls-3.3.17.1.ebuild b/net-libs/gnutls/gnutls-3.3.17.1.ebuild
37 deleted file mode 100644
38 index efc25d1..00000000
39 --- a/net-libs/gnutls/gnutls-3.3.17.1.ebuild
40 +++ /dev/null
41 @@ -1,174 +0,0 @@
42 -# Copyright 1999-2016 Gentoo Foundation
43 -# Distributed under the terms of the GNU General Public License v2
44 -# $Id$
45 -
46 -EAPI=5
47 -
48 -inherit autotools libtool eutils multilib-minimal versionator
49 -
50 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
51 -HOMEPAGE="http://www.gnutls.org/"
52 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
53 -
54 -# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
55 -# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
56 -LICENSE="GPL-3 LGPL-3"
57 -SLOT="0"
58 -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"
59 -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
60 -IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
61 -# heartbeat support is not disabled until re-licensing happens fullyf
62 -
63 -# NOTICE: sys-devel/autogen is required at runtime as we
64 -# use system libopts
65 -RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
66 - >=dev-libs/nettle-2.7:=[gmp,${MULTILIB_USEDEP}]
67 - >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
68 - sys-devel/autogen
69 - crywrap? ( net-dns/libidn )
70 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
71 - guile? ( >=dev-scheme/guile-1.8[networking] )
72 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
73 - pkcs11? ( >=app-crypt/p11-kit-0.20.7[${MULTILIB_USEDEP}] )
74 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
75 - abi_x86_32? (
76 - !<=app-emulation/emul-linux-x86-baselibs-20140508
77 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
78 - )"
79 -DEPEND="${RDEPEND}
80 - >=sys-devel/automake-1.11.6
81 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
82 - doc? (
83 - sys-apps/texinfo
84 - dev-util/gtk-doc
85 - )
86 - nls? ( sys-devel/gettext )
87 - test? ( app-misc/datefudge )"
88 -
89 -DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
90 -
91 -pkg_setup() {
92 - # bug#520818
93 - export TZ=UTC
94 -}
95 -
96 -src_prepare() {
97 - sed -i \
98 - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
99 - doc/Makefile.am || die
100 -
101 - # force regeneration of autogen-ed files
102 - local file
103 - for file in $(grep -l AutoGen-ed src/*.c) ; do
104 - rm src/$(basename ${file} .c).{c,h} || die
105 - done
106 -
107 - # force regeneration of makeinfo files
108 - # have no idea why on some system these files are not
109 - # accepted as-is, see bug#520818
110 - for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
111 - rm "${file}" || die
112 - done
113 -
114 - # support user patches
115 - epatch_user
116 -
117 - eautoreconf
118 -
119 - # Use sane .so versioning on FreeBSD.
120 - elibtoolize
121 -
122 - # bug 497472
123 - use cxx || epunt_cxx
124 -}
125 -
126 -multilib_src_configure() {
127 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
128 -
129 - # TPM needs to be tested before being enabled
130 - # hardware-accell is disabled on OSX because the asm files force
131 - # GNU-stack (as doesn't support that) and when that's removed ld
132 - # complains about duplicate symbols
133 - ECONF_SOURCE=${S} \
134 - econf \
135 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
136 - --disable-valgrind-tests \
137 - --without-included-libtasn1 \
138 - --enable-heartbeat-support \
139 - $(use_enable cxx) \
140 - $(use_enable dane libdane) \
141 - $(multilib_native_use_enable doc) \
142 - $(multilib_native_use_enable doc gtk-doc) \
143 - $(multilib_native_use_enable guile) \
144 - $(multilib_native_use_enable crywrap) \
145 - $(use_enable nls) \
146 - $(use_enable openssl openssl-compatibility) \
147 - $(use_enable static-libs static) \
148 - $(use_with pkcs11 p11-kit) \
149 - $(use_with zlib) \
150 - --without-tpm \
151 - --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
152 - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
153 -
154 - if multilib_is_native_abi; then
155 - ln -s "${S}"/doc/reference/html doc/reference/html || die
156 - fi
157 -}
158 -
159 -multilib_src_compile() {
160 - if multilib_is_native_abi; then
161 - default
162 -
163 - # symlink certtool for use in other ABIs
164 - if use test; then
165 - ln -s "${BUILD_DIR}"/src "${T}"/native-tools || die
166 - fi
167 - else
168 - emake -C gl
169 - emake -C lib
170 - emake -C extra
171 - use dane && emake -C libdane
172 - fi
173 -}
174 -
175 -multilib_src_test() {
176 - if multilib_is_native_abi; then
177 - # parallel testing often fails
178 - emake -j1 check
179 - else
180 - # use native ABI tools
181 - ln -s "${T}"/native-tools/{certtool,gnutls-{serv,cli}} \
182 - "${BUILD_DIR}"/src/ || die
183 -
184 - emake -C gl -j1 check
185 - emake -C tests -j1 check
186 - fi
187 -}
188 -
189 -multilib_src_install() {
190 - if multilib_is_native_abi; then
191 - emake DESTDIR="${D}" install
192 - else
193 - emake -C lib DESTDIR="${D}" install
194 - emake -C extra DESTDIR="${D}" install
195 - use dane && emake -C libdane DESTDIR="${D}" install
196 - fi
197 -}
198 -
199 -multilib_src_install_all() {
200 - einstalldocs
201 - prune_libtool_files --all
202 -
203 - dodoc doc/certtool.cfg
204 -
205 - if use doc; then
206 - dohtml doc/gnutls.html
207 - else
208 - rm -fr "${ED}/usr/share/doc/${PF}/html"
209 - fi
210 -
211 - if use examples; then
212 - docinto examples
213 - dodoc doc/examples/*.c
214 - fi
215 -}
216
217 diff --git a/net-libs/gnutls/gnutls-3.3.23.ebuild b/net-libs/gnutls/gnutls-3.3.23.ebuild
218 deleted file mode 100644
219 index 4d13075..00000000
220 --- a/net-libs/gnutls/gnutls-3.3.23.ebuild
221 +++ /dev/null
222 @@ -1,177 +0,0 @@
223 -# Copyright 1999-2016 Gentoo Foundation
224 -# Distributed under the terms of the GNU General Public License v2
225 -# $Id$
226 -
227 -EAPI=6
228 -
229 -inherit autotools libtool eutils multilib-minimal versionator
230 -
231 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
232 -HOMEPAGE="http://www.gnutls.org/"
233 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
234 -
235 -# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
236 -# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
237 -LICENSE="GPL-3 LGPL-3"
238 -SLOT="0"
239 -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"
240 -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
241 -IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
242 -# heartbeat support is not disabled until re-licensing happens fullyf
243 -
244 -# NOTICE: sys-devel/autogen is required at runtime as we
245 -# use system libopts
246 -RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
247 - >=dev-libs/nettle-2.7:=[gmp,${MULTILIB_USEDEP}]
248 - >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
249 - sys-devel/autogen
250 - crywrap? ( net-dns/libidn )
251 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
252 - guile? ( >=dev-scheme/guile-1.8[networking] )
253 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
254 - pkcs11? ( >=app-crypt/p11-kit-0.20.7[${MULTILIB_USEDEP}] )
255 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
256 - abi_x86_32? (
257 - !<=app-emulation/emul-linux-x86-baselibs-20140508
258 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
259 - )"
260 -DEPEND="${RDEPEND}
261 - >=sys-devel/automake-1.11.6
262 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
263 - doc? (
264 - sys-apps/texinfo
265 - dev-util/gtk-doc
266 - )
267 - nls? ( sys-devel/gettext )
268 - test? ( app-misc/datefudge )"
269 -
270 -DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
271 -
272 -PATCHES=(
273 - "${FILESDIR}/${PN}-3.3.19-build-allow-installing-man-1-even-with-disable-doc.patch"
274 -)
275 -
276 -pkg_setup() {
277 - # bug#520818
278 - export TZ=UTC
279 -}
280 -
281 -src_prepare() {
282 - default
283 -
284 - sed -i \
285 - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
286 - doc/Makefile.am || die
287 -
288 - # force regeneration of autogen-ed files
289 - local file
290 - for file in $(grep -l AutoGen-ed src/*.c) ; do
291 - rm src/$(basename ${file} .c).{c,h} || die
292 - done
293 -
294 - # force regeneration of makeinfo files
295 - # have no idea why on some system these files are not
296 - # accepted as-is, see bug#520818
297 - for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
298 - rm "${file}" || die
299 - done
300 -
301 - eautoreconf
302 -
303 - # Use sane .so versioning on FreeBSD.
304 - elibtoolize
305 -
306 - # bug 497472
307 - use cxx || epunt_cxx
308 -}
309 -
310 -multilib_src_configure() {
311 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
312 -
313 - # TPM needs to be tested before being enabled
314 - # hardware-accell is disabled on OSX because the asm files force
315 - # GNU-stack (as doesn't support that) and when that's removed ld
316 - # complains about duplicate symbols
317 - ECONF_SOURCE=${S} \
318 - econf \
319 - --disable-valgrind-tests \
320 - --without-included-libtasn1 \
321 - --enable-heartbeat-support \
322 - $(use_enable cxx) \
323 - $(use_enable dane libdane) \
324 - $(multilib_native_enable manpages) \
325 - $(multilib_native_use_enable doc) \
326 - $(multilib_native_use_enable doc gtk-doc) \
327 - $(multilib_native_use_enable guile) \
328 - $(multilib_native_use_enable crywrap) \
329 - $(use_enable nls) \
330 - $(use_enable openssl openssl-compatibility) \
331 - $(use_enable static-libs static) \
332 - $(use_with pkcs11 p11-kit) \
333 - $(use_with zlib) \
334 - --without-tpm \
335 - --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
336 - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
337 -
338 - if multilib_is_native_abi; then
339 - ln -s "${S}"/doc/reference/html doc/reference/html || die
340 - fi
341 -}
342 -
343 -multilib_src_compile() {
344 - if multilib_is_native_abi; then
345 - default
346 -
347 - # symlink certtool for use in other ABIs
348 - if use test; then
349 - ln -s "${BUILD_DIR}"/src "${T}"/native-tools || die
350 - fi
351 - else
352 - emake -C gl
353 - emake -C lib
354 - emake -C extra
355 - use dane && emake -C libdane
356 - fi
357 -}
358 -
359 -multilib_src_test() {
360 - if multilib_is_native_abi; then
361 - # parallel testing often fails
362 - emake -j1 check
363 - else
364 - # use native ABI tools
365 - ln -s "${T}"/native-tools/{certtool,gnutls-{serv,cli}} \
366 - "${BUILD_DIR}"/src/ || die
367 -
368 - emake -C gl -j1 check
369 - emake -C tests -j1 check
370 - fi
371 -}
372 -
373 -multilib_src_install() {
374 - if multilib_is_native_abi; then
375 - emake DESTDIR="${D}" install
376 - else
377 - emake -C lib DESTDIR="${D}" install
378 - emake -C extra DESTDIR="${D}" install
379 - use dane && emake -C libdane DESTDIR="${D}" install
380 - fi
381 -}
382 -
383 -multilib_src_install_all() {
384 - einstalldocs
385 - prune_libtool_files --all
386 -
387 - dodoc doc/certtool.cfg
388 -
389 - if use doc; then
390 - dohtml doc/gnutls.html
391 - else
392 - rm -fr "${ED}/usr/share/doc/${PF}/html"
393 - fi
394 -
395 - if use examples; then
396 - docinto examples
397 - dodoc doc/examples/*.c
398 - fi
399 -}
400
401 diff --git a/net-libs/gnutls/gnutls-3.3.24-r2.ebuild b/net-libs/gnutls/gnutls-3.3.24-r2.ebuild
402 deleted file mode 100644
403 index 77fd0b4..00000000
404 --- a/net-libs/gnutls/gnutls-3.3.24-r2.ebuild
405 +++ /dev/null
406 @@ -1,183 +0,0 @@
407 -# Copyright 1999-2016 Gentoo Foundation
408 -# Distributed under the terms of the GNU General Public License v2
409 -# $Id$
410 -
411 -EAPI=6
412 -
413 -inherit autotools libtool eutils multilib-minimal versionator
414 -
415 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
416 -HOMEPAGE="http://www.gnutls.org/"
417 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
418 -
419 -# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
420 -# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
421 -LICENSE="GPL-3 LGPL-3"
422 -SLOT="0"
423 -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"
424 -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
425 -IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
426 -# heartbeat support is not disabled until re-licensing happens fullyf
427 -
428 -# NOTICE: sys-devel/autogen is required at runtime as we
429 -# use system libopts
430 -RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
431 - >=dev-libs/nettle-2.7:=[gmp,${MULTILIB_USEDEP}]
432 - >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
433 - sys-devel/autogen
434 - crywrap? ( net-dns/libidn )
435 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
436 - guile? ( >=dev-scheme/guile-1.8[networking] )
437 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
438 - pkcs11? ( >=app-crypt/p11-kit-0.20.7[${MULTILIB_USEDEP}] )
439 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
440 - abi_x86_32? (
441 - !<=app-emulation/emul-linux-x86-baselibs-20140508
442 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
443 - )"
444 -DEPEND="${RDEPEND}
445 - >=sys-devel/automake-1.11.6
446 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
447 - doc? (
448 - sys-apps/texinfo
449 - dev-util/gtk-doc
450 - )
451 - nls? ( sys-devel/gettext )
452 - test? ( app-misc/datefudge )"
453 -
454 -DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
455 -
456 -PATCHES=(
457 - "${FILESDIR}/${PN}-3.3.19-build-allow-installing-man-1-even-with-disable-doc.patch"
458 - "${FILESDIR}/${P}-CVE-2016-7444.patch"
459 -)
460 -
461 -pkg_setup() {
462 - # bug#520818
463 - export TZ=UTC
464 -}
465 -
466 -src_prepare() {
467 - default
468 -
469 - sed -i \
470 - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
471 - doc/Makefile.am || die
472 -
473 - # force regeneration of autogen-ed files
474 - local file
475 - for file in $(grep -l AutoGen-ed src/*.c) ; do
476 - rm src/$(basename ${file} .c).{c,h} || die
477 - done
478 -
479 - # force regeneration of makeinfo files
480 - # have no idea why on some system these files are not
481 - # accepted as-is, see bug#520818
482 - for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
483 - rm "${file}" || die
484 - done
485 -
486 - eautoreconf
487 -
488 - # Use sane .so versioning on FreeBSD.
489 - elibtoolize
490 -
491 - # bug 497472
492 - use cxx || epunt_cxx
493 -}
494 -
495 -multilib_src_configure() {
496 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
497 -
498 - # remove magic of library detection
499 - # bug#438222
500 - libconf=($("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g'))
501 -
502 - # TPM needs to be tested before being enabled
503 - # hardware-accell is disabled on OSX because the asm files force
504 - # GNU-stack (as doesn't support that) and when that's removed ld
505 - # complains about duplicate symbols
506 - ECONF_SOURCE=${S} \
507 - econf \
508 - --disable-valgrind-tests \
509 - --without-included-libtasn1 \
510 - --enable-heartbeat-support \
511 - $(use_enable cxx) \
512 - $(use_enable dane libdane) \
513 - $(multilib_native_enable manpages) \
514 - $(multilib_native_use_enable doc) \
515 - $(multilib_native_use_enable doc gtk-doc) \
516 - $(multilib_native_use_enable guile) \
517 - $(multilib_native_use_enable crywrap) \
518 - $(use_enable nls) \
519 - $(use_enable openssl openssl-compatibility) \
520 - $(use_enable static-libs static) \
521 - $(use_with pkcs11 p11-kit) \
522 - $(use_with zlib) \
523 - --without-tpm \
524 - --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
525 - "${libconf[@]}" \
526 - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
527 -
528 - if multilib_is_native_abi; then
529 - ln -s "${S}"/doc/reference/html doc/reference/html || die
530 - fi
531 -}
532 -
533 -multilib_src_compile() {
534 - if multilib_is_native_abi; then
535 - default
536 -
537 - # symlink certtool for use in other ABIs
538 - if use test; then
539 - ln -s "${BUILD_DIR}"/src "${T}"/native-tools || die
540 - fi
541 - else
542 - emake -C gl
543 - emake -C lib
544 - emake -C extra
545 - use dane && emake -C libdane
546 - fi
547 -}
548 -
549 -multilib_src_test() {
550 - if multilib_is_native_abi; then
551 - # parallel testing often fails
552 - emake -j1 check
553 - else
554 - # use native ABI tools
555 - ln -s "${T}"/native-tools/{certtool,gnutls-{serv,cli}} \
556 - "${BUILD_DIR}"/src/ || die
557 -
558 - emake -C gl -j1 check
559 - emake -C tests -j1 check
560 - fi
561 -}
562 -
563 -multilib_src_install() {
564 - if multilib_is_native_abi; then
565 - emake DESTDIR="${D}" install
566 - else
567 - emake -C lib DESTDIR="${D}" install
568 - emake -C extra DESTDIR="${D}" install
569 - use dane && emake -C libdane DESTDIR="${D}" install
570 - fi
571 -}
572 -
573 -multilib_src_install_all() {
574 - einstalldocs
575 - prune_libtool_files --all
576 -
577 - dodoc doc/certtool.cfg
578 -
579 - if use doc; then
580 - dohtml doc/gnutls.html
581 - else
582 - rm -fr "${ED}/usr/share/doc/${PF}/html"
583 - fi
584 -
585 - if use examples; then
586 - docinto examples
587 - dodoc doc/examples/*.c
588 - fi
589 -}
590
591 diff --git a/net-libs/gnutls/gnutls-3.3.24.ebuild b/net-libs/gnutls/gnutls-3.3.24.ebuild
592 deleted file mode 100644
593 index dddef71..00000000
594 --- a/net-libs/gnutls/gnutls-3.3.24.ebuild
595 +++ /dev/null
596 @@ -1,177 +0,0 @@
597 -# Copyright 1999-2016 Gentoo Foundation
598 -# Distributed under the terms of the GNU General Public License v2
599 -# $Id$
600 -
601 -EAPI=6
602 -
603 -inherit autotools libtool eutils multilib-minimal versionator
604 -
605 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
606 -HOMEPAGE="http://www.gnutls.org/"
607 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
608 -
609 -# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
610 -# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
611 -LICENSE="GPL-3 LGPL-3"
612 -SLOT="0"
613 -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"
614 -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
615 -IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
616 -# heartbeat support is not disabled until re-licensing happens fullyf
617 -
618 -# NOTICE: sys-devel/autogen is required at runtime as we
619 -# use system libopts
620 -RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
621 - >=dev-libs/nettle-2.7:=[gmp,${MULTILIB_USEDEP}]
622 - >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
623 - sys-devel/autogen
624 - crywrap? ( net-dns/libidn )
625 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
626 - guile? ( >=dev-scheme/guile-1.8[networking] )
627 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
628 - pkcs11? ( >=app-crypt/p11-kit-0.20.7[${MULTILIB_USEDEP}] )
629 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
630 - abi_x86_32? (
631 - !<=app-emulation/emul-linux-x86-baselibs-20140508
632 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
633 - )"
634 -DEPEND="${RDEPEND}
635 - >=sys-devel/automake-1.11.6
636 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
637 - doc? (
638 - sys-apps/texinfo
639 - dev-util/gtk-doc
640 - )
641 - nls? ( sys-devel/gettext )
642 - test? ( app-misc/datefudge )"
643 -
644 -DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
645 -
646 -PATCHES=(
647 - "${FILESDIR}/${PN}-3.3.19-build-allow-installing-man-1-even-with-disable-doc.patch"
648 -)
649 -
650 -pkg_setup() {
651 - # bug#520818
652 - export TZ=UTC
653 -}
654 -
655 -src_prepare() {
656 - default
657 -
658 - sed -i \
659 - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
660 - doc/Makefile.am || die
661 -
662 - # force regeneration of autogen-ed files
663 - local file
664 - for file in $(grep -l AutoGen-ed src/*.c) ; do
665 - rm src/$(basename ${file} .c).{c,h} || die
666 - done
667 -
668 - # force regeneration of makeinfo files
669 - # have no idea why on some system these files are not
670 - # accepted as-is, see bug#520818
671 - for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
672 - rm "${file}" || die
673 - done
674 -
675 - eautoreconf
676 -
677 - # Use sane .so versioning on FreeBSD.
678 - elibtoolize
679 -
680 - # bug 497472
681 - use cxx || epunt_cxx
682 -}
683 -
684 -multilib_src_configure() {
685 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
686 -
687 - # TPM needs to be tested before being enabled
688 - # hardware-accell is disabled on OSX because the asm files force
689 - # GNU-stack (as doesn't support that) and when that's removed ld
690 - # complains about duplicate symbols
691 - ECONF_SOURCE=${S} \
692 - econf \
693 - --disable-valgrind-tests \
694 - --without-included-libtasn1 \
695 - --enable-heartbeat-support \
696 - $(use_enable cxx) \
697 - $(use_enable dane libdane) \
698 - $(multilib_native_enable manpages) \
699 - $(multilib_native_use_enable doc) \
700 - $(multilib_native_use_enable doc gtk-doc) \
701 - $(multilib_native_use_enable guile) \
702 - $(multilib_native_use_enable crywrap) \
703 - $(use_enable nls) \
704 - $(use_enable openssl openssl-compatibility) \
705 - $(use_enable static-libs static) \
706 - $(use_with pkcs11 p11-kit) \
707 - $(use_with zlib) \
708 - --without-tpm \
709 - --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
710 - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
711 -
712 - if multilib_is_native_abi; then
713 - ln -s "${S}"/doc/reference/html doc/reference/html || die
714 - fi
715 -}
716 -
717 -multilib_src_compile() {
718 - if multilib_is_native_abi; then
719 - default
720 -
721 - # symlink certtool for use in other ABIs
722 - if use test; then
723 - ln -s "${BUILD_DIR}"/src "${T}"/native-tools || die
724 - fi
725 - else
726 - emake -C gl
727 - emake -C lib
728 - emake -C extra
729 - use dane && emake -C libdane
730 - fi
731 -}
732 -
733 -multilib_src_test() {
734 - if multilib_is_native_abi; then
735 - # parallel testing often fails
736 - emake -j1 check
737 - else
738 - # use native ABI tools
739 - ln -s "${T}"/native-tools/{certtool,gnutls-{serv,cli}} \
740 - "${BUILD_DIR}"/src/ || die
741 -
742 - emake -C gl -j1 check
743 - emake -C tests -j1 check
744 - fi
745 -}
746 -
747 -multilib_src_install() {
748 - if multilib_is_native_abi; then
749 - emake DESTDIR="${D}" install
750 - else
751 - emake -C lib DESTDIR="${D}" install
752 - emake -C extra DESTDIR="${D}" install
753 - use dane && emake -C libdane DESTDIR="${D}" install
754 - fi
755 -}
756 -
757 -multilib_src_install_all() {
758 - einstalldocs
759 - prune_libtool_files --all
760 -
761 - dodoc doc/certtool.cfg
762 -
763 - if use doc; then
764 - dohtml doc/gnutls.html
765 - else
766 - rm -fr "${ED}/usr/share/doc/${PF}/html"
767 - fi
768 -
769 - if use examples; then
770 - docinto examples
771 - dodoc doc/examples/*.c
772 - fi
773 -}
774
775 diff --git a/net-libs/gnutls/gnutls-3.4.15.ebuild b/net-libs/gnutls/gnutls-3.4.15.ebuild
776 deleted file mode 100644
777 index 3c56750..00000000
778 --- a/net-libs/gnutls/gnutls-3.4.15.ebuild
779 +++ /dev/null
780 @@ -1,132 +0,0 @@
781 -# Copyright 1999-2016 Gentoo Foundation
782 -# Distributed under the terms of the GNU General Public License v2
783 -# $Id$
784 -
785 -EAPI=6
786 -
787 -inherit autotools libtool eutils multilib-minimal versionator
788 -
789 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
790 -HOMEPAGE="http://www.gnutls.org/"
791 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
792 -
793 -LICENSE="GPL-3 LGPL-2.1"
794 -SLOT="0/30" # libgnutls.so number
795 -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"
796 -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
797 -IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test +tls-heartbeat +tools zlib ${IUSE_LINGUAS// / linguas_}"
798 -
799 -# NOTICE: sys-devel/autogen is required at runtime as we
800 -# use system libopts
801 -RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
802 - >=dev-libs/nettle-3.1:=[gmp,${MULTILIB_USEDEP}]
803 - >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
804 - tools? ( sys-devel/autogen )
805 - crywrap? ( net-dns/libidn )
806 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
807 - guile? ( >=dev-scheme/guile-1.8[networking] )
808 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
809 - pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
810 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
811 - abi_x86_32? (
812 - !<=app-emulation/emul-linux-x86-baselibs-20140508
813 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
814 - )"
815 -DEPEND="${RDEPEND}
816 - >=sys-devel/automake-1.11.6
817 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
818 - doc? (
819 - sys-apps/texinfo
820 - dev-util/gtk-doc
821 - )
822 - nls? ( sys-devel/gettext )
823 - test? ( app-misc/datefudge )"
824 -
825 -DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
826 -
827 -PATCHES=(
828 - "${FILESDIR}/${PN}-3.4.7-build-allow-installing-man-1-even-with-disable-doc.patch"
829 -)
830 -
831 -pkg_setup() {
832 - # bug#520818
833 - export TZ=UTC
834 -}
835 -
836 -src_prepare() {
837 - default
838 -
839 - sed -i \
840 - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
841 - doc/Makefile.am || die
842 -
843 - # force regeneration of autogen-ed files
844 - local file
845 - for file in $(grep -l AutoGen-ed src/*.c) ; do
846 - rm src/$(basename ${file} .c).{c,h} || die
847 - done
848 -
849 - # force regeneration of makeinfo files
850 - # have no idea why on some system these files are not
851 - # accepted as-is, see bug#520818
852 - for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
853 - rm "${file}" || die
854 - done
855 -
856 - eautoreconf
857 -
858 - # Use sane .so versioning on FreeBSD.
859 - elibtoolize
860 -
861 - # bug 497472
862 - use cxx || epunt_cxx
863 -}
864 -
865 -multilib_src_configure() {
866 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
867 -
868 - # TPM needs to be tested before being enabled
869 - # hardware-accell is disabled on OSX because the asm files force
870 - # GNU-stack (as doesn't support that) and when that's removed ld
871 - # complains about duplicate symbols
872 - ECONF_SOURCE=${S} \
873 - econf \
874 - --disable-valgrind-tests \
875 - --without-included-libtasn1 \
876 - $(use_enable cxx) \
877 - $(use_enable dane libdane) \
878 - $(multilib_native_enable manpages) \
879 - $(multilib_native_use_enable tools) \
880 - $(multilib_native_use_enable doc) \
881 - $(multilib_native_use_enable doc gtk-doc) \
882 - $(multilib_native_use_enable guile) \
883 - $(multilib_native_use_enable crywrap) \
884 - $(multilib_native_use_enable test tests) \
885 - $(use_enable nls) \
886 - $(use_enable openssl openssl-compatibility) \
887 - $(use_enable tls-heartbeat heartbeat-support) \
888 - $(use_enable static-libs static) \
889 - $(use_with pkcs11 p11-kit) \
890 - $(use_with zlib) \
891 - --without-tpm \
892 - --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
893 - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
894 -}
895 -
896 -multilib_src_install_all() {
897 - einstalldocs
898 - prune_libtool_files --all
899 -
900 - dodoc doc/certtool.cfg
901 -
902 - if use doc; then
903 - dohtml doc/gnutls.html
904 - else
905 - rm -fr "${ED}/usr/share/doc/${PF}/html"
906 - fi
907 -
908 - if use examples; then
909 - docinto examples
910 - dodoc doc/examples/*.c
911 - fi
912 -}
913
914 diff --git a/net-libs/gnutls/gnutls-3.5.4-r1.ebuild b/net-libs/gnutls/gnutls-3.5.4-r1.ebuild
915 deleted file mode 100644
916 index 3794abd..00000000
917 --- a/net-libs/gnutls/gnutls-3.5.4-r1.ebuild
918 +++ /dev/null
919 @@ -1,131 +0,0 @@
920 -# Copyright 1999-2016 Gentoo Foundation
921 -# Distributed under the terms of the GNU General Public License v2
922 -# $Id$
923 -
924 -EAPI=6
925 -
926 -inherit autotools libtool eutils multilib-minimal versionator
927 -
928 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
929 -HOMEPAGE="http://www.gnutls.org/"
930 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
931 -
932 -LICENSE="GPL-3 LGPL-2.1"
933 -SLOT="0/30" # libgnutls.so number
934 -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"
935 -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
936 -IUSE="+cxx dane doc examples guile nls +openssl pkcs11 sslv2 +sslv3 static-libs test +tls-heartbeat +tools zlib ${IUSE_LINGUAS// / linguas_}"
937 -
938 -# NOTICE: sys-devel/autogen is required at runtime as we
939 -# use system libopts
940 -RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
941 - >=dev-libs/nettle-3.1:=[gmp,${MULTILIB_USEDEP}]
942 - >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
943 - tools? ( sys-devel/autogen )
944 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
945 - guile? ( >=dev-scheme/guile-1.8[networking] )
946 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
947 - pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
948 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
949 - abi_x86_32? (
950 - !<=app-emulation/emul-linux-x86-baselibs-20140508
951 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
952 - )"
953 -DEPEND="${RDEPEND}
954 - >=sys-devel/automake-1.11.6
955 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
956 - doc? (
957 - sys-apps/texinfo
958 - dev-util/gtk-doc
959 - )
960 - nls? ( sys-devel/gettext )
961 - test? ( app-misc/datefudge )"
962 -
963 -pkg_setup() {
964 - # bug#520818
965 - export TZ=UTC
966 -}
967 -
968 -src_prepare() {
969 - default
970 -
971 - sed -i \
972 - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
973 - doc/Makefile.am || die
974 -
975 - # force regeneration of autogen-ed files
976 - local file
977 - for file in $(grep -l AutoGen-ed src/*.c) ; do
978 - rm src/$(basename ${file} .c).{c,h} || die
979 - done
980 -
981 - # force regeneration of makeinfo files
982 - # have no idea why on some system these files are not
983 - # accepted as-is, see bug#520818
984 - for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
985 - rm "${file}" || die
986 - done
987 -
988 - eautoreconf
989 -
990 - # Use sane .so versioning on FreeBSD.
991 - elibtoolize
992 -
993 - # bug 497472
994 - use cxx || epunt_cxx
995 -}
996 -
997 -multilib_src_configure() {
998 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
999 -
1000 - # remove magic of library detection
1001 - # bug#438222
1002 - libconf=($("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g'))
1003 -
1004 - # TPM needs to be tested before being enabled
1005 - # hardware-accell is disabled on OSX because the asm files force
1006 - # GNU-stack (as doesn't support that) and when that's removed ld
1007 - # complains about duplicate symbols
1008 - ECONF_SOURCE=${S} \
1009 - econf \
1010 - --disable-valgrind-tests \
1011 - --without-included-libtasn1 \
1012 - $(use_enable cxx) \
1013 - $(use_enable dane libdane) \
1014 - $(multilib_native_enable manpages) \
1015 - $(multilib_native_use_enable tools) \
1016 - $(multilib_native_use_enable doc) \
1017 - $(multilib_native_use_enable doc gtk-doc) \
1018 - $(multilib_native_use_enable guile) \
1019 - $(multilib_native_use_enable test tests) \
1020 - $(use_enable nls) \
1021 - $(use_enable openssl openssl-compatibility) \
1022 - $(use_enable tls-heartbeat heartbeat-support) \
1023 - $(use_enable sslv2 ssl2-support) \
1024 - $(use_enable sslv3 ssl3-support) \
1025 - $(use_enable static-libs static) \
1026 - $(use_with pkcs11 p11-kit) \
1027 - $(use_with zlib) \
1028 - --without-tpm \
1029 - --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
1030 - "${libconf[@]}" \
1031 - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
1032 -}
1033 -
1034 -multilib_src_install_all() {
1035 - einstalldocs
1036 - prune_libtool_files --all
1037 -
1038 - dodoc doc/certtool.cfg
1039 -
1040 - if use doc; then
1041 - dohtml doc/gnutls.html
1042 - else
1043 - rm -fr "${ED}/usr/share/doc/${PF}/html"
1044 - fi
1045 -
1046 - if use examples; then
1047 - docinto examples
1048 - dodoc doc/examples/*.c
1049 - fi
1050 -}
1051
1052 diff --git a/net-libs/gnutls/gnutls-3.5.4.ebuild b/net-libs/gnutls/gnutls-3.5.4.ebuild
1053 deleted file mode 100644
1054 index 129526a..00000000
1055 --- a/net-libs/gnutls/gnutls-3.5.4.ebuild
1056 +++ /dev/null
1057 @@ -1,126 +0,0 @@
1058 -# Copyright 1999-2016 Gentoo Foundation
1059 -# Distributed under the terms of the GNU General Public License v2
1060 -# $Id$
1061 -
1062 -EAPI=6
1063 -
1064 -inherit autotools libtool eutils multilib-minimal versionator
1065 -
1066 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
1067 -HOMEPAGE="http://www.gnutls.org/"
1068 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
1069 -
1070 -LICENSE="GPL-3 LGPL-2.1"
1071 -SLOT="0/30" # libgnutls.so number
1072 -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"
1073 -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
1074 -IUSE="+cxx dane doc examples guile nls +openssl pkcs11 sslv2 +sslv3 static-libs test +tls-heartbeat +tools zlib ${IUSE_LINGUAS// / linguas_}"
1075 -
1076 -# NOTICE: sys-devel/autogen is required at runtime as we
1077 -# use system libopts
1078 -RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
1079 - >=dev-libs/nettle-3.1:=[gmp,${MULTILIB_USEDEP}]
1080 - >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
1081 - tools? ( sys-devel/autogen )
1082 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
1083 - guile? ( >=dev-scheme/guile-1.8[networking] )
1084 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
1085 - pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
1086 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
1087 - abi_x86_32? (
1088 - !<=app-emulation/emul-linux-x86-baselibs-20140508
1089 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
1090 - )"
1091 -DEPEND="${RDEPEND}
1092 - >=sys-devel/automake-1.11.6
1093 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
1094 - doc? (
1095 - sys-apps/texinfo
1096 - dev-util/gtk-doc
1097 - )
1098 - nls? ( sys-devel/gettext )
1099 - test? ( app-misc/datefudge )"
1100 -
1101 -pkg_setup() {
1102 - # bug#520818
1103 - export TZ=UTC
1104 -}
1105 -
1106 -src_prepare() {
1107 - default
1108 -
1109 - sed -i \
1110 - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
1111 - doc/Makefile.am || die
1112 -
1113 - # force regeneration of autogen-ed files
1114 - local file
1115 - for file in $(grep -l AutoGen-ed src/*.c) ; do
1116 - rm src/$(basename ${file} .c).{c,h} || die
1117 - done
1118 -
1119 - # force regeneration of makeinfo files
1120 - # have no idea why on some system these files are not
1121 - # accepted as-is, see bug#520818
1122 - for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
1123 - rm "${file}" || die
1124 - done
1125 -
1126 - eautoreconf
1127 -
1128 - # Use sane .so versioning on FreeBSD.
1129 - elibtoolize
1130 -
1131 - # bug 497472
1132 - use cxx || epunt_cxx
1133 -}
1134 -
1135 -multilib_src_configure() {
1136 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
1137 -
1138 - # TPM needs to be tested before being enabled
1139 - # hardware-accell is disabled on OSX because the asm files force
1140 - # GNU-stack (as doesn't support that) and when that's removed ld
1141 - # complains about duplicate symbols
1142 - ECONF_SOURCE=${S} \
1143 - econf \
1144 - --disable-valgrind-tests \
1145 - --without-included-libtasn1 \
1146 - $(use_enable cxx) \
1147 - $(use_enable dane libdane) \
1148 - $(multilib_native_enable manpages) \
1149 - $(multilib_native_use_enable tools) \
1150 - $(multilib_native_use_enable doc) \
1151 - $(multilib_native_use_enable doc gtk-doc) \
1152 - $(multilib_native_use_enable guile) \
1153 - $(multilib_native_use_enable test tests) \
1154 - $(use_enable nls) \
1155 - $(use_enable openssl openssl-compatibility) \
1156 - $(use_enable tls-heartbeat heartbeat-support) \
1157 - $(use_enable sslv2 ssl2-support) \
1158 - $(use_enable sslv3 ssl3-support) \
1159 - $(use_enable static-libs static) \
1160 - $(use_with pkcs11 p11-kit) \
1161 - $(use_with zlib) \
1162 - --without-tpm \
1163 - --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
1164 - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
1165 -}
1166 -
1167 -multilib_src_install_all() {
1168 - einstalldocs
1169 - prune_libtool_files --all
1170 -
1171 - dodoc doc/certtool.cfg
1172 -
1173 - if use doc; then
1174 - dohtml doc/gnutls.html
1175 - else
1176 - rm -fr "${ED}/usr/share/doc/${PF}/html"
1177 - fi
1178 -
1179 - if use examples; then
1180 - docinto examples
1181 - dodoc doc/examples/*.c
1182 - fi
1183 -}