On Sat, Feb 24, 2024 at 07:10:49 -0500, Genes Lists wrote:
>  - postfix - main package is 4.4 MB and subpackages are each 50kB.
>    size is of very little benefit here.
 
It's not just about package size, but also dependencies.

Before Postfix supported dynamic maps, every build-time dependency (pcre,
lmdb, ldap, mysql, postgres, ...) was linked into every postfix binary,
so you had to have all of them installed.  Dynamically loadable modules
allow for cherry-picking of dependencies without breaking the package.

Package-wise there are two possible implementations: sub-packages with
explicit dependencies, or one main package with optional dependencies.
The sub-packages are a bit more cumbersome to deal with, but explicit
dependencies are easier to track than optional dependencies...


        Geert


Reply via email to