From owner-cvs-all Wed Jan 12 13:50:20 2000 Delivered-To: cvs-all@freebsd.org Received: from nu.binary.net (nu.binary.net [12.13.120.25]) by hub.freebsd.org (Postfix) with ESMTP id 8ACF815283; Wed, 12 Jan 2000 13:50:16 -0800 (PST) (envelope-from nathan@rtfm.net) Received: from matrix.binary.net (root@matrix.binary.net [12.13.120.2]) by nu.binary.net (8.9.1a/8.9.0) with ESMTP id PAA86526; Wed, 12 Jan 2000 15:50:14 -0600 (CST) Received: (from nathan@localhost) by matrix.binary.net (8.9.3/8.9.1) id PAA33941; Wed, 12 Jan 2000 15:51:17 -0600 (CST) Date: Wed, 12 Jan 2000 16:51:17 -0500 From: Nathan Dorfman To: Josef Karthauser Cc: "Rodney W. Grimes" , Kris Kennaway , "Matthew D. Fuller" , "Jordan K. Hubbard" , Jeroen Ruigrok van der Werven , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pkg_install/delete perform.c Message-ID: <20000112165117.A33595@rtfm.net> References: <20000112131941.A27482@rtfm.net> <200001121837.KAA29133@gndrsh.dnsmgr.net> <20000112185050.F68030@florence.pavilion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <20000112185050.F68030@florence.pavilion.net>; from Josef Karthauser on Wed, Jan 12, 2000 at 06:50:50PM +0000 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Wed, Jan 12, 2000 at 06:50:50PM +0000, Josef Karthauser wrote: > On Wed, Jan 12, 2000 at 10:37:35AM -0800, Rodney W. Grimes wrote: > > > > Actually a better modification is to stop using the version of the > > name of the directory all togeather and store it inside the directory, > > one thing this would fix is installing over the top of an existing > > port with a newer port and then pkg_delete of the older port leaving > > you screwed up. Or not pkg_delete the old port and leaving cruft/wrong > > files around. > > > > That's what I was hinting at the other day. AFAIR it's been pointed > out in the past the just because a port has the same name as another > one doesn't mean that they actually do the same thing - different versions/ > different functionality, etc. If there are two totally different ports with the same name that are distinguished only by their version number, that's broken. i.e. if there is an audio/foo-1.24 and a devel/foo-2.3, if the audio player named foo ever gets up to version 2.3, havoc will ensue because both ports will want /var/db/pkg/foo-2.3. Ports that do have the same basename but might want to be installed concurrently (e.g. -- ssh and ssh2) should have the basename changed. Perhaps ssh-2.x.x needs to be ssh2-2.x.x. > Joe > -- > Josef Karthauser FreeBSD: Take the red pill and we'll show you just how > Technical Manager deep the rabbit hole goes. (http://www.uk.freebsd.org) > Pavilion Internet plc. [joe@pavilion.net, joe@freebsd.org, joe@tao.org.uk] -- Nathan Dorfman The statements and opinions in my Unix Admin @ Frontline Communications public posts are mine, not FCC's. "The light at the end of the tunnel is the headlight of an approaching train." --/usr/games/fortune To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message