Improve OptionalObsoleteFiles.inc

Paul B Mahol onemda at gmail.com
Mon Oct 4 15:31:32 UTC 2010


On 10/4/10, Peter Pentchev <roam at ringlet.net> wrote:
> On Mon, Oct 04, 2010 at 11:01:45AM +0000, Paul B Mahol wrote:
>> 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.
>
> On the other hand, doing this (skipping those files) on each and every
> system
> update (say, on a development or testing machine) could get a bit... boring
> -
> not to mention that at some point you'll learn to "oh, just say no", and
> then
> forget to remove something important.

Oh! I see... I want it in black.
>
> G'luck,
> Peter
>
> --
> Peter Pentchev	roam at space.bg    roam at ringlet.net    roam at FreeBSD.org
> PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
> Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
> Do you think anybody has ever had *precisely this thought* before?
>


More information about the freebsd-hackers mailing list