Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 13:46:08 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-stable@FreeBSD.ORG, lists@rhavenn.net
Cc:        Oliver Fromme <olli@lurza.secnetix.de>
Subject:   Re: ntpd not removed; WITHOUT_NTP enabled in src.conf
Message-ID:  <20100109124608.GA28238@slackbox.xs4all.nl>
In-Reply-To: <201001091108.o09B89fw036586@lurza.secnetix.de>
References:  <20100108233253.GA42429@slackbox.xs4all.nl> <201001091108.o09B89fw036586@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 09, 2010 at 12:08:09PM +0100, Oliver Fromme wrote:
> Roland Smith wrote:
>  > Henrik Hudson wrote:
>  > > Hey List,
>  > >=20
>  > > Among other things I have in my /etc/src.conf
>  > > WITHOUT_NTP=3Dyes
>  > >=20
>  > > 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?
>  >=20
>  > Adding options to `/etc/src.conf` does not remove old binaries,
>  > libraries or manpages! It just prevents the system from building
>  > newer ones.
>=20
> 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".
>=20
> 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).

Hmm, interesting. Thanks for the heads-up :-)

> If that doesn't work for WITHOUT_NTP, then that's a bug.
> Probably some entries missing in OptionalObsoleteFiles.inc.
=20
There are a actually quite a lot missing, if you compare src.conf(5) with
/usr/src/tools/build/mk/OptionalObsoleteFiles.inc=20

WITHOUT_ACCT ((or MK_ACCT) to begin with, WITHOUT_AMD, WITHOUT_APM,
WITHOUT_AT, WITHOUT_BZIP2 etc.

And a lot of others need to be filled in, like MK_BOOT, MK_CALENDAR, MK_CPP,
MK_CRYPT, etc.

I'll give improving the list a try, as soon as I can find some spare time. =
Got
some frozen bowden calbes on my bike to sort out first. :-/

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAktIepAACgkQEnfvsMMhpyVMNgCfbXrjsv3NQbkGmLUy8t1Ck2WT
0+wAn3s4e0vdhwSXTUCdH/hF3UG7Bk1G
=xicL
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--



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