Ports with same name

Dominic Fandrey kamikaze at bsdforen.de
Wed Mar 10 08:21:16 UTC 2010

On 09/03/2010 19:32, Shaun Amott wrote:
> On Tue, Mar 09, 2010 at 10:23:51AM -0500, Steven Kreuzer wrote:
>> As documented in http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144277
>> we have two ports with the same name:
>> Port:	gag-2.9
>> Path:	/usr/ports/security/gag
>> Info:	A stacheldraht (DOS attack) agent detector
> [...]
>> Port:	gag-4.9
>> Path:	/usr/ports/sysutils/gag
>> Info:	Graphical Boot Manager
> [...]
>> I am looking for some advice on whats the best course of action to deal with this.
>> My gut feeling is that sysutils/gag should remain the same and that security/gag should be
>> renamed to security/gag-stacheldraht.

pkg_upgrade behaves in this kind of situation in the following way:

It checks the matching package names. If more than one package
matches, it checks whether one matches an already installed
origin. If only one of them is installed, it updates that one.

If both are installed (very rare), it fails and the user has to
provide an origin instead of a package name.

>> Anyone vehemently opposed to this?
> The new name sounds reasonable, but it would probably make sense just to
> change LATEST_LINK rather than "move" the port.

I agree, LATEST_LINK is the appropriate change. Port names
are not unique identifiers. category/port is.

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? 

More information about the freebsd-ports mailing list