Improve OptionalObsoleteFiles.inc

Paul B Mahol onemda at gmail.com
Mon Oct 4 11:02:21 UTC 2010


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.

When installing world in new environment such files are not installed anyway.
>
> In general: please submit via send-pr (or similar) to GNATS. This way
> the patch should not be lost.
>
> Bye,
> Alexander.
>
> --
> There are two ways of disliking art.
> One is to dislike it.
> The other is to like it rationally.
> 		-- Oscar Wilde
>
> 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