• [gentoo-dev] [PATCH 0/3] net-misc/curl: add curl_quic USE_EXPAND

    From kangie@gentoo.org@21:1/5 to All on Fri Jun 21 15:20:01 2024
    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)
  • From kangie@gentoo.org@21:1/5 to All on Fri Jun 21 15:20:02 2024
    From: Matt Jolly <kangie@gentoo.org>

    Signed-off-by: Matt Jolly <kangie@gentoo.org>
    ---
    profiles/base/make.defaults | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
    index c70c5d198531..957af187bda2 100644
    --- a/profiles/base/make.defaults
    +++ b/profiles/base/make.defaults
    @@ -12,7 +12,7 @@ USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS"

    # Env vars to expand into USE vars. Modifying this requires prior
    # discussion on gentoo-dev@lists.gentoo.org.
    -USE_EXPAND="ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS AMDGPU_TARGETS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_
    DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_SLOT LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM
    PERL_FEATURES PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TA
  • From Mike Gilbert@21:1/5 to All on Fri Jun 21 16:00:01 2024
    On Fri, Jun 21, 2024 at 9:15 AM <kangie@gentoo.org> wrote:

    I would combine this with the previous commit which adds the values to curl_quic.desc, and has a much better commit message.

    For the summary, something like "profiles: add CURL_QUIC USE_EXPAND"
    should do the trick.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)