Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703500 - app-crypt/gnupg-2.2.17[ssl] requires gnutls but does not care about USE-gnutls
Summary: app-crypt/gnupg-2.2.17[ssl] requires gnutls but does not care about USE-gnutls
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-21 19:00 UTC by Martin Mokrejš
Modified: 2021-03-19 12:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2019-12-21 19:00:35 UTC
Hi,  the only package which pulls in gnutls on my system with USE=ssl is gnupg.


# USE="ssl openssl -gnutls" emerge -pv gnupg 

[ebuild  N     ] net-libs/gnutls-3.6.7-r1:0/30::gentoo  USE="cxx idn nls openssl seccomp sslv2 sslv3 -dane -doc -examples -guile -pkcs11 -static-libs -test (-test-full) -tls-heartbeat -tools -valgrind" 0 KiB
[ebuild   R    ] app-crypt/gnupg-2.2.17::gentoo  USE="bzip2 nls readline smartcard ssl usb -doc -ldap (-selinux) -tofu -tools -user-socket -wks-server" 0 KiB



I think this is a leftover from teh time when only "ssl" USE flag existed. Nowadays, also "openssl gnutls" exist.

How about something like the below?

ssl? ( gnutls? ( net-libs/gnutls ) )
Comment 1 crabbed halo ablution 2020-12-16 19:59:55 UTC
I think this bug can be closed, since openssl is not an option anymore:
[ebuild   R    ] app-crypt/gnupg-2.2.25::gentoo  USE="bzip2 nls readline smartcard ssl usb -doc -ldap -scd-shared-access (-selinux) -tofu -tools -user-socket -wks-server" 0 KiB

ssl is gnutls or nothing.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-03-19 12:20:17 UTC
(In reply to crabbed halo ablution from comment #1)
> I think this bug can be closed, since openssl is not an option anymore:
> [ebuild   R    ] app-crypt/gnupg-2.2.25::gentoo  USE="bzip2 nls readline
> smartcard ssl usb -doc -ldap -scd-shared-access (-selinux) -tofu -tools
> -user-socket -wks-server" 0 KiB
> 
> ssl is gnutls or nothing.

Correct, gnutls is a fallback to the ntbtls library which we do not have in anyway, so gnutls is the only option.