[csw-maintainers] Transitive dependencies: do we add them or not?

Dagobert Michelsen dam at opencsw.org
Thu Jun 28 11:20:43 CEST 2012


Hi,

Am 28.06.2012 um 10:45 schrieb Juraj Lutter:
> On 06/28/2012 10:43 AM, Maciej (Matchek) Bliziński wrote:
>> Suppose we have a binary foo, which needs libfoo.so.1, and only
>> libfoo.so.1. Then we have libfoo.so.1 which needs libbar.so.2. We get:
>> 
>> foo (in CSWfoo) → libfoo.so.1 (in CSWlibfoo1) → libbar.so.2 (in CSWlibbar2)
>> 
>> My understanding is that we should, as a rule, add a dependency from
>> CSWfoo to CSWlibfoo1, and from CSWlibfoo1 to CSWlibbar2, but not from
>> CSWfoo to CSwlibbar2.
> 
> Yes. Only direct dependencies.

Indeed. The rationale is that libbar.so.2 provides some functionality which could
be changed later on in libfoo.so.1.0.2 to libbaz.so.1. Prominent examples here
are GnuTLS vs. OpenSSL and libcares vs. libadns which are both common backends
but projects switch from time to time.


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list