Date: Tue, 21 Dec 2004 12:33:29 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Colin Percival <colin.percival@wadham.ox.ac.uk> Cc: Paul Richards <paul@FreeBSD.org> Subject: Re: cvs commit: src/share/mk bsd.pkg.mk bsd.prog.mk Message-ID: <20041221103329.GB14526@ip.net.ua> In-Reply-To: <41C7F8E3.7080007@wadham.ox.ac.uk> References: <200412201546.iBKFkuTK047592@repoman.freebsd.org> <41C6F901.5060407@wadham.ox.ac.uk> <20041220212914.GB89640@ip.net.ua> <41C7F8E3.7080007@wadham.ox.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041221103329.GB14526>