commit:     3586b3e6796a5c2121e83960c70d66b84fcfdf6a
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 29 03:43:08 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Jul 29 03:46:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3586b3e6

app-crypt/swtpm: remove erroneous USE=openssl,  remove USE=gnutls

 - openssl is an unconditional dependency
 - gnutls was only ever used for running some tests

Let us remove all of the stray use flag choices and depend on openssl
unconditionally.

Thanks to Matt Turner for pointing this out.

Bug: https://bugs.gentoo.org/909754
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../swtpm/{swtpm-0.8.0-r1.ebuild => swtpm-0.8.0-r2.ebuild}  | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild 
b/app-crypt/swtpm/swtpm-0.8.0-r2.ebuild
similarity index 85%
rename from app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
rename to app-crypt/swtpm/swtpm-0.8.0-r2.ebuild
index dc312dd8bd52..4f2d43053f44 100644
--- a/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild
+++ b/app-crypt/swtpm/swtpm-0.8.0-r2.ebuild
@@ -14,22 +14,15 @@ 
SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="fuse gnutls seccomp +openssl test"
+IUSE="fuse seccomp test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="fuse? (
                dev-libs/glib:2
                sys-fs/fuse:0
        )
-       gnutls? (
-               dev-libs/libtasn1:=
-               >=net-libs/gnutls-3.4.0:=[tools,pkcs11]
-       )
-       openssl? (
-               dev-libs/libtasn1:=
-               dev-libs/openssl
-       )
        seccomp? ( sys-libs/libseccomp )
+       dev-libs/libtasn1:=
        acct-group/tss
        acct-user/tss
        dev-libs/openssl:0=
@@ -60,8 +53,6 @@ src_configure() {
                --with-openssl \
                --without-selinux \
                $(use_with fuse cuse) \
-               $(use_with gnutls) \
-               $(use_with openssl) \
                $(use_with seccomp) \
                $(use_enable test)
 }

Reply via email to