From owner-freebsd-stable@FreeBSD.ORG Tue Dec 8 22:22:55 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4491B106568F for ; Tue, 8 Dec 2009 22:22:55 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id B4DDF8FC16 for ; Tue, 8 Dec 2009 22:22:54 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id nB8MMrFc078201; Tue, 8 Dec 2009 23:22:53 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 121E1BAAE; Tue, 8 Dec 2009 23:22:53 +0100 (CET) Date: Tue, 8 Dec 2009 23:22:53 +0100 From: Roland Smith To: nickolasbug@gmail.com Message-ID: <20091208222253.GA42494@slackbox.xs4all.nl> References: <368117f30912081226l76fb3dcftc44ffa0a5e225f99@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <368117f30912081226l76fb3dcftc44ffa0a5e225f99@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org Subject: Re: some options in src.conf has no effect (RELENG_8) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2009 22:22:55 -0000 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 08, 2009 at 10:26:13PM +0200, nickolasbug@gmail.com wrote: >=20 > And there are options that have no effect: > WITHOUT_CTM > WITHOUT_CVS > WITHOUT_FREEBSD_UPDATE > WITHOUT_IPFW > WITHOUT_PORTSNAP > WITHOUT_RCS > WITHOUT_ROUTED I'm using WITHOUT_CTM and WITHOUT_CVS. When building the new system, cvs and ctm* are _not_ built. But the old executables are not deleted; look at their dates. According to src.conf(5): "The only purpose of src.conf is to control the compilation of the FreeBSD source code..."=20 So the fact that old executables and manual pages are not deleted is not strictly a bug. > I've done "make delete-old" and "make delete-old-libs" during upgrade. >=20 > Can somebody comment this? Using "make delete-old" includes /usr/src/ObsoleteFiles.inc into the build Makefile. This file contains the names of files that have been made obsolete by newer FreeBSD versions. It does not have anything to do with things that= do not have to be installed because they are excluded by src.conf. You could write an extension to the Makefile that build e.g. a /usr/src/IgnoreFiles.inc based on the contents of /etc/src.conf. But it is probable easier to run find(1) in /usr looking for files older than your buildworld.=20 E.g., I've rebuilt world on December 3rd. Looking for different binaries in /usb/bin with the command 'find /usr/bin -type f -and -not -mtime 6 -ls'. If you are sure this is all junk, replace -ls with -delete. If you screw something up, re-run installworld. :-) 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) --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkse0b0ACgkQEnfvsMMhpyU1dQCeOSTzibnsE/cOMgKSb3wUuakZ g5cAn1+CZVy5nevpy/C8aJwx4CJVajGQ =e3N3 -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--