[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: zfsutils library packages



On 24 November 2013 13:56, Arno Töll <arno@debian.org> wrote:
> Hi Robert,
>
> On 24.11.2013 13:26, Robert Millan wrote:
>> IIRC we don't provide -dev packages because their ABI is not stable.
>> Nobody outside of zfsutils uses them, and judging by the dependencies in
>> upstream source tree, it seems there are no candidates to use them
>> (other than zfsutils):
>
> We provide those libraries by policy. The Debian policy requires that
> libraries are proper versioned and the name of the binary package
> changes whenever the SONAME changes. This does not really apply to us
> here, because we're the only consumers of these libraries, but since we
> install them to /lib we pretend it was a public library.
>

That does not impose one binary package per library though. You can
ship multiple shared libraries in a single binary package (each with
it's own soname). The requirement is that the debian package name
versions SONAMES collectively (as in if any of the included libraries
bumps soname, the debian package name must be bumped as well).

There are plenty of examples in the archive where multiple libraries
are shipped in a single package. Here is the first one I found:
libgtk-3-0 ships:
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0.800.6
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0.800.6

This often makes sense for a set of libraries build from a single
source & only released together, which is the case with zfs.

Please consider shipping all shared libraries in a signle binary deb/udeb.

Regards,

Dmitrijs.


Reply to: