From: "Zane C. B." on
When it comes to processing the MOVE file, how does one check if the
a move is relevant to the currently installed package?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Dominic Fandrey on
On 06/04/2010 17:08, Zane C. B. wrote:
> When it comes to processing the MOVE file, how does one check if the
> a move is relevant to the currently installed package?

If the origin of your package is no longer available, I'd use
the last matching MOVED entry.

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Zane C.B." on
On Tue, 06 Apr 2010 18:31:38 +0200
Dominic Fandrey <kamikaze(a)bsdforen.de> wrote:

> On 06/04/2010 17:08, Zane C. B. wrote:
> > When it comes to processing the MOVE file, how does one check if
> > the a move is relevant to the currently installed package?
>
> If the origin of your package is no longer available, I'd use
> the last matching MOVED entry.

The problem with this method is I've seen it fail before on gstreamer
and a few others.
From: Dominic Fandrey on
On 06/04/2010 18:45, Zane C.B. wrote:
> On Tue, 06 Apr 2010 18:31:38 +0200
> Dominic Fandrey <kamikaze(a)bsdforen.de> wrote:
>
>> On 06/04/2010 17:08, Zane C. B. wrote:
>>> When it comes to processing the MOVE file, how does one check if
>>> the a move is relevant to the currently installed package?
>>
>> If the origin of your package is no longer available, I'd use
>> the last matching MOVED entry.
>
> The problem with this method is I've seen it fail before on gstreamer
> and a few others.

If you knew the date of the ports tree the package was built
from, you could pick the first match after said date.

This is what I'd like to do for the coming version of pkg_upgrade.

There's no way to get this information, though. So I'll use the
latest entry approach as this is the one I expect to fail least
often (is that proper English?).

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"