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 ...

Dag-Erling Smørgrav des at des.no
Mon May 17 23:41:04 PDT 2004


Kris Kennaway <kris at 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 location

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 at dwp ~# portupgrade emacs
** No need to upgrade 'emacs-21.3_2' (>= emacs-19.34b). (specify -f to force)

So does porteasy:

root at dwp ~# porteasy -s |& grep emacs
 > emacs-21.3_2 (emacs-19.34b_1)

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-all mailing list