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

Re: Alternative to single-file plugin binary packages



On 14/12/25 06:54, Andreas Metzler wrote:
exim allows one to build lookups and other optional features as dlopened
shared objects that are opened on-demand. So I could move from ...

Package: exim4-daemon-heavy
Depends: libc6, ... libmariadb3, libpq5, libldap2, ...

... to:
Package: exim4-daemon-modular
Depends: libc6, ...

Package: exim-mod-mysql
Depends: libmariadb3

Package: exim-mod-postgresql
Depends: libpq5

I am not too hot about adding a nontrivial number of tiny binary
packages

Hi,

what's bad about tiny binary packages? I find the future situation you describe much better (from a user point of view) than the existing one.

If you want to reduce the amount of Debian-specific overhead each -mod- package has to carry, you can use, for example:

    dh_installdocs --link-doc=exim4-daemon-modular -pexim-mod-mysql …

(dh_installchangelogs should probably also gain a --link-doc= option.)

Regards,

--
Gioele Barabucci


Reply to: