From ae832415103492f73a8351ed7a91cb596392d779 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 21 Mar 2025 00:31:17 +0000 Subject: gentoo auto-resync : 21:03:2025 - 00:31:16 --- net-libs/Manifest.gz | Bin 30662 -> 30650 bytes net-libs/courier-authlib/Manifest | 2 +- .../courier-authlib/courier-authlib-0.72.3.ebuild | 4 +- net-libs/courier-unicode/Manifest | 2 +- .../courier-unicode/courier-unicode-2.3.1.ebuild | 4 +- net-libs/gnutls/Manifest | 4 +- net-libs/gnutls/gnutls-3.8.8.ebuild | 4 - net-libs/gnutls/gnutls-3.8.9-r1.ebuild | 157 ++++++++++++++++++++ net-libs/gnutls/gnutls-3.8.9.ebuild | 161 --------------------- 9 files changed, 165 insertions(+), 173 deletions(-) create mode 100644 net-libs/gnutls/gnutls-3.8.9-r1.ebuild delete mode 100644 net-libs/gnutls/gnutls-3.8.9.ebuild (limited to 'net-libs') diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz index a2053122bcf4..dff921ae8a5a 100644 Binary files a/net-libs/Manifest.gz and b/net-libs/Manifest.gz differ diff --git a/net-libs/courier-authlib/Manifest b/net-libs/courier-authlib/Manifest index be936b885789..957f9e6d37b9 100644 --- a/net-libs/courier-authlib/Manifest +++ b/net-libs/courier-authlib/Manifest @@ -2,5 +2,5 @@ AUX courier-authlib-r2 978 BLAKE2B e49effed437cc9fd76404054e014a87bf2a207c68c1a4 DIST courier-authlib-0.72.1.tar.bz2 2288448 BLAKE2B 0af13cb4d4e8661011acae46c7134ed7d76b5d114129846397bbaf95db3d05ac792a99c9088e1101c0d8f040bccace9e813d54bc864cabb67ba2501701567bce SHA512 2e46f3ee91dc3b0e81e1f2fb2ebae9615fd1bc2349946167ebb0d6701fc60f1ed754f0d9de160730b45991869ab30849f153a0e523777f5eae28f8a38426e814 DIST courier-authlib-0.72.3.tar.bz2 2289793 BLAKE2B 41e28e3d48a7586e54758d49324f51ba4e565186d4f1765301c1592474d2c57ddc62e088739f8c16d51abca86cdcb94745756bbdf9b06f6cd5197b52f145e367 SHA512 9a2901c15605611e139d8066e01ea94db9b0dda65e9fd8b6b0d50946fd0ca9805be212cfcb9d35b0e953b0d2f0d90dd2063410700a5eb4a2f2cb9fc184ac7fa2 EBUILD courier-authlib-0.72.1.ebuild 4488 BLAKE2B 498852f7933a3cd9c46424a4e6d3d868d8124c71422aabea1a00704ce0963c61e549e9e307282f3343ba7c3ca93d786cdb2890038b9887a176903f6689b26b92 SHA512 adeebe12d04813d551248d8b594ce30555feb1333494a0a516a6f9f5cb53b71f420d0ccaea731325aee54bc9911db32d336a416f074bd1ace06c945165f7bbef -EBUILD courier-authlib-0.72.3.ebuild 4489 BLAKE2B 5331cfced4992c1cec2ab5dce02c9088992507f02fd7ada806fd7cf4aa4b0591d9da4a258eeafcfe2f35d31296ac8f434924ef5ecd0da19ec341a0856040bfcf SHA512 b8712bf0a5b21cbcbc6cad5ef0766b18210384776abf0a06249443c2cacb9d2fb77146d7c791821edaff0e2140175cb578ebba8a1e0bfbf4d9c0eb3c0c68302a +EBUILD courier-authlib-0.72.3.ebuild 4487 BLAKE2B 17b56737e8ec8d504cff91d5081f51f4f2f031cfa82202444f8fbba3f97a5851b352506b1db50003f8025cbf648df4683a8f6ea0e3046475171cc654c9920608 SHA512 a9675716d26d1cf8ebcff8d0760c1c276369bbe7b6b6fb438f3c2498cb4d0d4797d6edac2ad1f7bc26e159ae2127cfa51785dc23201d84ccb79a7beffca644a2 MISC metadata.xml 302 BLAKE2B f4a6bbc1e616a769172499ca1f863a8e43d608e25d2a99a6384fd0a0880e4e23f2c64c97404ad80ae12c3cd23eda5854ded0ed2c9000875c701aa22ff70b9e80 SHA512 3f25d55e6f6169b696d210cfbd7df486337885cd0905b62d307e6b3fd1595ac1471dccb59794ecfe0bbcd009339348ef7bb9debb4752533d1b28043cb5d1f918 diff --git a/net-libs/courier-authlib/courier-authlib-0.72.3.ebuild b/net-libs/courier-authlib/courier-authlib-0.72.3.ebuild index 7705a723b4a9..5a8658f2fff6 100644 --- a/net-libs/courier-authlib/courier-authlib-0.72.3.ebuild +++ b/net-libs/courier-authlib/courier-authlib-0.72.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" IUSE="berkdb debug gdbm ldap mysql pam postgres sqlite static-libs" RESTRICT="!berkdb? ( test )" diff --git a/net-libs/courier-unicode/Manifest b/net-libs/courier-unicode/Manifest index c39aadd15c8c..111fd18b4c57 100644 --- a/net-libs/courier-unicode/Manifest +++ b/net-libs/courier-unicode/Manifest @@ -1,5 +1,5 @@ DIST courier-unicode-2.3.0.tar.bz2 657354 BLAKE2B 4ccb4743330b5da8b4ab8f39d3ca186bcb826ef466a909d6cc011df5c2e15a8d547cf59f44dc40a02108d08695fa2747eab0050c3cd3e913277c9cc32ddf61db SHA512 f0db382a5c3fbe76fa1395e90f5f5489f83e95753f95058aa1c1b16dbcd5aba0425e88674337d18d32d00ed932609c3e984ae684bb122fea40eaae9489f470d4 DIST courier-unicode-2.3.1.tar.bz2 657748 BLAKE2B a5e07741d410e212b3cf55ee690f794a0a133fea1bdcb181c1630f113588f0301d0a253770395bb5f1996321569dfe7c1e06b2918026575cef04b3233199386c SHA512 ee515e06364075d40c3204073cd828f5f663ec9cfe97259d38a5b30f0452f44073192685e408cd92aa93550bf61c2fe6dd5261845f7934ffa44b6f3a475edda6 EBUILD courier-unicode-2.3.0.ebuild 541 BLAKE2B 76416cb7eef80ef4518894bf3770d2b9b7e802b136f332767c88fa077aa47243b582a0470279f888c47d10226535b4741b61ad72aa360915eedc2d8084467164 SHA512 e53a787b7b8a25cb3c86aff77f6a189d3fa675134530f9c4b2185dc6d74e6664eceed4a2bdc21e31b649b0deb60223f57dae4fe347529d942c913f86eeebf5c9 -EBUILD courier-unicode-2.3.1.ebuild 542 BLAKE2B 0a7e49af97d502cf757750bf59a8665ac5efa493b9eb5c7386ddec3895dcd65c05e0b321b2a4d5b2a136e945a052589fd87bdd12669cbffe914caf19c0f81b55 SHA512 43dcf3738fb9a53d6bf11df08e75b898fc0d0a52cf6ec4086acce0040bf2a1c0b0d1978adfa272fbace06c514bddf9d856d1d6e153e3aadcb11b7a0ad09df542 +EBUILD courier-unicode-2.3.1.ebuild 540 BLAKE2B 3200bbbebf438dbc351e8b3b073348ac02e49accdee74af2af3ec35bc32ac2ec5d2d351988a916052d08a1ccc6ff23a9c82142f3034383507b61cebc364e673c SHA512 d28a759702fc5a3883404a254013593f3c0ec7d345a0d7481cc8a13aedbb57226100750b8879e4ce951354f24932ad98328f612c7f53853d3f5f8880d911495b MISC metadata.xml 294 BLAKE2B 529ed84dfbb6d03b115e2ed70383004be4908c1164d320822c212a7be40ce17d6dab03fdf76bdc8c4fb2355bf74b3a9d0dbf403556867c34532c7f0d497715bc SHA512 bd738845d02840a3e451e87ccded91513d5d7d23f4a4a0efff9ea7ce24debb1b41c4283be1898bb6b1a354c91a765c4a5e83c0745ec069865e57a0ce77c5f273 diff --git a/net-libs/courier-unicode/courier-unicode-2.3.1.ebuild b/net-libs/courier-unicode/courier-unicode-2.3.1.ebuild index 78387203ad4f..853d45ea594d 100644 --- a/net-libs/courier-unicode/courier-unicode-2.3.1.ebuild +++ b/net-libs/courier-unicode/courier-unicode-2.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0/7" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" src_configure() { econf --disable-static diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest index ae0ac62d2a51..fcfcca7a56ae 100644 --- a/net-libs/gnutls/Manifest +++ b/net-libs/gnutls/Manifest @@ -2,6 +2,6 @@ DIST gnutls-3.8.8.tar.xz 6696460 BLAKE2B d1498b0b9f14789599fd5b984d5370b632611f2 DIST gnutls-3.8.8.tar.xz.sig 580 BLAKE2B 11a30f09e3a478615df2c6a0e40c0b9b2aad5794a82ae0cc871fcf3699b5d9725c9d04708c6f0b983da6e21f90a81f7550e723d0d04f97d1a16d526efbe91b1e SHA512 fdff792511e9e5de203a1dfd66bf521c12fb74a19de651ffa1f7359dafdd1dad59ae57d0f95fa363c4167f798e6b624b4ae1f84d4e0737ff690c2fb0e5a5bdce DIST gnutls-3.8.9.tar.xz 6847364 BLAKE2B 0fd4751e24649a9c4b8ee7616350a4b6a504ec10b3ef39b450af25abc4935f30df9e8f732435166516f89c692ac7cb7a0aafb76c4c86c1faff53119840d26ae7 SHA512 b3b201671bf4e75325610a0291d4cd36a669718e22b3685246b64bde97b5bd94f463ab376ed817869869714115f4ff11bdc53c32604bb04a8ff8e10daa6d1fc7 DIST gnutls-3.8.9.tar.xz.sig 566 BLAKE2B 3e723c90186a00b33f1d036c564039f7340ae495400f05d31bb054dad93a9529be4761ba9f97b2df51e8483dd1433c902cf5b8f9bdc127d0f540c9faf82a8f1c SHA512 5a47a519ef35f21b59e2122528246d6109dd95667bfe5d01713b9a7efa2931f8523bf325b8824433f3117d63e0e50d66f8c467a7ee4bd2068ae039601a28441e -EBUILD gnutls-3.8.8.ebuild 5085 BLAKE2B a7b927f7b5596966dfed3b728a8eb3392b33c1732bbcb80817e3a2dadb1cea0132c90f3feeb61b01f6f12fa7e3c8e1811c69a0acb141ef9bb82e747f665514b2 SHA512 377ee541c0f336b434014239df1c67740b1079e5a486f2746a99a819a80d1f3e374d2c37672f65cf99e452a49a0f5420f5a7e61490bae45e114b914666d5c554 -EBUILD gnutls-3.8.9.ebuild 5088 BLAKE2B 047d521d49d1a59eec6b129dc8e923412a38da7b2e4f75ceefdca93832e7881ee818b6bd4b5d6e57e3f110436e0a7838aa7a3248f1e77f4f50502eed2871a570 SHA512 4510ad237cdb6e7a7b87f866f52f73ce2dc1c9de8d1b7965e0a17a03d0601cea6b30a44e6b02e8dfc25ab94986739cb1574c389e451c9363127e02fec78da530 +EBUILD gnutls-3.8.8.ebuild 4981 BLAKE2B 05c5ed35b949bdfe7b440099c19942c94ef473648046cbc801817b41557f5740920ea1a3af0a902d81ceb27dd840ccc159b406a4b830bc6d301d1471b8255279 SHA512 83db205fdd6eb85f3ff27ed184f33783a3a0293c041024529627302e198bc535461ddee2f4b5d32a65a942a4c0cd24b2e04ce1b4543f7199258a1e744e94baa7 +EBUILD gnutls-3.8.9-r1.ebuild 5006 BLAKE2B 8072157f06735fb57bc8cbf38163b85968568852c177e44b060adaaba7dde359670d6cdb41970ec10b258459ebbbec927c49072262afac3730c2b1edbdc25bdb SHA512 a7621e0560f2943d5b2331b5cea62dd954156d3851521e5542086ed42c4674ff798f75071408f72fc315ae1ebef6bd2aef1394fd63759b20c871b8720a13f3fc MISC metadata.xml 1181 BLAKE2B 9902770b982d606070b2e34452bd732385f9abdca7ffc89b1a3bcfce9ab471fbd35f87c7fd3aeb610046e50eec13f64ee80d1093f3f9853ec8ecf35521129766 SHA512 b910b2087b83e2dafe3093be4b0d942e2f728b62aa4b3cd8101f681d51752f84b961c8524896cd13d853b96eb5f62f74b7d30edbe84fa42a260eac9e263efcf8 diff --git a/net-libs/gnutls/gnutls-3.8.8.ebuild b/net-libs/gnutls/gnutls-3.8.8.ebuild index 97af7a7619d3..f370dd7989b4 100644 --- a/net-libs/gnutls/gnutls-3.8.8.ebuild +++ b/net-libs/gnutls/gnutls-3.8.8.ebuild @@ -10,10 +10,6 @@ DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS HOMEPAGE="https://www.gnutls.org/" SRC_URI="mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz" SRC_URI+=" verify-sig? ( mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz.sig )" -if [[ ${PV} == 3.8.7.1 ]] ; then - # Workaround for botched dist tarball - S="${WORKDIR}"/gnutls-3.8.7 -fi LICENSE="GPL-3 LGPL-2.1+" # As of 3.8.0, the C++ library is header-only, but we won't drop the subslot diff --git a/net-libs/gnutls/gnutls-3.8.9-r1.ebuild b/net-libs/gnutls/gnutls-3.8.9-r1.ebuild new file mode 100644 index 000000000000..be423c1f2ca0 --- /dev/null +++ b/net-libs/gnutls/gnutls-3.8.9-r1.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnutls.asc +inherit autotools multilib-minimal verify-sig + +DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols" +HOMEPAGE="https://www.gnutls.org/" +SRC_URI="mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz" +SRC_URI+=" verify-sig? ( mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz.sig )" + +LICENSE="GPL-3 LGPL-2.1+" +# As of 3.8.0, the C++ library is header-only, but we won't drop the subslot +# component for it until libgnutls.so breaks ABI, to avoid pointless rebuilds. +# Subslot format: +# . +SLOT="0/30.30" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="brotli +cxx dane doc examples +idn nls +openssl pkcs11 sslv2 sslv3 static-libs test test-full +tls-heartbeat tools zlib zstd" +REQUIRED_USE="test-full? ( cxx dane doc examples idn nls openssl pkcs11 tls-heartbeat tools )" +RESTRICT="!test? ( test )" + +# >=nettle-3.10 as a workaround for bug #936011 +RDEPEND=" + >=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}] + dev-libs/libunistring:=[${MULTILIB_USEDEP}] + >=dev-libs/nettle-3.10:=[gmp,${MULTILIB_USEDEP}] + >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}] + brotli? ( >=app-arch/brotli-1.0.0:=[${MULTILIB_USEDEP}] ) + dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] ) + nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] ) + pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] ) + idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) + zstd? ( >=app-arch/zstd-1.3.0:=[${MULTILIB_USEDEP}] ) +" +DEPEND=" + ${RDEPEND} + test-full? ( sys-libs/libseccomp ) +" +BDEPEND=" + dev-build/gtk-doc-am + >=virtual/pkgconfig-0-r1 + doc? ( dev-util/gtk-doc ) + nls? ( sys-devel/gettext ) + test-full? ( + app-crypt/dieharder + || ( sys-libs/libfaketime >=app-misc/datefudge-1.22 ) + dev-libs/softhsm:2[-bindist(-)] + net-dialup/ppp + net-misc/socat + ) + verify-sig? ( >=sec-keys/openpgp-keys-gnutls-20240415 ) +" + +DOCS=( README.md doc/certtool.cfg ) + +HTML_DOCS=() + +QA_CONFIG_IMPL_DECL_SKIP=( + # gnulib FPs + MIN + alignof + static_assert +) + +src_prepare() { + default + + # bug #520818 + export TZ=UTC + + use doc && HTML_DOCS+=( doc/gnutls.html ) + + # don't try to use system certificate store on macOS, it is + # confusingly ignoring our ca-certificates and more importantly + # fails to compile in certain configurations + sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die + + # Use sane .so versioning on FreeBSD. + #elibtoolize + + # Switch back to elibtoolize after 3.8.7.1 + eautoreconf +} + +multilib_src_configure() { + LINGUAS="${LINGUAS//en/en@boldquot en@quot}" + + local libconf=() + + # TPM needs to be tested before being enabled + # Note that this may add a libltdl dep when enabled. Check configure.ac. + libconf+=( + --without-tpm + --without-tpm2 + ) + + # hardware-accel is disabled on OSX because the asm files force + # GNU-stack (as doesn't support that) and when that's removed ld + # complains about duplicate symbols + [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration ) + + # -fanalyzer substantially slows down the build and isn't useful for + # us. It's useful for upstream as it's static analysis, but it's not + # useful when just getting something built. + export gl_cv_warn_c__fanalyzer=no + + local myeconfargs=( + --disable-valgrind-tests + $(multilib_native_enable manpages) + $(multilib_native_use_enable doc gtk-doc) + $(multilib_native_use_enable doc) + $(multilib_native_use_enable test tests) + $(multilib_native_use_enable test-full full-test-suite) + $(multilib_native_use_enable test-full seccomp-tests) + $(multilib_native_use_enable tools) + $(use_enable cxx) + $(use_enable dane libdane) + $(use_enable nls) + $(use_enable openssl openssl-compatibility) + $(use_enable sslv2 ssl2-support) + $(use_enable sslv3 ssl3-support) + $(use_enable static-libs static) + $(use_enable tls-heartbeat heartbeat-support) + $(use_with brotli '' link) + $(use_with idn) + $(use_with pkcs11 p11-kit) + $(use_with zlib '' link) + $(use_with zstd '' link) + --disable-rpath + --with-default-trust-store-file="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt + --with-unbound-root-key-file="${EPREFIX}"/etc/dnssec/root-anchors.txt + --without-included-libtasn1 + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + + ECONF_SOURCE="${S}" econf "${libconf[@]}" "${myeconfargs[@]}" + + if [[ ${CHOST} == *-solaris* ]] ; then + # gnulib ends up defining its own pthread_mutexattr_gettype + # otherwise, which is causing versioning problems + echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >> config.h || die + fi +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die + + if use examples; then + docinto examples + dodoc doc/examples/*.c + fi +} diff --git a/net-libs/gnutls/gnutls-3.8.9.ebuild b/net-libs/gnutls/gnutls-3.8.9.ebuild deleted file mode 100644 index 07bede3bb98e..000000000000 --- a/net-libs/gnutls/gnutls-3.8.9.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnutls.asc -inherit autotools multilib-minimal verify-sig - -DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols" -HOMEPAGE="https://www.gnutls.org/" -SRC_URI="mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz" -SRC_URI+=" verify-sig? ( mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz.sig )" -if [[ ${PV} == 3.8.7.1 ]] ; then - # Workaround for botched dist tarball - S="${WORKDIR}"/gnutls-3.8.7 -fi - -LICENSE="GPL-3 LGPL-2.1+" -# As of 3.8.0, the C++ library is header-only, but we won't drop the subslot -# component for it until libgnutls.so breaks ABI, to avoid pointless rebuilds. -# Subslot format: -# . -SLOT="0/30.30" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="brotli +cxx dane doc examples +idn nls +openssl pkcs11 sslv2 sslv3 static-libs test test-full +tls-heartbeat tools zlib zstd" -REQUIRED_USE="test-full? ( cxx dane doc examples idn nls openssl pkcs11 tls-heartbeat tools )" -RESTRICT="!test? ( test )" - -# >=nettle-3.10 as a workaround for bug #936011 -RDEPEND=" - >=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}] - dev-libs/libunistring:=[${MULTILIB_USEDEP}] - >=dev-libs/nettle-3.10:=[gmp,${MULTILIB_USEDEP}] - >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}] - brotli? ( >=app-arch/brotli-1.0.0:=[${MULTILIB_USEDEP}] ) - dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] ) - nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] ) - pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] ) - idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] ) - zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) - zstd? ( >=app-arch/zstd-1.3.0:=[${MULTILIB_USEDEP}] ) -" -DEPEND=" - ${RDEPEND} - test-full? ( sys-libs/libseccomp ) -" -BDEPEND=" - dev-build/gtk-doc-am - >=virtual/pkgconfig-0-r1 - doc? ( dev-util/gtk-doc ) - nls? ( sys-devel/gettext ) - test-full? ( - app-crypt/dieharder - || ( sys-libs/libfaketime >=app-misc/datefudge-1.22 ) - dev-libs/softhsm:2[-bindist(-)] - net-dialup/ppp - net-misc/socat - ) - verify-sig? ( >=sec-keys/openpgp-keys-gnutls-20240415 ) -" - -DOCS=( README.md doc/certtool.cfg ) - -HTML_DOCS=() - -QA_CONFIG_IMPL_DECL_SKIP=( - # gnulib FPs - MIN - alignof - static_assert -) - -src_prepare() { - default - - # bug #520818 - export TZ=UTC - - use doc && HTML_DOCS+=( doc/gnutls.html ) - - # don't try to use system certificate store on macOS, it is - # confusingly ignoring our ca-certificates and more importantly - # fails to compile in certain configurations - sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die - - # Use sane .so versioning on FreeBSD. - #elibtoolize - - # Switch back to elibtoolize after 3.8.7.1 - eautoreconf -} - -multilib_src_configure() { - LINGUAS="${LINGUAS//en/en@boldquot en@quot}" - - local libconf=() - - # TPM needs to be tested before being enabled - # Note that this may add a libltdl dep when enabled. Check configure.ac. - libconf+=( - --without-tpm - --without-tpm2 - ) - - # hardware-accel is disabled on OSX because the asm files force - # GNU-stack (as doesn't support that) and when that's removed ld - # complains about duplicate symbols - [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration ) - - # -fanalyzer substantially slows down the build and isn't useful for - # us. It's useful for upstream as it's static analysis, but it's not - # useful when just getting something built. - export gl_cv_warn_c__fanalyzer=no - - local myeconfargs=( - --disable-valgrind-tests - $(multilib_native_enable manpages) - $(multilib_native_use_enable doc gtk-doc) - $(multilib_native_use_enable doc) - $(multilib_native_use_enable test tests) - $(multilib_native_use_enable test-full full-test-suite) - $(multilib_native_use_enable test-full seccomp-tests) - $(multilib_native_use_enable tools) - $(use_enable cxx) - $(use_enable dane libdane) - $(use_enable nls) - $(use_enable openssl openssl-compatibility) - $(use_enable sslv2 ssl2-support) - $(use_enable sslv3 ssl3-support) - $(use_enable static-libs static) - $(use_enable tls-heartbeat heartbeat-support) - $(use_with brotli) - $(use_with idn) - $(use_with pkcs11 p11-kit) - $(use_with zlib) - $(use_with zstd) - --disable-rpath - --with-default-trust-store-file="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt - --with-unbound-root-key-file="${EPREFIX}"/etc/dnssec/root-anchors.txt - --without-included-libtasn1 - $("${S}/configure" --help | grep -o -- '--without-.*-prefix') - ) - - ECONF_SOURCE="${S}" econf "${libconf[@]}" "${myeconfargs[@]}" - - if [[ ${CHOST} == *-solaris* ]] ; then - # gnulib ends up defining its own pthread_mutexattr_gettype - # otherwise, which is causing versioning problems - echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >> config.h || die - fi -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -type f -name '*.la' -delete || die - - if use examples; then - docinto examples - dodoc doc/examples/*.c - fi -} -- cgit v1.2.3