Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2004 12:07:58 +0200 (CEST)
From:      Riccardo Torrini <riccardo@torrini.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/71097: Port conflict (net/trafshow and net/trafshow4)
Message-ID:  <20040829100758.6EEC71F2C@trudy.torrini.home>
Resent-Message-ID: <200408291010.i7TAAaK1002392@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040829100758.6EEC71F2C>