MOVED - from == to?

RW list-freebsd-2004 at morbius.sent.com
Thu Jan 19 07:56:54 PST 2006


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


More information about the freebsd-ports mailing list