1 |
On 4/16/16 6:36 PM, Rich Freeman wrote: |
2 |
> On Sat, Apr 16, 2016 at 6:24 PM, Mike Gilbert <floppym@g.o> wrote: |
3 |
>> |
4 |
>> And I don't really see the point in the libressl USE flag in this |
5 |
>> case; I think that was only needed so the slot-operator would resolve |
6 |
>> correctly. |
7 |
>> |
8 |
> |
9 |
> Somebody else may be better informed, but I thought that there was a |
10 |
> concern with having both libressl and openssl linked into two |
11 |
> libraries that are in turn linked to by something else (causing a |
12 |
> symbol collision), and the USE flag was necessary to switch between |
13 |
> the two implementations since they aren't virtualized. |
14 |
> |
15 |
> If we've solved that problem in some other way then by all means say |
16 |
> so. However, I thought this was the main tradeoff in letting it use |
17 |
> the same soname. |
18 |
> |
19 |
|
20 |
I was reasoning along the lines of Mike when I first committed this. |
21 |
The eclass simply provides a series of functions for generating certs. |
22 |
It is sufficient that the `openssl` utility be present whether its |
23 |
provided by dev-libs/openssl or dev-libs/libressl. You're not linking |
24 |
against it so the ABI issue is a non-issue. As far as being able to |
25 |
tell the difference between the two, you can use `openssl version`. |
26 |
|
27 |
The slot operator was more subtle. I'm aware that := only means |
28 |
something in RDEPENDs but people do RDEPEND="${DEPEND} ..." often and so |
29 |
as a precaution, I included it. However, the scope of DEPEND does not |
30 |
cross the eclass-ebuild boundary and since there is no RDEPEND in that |
31 |
eclass, its wrong to have :0= there. :0 is sufficient. inherit() in |
32 |
ebuild.sh scrubs the value of DEPEND, so its not as simple as just "source". |
33 |
|
34 |
-- |
35 |
Anthony G. Basile, Ph.D. |
36 |
Gentoo Linux Developer [Hardened] |
37 |
E-Mail : blueness@g.o |
38 |
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA |
39 |
GnuPG ID : F52D4BBA |