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

Riccardo Torrini riccardo at torrini.org
Sun Aug 29 10:10:36 UTC 2004


>Number:         71097
>Category:       ports
>Synopsis:       Port conflict (net/trafshow and net/trafshow4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 29 10:10:36 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Riccardo Torrini
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD trudy.torrini.home 6.0-CURRENT FreeBSD 6.0-CURRENT #84: Wed Aug 25 07:16:43 CEST 2004 root at trudy.torrini.home:/usr/obj/usr/src/sys/TRUDY i386


	
>Description:
	
	net/trafshow and net/trafshow4 installs same executable (bin/trafshow).
	Both Makefile are missing CONFLICTS= line.
	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)

>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)

	

>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

	Then remove and reinstall net/trafshow4, this change the ORIGIN line
	of /var/db/pkg/trafshow-4.0/+CONTENTS and make pkg_version happy.
	

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list