From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2C1351387FD for ; Wed, 11 Jun 2014 11:12:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B93F3E0BBE; Wed, 11 Jun 2014 11:12:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA4C6E0BB3 for ; Wed, 11 Jun 2014 11:12:42 +0000 (UTC) Received: from [141.23.112.90] (wlan-141-23-112-90.tubit.tu-berlin.de [141.23.112.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: chithanh) by smtp.gentoo.org (Postfix) with ESMTPSA id 80BBA33FE66 for ; Wed, 11 Jun 2014 11:12:41 +0000 (UTC) Message-ID: <539839A6.9090509@gentoo.org> Date: Wed, 11 Jun 2014 13:12:38 +0200 From: =?UTF-8?B?Q2jDrS1UaGFuaCBDaHJpc3RvcGhlciBOZ3V54buFbg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26 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 MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Creating a USE_EXPAND for ssl providers References: <53877169.3010800@gentoo.org> In-Reply-To: <53877169.3010800@gentoo.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 7ef6bd61-8702-475d-a3f0-f10dae3579b6 X-Archives-Hash: 7d655237de373be2816e585b39fb7bb8 Dear all, I'm a bit late to the party, but here is my $0.02: > REQUIRED_USE=" > curl_ssl_winssl? ( elibc_Winnt ) > ssl? ( > ^^ ( > [...] > ) > )" I don't like this. If the user specifies several SSL providers in make.conf, it should mean that any of these is fine and the ebuild can choose an arbitrary one. The exactly-one-of operator would cause emerge to complain in this case and possibly force the user to have complex package.use setups. > With the number of ssl providers growing, like libressl, and with > issues like bug #510974, I think its time we consider making this a > uniform way of dealing with ssl providers in gentoo. We would proceed > something like this: > > 1. Introduce a new USE_EXPAND called SSL which mirrors CURL_SSL --- > becuase CURL_SSL is too provincial a name. > > 2. migrate curl and all its dependencies to the SSL use expand. > > 3. Migrate over all consumers of ssl to the new SSL use expand system. > > What do people think? I think a better name for the USE_EXPAND would be CRYPTO_PROVIDER (or similar) instead of just SSL, as the libraries are not strictly used for SSL but also for other forms of crypto (e.g. [1]). Best regards, Chí-Thanh Christopher Nguyễn [1] https://bugs.gentoo.org/show_bug.cgi?id=512664