From owner-cvs-all@FreeBSD.ORG Tue Dec 21 10:20:21 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE44816A4CE; Tue, 21 Dec 2004 10:20:21 +0000 (GMT) Received: from pd2mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BDCD43D60; Tue, 21 Dec 2004 10:20:21 +0000 (GMT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from pd4mr7so.prod.shaw.ca (pd4mr7so-qfe3.prod.shaw.ca [10.0.141.84])2004)) with ESMTP id <0I92002A2I1W9BD0@l-daemon>; Tue, 21 Dec 2004 03:20:20 -0700 (MST) Received: from pn2ml10so.prod.shaw.ca ([10.0.121.80]) by pd4mr7so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I92002KSI1W9H20@pd4mr7so.prod.shaw.ca>; Tue, 21 Dec 2004 03:20:20 -0700 (MST) Received: from [192.168.0.60] (S0106006067227a4a.vc.shawcable.net [24.87.233.42])2003)) with ESMTP id <0I9200A1KI1WAL@l-daemon>; Tue, 21 Dec 2004 03:20:20 -0700 (MST) Date: Tue, 21 Dec 2004 02:20:19 -0800 From: Colin Percival In-reply-to: <20041220212914.GB89640@ip.net.ua> To: Ruslan Ermilov Message-id: <41C7F8E3.7080007@wadham.ox.ac.uk> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: <200412201546.iBKFkuTK047592@repoman.freebsd.org> <41C6F901.5060407@wadham.ox.ac.uk> <20041220212914.GB89640@ip.net.ua> User-Agent: Mozilla Thunderbird 0.9 (X11/20041107) 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-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 10:20:22 -0000 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