From: Matt Jolly <
kangie@gentoo.org>
Hi all,
Thanks to dev-libs/openssl exposing an RFC 9000 (QUIC) API from 3.2,
cURL is able to use OpenSSL as a QUIC backend in addition
to its current suppport via net-libs/ngtcp2.
Considering the current state of QUIC implementations, the popularity
of cURL, its support for a multitude of TLS implementations (in Gentoo
we support OpenSSL, GnuTLS, Mbed TLS, and Rustls), I think it makes sense
to implement this by introducing a new USE_EXPAND variable.
This will make it easier to manage the ebuild logic for QUIC backends,
enables us to easily add new backends as they are supported upstream,
and lets users control the selection of QUIC implementations using a
familiar mechanism; the same way that they currently do (or do not)
select a TLS implementation.
The relevant patches are attached for consideration, and I've raised a
Pull Request[1] to enable easy review and comment. The PR also includes
the required configure and USE changes to dev-libs/openssl which aren't relevant to the discussion of a new USE_EXPAND.
Cheers,
Matt
[1]:
https://github.com/gentoo/gentoo/pull/37238
Matt Jolly (3):
profiles/desc: add curl_quic
profiles/base: make.defaults: add CURL_QUIC
net-misc/curl: wire up live ebuild for openssl-quic
net-misc/curl/curl-9999.ebuild | 70 +++++++++++++---------------------
net-misc/curl/metadata.xml | 4 +-
profiles/base/make.defaults | 2 +-
profiles/desc/curl_quic.desc | 7 ++++
4 files changed, 38 insertions(+), 45 deletions(-)
create mode 100644 profiles/desc/curl_quic.desc
--
2.45.2
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)