Re: Ports with same name

2010-03-10 Thread Dominic Fandrey
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? 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Ports with same name

2010-03-09 Thread Shaun Amott
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.
 
 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.

-- 
Shaun Amott // PGP: 0x6B387A9A
A foolish consistency is the hobgoblin
of little minds. - Ralph Waldo Emerson
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Ports with same name

2010-03-09 Thread Charlie Kester

On Tue 09 Mar 2010 at 10:25:14 PST Gary Jennejohn wrote:

On Tue, 9 Mar 2010 10:23:51 -0500
Steven Kreuzer skreu...@freebsd.org wrote:


Hello-

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
Maint:  po...@freebsd.org
B-deps: 
R-deps: 
WWW:http://www.washington.edu/People/dad/

Port:   gag-4.9
Path:   /usr/ports/sysutils/gag
Info:   Graphical Boot Manager
Maint:  alepul...@freebsd.org
B-deps: 
R-deps: 
WWW:http://gag.sourceforge.net/

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.

Anyone vehemently opposed to this?



So where's the problem?  sysutils/gag doesn't seem to install a binary
which would conflict with security/gag.  In fact, it doesn't seem to
install an executable at all, based on examining the Makefile and
pkg-plist.


Could be a problem for tools like portmaster that allow the user to
specify the port name only, rather than category/portname.  


If a user has both gags installed and then runs portmaster gag, how
should portmaster resolve the ambiguity?


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Ports with same name

2010-03-09 Thread Gary Jennejohn
On Tue, 9 Mar 2010 11:01:24 -0800
Charlie Kester corky1...@comcast.net wrote:

 On Tue 09 Mar 2010 at 10:25:14 PST Gary Jennejohn wrote:
 On Tue, 9 Mar 2010 10:23:51 -0500
 Steven Kreuzer skreu...@freebsd.org wrote:
 
  Hello-
 
  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
  Maint: po...@freebsd.org
  B-deps:
  R-deps:
  WWW:   http://www.washington.edu/People/dad/
 
  Port:  gag-4.9
  Path:  /usr/ports/sysutils/gag
  Info:  Graphical Boot Manager
  Maint: alepul...@freebsd.org
  B-deps:
  R-deps:
  WWW:   http://gag.sourceforge.net/
 
  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.
 
  Anyone vehemently opposed to this?
 
 
 So where's the problem?  sysutils/gag doesn't seem to install a binary
 which would conflict with security/gag.  In fact, it doesn't seem to
 install an executable at all, based on examining the Makefile and
 pkg-plist.
 
 Could be a problem for tools like portmaster that allow the user to
 specify the port name only, rather than category/portname.  
 
 If a user has both gags installed and then runs portmaster gag, how
 should portmaster resolve the ambiguity?
 

By examining the ORIGIN tags in +CONTENTS and asking the user which one to
update?

IMO this is a putative problem which shouldn't be fixed by renaming
a port.  But I'm just a lowly ports committer and not a member of
portmgr.

---
Gary Jennejohn
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Ports with same name

2010-03-09 Thread Ion-Mihai Tetcu
On Tue, 9 Mar 2010 20:24:00 +0100
Gary Jennejohn gary.jennej...@freenet.de wrote:

 On Tue, 9 Mar 2010 11:01:24 -0800
 Charlie Kester corky1...@comcast.net wrote:
 
  On Tue 09 Mar 2010 at 10:25:14 PST Gary Jennejohn wrote:
  On Tue, 9 Mar 2010 10:23:51 -0500
  Steven Kreuzer skreu...@freebsd.org wrote:
  
   Hello-
  
   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
   Maint:   po...@freebsd.org
   B-deps:  
   R-deps:  
   WWW: http://www.washington.edu/People/dad/
  
   Port:gag-4.9
   Path:/usr/ports/sysutils/gag
   Info:Graphical Boot Manager
   Maint:   alepul...@freebsd.org
   B-deps:  
   R-deps:  
   WWW: http://gag.sourceforge.net/
  
   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.
  
   Anyone vehemently opposed to this?
  
  
  So where's the problem?  sysutils/gag doesn't seem to install a
  binary which would conflict with security/gag.  In fact, it
  doesn't seem to install an executable at all, based on examining
  the Makefile and pkg-plist.
  
  Could be a problem for tools like portmaster that allow the user to
  specify the port name only, rather than category/portname.  
  
  If a user has both gags installed and then runs portmaster gag,
  how should portmaster resolve the ambiguity?
  
 
 By examining the ORIGIN tags in +CONTENTS and asking the user which
 one to update?
 
 IMO this is a putative problem which shouldn't be fixed by renaming
 a port.  But I'm just a lowly ports committer and not a member of
 portmgr.

We ain't Gods either, y'know ;)

-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: Ports with same name

2010-03-09 Thread RW
On Tue, 9 Mar 2010 20:24:00 +0100
Gary Jennejohn gary.jennej...@freenet.de wrote:

 On Tue, 9 Mar 2010 11:01:24 -0800
 Charlie Kester corky1...@comcast.net wrote:
 
  On Tue 09 Mar 2010 at 10:25:14 PST Gary Jennejohn wrote:
  On Tue, 9 Mar 2010 10:23:51 -0500
  Steven Kreuzer skreu...@freebsd.org wrote:

  So where's the problem?  sysutils/gag doesn't seem to install a
  binary which would conflict with security/gag.  In fact, it
  doesn't seem to install an executable at all, based on examining
  the Makefile and pkg-plist.
  
  Could be a problem for tools like portmaster that allow the user to
  specify the port name only, rather than category/portname.  
  
  If a user has both gags installed and then runs portmaster gag,
  how should portmaster resolve the ambiguity?
  
 
 By examining the ORIGIN tags in +CONTENTS and asking the user which
 one to update?
 
 IMO this is a putative problem which shouldn't be fixed by renaming
 a port.  But I'm just a lowly ports committer and not a member of
 portmgr.

They also both have the UNIQUENAME of gag, so if they had options
they would be stored in the same directory, I suspect there are
potential problems with package names too.

Whether or not any of this actually causes a problem with gag, it seems
to me to be better to avoid creating a precedent.



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Ports with same name

2010-03-09 Thread Doug Barton

On 3/9/2010 11:01 AM, Charlie Kester wrote:

Could be a problem for tools like portmaster that allow the user to
specify the port name only, rather than category/portname.


That only works for installed ports, FYI.


If a user has both gags installed and then runs portmaster gag, how
should portmaster resolve the ambiguity?


It won't, it will upgrade them both.

OTOH, 2 ports with the same UNIQUENAME would be a problem for portmaster 
since it stores information about installed distfiles in /var/db/ports.



Doug

--

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org