From owner-cvs-all@FreeBSD.ORG Mon May 17 23:41:04 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C89716A4CE; Mon, 17 May 2004 23:41:04 -0700 (PDT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06DB243D2F; Mon, 17 May 2004 23:41:03 -0700 (PDT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 9A684530E; Tue, 18 May 2004 08:41:01 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 2BE605309; Tue, 18 May 2004 08:40:54 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id D6CBB33CAA; Tue, 18 May 2004 08:40:53 +0200 (CEST) To: Kris Kennaway References: <200405162147.i4GLlLf3023305@repoman.freebsd.org> <20040516222531.GB38014@xor.obsecurity.org> <1084779257.24544.0.camel@pav.hide.vol.cz> <20040517103829.GA3318@xor.obsecurity.org> <20040517222636.GA19203@xor.obsecurity.org> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Tue, 18 May 2004 08:40:53 +0200 In-Reply-To: <20040517222636.GA19203@xor.obsecurity.org> (Kris Kennaway's message of "Mon, 17 May 2004 15:26:36 -0700") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: cvs-ports@FreeBSD.org cc: Pav Lucistnik cc: cvs-all@FreeBSD.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 ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 06:41:04 -0000 Kris Kennaway 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