Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738604 - dev-python/pycurl: replace USE=curl_ssl_* with USE={gnutls,libressl,nss,openssl}
Summary: dev-python/pycurl: replace USE=curl_ssl_* with USE={gnutls,libressl,nss,openssl}
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-22 16:55 UTC by Stefan Strogin
Modified: 2020-08-26 08:22 UTC (History)
0 users

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 Stefan Strogin gentoo-dev 2020-08-22 16:55:22 UTC
CURL_SSL is not needed. Other packages support different tls/ssl implementations simply with USE flags. It can be simply done here as well.

Examples can be found here: https://wiki.gentoo.org/wiki/Project:LibreSSL

ssl? (
    openssl? (
        !libressl? ( dev-libs/openssl:0= )
        libressl? ( dev-libs/libressl:0= )
    )
    polarssl? ( net-libs/mbedtls:= )
    gnutls? ( net-libs/gnutls:= )
    nettle? ( dev-libs/nettle:= )
)

NB: "The important point to note is that USE=libressl acts as a discriminating flag between OpenSSL and LibreSSL. As such, it is not a pure implementation USE flag and is analogous to USE=libav. That is, USE=libressl is never mutually exclusive to any other USE flag and should therefore never appear in REQUIRED_USE".
Comment 1 Stefan Strogin gentoo-dev 2020-08-22 17:13:15 UTC
In (R)DEPEND

net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]

can also be replaced with

net-misc/curl[gnutls(-)=,libressl(-)=,nss(-)=,openssl(-)=]

(axtls and cyassl are no longer relevant, AFAIK)
Comment 2 Bernd Feige 2020-08-26 08:22:38 UTC
I think this will also fix #588060 - cf. https://bugs.gentoo.org/588060#c4