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 B5C5F13888F for ; Wed, 28 Oct 2015 11:30:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E90E1E084C; Wed, 28 Oct 2015 11:30:40 +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 03476E0802 for ; Wed, 28 Oct 2015 11:30:38 +0000 (UTC) Received: from [192.168.0.12] (aftr-37-201-212-250.unity-media.net [37.201.212.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: hasufell) by smtp.gentoo.org (Postfix) with ESMTPSA id AAE49340A66 for ; Wed, 28 Oct 2015 11:30:37 +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> From: hasufell Message-ID: <5630B1DA.3070705@gentoo.org> Date: Wed, 28 Oct 2015 12:30:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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: <5630B019.5070805@gentoo.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: 944fc4e7-3261-4b0c-88c3-074548108dc5 X-Archives-Hash: 53391bbe2fc9fd1954131d65278608da 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.