From owner-freebsd-ports Thu Feb 8 9: 7:24 2001 Delivered-To: freebsd-ports@freebsd.org Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10]) by hub.freebsd.org (Postfix) with ESMTP id 59FC437B401; Thu, 8 Feb 2001 09:06:56 -0800 (PST) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id JAA11232; Thu, 8 Feb 2001 09:06:58 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.1/8.11.1) id f18H6tj43176; Thu, 8 Feb 2001 09:06:55 -0800 (PST) (envelope-from bmah) Message-Id: <200102081706.f18H6tj43176@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Mike Harding Cc: bmah@FreeBSD.ORG, kaltorak@quake.com.au, freebsd-ports@FreeBSD.ORG Subject: Re: Ports updating... Good ways? In-Reply-To: <20010208152133.03F37E6A17@netcom1.netcom.com> References: <3A8208E7.C6EE4C24@quake.com.au> <20010208061814.5E6C5E6A17@netcom1.netcom.com> <200102080635.f186ZPe39170@bmah-freebsd-0.cisco.com> <20010208152133.03F37E6A17@netcom1.netcom.com> Comments: In-reply-to Mike Harding message dated "Thu, 08 Feb 2001 07:21:33 -0800." From: bmah@FreeBSD.ORG (Bruce A. Mah) Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_353712189P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 08 Feb 2001 09:06:55 -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_353712189P Content-Type: text/plain; charset=us-ascii [moved to -ports] If memory serves me right, Mike Harding wrote: > > Well, just to defend myself... > > I find that pkg_version -c is a useful tool for helping me do > upgrades. I do put the result in a file and do the appropriate thing. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ That was my point. You do *not* want to blindly execute the output of "pkg_version -c". I'm about --><-- this far away from crippling the output of "pkg_version -c" so that it can't be run without editing. People don't realize how dangerous this is; like it can actually render a system unusable. (I know, it happened to a good friend of mine.) > I do agree that something better is needed - one issue is the way that > the ports system tracks dependencies. If the dependency was tracked > in the dependent port rather than the other way around (in other > words, the ports notes that it needs the library rather than the > library noting that it is needed by another port) then the whole > upgrade issue would be simpler as you could actually make multiple > scans over the dependencies until everything was in order. Right now > the dependency information is 'lost' if you ugrade a library. Yeah. I posted a brain-dump of what I think is needed to -ports sometime earlier this week or last week. It's actually not that hard now that we have the "port origin" information for installed ports. The hard part is dealing with all the edge cases. I think that it would be a great project for someone to hack on bsd.port.mk to create a "make upgrade" target. But it has to be extremely conservative in the face of pathologies. > Also, > say, upgrading X with the current system will cause huge amounts of > things to be rebuilt - these ports depend on X but not the version. I think that XFree86 is handled as a special case, but your point is well-taken. Bruce. --==_Exmh_353712189P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6gtIu2MoxcVugUsMRAklpAKDh0/N0Visap7CxG65cx2jUjZL28gCePz+C XIRM5pGDozMSheH6H8Cn63o= =3hJC -----END PGP SIGNATURE----- --==_Exmh_353712189P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message