Improve OptionalObsoleteFiles.inc

Alexander Leidinger Alexander at Leidinger.net
Tue Oct 5 09:21:47 UTC 2010


Quoting Paul B Mahol <onemda at gmail.com> (from Mon, 4 Oct 2010 11:01:45 +0000):

> On 10/4/10, Alexander Leidinger <Alexander at leidinger.net> wrote:
>> Quoting Paul B Mahol <onemda at gmail.com> (from Sun, 3 Oct 2010 13:53:26
>> +0000):
>>
>>> Hi,
>>>
>>>
>>> diff --git a/tools/build/mk/OptionalObsoleteFiles.inc
>>> b/tools/build/mk/OptionalObsoleteFiles.inc
>>> index d3aa4b2..2123107 100644
>>> --- a/tools/build/mk/OptionalObsoleteFiles.inc
>>> +++ b/tools/build/mk/OptionalObsoleteFiles.inc
>>> @@ -141,6 +141,7 @@ OLD_FILES+=usr/share/man/man8/authpf.8.gz
>>>  .endif
>>>
>>>  .if ${MK_BIND} == no
>>> +OLD_FILES+=etc/periodic/daily/470.status-named
>>
>> If bind is installed from ports instead, this file could be useful, isn't
>> it?
>>
>>>  OLD_FILES+=usr/bin/dig
>>>  OLD_FILES+=usr/bin/host
>>>  OLD_FILES+=usr/bin/nslookup
>>
>> [...]
>>
>>> @@ -1976,6 +1998,11 @@ OLD_FILES+=usr/share/man/man8/rtquery.8.gz
>>>  .endif
>>>
>>>  .if ${MK_SENDMAIL} == no
>>> +OLD_FILES+=etc/periodic/daily/150.clean-hoststat
>>> +OLD_FILES+=etc/periodic/daily/210.backup-aliases
>>> +OLD_FILES+=etc/periodic/daily/440.status-mailq
>>> +OLD_FILES+=etc/periodic/daily/460.status-mail-rejects
>>> +OLD_FILES+=etc/periodic/daily/500.queuerun
>>>  OLD_FILES+=bin/rmail
>>>  OLD_FILES+=usr/bin/vacation
>>>  OLD_FILES+=usr/include/libmilter/mfapi.h
>>
>> At least status-mailq is still useful with other MTAs, e.g. if you use
>> postfix (and assuming the mailwrapper is configured correctly), this
>> should still work. Depending on the setup of the aliases,
>> backup-aliases will still work too. I haven't checked for the other
>> ones.
>
> If you want to keep some "old" files, you just need to press `n'  
> instead of `y'
> when deleting files. You are not forced to run make delete-old at all.

I know, I wrote delete-old and related ones. :)

> When installing world in new environment such files are not installed anyway.

That's an argument (and your patch is OK). So I should discuss  
(somewhere else) if this needs to be changed.

Bye,
Alexander.

-- 
Stone's Law:
	One man's "simple" is another man's "huh?"

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-hackers mailing list