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 2738F13888F for ; Wed, 28 Oct 2015 15:11:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 678B621C006; Wed, 28 Oct 2015 15:11:36 +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 6A620E0857 for ; Wed, 28 Oct 2015 15:11:35 +0000 (UTC) Received: from greysprite.dite (cpe-74-77-145-97.buffalo.res.rr.com [74.77.145.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: blueness) by smtp.gentoo.org (Postfix) with ESMTPSA id 38ABE340B59 for ; Wed, 28 Oct 2015 15:11:33 +0000 (UTC) Subject: Re: [gentoo-dev] Re: ssl vs openssl vs libressl vs gnutls USE flag foo To: gentoo-dev@lists.gentoo.org References: <56302DC3.4050909@gentoo.org> <20151028002341.7f08704e@caribou.gateway.pace.com> <5630AE93.2030303@gentoo.org> <5630B019.5070805@gentoo.org> <5630B1DA.3070705@gentoo.org> From: "Anthony G. Basile" Message-ID: <5630E5A2.8000508@gentoo.org> Date: Wed, 28 Oct 2015 11:11:30 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 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 In-Reply-To: <5630B1DA.3070705@gentoo.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 26bdd0b9-70e5-4ac0-bbdf-1aebea947bd5 X-Archives-Hash: 5faa680cc27435e18b0c2313e0b71450 On 10/28/15 7:30 AM, hasufell wrote: > On 10/28/2015 12:23 PM, Anthony G. Basile wrote: >> A properly designed sub-USE flag would be useful here and clearly better >> than our REQUIRED_USE. I think REQUIRED_USE is fine for heterogeneous >> cases, but not when you have something like curl where you can either >> turn ssl on or off. If it is off, nothing more needs to be specified, >> if it is on, then you must further specify one and exactly one ssl >> provider. >> > Uhm, curl makes use of REQUIRED_USE heavily, otherwise the use_expand > would not work: >> REQUIRED_USE=" >> curl_ssl_winssl? ( elibc_Winnt ) >> threads? ( !adns ) >> ssl? ( >> ^^ ( >> curl_ssl_axtls >> curl_ssl_gnutls >> curl_ssl_libressl >> curl_ssl_openssl >> curl_ssl_nss >> curl_ssl_polarssl >> curl_ssl_winssl >> ) >> )" > With the providers syntax from exherbo, this monster would basically be > gone. > Yes, we're in agreement. I'm saying I'm *trying* to do what exherbo does the best I can but really dont like REQUIRED_USE for this. -- Anthony G. Basile, Ph.D. Gentoo Linux Developer [Hardened] E-Mail : blueness@gentoo.org GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA GnuPG ID : F52D4BBA