make upgrade overwrites /etc/mail/mailer.conf
    Erik P. Skaalerud 
    erik at pentadon.com
       
    Wed Feb  2 03:11:10 PST 2005
    
    
  
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
    
    
More information about the Bugs
mailing list