From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75D5815817D for ; Fri, 21 Jun 2024 14:41:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9650CE2ACB; Fri, 21 Jun 2024 14:41:18 +0000 (UTC) Received: from bagheera.iewc.co.za (bagheera.iewc.co.za [IPv6:2c0f:f720:0:3::9a49:2249]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FCD3E2ABA for ; Fri, 21 Jun 2024 14:41:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=uls.co.za; s=20240522.iewc; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IGH4S8AwvwxIXblMuoXl9ujUgW+s/7EoziQUC11Cdno=; b=NYMZ9MKof4mjbZBIXlGHX7NBng 9mEmvzyki7lP7Q7LZv8KT7ZIfchamsihUo8ddAtQ3fVk8BAxWe9g0lgBTK1H9/xR0tV1WAMCPJspN qg63Wx5tzyeEsfQt5VcFYmU0AxkauavOfCnGKec3aiWIg08IALbf1qTbcx96cqGq5AYpg5dkhUxi3 9wZ/e7JvQyI72T6rMViDA8EnogAhzvyohLDR0y4whikViflxJ4Q7CRL9BInsNZ4Fmhnftqs8yssxQ CRuZTNvAi5tV7OoKCzI2Jv0CrwXDD59bSpJjM6Tppd848aAdDCXqcPJl4dKEDldbu+2e3sFTXgAj/ WPS8GemQ==; Received: from [154.73.32.4] (helo=tauri.local.uls.co.za) by bagheera.iewc.co.za with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sKfRy-000000008N9-3Fwd for gentoo-dev@lists.gentoo.org; Fri, 21 Jun 2024 16:41:14 +0200 Received: from [192.168.42.196] by tauri.local.uls.co.za with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.97.1) (envelope-from ) id 1sKfRx-000000007pl-0ivC for gentoo-dev@lists.gentoo.org; Fri, 21 Jun 2024 16:41:13 +0200 Message-ID: <9a8a4517-0f1c-4e7c-8922-cda1823148b6@uls.co.za> Date: Fri, 21 Jun 2024 16:41:11 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-dev] [PATCH 1/3] profiles/desc: add curl_quic To: gentoo-dev@lists.gentoo.org References: <20240621131552.526393-1-kangie@gentoo.org> <20240621131552.526393-2-kangie@gentoo.org> Content-Language: en-GB From: Jaco Kroon Autocrypt: addr=jaco@uls.co.za; keydata= xsBNBFXtplYBCADM6RTLCOSPiclevkn/gdf8h9l+kKA6N+WGIIFuUtoc9Gaf8QhXWW/fvUq2 a3eo4ULVFT1jJ56Vfm4MssGA97NZtlOe3cg8QJMZZhsoN5wetG9SrJvT9Rlltwo5nFmXY3ZY gXsdwkpDr9Y5TqBizx7DGxMd/mrOfXeql57FWFeOc2GuJBnHPZQMJsQ66l2obPn36hWEtHYN gcUSPH3OOusSEGZg/oX/8WSDQ/b8xz1JKTEgcn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YOtq5+PqZj59y9G9+0FFZ1CyguTDC845zuJnnR5A0lw FARZaL8T7e6UGphtiT0NdR7EXnJ/alvtsnsNudtvFnKtigYvtw2wthW6CLvwrFjsuiXPjVUX 825zQUnBHnrED6vG67UG4z5cQ4uY/LcSNsqBsoj6/wsT0pnqdibhCWmgFimOsSRgaF7qsVtg TWyQDTjH643+qYbJJdH91LASRLrenRCgpCXgzNWAMX6PJlqLrNX1Ye4CQw== Organization: Ultimate Linux Solutions (Pty) Ltd In-Reply-To: <20240621131552.526393-2-kangie@gentoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-report: Relay access (bagheera.iewc.co.za). X-Archives-Salt: a8e1c4b8-762c-4d38-9ea6-05ddc868f148 X-Archives-Hash: 44d1355ca5f2f79c97ef6e180aaffbb1 Hi, On 2024/06/21 15:15, kangie@gentoo.org wrote: > From: Matt Jolly > > The CURL_QUIC USE_EXPAND enables us to sanely manage QUIC (RFC 9000) > backends as they are added to cURL in the future: currently there are > two supported implementations, OpenSSL and ngtcp2, however it's likely > that other popular TLS libraries will expose QUIC APIs over time, > and that these will be eventually be supported by cURL (see CURL_SSL > for examples of TLS libraries that we support) - we may as well > get ahead of the curve here. > > There are already a number of other small players (i.e. OpenSSL Forks) > exposing QUIC support for quite a while, however these have not been > available in ::gentoo and we've only needed the one USE to enable > for HTTP/3 and QUIC to this point. > > Signed-off-by: Matt Jolly > --- > profiles/desc/curl_quic.desc | 7 +++++++ > 1 file changed, 7 insertions(+) > create mode 100644 profiles/desc/curl_quic.desc > > diff --git a/profiles/desc/curl_quic.desc b/profiles/desc/curl_quic.desc > new file mode 100644 > index 000000000000..372bb9ce8f83 > --- /dev/null > +++ b/profiles/desc/curl_quic.desc > @@ -0,0 +1,7 @@ > +# Copyright 1999-2024 Gentoo Authors > +# Distributed under the terms of the GNU General Public License v2 > + > +# This file contains descriptions of CURL_QUIC USE_EXPAND flags for net-misc/curl > + > +openssl - Use OpenSSL > +ngtcp2 - Use ngtcp2 May I suggest simply calling this USE_EXPAND QUIC_IMPL so that other packages can potentially re-use as well? looking through ::gentoo at least net-dns/dnsdist and net-dns/knot also has a quic support, using ngtcp2 and/or net-libs/quiche. With openssl 3.2 hopefully approaching stable at some point I suspect the number of projects that will be adding quic support via one or another channel (possibly with alternative implementations) will only increase, thus pinning the USE_EXPAND on a single package seems potentially short-sighted. Kind regards, Jaco