Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gnutls/
Date: Sun, 03 Oct 2021 11:28:39
Message-Id: 1633260469.f2227d0793fdc722476d41582ae12f05f5ca962b.soap@gentoo
1 commit: f2227d0793fdc722476d41582ae12f05f5ca962b
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 3 11:27:49 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 3 11:27:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2227d07
7
8 net-libs/gnutls: drop 3.7.1
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 net-libs/gnutls/Manifest | 1 -
13 net-libs/gnutls/gnutls-3.7.1.ebuild | 137 ------------------------------------
14 2 files changed, 138 deletions(-)
15
16 diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest
17 index 4e75f77c609..a6767fb17fe 100644
18 --- a/net-libs/gnutls/Manifest
19 +++ b/net-libs/gnutls/Manifest
20 @@ -1,2 +1 @@
21 -DIST gnutls-3.7.1.tar.xz 6038388 BLAKE2B 1d55eb441827c7148d63bcad37bf7bc62d539ee9bc7e14c2fe5ec1d0bdcadd75e2cbc98ba104523b24c8dfd9526b4595475a818d206971cc012fac509cd33a6f SHA512 0fe801f03676c3bd970387f94578c8be7ba6030904989e7d21dffdc726209bab44c8096fbcb6d51fed2de239537bd00df2338ee9c8d984a1c386826b91062a95
22 DIST gnutls-3.7.2.tar.xz 6091508 BLAKE2B f408ff65f2e08cf294b449dfac64a272a8ba40e987618960f57ee36c167a25974711ab8d11bdbd6335fbf18ac902a79b5c6b40bb6a37f4ee07549832d0611df2 SHA512 5d01d561a05379da71e4847e30ba13c2abe09f7a5c4359fd539d8bd19abad0ce87120f82ee7b6264e787bd3edbc5ae16beffa892983cbc3d59f11a1811c10329
23
24 diff --git a/net-libs/gnutls/gnutls-3.7.1.ebuild b/net-libs/gnutls/gnutls-3.7.1.ebuild
25 deleted file mode 100644
26 index 82de8ba5e7a..00000000000
27 --- a/net-libs/gnutls/gnutls-3.7.1.ebuild
28 +++ /dev/null
29 @@ -1,137 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit libtool multilib-minimal
36 -
37 -DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols"
38 -HOMEPAGE="https://www.gnutls.org/"
39 -SRC_URI="mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz"
40 -
41 -LICENSE="GPL-3 LGPL-2.1+"
42 -SLOT="0/30" # libgnutls.so number
43 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
44 -IUSE="+cxx dane doc examples guile +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind"
45 -
46 -REQUIRED_USE="
47 - test-full? ( cxx dane doc examples guile idn nls openssl pkcs11 seccomp tls-heartbeat tools )"
48 -RESTRICT="!test? ( test )"
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.6:=[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-2:=[networking] )
59 - nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] )
60 - pkcs11? ( >=app-crypt/p11-kit-0.23.1:=[${MULTILIB_USEDEP}] )
61 - idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] )"
62 -DEPEND="${RDEPEND}
63 - test? (
64 - seccomp? ( sys-libs/libseccomp )
65 - )"
66 -BDEPEND=">=virtual/pkgconfig-0-r1
67 - doc? ( dev-util/gtk-doc )
68 - nls? ( sys-devel/gettext )
69 - tools? ( sys-devel/autogen )
70 - valgrind? ( dev-util/valgrind )
71 - test-full? (
72 - app-crypt/dieharder
73 - >=app-misc/datefudge-1.22
74 - dev-libs/softhsm:2[-bindist]
75 - net-dialup/ppp
76 - net-misc/socat
77 - )"
78 -
79 -DOCS=(
80 - README.md
81 - doc/certtool.cfg
82 -)
83 -
84 -HTML_DOCS=()
85 -
86 -pkg_setup() {
87 - # bug#520818
88 - export TZ=UTC
89 -
90 - use doc && HTML_DOCS+=(
91 - doc/gnutls.html
92 - )
93 -}
94 -
95 -src_prepare() {
96 - default
97 -
98 - # force regeneration of autogen-ed files
99 - local file
100 - for file in $(grep -l AutoGen-ed src/*.c) ; do
101 - rm src/$(basename ${file} .c).{c,h} || die
102 - done
103 -
104 - # don't try to use system certificate store on macOS, it is
105 - # confusingly ignoring our ca-certificates and more importantly
106 - # fails to compile in certain configurations
107 - sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die
108 -
109 - # Use sane .so versioning on FreeBSD.
110 - elibtoolize
111 -}
112 -
113 -multilib_src_configure() {
114 - LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
115 -
116 - local libconf=()
117 -
118 - # TPM needs to be tested before being enabled
119 - libconf+=( --without-tpm )
120 -
121 - # hardware-accell is disabled on OSX because the asm files force
122 - # GNU-stack (as doesn't support that) and when that's removed ld
123 - # complains about duplicate symbols
124 - [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration )
125 -
126 - # Cygwin as does not understand these asm files at all
127 - [[ ${CHOST} == *-cygwin* ]] && libconf+=( --disable-hardware-acceleration )
128 -
129 - local myeconfargs=(
130 - $(multilib_native_enable manpages)
131 - $(multilib_native_use_enable doc gtk-doc)
132 - $(multilib_native_use_enable doc)
133 - $(multilib_native_use_enable guile)
134 - $(multilib_native_use_enable seccomp seccomp-tests)
135 - $(multilib_native_use_enable test tests)
136 - $(multilib_native_use_enable test-full full-test-suite)
137 - $(multilib_native_use_enable tools)
138 - $(multilib_native_use_enable valgrind valgrind-tests)
139 - $(use_enable cxx)
140 - $(use_enable dane libdane)
141 - $(use_enable nls)
142 - $(use_enable openssl openssl-compatibility)
143 - $(use_enable sslv2 ssl2-support)
144 - $(use_enable sslv3 ssl3-support)
145 - $(use_enable static-libs static)
146 - $(use_enable tls-heartbeat heartbeat-support)
147 - $(use_with idn)
148 - $(use_with pkcs11 p11-kit)
149 - --disable-rpath
150 - --with-default-trust-store-file="${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
151 - --with-unbound-root-key-file="${EPREFIX}/etc/dnssec/root-anchors.txt"
152 - --without-included-libtasn1
153 - $("${S}/configure" --help | grep -o -- '--without-.*-prefix')
154 - )
155 - ECONF_SOURCE="${S}" econf "${libconf[@]}" "${myeconfargs[@]}"
156 -}
157 -
158 -multilib_src_install_all() {
159 - einstalldocs
160 - find "${ED}" -type f -name '*.la' -delete || die
161 -
162 - if use examples; then
163 - docinto examples
164 - dodoc doc/examples/*.c
165 - fi
166 -}