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

看板DFBSD_bugs作者時間21年前 (2005/02/02 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/49 (看更多)
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
文章代碼(AID): #120Bey00 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #120Bey00 (DFBSD_bugs)