DragonFly bugs List (threaded) for 2005-02
Re: make upgrade overwrites /etc/mail/mailer.conf
Sascha Wildner wrote:
Matthew Dillon wrote:
This needs a slightly smarter install for certain files... a kinda of
'install if this does not already exist' target.
Would someone care to submit a patch to do it?
I have fixed this already for stuff in etc/isdn, see
I will fix mailer.conf the same way.
But it's actually more complicated than that. Some other files, notably
etc/services, have to be modified by the user for certain configurations
(postfix in conjunction with some virus checkers; Joerg Anslik has such
a setup, fox example) but we also do not want to lose the ability to
bring in new stuff from IANA from time to time via 'make upgrade'.
corecode suggested in IRC that we might put configuration files under
version control to be able to merge changes from both sides and it
sounds like a good idea.
Another solution could be using default files (/etc/defaults/services)
and add overrides/custom entries in /etc/services.
Too bad that I have no idea how we could do this, since -alot- of tcp/ip
tools use /etc/services directly. Any way to wrap this?