Bug 217489

Summary: trafshow(1) man page on website is from old net/trafshow3 port
Product: Ports & Packages Reporter: sd
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: bjk, ports-bugs, wosch
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description sd 2017-03-02 08:19:16 UTC
HTML version of trafshow man page on FreeBSD site https://www.freebsd.org/cgi/man.cgi?query=trafshow&apropos=0&sektion=0&format=html shows old net/trafshow3 port man page instead net/trafshow.
If chosen man version is right up to 9.2-RELEASE (https://www.freebsd.org/cgi/man.cgi?query=trafshow&apropos=0&sektion=0&manpath=FreeBSD+9.2-RELEASE+and+Ports&arch=default&format=html) it shows correct man page. But since 9.3-RELEASE it isn't correct.
Comment 1 Benjamin Kaduk freebsd_committer freebsd_triage 2017-03-03 01:46:40 UTC
wosch, any thoughts?
Comment 2 Wolfram Schneider freebsd_committer freebsd_triage 2017-03-04 17:42:38 UTC
Looking at the packages https://pkg.freebsd.org/FreeBSD:11:amd64/release_0/All/

I see 2 trafshow packages, 
https://pkg.freebsd.org/FreeBSD:11:amd64/release_0/All/trafshow-5.2.3_2,1.txz
https://pkg.freebsd.org/FreeBSD:11:amd64/release_0/All/trafshow3-3.1_7,1.txz

which contains the same manpage file "trafshow.1.gz". Apparently, the older trafshow3 won when I update man.cgi.

I think the correct solution is that trafshow3 should rename the manpage to avoid a clash, e.g. /usr/local/man/man1/trafshow.1.gz to /usr/local/man/man1/trafshow3.1.gz
Comment 3 sd 2017-03-06 11:47:32 UTC
There is no maintainer for trafshow3 ATM. Shall we just add ports@FreeBSD.org to CC or shall I write there directly? Or maybe it is worth to create a patch?
Comment 4 Benjamin Kaduk freebsd_committer freebsd_triage 2017-03-07 01:57:10 UTC
Creating a patch is probably helpful, yes.
Comment 5 sd 2018-03-27 13:13:08 UTC
Created attachment 191867 [details]
patch
Comment 6 sd 2018-03-27 13:13:55 UTC
patch attached, sorry for long delay
Comment 7 commit-hook freebsd_committer freebsd_triage 2021-02-13 13:11:15 UTC
A commit references this bug:

Author: amdmi3
Date: Sat Feb 13 13:11:06 UTC 2021
New revision: 565138
URL: https://svnweb.freebsd.org/changeset/ports/565138

Log:
  - Add suffix to all installed files to avoid conflict with actual version of trafshow

  PR:		217489
  Submitted by:	sd@mostnet.ru

Changes:
  head/net/trafshow3/Makefile
  head/net/trafshow3/pkg-plist
Comment 8 commit-hook freebsd_committer freebsd_triage 2021-02-13 13:13:17 UTC
A commit references this bug:

Author: amdmi3
Date: Sat Feb 13 13:12:52 UTC 2021
New revision: 565139
URL: https://svnweb.freebsd.org/changeset/ports/565139

Log:
  - Remove no longer actual CONFLICTS

  PR:		217489

Changes:
  head/net/trafshow/Makefile