cvs commit: src/share/mk bsd.pkg.mk bsd.prog.mk

Colin Percival colin.percival at wadham.ox.ac.uk
Tue Dec 21 02:20:22 PST 2004


Ruslan Ermilov wrote:
> On Mon, Dec 20, 2004 at 08:08:33AM -0800, Colin Percival wrote:
>>I posted some strawman patches for packaging the base system several
>>months ago; was there something wrong with them?  I was planning on
>>working on them more after Christmas and then sending them to -arch
>>for review early in January...
> 
> Can you briefly describe your approach?

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.

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.

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.

Colin Percival


More information about the cvs-all mailing list