On Sat, 2025-06-07 at 20:33 +0300, Eugene R via dovecot wrote:
Hello,
Yeah, I had, but at that time I was not planning on eventual merge ))
So, do I understand correctly that, in spite of that, it is still best to keep "my" dovecot and its config in a separate tree (and only merge the config in the end) rather than try to match the "official" paths?
I am not familiar with the freebsd package manager (pkg) nor how you set it up to ensure user provided configs are not overwritten nor whether your own package uses same (conflicting) package name as the other one.
IMHO, as long as:
(a) the official and your own package do not change, replace or delete the configs when installed or upgraded.
(b) the 2 packages "conflict" with each and cannot be simultaneously installed.
Then there is no reason not to always put them in the one standard place. In fact, IMHO, it is the better choice.
I assume (a) is always true, otherwise the package manager would be pretty awful to use in practice.
However if either constraint above is violated, then probably better to keep the configs for each unique to it's own package since, for all intents and purposes, the 2 packages are distinct and separate.
-- Gene