From owner-freebsd-ports@FreeBSD.ORG Fri Aug 1 15:33:58 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 4F7E81065672 for ; Fri, 1 Aug 2008 15:33:58 +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 B67F08FC1E for ; Fri, 1 Aug 2008 15:33:57 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KOwdf-00047E-7t for freebsd-ports@freebsd.org; Fri, 01 Aug 2008 15:33:55 +0000 Received: from 89-172-51-102.adsl.net.t-com.hr ([89.172.51.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2008 15:33:55 +0000 Received: from ivoras by 89-172-51-102.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2008 15:33:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Ivan Voras Date: Fri, 01 Aug 2008 17:33:43 +0200 Lines: 73 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5E857624874AAD28BC26EB3F" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-51-102.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Call for comments - 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: Fri, 01 Aug 2008 15:33:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5E857624874AAD28BC26EB3F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Marcin Wisnicki wrote: > On Thu, 31 Jul 2008 06:25:27 +0200, Ivan Voras wrote: >=20 >> Hi, >> >> I apologize in advance if what I'm trying to do seems stupid or it has= >> already existed since the Dawn of Time (i.e. when McKusick was in >> diapers) but I'd like your comments on this idea: >> >> http://wiki.freebsd.org/IvanVoras/PkgTransProposal >=20 > Looking at your use cases I think what you are proposing is overkill. Wow, and I was afraid I'm doing an underkill here :) > * Install some large group of packages, like KDE or GNOME. Don't like i= t,=20 > want to delete all packages installed during the operation. >=20 > This could be achieved by tracking which ports were installed explicitl= y=20 > by user. I.e. when I type: > (cd /usr/ports/x11/gnome2; make install) > or > pkg_add -r gnome2 >=20 > It will install gnome2 along with it's dependencies but in some way mar= k=20 > gnome2 package as installed by user, say, by creating /var/db/pkg/ > gnome2-2.22/+USER_INSTALLED or even easier, by maintaing some special=20 > unremovable dummy package that would depend on all packages installed=20 > explicitly. This has the same problems as my scheme and I'm not sure the benefits=20 are the same. With pkg_trans, we know explicitly which packages were=20 pulled in when, and the order in which they were pulled. > * Install a newer version of postgresql, have an OMG moment and remembe= r=20 > you need to dump the database with the old version and reaload it with = > the new version. Revert the install by deleting the new packages and=20 > reinstalling the old ones (i.e. undo a removal). >=20 > pkg_deinstall -R posgtresql-8.4.0; pkg_add postgresql-8.3.0 Yes, with the exception that something needs to do "pkg_create -b=20 postgresql-8.3.0" before it's removed, and I don't trust myself to=20 remember this every time :) (I want it to happen automatically) --------------enig5E857624874AAD28BC26EB3F 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.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIkyzXldnAQVacBcgRAkfeAKCh75Zx1jKaIT0O6f6sudqmFu4EKQCfeWc0 eYrY9FTafuYhQKv+Kek92/Q= =vW3g -----END PGP SIGNATURE----- --------------enig5E857624874AAD28BC26EB3F--