Date: Tue, 18 May 2004 08:40:53 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) To: Kris Kennaway <kris@obsecurity.org> Cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports MOVED ports/audio Makefile ports/audio/gmpc Makefile distinfo pkg-descr pkg-message pkg-plist ports/audio/gmpc/files patch-src-playlist.c patch-src-tray.c ports/audio/traymp Makefile distinfo pkg-descr pkg-message ... Message-ID: <xzp1xlib5l6.fsf@dwp.des.no> In-Reply-To: <20040517222636.GA19203@xor.obsecurity.org> (Kris Kennaway's message of "Mon, 17 May 2004 15:26:36 -0700") References: <200405162147.i4GLlLf3023305@repoman.freebsd.org> <20040516222531.GB38014@xor.obsecurity.org> <1084779257.24544.0.camel@pav.hide.vol.cz> <20040517103829.GA3318@xor.obsecurity.org> <xzpad07b1ux.fsf@dwp.des.no> <20040517222636.GA19203@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway <kris@obsecurity.org> writes: > On Mon, May 17, 2004 at 03:49:10PM +0200, Dag-Erling Sm?rgrav wrote: > > It is not possible for portupgrade or any other tool to always DTRT > > about moved ports. > Why not? You parse the file once in order, as the entries were added > in order. There are no cycles possible. editors/emacs|editors/emacs19|2004-03-20|emacs 19.x moved to a non-default = port location editors/emacs21|editors/emacs|2004-03-20|emacs 21.x moved to default port l= ocation there's no way to tell whether the installed emacs, with origin editors/emacs, is emacs19 installed before the move or emacs21 installed after the move. Portupgrade gets confused by this: root@dwp ~# portupgrade emacs ** No need to upgrade 'emacs-21.3_2' (>=3D emacs-19.34b). (specify -f to fo= rce) So does porteasy: root@dwp ~# porteasy -s |& grep emacs > emacs-21.3_2 (emacs-19.34b_1) DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp1xlib5l6.fsf>