From owner-cvs-src@FreeBSD.ORG Tue Dec 21 10:33:38 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32D1516A4CE; Tue, 21 Dec 2004 10:33:38 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD52643D1F; Tue, 21 Dec 2004 10:33:36 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBLAXZmG055153; Tue, 21 Dec 2004 12:33:35 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 67106-15; Tue, 21 Dec 2004 12:33:30 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBLAXNxp055144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Dec 2004 12:33:23 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iBLAXTAB014812; Tue, 21 Dec 2004 12:33:29 +0200 (EET) (envelope-from ru) Date: Tue, 21 Dec 2004 12:33:29 +0200 From: Ruslan Ermilov To: Colin Percival Message-ID: <20041221103329.GB14526@ip.net.ua> References: <200412201546.iBKFkuTK047592@repoman.freebsd.org> <41C6F901.5060407@wadham.ox.ac.uk> <20041220212914.GB89640@ip.net.ua> <41C7F8E3.7080007@wadham.ox.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Clx92ZfkiYIKRjnr" Content-Disposition: inline In-Reply-To: <41C7F8E3.7080007@wadham.ox.ac.uk> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Paul Richards Subject: Re: cvs commit: src/share/mk bsd.pkg.mk bsd.prog.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 10:33:38 -0000 --Clx92ZfkiYIKRjnr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Colin, On Tue, Dec 21, 2004 at 02:20:19AM -0800, Colin Percival wrote: > My earlier mailing list post is here: > http://docs.freebsd.org/cgi/mid.cgi?6.0.1.1.1.20040316023919.039fa5f0 > and the URL given for my patches is still valid. >=20 > Essentially my approach was to override ${INSTALL} in order to generate > a list of the files installed and who was installing them (using a single > variable which would be set in appropriate makefiles). This allowed me > to generate packaging lists for the individual parts of the base system, > which I then registered in /var/db/pkg. >=20 > Keep in mind that my original purpose was to allow parts of the base > system to be removed (using pkg_delete), but given the plists I could > equally have built packages instead. >=20 Just overriding INSTALL is not enough -- a lot of things is installed through (sym)linking, and this is *not* handled by install(1) at the moment. This is only the most obvious, but keep in mind that some files are installed using special tools. Let me know if you want some real world examples. Mark Murray once suggested that I implement "make uninstall" which would be an opposite of "make install". I may someday implement it. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --Clx92ZfkiYIKRjnr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBx/v5qRfpzJluFF4RAoL3AJ4xbJka/J2t+ATJfMzr9207SmdnlQCcDqli PfmSfk7/QZs53eQZZF7gDd4= =6yLb -----END PGP SIGNATURE----- --Clx92ZfkiYIKRjnr--