Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread hasufell
On 10/30/2015 10:16 PM, Anthony G. Basile wrote: > On 10/30/15 3:35 PM, hasufell wrote: >> On 10/30/2015 06:55 PM, Michał Górny wrote: >>> We have no way of saying 'I prefer polarssl, then gnutls, then >>> libressl, and never openssl'. >> I don't think this is something that can be reasonably

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Michał Górny
On Fri, 30 Oct 2015 23:40:28 +0100 hasufell wrote: > On 10/30/2015 10:16 PM, Anthony G. Basile wrote: > > On 10/30/15 3:35 PM, hasufell wrote: > >> On 10/30/2015 06:55 PM, Michał Górny wrote: > >>> We have no way of saying 'I prefer polarssl, then gnutls, then > >>>

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread hasufell
On 10/30/2015 11:56 PM, Michał Górny wrote: > On Fri, 30 Oct 2015 23:40:28 +0100 > hasufell wrote: > >> On 10/30/2015 10:16 PM, Anthony G. Basile wrote: >>> On 10/30/15 3:35 PM, hasufell wrote: On 10/30/2015 06:55 PM, Michał Górny wrote: > We have no way of

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Anthony G. Basile
On 10/30/15 3:35 PM, hasufell wrote: On 10/30/2015 06:55 PM, Michał Górny wrote: We have no way of saying 'I prefer polarssl, then gnutls, then libressl, and never openssl'. I don't think this is something that can be reasonably supported and it sounds awfully automagic. And I don't see how

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Luis Ressel
On Fri, 30 Oct 2015 23:40:28 +0100 hasufell wrote: > On 10/30/2015 10:16 PM, Anthony G. Basile wrote: > > On 10/30/15 3:35 PM, hasufell wrote: > >> On 10/30/2015 06:55 PM, Michał Górny wrote: > >>> We have no way of saying 'I prefer polarssl, then gnutls, then > >>>

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Michał Górny
On Fri, 30 Oct 2015 18:25:14 -0400 Rich Freeman wrote: > On Fri, Oct 30, 2015 at 5:16 PM, Anthony G. Basile > wrote: > > On 10/30/15 3:35 PM, hasufell wrote: > >> > >> On 10/30/2015 06:55 PM, Michał Górny wrote: > >>> > >>> We have no way of saying 'I

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread hasufell
On 10/30/2015 06:55 PM, Michał Górny wrote: > > We have no way of saying 'I prefer polarssl, then gnutls, then > libressl, and never openssl'. I don't think this is something that can be reasonably supported and it sounds awfully automagic. And I don't see how this is possible right now, so I'm

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Rich Freeman
On Fri, Oct 30, 2015 at 5:16 PM, Anthony G. Basile wrote: > On 10/30/15 3:35 PM, hasufell wrote: >> >> On 10/30/2015 06:55 PM, Michał Górny wrote: >>> >>> We have no way of saying 'I prefer polarssl, then gnutls, then >>> libressl, and never openssl'. >> >> I don't think this

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Michał Górny
On Tue, 27 Oct 2015 22:46:35 -0400 Rich Freeman wrote: > On Tue, Oct 27, 2015 at 10:06 PM, hasufell wrote: > > > > B) 1 feature flag, 3 strict provider flags > > * ssl: enable any sort of SSL/TLS support > > * gnutls: only to enable gnutls provided ssl

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Rich Freeman
On Fri, Oct 30, 2015 at 1:55 PM, Michał Górny wrote: >> >> The pain is for a short time. Then we have to live with this for a >> long time. USE flags should have one meaning. The fact that this >> isn't the case right now is already a bug. We don't need to >> perpetuate it.

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-29 Thread Chí-Thanh Christopher Nguyễn
hasufell schrieb: I've seen a lot of ebuilds lately that use 'openssl' USE flag for the purpose of enabling ssl features. I think this should be discouraged since it introduces inconsistency and is especially confusing for packages like media-video/ffmpeg, where'd you expect to get ssl support

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-28 Thread hasufell
On 10/28/2015 09:36 AM, Alexis Ballier wrote: > On Wed, 28 Oct 2015 03:06:59 +0100 > hasufell wrote: >> A is not that difficult. Most uses of 'openssl' can just be replaced >> with 'ssl', others probably with '!gnutls?' even. A few exotic ones >> might stay and we will have

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-28 Thread Alexis Ballier
On Wed, 28 Oct 2015 03:06:59 +0100 hasufell wrote: > A is not that difficult. Most uses of 'openssl' can just be replaced > with 'ssl', others probably with '!gnutls?' even. A few exotic ones > might stay and we will have to advice users to set USE="openssl > libressl"

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-27 Thread Rich Freeman
On Tue, Oct 27, 2015 at 10:06 PM, hasufell wrote: > > B) 1 feature flag, 3 strict provider flags > * ssl: enable any sort of SSL/TLS support > * gnutls: only to enable gnutls provided ssl support in case there > is a choice > * openssl: only to enable openssl

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-27 Thread Gordon Pettey
Is this not precisely what USE_EXPAND is supposed to be for? Take CURL_SSL and make it generic... On Tue, Oct 27, 2015 at 9:46 PM, Rich Freeman wrote: > On Tue, Oct 27, 2015 at 10:06 PM, hasufell wrote: > > > > B) 1 feature flag, 3 strict provider flags >