Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2010 18:42:48 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        freebsd-stable <freebsd-stable@FreeBSD.org>, rsmith@xs4all.nl,  lists@rhavenn.net
Cc:        Oliver Fromme <olli@lurza.secnetix.de>
Subject:   Re: ntpd not removed; WITHOUT_NTP enabled in src.conf
Message-ID:  <4B4A1198.7040802@quip.cz>
In-Reply-To: <201001091108.o09B89fw036586@lurza.secnetix.de>
References:  <201001091108.o09B89fw036586@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme wrote:
> Roland Smith wrote:
>   >  Henrik Hudson wrote:
>   >  >  Hey List,
>   >  >
>   >  >  Among other things I have in my /etc/src.conf
>   >  >  WITHOUT_NTP=yes
>   >  >
>   >  >  which from my understanding should not build ntpd, etc...
>   >  >  [...]
>   >  >  ntpd still exists in /usr/sbin and the man pages, etc...
>   >  >  seem to still be hanging around. Did I miss something?
>   >
>   >  Adding options to `/etc/src.conf` does not remove old binaries,
>   >  libraries or manpages! It just prevents the system from building
>   >  newer ones.
>
> I'm afraid that's not true.
>
> When you disable something in src.conf(5), its files *will*
> be removed when you do "make delete-old".
>
> See the file src/tools/build/mk/OptionalObsoleteFiles.inc
> for all the details.  It's included by src/ObsoleteFiles.inc
> which in turn is included by src/Makefile.inc1 (after
> /etc/src.conf was parsed by share/mk/bsd.own.mk).
>
> If that doesn't work for WITHOUT_NTP, then that's a bug.
> Probably some entries missing in OptionalObsoleteFiles.inc.

As Kenyon Ralph noted, it was discussed in the past 
(http://lists.freebsd.org/pipermail/freebsd-current/2009-November/013561.html) 

Not deleting WITHOUT_ stuff is really not a bug. Deleting is some kind 
of undocumented feature which never worked for all the WITHOUT_ variables.

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B4A1198.7040802>