Re: /etc/defaults/services and /etc/services

看板DFBSD_submit作者時間21年前 (2005/02/13 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/11 (看更多)
:Okay, : :> That's true, I forgot we were going to do that. We shouldn't spend :> too much time on the libc version I guess. A daemon will be able to do :> much more sophisticated things with the data. : :I think I'll forget about rewriting the clib stuff. But who's working :on this dubious daemon, anyway? I'm sick and tiered of always having :to restore my services file after each make upgrade. This is because I :forget to do so sometimes. :) : :--j The demon won't be done for a long time, but we have the 'other' idea for a solution in this thread: 'Re: make upgrade overwrites /etc/mail/mailer.conf' Which is to make 'make upgrade' aware of target files that are under CVS management. If someone would like to work on this I do not think it would be all that difficult. It would involve creating an install script (by using the INSTALL= override that the Makefile's support) which checks to see whether the target is under CVS management by checking to see if the target directory/CVS/Entries file (if it exists) contains the target file name, and then does a 3-way merge instead of overwriting the file. The 'make upgrade' target would override INSTALL to point to this special script and that should do it. Would you like to take a shot at it ? -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #123bcv00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #123bcv00 (DFBSD_submit)