summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-24 21:13:35 +0000
committerSam James <sam@gentoo.org>2024-12-24 21:13:35 +0000
commit576356ecf654efb2271b63bae4743d5781771bff (patch)
treedd7680cf4367d96fecb9ab25917555813bb4a93f /net-libs/gnutls
parentx11-libs/libfm: build w/ -std=gnu17 (diff)
downloadgentoo-576356ecf654efb2271b63bae4743d5781771bff.tar.gz
gentoo-576356ecf654efb2271b63bae4743d5781771bff.tar.bz2
gentoo-576356ecf654efb2271b63bae4743d5781771bff.zip
net-libs/gnutls: only run seccomp tests w/ USE=test-full
They're unreliable in sandboxes. Closes: https://bugs.gentoo.org/649396 Closes: https://bugs.gentoo.org/711104 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/gnutls')
-rw-r--r--net-libs/gnutls/gnutls-3.8.7.1-r1.ebuild10
-rw-r--r--net-libs/gnutls/gnutls-3.8.8.ebuild10
2 files changed, 8 insertions, 12 deletions
diff --git a/net-libs/gnutls/gnutls-3.8.7.1-r1.ebuild b/net-libs/gnutls/gnutls-3.8.7.1-r1.ebuild
index 410ea14a5ec3..4bea59830e07 100644
--- a/net-libs/gnutls/gnutls-3.8.7.1-r1.ebuild
+++ b/net-libs/gnutls/gnutls-3.8.7.1-r1.ebuild
@@ -22,8 +22,8 @@ LICENSE="GPL-3 LGPL-2.1+"
# <libgnutls.so number>.<libgnutlsxx.so number>
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 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools zlib zstd"
-REQUIRED_USE="test-full? ( cxx dane doc examples idn nls openssl pkcs11 seccomp tls-heartbeat tools )"
+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
@@ -42,9 +42,7 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
- test? (
- seccomp? ( sys-libs/libseccomp )
- )
+ test-full? ( sys-libs/libseccomp )
"
BDEPEND="
dev-build/gtk-doc-am
@@ -124,9 +122,9 @@ multilib_src_configure() {
$(multilib_native_enable manpages)
$(multilib_native_use_enable doc gtk-doc)
$(multilib_native_use_enable doc)
- $(multilib_native_use_enable seccomp seccomp-tests)
$(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)
diff --git a/net-libs/gnutls/gnutls-3.8.8.ebuild b/net-libs/gnutls/gnutls-3.8.8.ebuild
index fe1458fb6328..e1f02d5e42d3 100644
--- a/net-libs/gnutls/gnutls-3.8.8.ebuild
+++ b/net-libs/gnutls/gnutls-3.8.8.ebuild
@@ -22,8 +22,8 @@ LICENSE="GPL-3 LGPL-2.1+"
# <libgnutls.so number>.<libgnutlsxx.so number>
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 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools zlib zstd"
-REQUIRED_USE="test-full? ( cxx dane doc examples idn nls openssl pkcs11 seccomp tls-heartbeat tools )"
+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
@@ -42,9 +42,7 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
- test? (
- seccomp? ( sys-libs/libseccomp )
- )
+ test-full? ( sys-libs/libseccomp )
"
BDEPEND="
dev-build/gtk-doc-am
@@ -119,9 +117,9 @@ multilib_src_configure() {
$(multilib_native_enable manpages)
$(multilib_native_use_enable doc gtk-doc)
$(multilib_native_use_enable doc)
- $(multilib_native_use_enable seccomp seccomp-tests)
$(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)