Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 02:20:19 -0800
From:      Colin Percival <colin.percival@wadham.ox.ac.uk>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Paul Richards <paul@FreeBSD.org>
Subject:   Re: cvs commit: src/share/mk bsd.pkg.mk bsd.prog.mk
Message-ID:  <41C7F8E3.7080007@wadham.ox.ac.uk>
In-Reply-To: <20041220212914.GB89640@ip.net.ua>
References:  <200412201546.iBKFkuTK047592@repoman.freebsd.org> <41C6F901.5060407@wadham.ox.ac.uk> <20041220212914.GB89640@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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