Re: pkgbase and config file merges

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Mon, 04 Mar 2024 10:14:25 UTC
On Sat, Mar 02, 2024 at 04:43:28AM +0000, Lexi Winter wrote:
> hello,
> 
> could someone briefly explain how pkgbase handles merging of
> configuration files, for example /etc/master.passwd?  does pkg have a
> built-in 3-way-merge system similar to etcupdate(8) to handle this, or
> is it done another way?
> 
> 	thanks, lexi.


Pkg has 3-way merge code, so it is similar to etcupdate(8) provided the file is
properly marked as a config file i the source tree which is the case of
master.passwd

Best regards,
Bapt