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

Alternative to single-file plugin binary packages



Good morning,

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 but could not come up with an alternative that handles e.g.
dependency soname-bumps *gracefully* (i.e. not adding "If you are
upgrading from Debian 15 please remember to run apt-get install libpq6."
to release-notes or NEWS).

Is there something I missed?

I have considered moving these deps to suggests or recommends but that
does not solve the issue (automatically install libpq6 if libpq5 was
installed) and "recommending" that mariadb-users install
postgres-libraries is just not the right thing.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


Reply to: