DragonFly BSD
DragonFly bugs List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: make upgrade overwrites /etc/mail/mailer.conf


To: Sascha Wildner <saw@xxxxxxxxx>
From: "Erik P. Skaalerud" <erik@xxxxxxxxxxxx>
Date: Wed, 02 Feb 2005 12:11:10 +0100

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?


Matt,

I have fixed this already for stuff in etc/isdn, see http://leaf.dragonflybsd.org/mailarchive/commits/2005-01/msg00221.html. 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.

Sascha


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?

- Erik



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