net-libs/gnutls: add test-full USE
authorAlon Bar-Lev <alonbl@gentoo.org>
Wed, 4 Jan 2017 02:28:22 +0000 (04:28 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Wed, 4 Jan 2017 19:26:36 +0000 (21:26 +0200)
temporary force tools for tests

Bug: 604144

Package-Manager: portage-2.3.0
RepoMan-Options: --force

net-libs/gnutls/gnutls-3.4.17.ebuild
net-libs/gnutls/gnutls-3.5.7.ebuild
net-libs/gnutls/metadata.xml

index 77c6ae35a023b9bbf1b57c559eeeb2416f5611a3..9c247c7f2242cc96930fb90ee9fa73335e88d1c4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,11 @@ LICENSE="GPL-3 LGPL-2.1"
 SLOT="0/30" # libgnutls.so number
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
-IUSE="+cxx +crywrap dane doc examples guile idn nls +openssl pkcs11 static-libs test +tls-heartbeat tools zlib ${IUSE_LINGUAS// / linguas_}"
+IUSE="+cxx +crywrap dane doc examples guile idn nls +openssl pkcs11 static-libs test test-full +tls-heartbeat tools zlib ${IUSE_LINGUAS// / linguas_}"
+
+REQUIRED_USE="
+       test? ( tools )
+       test-full? ( pkcs11 openssl tools zlib )"
 
 # NOTICE: sys-devel/autogen is required at runtime as we
 # use system libopts
@@ -29,6 +33,13 @@ RDEPEND=">=dev-libs/libtasn1-4.3:=[${MULTILIB_USEDEP}]
        pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
        zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
        idn? ( net-dns/libidn[${MULTILIB_USEDEP}] )
+       test-full? (
+               app-crypt/dieharder
+               app-misc/datefudge
+               dev-libs/softhsm:2
+               net-dialup/ppp
+               net-misc/socat
+       )
        abi_x86_32? (
                !<=app-emulation/emul-linux-x86-baselibs-20140508
                !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
index 34915132ad5580d4357627ef9f1eb7315e2757e6..e3f940b344d592237304689bed8349021c0c968e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,11 @@ LICENSE="GPL-3 LGPL-2.1"
 SLOT="0/30" # libgnutls.so number
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
-IUSE="+cxx dane doc examples guile +idn nls +openssl pkcs11 sslv2 +sslv3 static-libs test +tls-heartbeat tools zlib ${IUSE_LINGUAS// / linguas_}"
+IUSE="+cxx dane doc examples guile +idn nls +openssl pkcs11 sslv2 +sslv3 static-libs test test-full +tls-heartbeat tools zlib ${IUSE_LINGUAS// / linguas_}"
+
+REQUIRED_USE="
+       test? ( tools )
+       test-full? ( pkcs11 openssl tools zlib )"
 
 # NOTICE: sys-devel/autogen is required at runtime as we
 # use system libopts
@@ -29,6 +33,13 @@ RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}]
        pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
        zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
        idn? ( net-dns/libidn[${MULTILIB_USEDEP}] )
+       test-full? (
+               app-crypt/dieharder
+               app-misc/datefudge
+               dev-libs/softhsm:2
+               net-dialup/ppp
+               net-misc/socat
+       )
        abi_x86_32? (
                !<=app-emulation/emul-linux-x86-baselibs-20140508
                !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
index 7abdcd062226af89a8e021a18d92cf1330c4464c..de46a2ea13bd1de502c1c3d0357e211cd9934285 100644 (file)
@@ -31,6 +31,9 @@
     <flag name="sslv3">
       Support for the old/insecure SSLv3 protocol
     </flag>
+    <flag name="test-full">
+      Enable full test mode
+    </flag>
   </use>
   <slots>
    <subslots>Reflect ABI compatibility of libgnutls.so</subslots>