From owner-freebsd-ports@FreeBSD.ORG Wed Nov 5 22:49:53 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 123E11065673 for ; Wed, 5 Nov 2008 22:49:53 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 63D488FC18 for ; Wed, 5 Nov 2008 22:49:51 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KxrC7-0008Oa-Ul for freebsd-ports@freebsd.org; Wed, 05 Nov 2008 22:49:48 +0000 Received: from 93-136-77-135.adsl.net.t-com.hr ([93.136.77.135]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Nov 2008 22:49:47 +0000 Received: from ivoras by 93-136-77-135.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Nov 2008 22:49:47 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Ivan Voras Date: Wed, 05 Nov 2008 23:49:29 +0100 Lines: 67 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA645718765A0DE02EC5BF524" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-136-77-135.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) X-Enigmail-Version: 0.95.7 Sender: news Subject: On pkg_trans X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 22:49:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA645718765A0DE02EC5BF524 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I'll probably have some time in the next few days to work on pkg_trans again, but first I'd like to get some input on the whole thing. The last time I talked about it I've made code available but I've received no feedback. More information on pkg_trans can be found in the list archives or on these pages: http://wiki.freebsd.org/IvanVoras/PkgTransProposal http://ivoras.sharanet.org/blog/tree/2008-10-13.addition-to-freebsds-pack= age-infrastructure--pkg_trans.html Those pages also carry links to the code. I'm not a ports committer and I don't want to tell people who are how to work on their project but I think pkg_trans is important enough that it should require a policy decision - if it's accepted, pkg_trans should go into the base system. I know that there are utilities than can do some or all of what I've planned for pkg_trans but one important point of pkg_trans is that it should be integrated into the regular base package infrastructure, not requiring external utilities, runtimes or libraries. Some implementation notes: * I've avoided changes to the base utilities. A separate utility, pkg_trans, is called by the transaction-aware utilities * Client-side utilities are added to the pkg_install library (lib.h, etc.= ) * Transaction records are kept as text files. I think it would have been significantly better if sqlite was used but there was great opposition to importing sqlite into the base system the last time I brought it up so this is the last mention of it (in context of pkg_trans :) ) * If it's accepted, I'll maintain this addition to the utilities (of course, everyone's invited to contribute). I'll also be a regular user of these features - I created pkg_trans because I want the functionality on my systems. * For the pkg_trans to be effective, it requires slight modifications to the ports Makefile infrastructure (basically, the "install" and "deinstall" targets should be aware of transactions) and external ports utilities (like portupgrade), which I can't do myself. If there's interest in finishing pkg_trans, now's the time to discuss it = :) --------------enigA645718765A0DE02EC5BF524 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkSIv4ACgkQldnAQVacBcitKACdGWSNLTULymJOUIBl4HrxZkcw fJIAn1eR33b2e0mFEYXKr+jyp/PE2S48 =uLsq -----END PGP SIGNATURE----- --------------enigA645718765A0DE02EC5BF524--