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: Thu, 28 Jun 2018 07:55:00
Message-Id: 1530172486.d6596b185069b858e9b255c23d27c3adc2e55cae.alonbl@gentoo
1 commit: d6596b185069b858e9b255c23d27c3adc2e55cae
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 28 07:54:46 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 28 07:54:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6596b18
7
8 net-libs/gnutls: cleanup old
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-libs/gnutls/Manifest | 1 -
13 net-libs/gnutls/gnutls-3.5.15.ebuild | 133 -----------------------------------
14 2 files changed, 134 deletions(-)
15
16 diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest
17 index 6d412421bc4..68b102395fc 100644
18 --- a/net-libs/gnutls/Manifest
19 +++ b/net-libs/gnutls/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST gnutls-3.5.15.tar.xz 7238928 BLAKE2B d9a081ec0f956cabe0e0a240c6f20bd2f2855ca8b692b22322f4c80b521cfc8a9bf45da32518225550f289bb0db7010f40a3b371a9e79e394c6ec88004a15fab SHA512 046cf3adf6cc3d38fd431f2ff28ddabb65f3c13379516d105316a04c7128be89c5f7ed3df6a034fc06e9ab2e154c2cde2f5cbe8530a1e58cc4b4fb72e158134b
22 DIST gnutls-3.5.18.tar.xz 7261980 BLAKE2B 1c7df33aa331634885426196d1e39cf7c5748ba467323d7a48c4e865efcea03e3a59a7bb21cebb4cfe9d11a83a532bb785ae9a5824703c759e573de0f347004d SHA512 434cf33a4221fe2edce1b531cb53690d14a0991cb2056006021f625fb018987351f8ec917c3a7803e5e64179cf1647a3002ae783736ffca3188d2d294b76df52
23 DIST gnutls-3.6.2.tar.xz 8093304 BLAKE2B a5e40cadb184eb960e51cc0d94d441e50378f33582eeda1382e9ee3a9a4b2d26f6b44948921d8983de3e1b8fbc0199e0d894ce8b8da1fddeb84dbe304b2f9222 SHA512 6a574d355226bdff6198ab3f70633ff2a3cff4b5d06793bdaf19d007063bd4dd515d1bd3f331a9eb1a9ad01f83007801cfa55e5fd16c1cd3461ac33d1813fb06
24
25 diff --git a/net-libs/gnutls/gnutls-3.5.15.ebuild b/net-libs/gnutls/gnutls-3.5.15.ebuild
26 deleted file mode 100644
27 index 55582fba7fa..00000000000
28 --- a/net-libs/gnutls/gnutls-3.5.15.ebuild
29 +++ /dev/null
30 @@ -1,133 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit libtool ltprune multilib-minimal versionator
37 -
38 -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
39 -HOMEPAGE="http://www.gnutls.org/"
40 -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
41 -
42 -LICENSE="GPL-3 LGPL-2.1"
43 -SLOT="0/30" # libgnutls.so number
44 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 -IUSE="+cxx dane doc examples guile +idn nls openpgp +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind zlib"
46 -
47 -REQUIRED_USE="
48 - test-full? ( guile pkcs11 openpgp openssl idn seccomp tools zlib )"
49 -
50 -# NOTICE: sys-devel/autogen is required at runtime as we
51 -# use system libopts
52 -RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}]
53 - dev-libs/libunistring:=[${MULTILIB_USEDEP}]
54 - >=dev-libs/nettle-3.1:=[gmp,${MULTILIB_USEDEP}]
55 - >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}]
56 - tools? ( sys-devel/autogen )
57 - dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
58 - guile? ( >=dev-scheme/guile-1.8:=[networking] )
59 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
60 - pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
61 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
62 - idn? ( >=net-dns/libidn2-0.16-r1[${MULTILIB_USEDEP}] )"
63 -DEPEND="${RDEPEND}
64 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
65 - doc? ( dev-util/gtk-doc )
66 - nls? ( sys-devel/gettext )
67 - valgrind? ( dev-util/valgrind )
68 - test? (
69 - seccomp? ( sys-libs/libseccomp )
70 - )
71 - test-full? (
72 - guile? ( >=dev-scheme/guile-2 )
73 - app-crypt/dieharder
74 - app-misc/datefudge
75 - dev-libs/softhsm:2[-bindist]
76 - net-dialup/ppp
77 - net-misc/socat
78 - )"
79 -
80 -DOCS=(
81 - README.md
82 - doc/certtool.cfg
83 -)
84 -
85 -HTML_DOCS=()
86 -
87 -pkg_setup() {
88 - # bug#520818
89 - export TZ=UTC
90 -
91 - use doc && HTML_DOCS+=(
92 - doc/gnutls.html
93 - )
94 -}
95 -
96 -src_prepare() {
97 - default
98 -
99 - # force regeneration of autogen-ed files
100 - local file
101 - for file in $(grep -l AutoGen-ed src/*.c) ; do
102 - rm src/$(basename ${file} .c).{c,h} || die
103 - done
104 -
105 - # Use sane .so versioning on FreeBSD.
106 - elibtoolize
107 -}
108 -
109 -multilib_src_configure() {
110 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
111 -
112 - # remove magic of library detection
113 - # bug#438222
114 - local libconf=($("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g'))
115 -
116 - # TPM needs to be tested before being enabled
117 - libconf+=( --without-tpm )
118 -
119 - # hardware-accell is disabled on OSX because the asm files force
120 - # GNU-stack (as doesn't support that) and when that's removed ld
121 - # complains about duplicate symbols
122 - [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration )
123 -
124 - # Cygwin as does not understand these asm files at all
125 - [[ ${CHOST} == *-cygwin* ]] && libconf+=( --disable-hardware-acceleration )
126 -
127 - ECONF_SOURCE=${S} econf \
128 - $(multilib_native_enable manpages) \
129 - $(multilib_native_use_enable doc gtk-doc) \
130 - $(multilib_native_use_enable doc) \
131 - $(multilib_native_use_enable guile) \
132 - $(multilib_native_use_enable seccomp seccomp-tests) \
133 - $(multilib_native_use_enable test tests) \
134 - $(multilib_native_use_enable test-full full-test-suite) \
135 - $(multilib_native_use_enable tools) \
136 - $(multilib_native_use_enable valgrind valgrind-tests) \
137 - $(use_enable cxx) \
138 - $(use_enable dane libdane) \
139 - $(use_enable nls) \
140 - $(use_enable openpgp openpgp-authentication) \
141 - $(use_enable openssl openssl-compatibility) \
142 - $(use_enable sslv2 ssl2-support) \
143 - $(use_enable sslv3 ssl3-support) \
144 - $(use_enable static-libs static) \
145 - $(use_enable tls-heartbeat heartbeat-support) \
146 - $(use_with idn libidn2) \
147 - $(use_with idn) \
148 - $(use_with pkcs11 p11-kit) \
149 - $(use_with zlib) \
150 - --with-unbound-root-key-file="${EPREFIX}/etc/dnssec/root-anchors.txt" \
151 - --without-included-libtasn1 \
152 - "${libconf[@]}"
153 -}
154 -
155 -multilib_src_install_all() {
156 - einstalldocs
157 - prune_libtool_files --all
158 -
159 - if use examples; then
160 - docinto examples
161 - dodoc doc/examples/*.c
162 - fi
163 -}