public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: kangie@gentoo.org
To: gentoo-dev@lists.gentoo.org
Cc: Matt Jolly <kangie@gentoo.org>
Subject: [gentoo-dev] [PATCH 0/3]  net-misc/curl: add curl_quic USE_EXPAND
Date: Fri, 21 Jun 2024 23:15:49 +1000	[thread overview]
Message-ID: <20240621131552.526393-1-kangie@gentoo.org> (raw)

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



             reply	other threads:[~2024-06-21 13:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-21 13:15 kangie [this message]
2024-06-21 13:15 ` [gentoo-dev] [PATCH 1/3] profiles/desc: add curl_quic kangie
2024-06-21 14:41   ` Jaco Kroon
2024-06-24  2:01     ` Matt Jolly
2024-06-21 13:15 ` [gentoo-dev] [PATCH 2/3] profiles/base: make.defaults: add CURL_QUIC kangie
2024-06-21 13:55   ` Mike Gilbert
2024-06-21 13:15 ` [gentoo-dev] [PATCH 3/3] net-misc/curl: wire up live ebuild for openssl-quic kangie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240621131552.526393-1-kangie@gentoo.org \
    --to=kangie@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox