ports/71097: Port conflict (net/trafshow and net/trafshow4)

Oliver Eikemeier eikemeier at fillmore-labs.com
Sun Aug 29 10:40:28 UTC 2004


The following reply was made to PR ports/71097; it has been noted by GNATS.

From: Oliver Eikemeier <eikemeier at fillmore-labs.com>
To: Riccardo Torrini <riccardo at torrini.org>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: ports/71097: Port conflict (net/trafshow and net/trafshow4)
Date: Sun, 29 Aug 2004 12:37:53 +0200

 Riccardo Torrini wrote:
 
 > 	net/trafshow and net/trafshow4 installs same executable 
 > (bin/trafshow).
 > 	Both Makefile are missing CONFLICTS= line.
 
 true. Also net/trafshow4 needs to specify LATEST_LINK=.	
 
 > 	Also installing trafshow4 create a /var/db/pkg/trashow-4... that
 > 	confuse pkg_version, we need to change PORTNAME of net/trafshow4 from
 > 	trafshow to trafshow4 (or remove one of the versions and rename the
 > 	other)
 
 No, this is correct as is.
 
 >> How-To-Repeat:
 > 	( make sure to have neither net/trafshow nor net/trafshow4 installed)
 > 	# cd /usr/ports/net/trafshow4 && make install clean
 > 	# pkg_version -vL=
 > 	trafshow-4.0		<   needs updating (port has 3.1_4,1)
 
 I can't reproduce that. This would be a bug in pkg_version(1), but it 
 seems like you have an old version of net/trafshow installed.
 
 >> Fix:
 > 	Change PORTNAME of net/trafshow4
 >
 > 	# diff -u0 Makefile.orig Makefile
 > 	--- Makefile.orig       Sun Aug  8 07:45:12 2004
 > 	+++ Makefile    Sun Aug 29 11:52:53 2004
 > 	@@ -8 +8 @@
 > 	-PORTNAME=      trafshow
 > 	+PORTNAME=      trafshow4
 
 No, this is wrong. The ports version is *not* part of PORTNAME, and 
 ports doings so are wrong (expect when the vendor _explicitly_ names 
 it's software that way, like libxml2).
 
 -Oliver
 



More information about the freebsd-ports-bugs mailing list