Commit MetaInfo

Revision56d731ed5dc951f5c8589dc9b0b7b2d21a44d86e (tree)
Zeit2022-07-09 22:47:04
Autorhalcon74 <halcon@tuta...>
Commiterhalcon74

Log Message

gnutls-3.7.6 with 0/30 slot (not 0/30.30)

Ändern Zusammenfassung

Diff

diff -r c69d8c55b196 -r 56d731ed5dc9 net-libs/gnutls/Manifest
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net-libs/gnutls/Manifest Sat Jul 09 17:47:04 2022 +0400
@@ -0,0 +1,3 @@
1+DIST gnutls-3.7.6.tar.xz 6338276 BLAKE2B 9f3cce8dfc0b88f2c42d1d2633417dac649a265407b620b6d15967e5210debb99d287ef31d2b9dc37a527ac1e5b9db4c240b98a63293078fbd2e26ac694bf3d3 SHA512 f872339df80ec31d292821ff00eaafbe50e0bd4cdbb86e21e4f78541cd0a26d843596d5e69c91de4db8ce7d027fc639ae6462b57d89fb116162ae63c5a97486a
2+DIST gnutls-3.7.6.tar.xz.sig 685 BLAKE2B eae022d6cb0d772e465257411381afd97f3dfd19d6f794a1c3e0f8c3c1232a8a1b91269ca7252a5662782183b11ca393c31efe3f88171a526884400fd0534528 SHA512 c969da9a938b9d29a70cea3b00cce337f9a4c4304aae7f501ef6263894f81a420395ddbe1b005f35dff2e900d3fac75e288f10bbfde0ebea034f7e257bb16d0e
3+EBUILD gnutls-3.7.6.ebuild 4764 BLAKE2B c76e3169a88b4c70d439f7aa4bc316153a928e0b7993a43be3883d32d279c2b12f64b180a6f4395696447f21244eab77fa4b9f6a8941a3b57400334015a62ab8 SHA512 527e08a619223d1805eb770d9fcdd5b9067564a6ebbd771f2d1262b841c41d65dc7e846653e9e18b242eb07663ca02680bc8644c0d9eb14e4d386d64f0a281bf
diff -r c69d8c55b196 -r 56d731ed5dc9 net-libs/gnutls/gnutls-3.7.6.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net-libs/gnutls/gnutls-3.7.6.ebuild Sat Jul 09 17:47:04 2022 +0400
@@ -0,0 +1,143 @@
1+# Copyright 1999-2022 Gentoo Authors
2+# Distributed under the terms of the GNU General Public License v2
3+
4+EAPI=7
5+
6+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnutls.asc
7+inherit libtool multilib-minimal verify-sig
8+
9+DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols"
10+HOMEPAGE="https://www.gnutls.org/"
11+SRC_URI="mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz"
12+SRC_URI+=" verify-sig? ( mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz.sig )"
13+
14+LICENSE="GPL-3 LGPL-2.1+"
15+SLOT="0/30" # <libgnutls.so number>.<libgnutlsxx.so number>
16+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~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"
17+IUSE="brotli +cxx dane doc examples guile +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind zlib zstd"
18+
19+REQUIRED_USE="test-full? ( cxx dane doc examples guile idn nls openssl pkcs11 seccomp tls-heartbeat tools )"
20+RESTRICT="!test? ( test )"
21+
22+RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}]
23+ dev-libs/libunistring:=[${MULTILIB_USEDEP}]
24+ >=dev-libs/nettle-3.6:=[gmp,${MULTILIB_USEDEP}]
25+ >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}]
26+ brotli? ( >=app-arch/brotli-1.0.0:=[${MULTILIB_USEDEP}] )
27+ dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] )
28+ guile? ( >=dev-scheme/guile-2:=[networking] )
29+ nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] )
30+ pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
31+ idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] )
32+ zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
33+ zstd? ( >=app-arch/zstd-1.3.0:=[${MULTILIB_USEDEP}] )"
34+DEPEND="${RDEPEND}
35+ test? (
36+ seccomp? ( sys-libs/libseccomp )
37+ )"
38+BDEPEND="
39+ dev-util/gtk-doc-am
40+ >=virtual/pkgconfig-0-r1
41+ doc? ( dev-util/gtk-doc )
42+ nls? ( sys-devel/gettext )
43+ valgrind? ( dev-util/valgrind )
44+ test-full? (
45+ app-crypt/dieharder
46+ >=app-misc/datefudge-1.22
47+ dev-libs/softhsm:2[-bindist(-)]
48+ net-dialup/ppp
49+ net-misc/socat
50+ )
51+ verify-sig? ( >=sec-keys/openpgp-keys-gnutls-20220320 )"
52+
53+DOCS=( README.md doc/certtool.cfg )
54+
55+HTML_DOCS=()
56+
57+pkg_setup() {
58+ # bug #520818
59+ export TZ=UTC
60+
61+ use doc && HTML_DOCS+=(
62+ doc/gnutls.html
63+ )
64+}
65+
66+src_prepare() {
67+ default
68+
69+ # don't try to use system certificate store on macOS, it is
70+ # confusingly ignoring our ca-certificates and more importantly
71+ # fails to compile in certain configurations
72+ sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die
73+
74+ # Use sane .so versioning on FreeBSD.
75+ elibtoolize
76+}
77+
78+multilib_src_configure() {
79+ LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
80+
81+ local libconf=()
82+
83+ # TPM needs to be tested before being enabled
84+ # Note that this may add a libltdl dep when enabled. Check configure.ac.
85+ libconf+=(
86+ --without-tpm
87+ --without-tpm2
88+ )
89+
90+ # hardware-accel is disabled on OSX because the asm files force
91+ # GNU-stack (as doesn't support that) and when that's removed ld
92+ # complains about duplicate symbols
93+ [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration )
94+
95+ # Cygwin as does not understand these asm files at all
96+ [[ ${CHOST} == *-cygwin* ]] && libconf+=( --disable-hardware-acceleration )
97+
98+ # -fanalyzer substantially slows down the build and isn't useful for
99+ # us. It's useful for upstream as it's static analysis, but it's not
100+ # useful when just getting something built.
101+ export gl_cv_warn_c__fanalyzer=no
102+
103+ local myeconfargs=(
104+ $(multilib_native_enable manpages)
105+ $(multilib_native_use_enable doc gtk-doc)
106+ $(multilib_native_use_enable doc)
107+ $(multilib_native_use_enable guile)
108+ $(multilib_native_use_enable seccomp seccomp-tests)
109+ $(multilib_native_use_enable test tests)
110+ $(multilib_native_use_enable test-full full-test-suite)
111+ $(multilib_native_use_enable tools)
112+ $(multilib_native_use_enable valgrind valgrind-tests)
113+ $(use_enable cxx)
114+ $(use_enable dane libdane)
115+ $(use_enable nls)
116+ $(use_enable openssl openssl-compatibility)
117+ $(use_enable sslv2 ssl2-support)
118+ $(use_enable sslv3 ssl3-support)
119+ $(use_enable static-libs static)
120+ $(use_enable tls-heartbeat heartbeat-support)
121+ $(use_with brotli)
122+ $(use_with idn)
123+ $(use_with pkcs11 p11-kit)
124+ $(use_with zlib)
125+ $(use_with zstd)
126+ --disable-rpath
127+ --with-default-trust-store-file="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
128+ --with-unbound-root-key-file="${EPREFIX}"/etc/dnssec/root-anchors.txt
129+ --without-included-libtasn1
130+ $("${S}/configure" --help | grep -o -- '--without-.*-prefix')
131+ )
132+ ECONF_SOURCE="${S}" econf "${libconf[@]}" "${myeconfargs[@]}"
133+}
134+
135+multilib_src_install_all() {
136+ einstalldocs
137+ find "${ED}" -type f -name '*.la' -delete || die
138+
139+ if use examples; then
140+ docinto examples
141+ dodoc doc/examples/*.c
142+ fi
143+}
Show on old repository browser