1 |
On 06/11/14 07:12, Chí-Thanh Christopher Nguyễn wrote: |
2 |
> Dear all, |
3 |
> |
4 |
> I'm a bit late to the party, but here is my $0.02: |
5 |
> |
6 |
>> REQUIRED_USE=" |
7 |
>> curl_ssl_winssl? ( elibc_Winnt ) |
8 |
>> ssl? ( |
9 |
>> ^^ ( |
10 |
>> [...] |
11 |
>> ) |
12 |
>> )" |
13 |
> I don't like this. If the user specifies several SSL providers in |
14 |
> make.conf, it should mean that any of these is fine and the ebuild can |
15 |
> choose an arbitrary one. The exactly-one-of operator would cause emerge |
16 |
> to complain in this case and possibly force the user to have complex |
17 |
> package.use setups. |
18 |
|
19 |
That's a good point and not one that I wasn't aware of. But how would |
20 |
we better design this? The only thing I can thing of (suggested |
21 |
earlier) is an eclass with some intelligence. I'm not sure of the most |
22 |
userfriendly way of doing this. |
23 |
|
24 |
> |
25 |
>> With the number of ssl providers growing, like libressl, and with |
26 |
>> issues like bug #510974, I think its time we consider making this a |
27 |
>> uniform way of dealing with ssl providers in gentoo. We would proceed |
28 |
>> something like this: |
29 |
>> |
30 |
>> 1. Introduce a new USE_EXPAND called SSL which mirrors CURL_SSL --- |
31 |
>> becuase CURL_SSL is too provincial a name. |
32 |
>> |
33 |
>> 2. migrate curl and all its dependencies to the SSL use expand. |
34 |
>> |
35 |
>> 3. Migrate over all consumers of ssl to the new SSL use expand system. |
36 |
>> |
37 |
>> What do people think? |
38 |
> I think a better name for the USE_EXPAND would be CRYPTO_PROVIDER (or |
39 |
> similar) instead of just SSL, as the libraries are not strictly used for |
40 |
> SSL but also for other forms of crypto (e.g. [1]). |
41 |
|
42 |
Agreed. |
43 |
|
44 |
> |
45 |
> |
46 |
> Best regards, |
47 |
> Chí-Thanh Christopher Nguyễn |
48 |
> |
49 |
> |
50 |
> [1] https://bugs.gentoo.org/show_bug.cgi?id=512664 |
51 |
> |
52 |
|
53 |
|
54 |
-- |
55 |
Anthony G. Basile, Ph.D. |
56 |
Gentoo Linux Developer [Hardened] |
57 |
E-Mail : blueness@g.o |
58 |
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA |
59 |
GnuPG ID : F52D4BBA |