Date: Thu, 19 Jan 2006 15:56:20 +0000 From: RW <list-freebsd-2004@morbius.sent.com> To: freebsd-ports@freebsd.org Subject: Re: MOVED - from == to? Message-ID: <200601191556.49126.list-freebsd-2004@morbius.sent.com> In-Reply-To: <20060116015538.GA29320@xor.obsecurity.org> References: <43CA449C.28180.3247619B@dan.langille.org> <20060115230735.GB19392@soaustin.net> <20060116015538.GA29320@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 16 January 2006 01:55, Kris Kennaway wrote: > The way MOVED was intended to be parsed was to start at the > "appropriate date" in the file and only parse entries after this date. > The problem is that there's no unambigious way to determine > "appropriate date": it's supposed to mean the date of the port from > which the package was built, but this is not recorded in the package > (or clearly defined itself: in most cases it's the date of the port > Makefile, except for ports that .include other things, > i.e. potentially every port). > > A better solution might be to additionally record the PKGVERSION of > the port at the date of the MOVED entry, since this may be easily > parsed and used to determine whether the entry applies to a given > package. The problem is that PKGVERSION is not always uniquely > defined and may sometimes depend on OSVERSION and other factors. > > I don't know how to fix this. What about recording an origin epoch instead? e.g. foo/bar -> foo/bar1 foo/bar2 -> foo/bar,1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601191556.49126.list-freebsd-2004>