Duplicate port names in MOVED
pav at FreeBSD.org
Thu Jan 5 14:50:31 PST 2006
Doug Barton píše v čt 05. 01. 2006 v 00:30 -0800:
> I'm working on something that needs to parse the MOVED file, and out of
> curiosity I decided to check to see if port names on the far left side were
> ever duplicated. It turns out that there are 5 duplicates:
> I've attached the patch that handles the 3 obvious cases (2 pure duplicates
> and one entry that's more recent, broken -> removed). The two I'm confused
> about are lang/php4 and x11-toolkits/gtk-industrial-theme. I think I
> understand what the two entries are trying to say, but I'm not sure if it's
> a good idea to remove one of the duplicates since I'm not sure how other
> applications are handling the info in this file.
> This also leads to a question, are duplicate port names considered an error,
> or is this something I should figure out how to parse, perhaps by always
> taking the last entry?
The php4: both lines should go away, basically the second is reverse of
first, so the whole thing is no-op.
The industrial theme: the port was removed, to be recreated because it
turned out it's still useful. The older line should have been removed
when the port was reintroduced.
They are considered error but you should write your code so it can cope
with them when they happen.
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
May your code work forever and never have a bug.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060105/bc80e6f5/attachment.bin
More information about the freebsd-ports