Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2015 10:20:44 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378521 - in head/net-mgmt/flowviewer: . files
Message-ID:  <201502061020.t16AKiHT025641@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Feb  6 10:20:43 2015
New Revision: 378521
URL: https://svnweb.freebsd.org/changeset/ports/378521
QAT: https://qat.redports.org/buildarchive/r378521/

Log:
  net-mgmt/flowviewer: Add 3 sample config files (not with @sample though)
  
  PR:		196013
  Submitted by:	timp87 (gmail)
  Approved by:	maintainer timeout (2 months)

Modified:
  head/net-mgmt/flowviewer/Makefile
  head/net-mgmt/flowviewer/files/pkg-message.in
  head/net-mgmt/flowviewer/pkg-plist

Modified: head/net-mgmt/flowviewer/Makefile
==============================================================================
--- head/net-mgmt/flowviewer/Makefile	Fri Feb  6 10:15:00 2015	(r378520)
+++ head/net-mgmt/flowviewer/Makefile	Fri Feb  6 10:20:43 2015	(r378521)
@@ -3,6 +3,7 @@
 
 PORTNAME=	flowviewer
 PORTVERSION=	4.5
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/${PORTNAME}
 DISTNAME=	FlowViewer_${DISTVERSION}
@@ -36,8 +37,7 @@ PLIST_SCRIPT=	FV.cgi FV_Relay.cgi FlowGr
 		FlowViewer_UI.pm FlowViewer_Utilities.pm FlowGrapher_Colors \
 		FlowMonitor_Collector FlowMonitor_Grapher \
 		FlowMonitor_Recreate FlowMonitor_Thumbnail FlowViewer_CleanASCache \
-		FlowViewer_CleanFiles FlowViewer_CleanHostCache FlowViewer_CleanSiLK \
-		NamedInterfaces_Devices NamedInterfaces_Exporters
+		FlowViewer_CleanFiles FlowViewer_CleanHostCache FlowViewer_CleanSiLK
 PLIST_DATA=	FG_button.png FM_button.png FV_button.png FlowViewer.css
 PLIST_TOOLS=	flowcapture_restart resize_rrdtools flowmonitor_grapher_nonlazy \
 		date_to_epoch_gm performance_check flowmonitor_restart \
@@ -69,7 +69,9 @@ post-patch:
 do-install:
 	${MKDIR} ${STAGEDIR}${FLOWVIEWERDIR}
 	${MKDIR} ${STAGEDIR}${FLOWVIEWERDIR}/tools
-	${INSTALL_DATA} ${WRKSRC}/FlowViewer_Configuration.pm ${STAGEDIR}${FLOWVIEWERDIR}/FlowViewer_Configuration.pm.dist
+	${INSTALL_DATA} ${WRKSRC}/FlowViewer_Configuration.pm ${STAGEDIR}${FLOWVIEWERDIR}/FlowViewer_Configuration.pm.sample
+	${INSTALL_DATA} ${WRKSRC}/NamedInterfaces_Devices ${STAGEDIR}${FLOWVIEWERDIR}/NamedInterfaces_Devices.sample
+	${INSTALL_DATA} ${WRKSRC}/NamedInterfaces_Exporters ${STAGEDIR}${FLOWVIEWERDIR}/NamedInterfaces_Exporters.sample
 	${MKDIR} ${STAGEDIR}${FLOWVIEWERDIR}/tmp ${STAGEDIR}${FLOWVIEWERDIR}/reports ${STAGEDIR}${FLOWVIEWERDIR}/graphs \
 	${STAGEDIR}${FLOWVIEWERDIR}/monitor ${STAGEDIR}${FLOWVIEWERDIR}/working ${STAGEDIR}${FLOWVIEWERDIR}/saves \
 	${STAGEDIR}${FLOWVIEWERDIR}/names ${STAGEDIR}${FLOWVIEWERDIR}/ipsets ${STAGEDIR}${FLOWVIEWERDIR}/filters \

Modified: head/net-mgmt/flowviewer/files/pkg-message.in
==============================================================================
--- head/net-mgmt/flowviewer/files/pkg-message.in	Fri Feb  6 10:15:00 2015	(r378520)
+++ head/net-mgmt/flowviewer/files/pkg-message.in	Fri Feb  6 10:20:43 2015	(r378521)
@@ -2,8 +2,10 @@
 
     %%FLOWVIEWERDIR%%
 
-Please copy FlowViewer_Configuration.pm.dist to FlowViewer_Configuration.pm
-and edit it to suit your needs.
+Please copy FlowViewer_Configuration.pm.sample to FlowViewer_Configuration.pm,
+NamedInterfaces_Devices.sample to NamedInterfaces_Devices,
+NamedInterfaces_Exporters.sample to NamedInterfaces_Exporters
+and edit them to suit your needs.
 
 To make FlowViewer available through your web site, I suggest
 that you add something like the following to httpd.conf:

Modified: head/net-mgmt/flowviewer/pkg-plist
==============================================================================
--- head/net-mgmt/flowviewer/pkg-plist	Fri Feb  6 10:15:00 2015	(r378520)
+++ head/net-mgmt/flowviewer/pkg-plist	Fri Feb  6 10:20:43 2015	(r378521)
@@ -23,7 +23,7 @@
 %%FLOWVIEWERDIR%%/FlowViewer_CleanFiles
 %%FLOWVIEWERDIR%%/FlowViewer_CleanHostCache
 %%FLOWVIEWERDIR%%/FlowViewer_CleanSiLK
-%%FLOWVIEWERDIR%%/FlowViewer_Configuration.pm.dist
+%%FLOWVIEWERDIR%%/FlowViewer_Configuration.pm.sample
 %%FLOWVIEWERDIR%%/FlowViewer_Main.cgi
 %%FLOWVIEWERDIR%%/FlowViewer_Replay.cgi
 %%FLOWVIEWERDIR%%/FlowViewer_Save.cgi
@@ -31,8 +31,8 @@
 %%FLOWVIEWERDIR%%/FlowViewer_Sort.cgi
 %%FLOWVIEWERDIR%%/FlowViewer_UI.pm
 %%FLOWVIEWERDIR%%/FlowViewer_Utilities.pm
-%%FLOWVIEWERDIR%%/NamedInterfaces_Devices
-%%FLOWVIEWERDIR%%/NamedInterfaces_Exporters
+%%FLOWVIEWERDIR%%/NamedInterfaces_Devices.sample
+%%FLOWVIEWERDIR%%/NamedInterfaces_Exporters.sample
 %%FLOWVIEWERDIR%%/dscan.suppress.dst
 %%FLOWVIEWERDIR%%/dscan.suppress.src
 %%FLOWVIEWERDIR%%/tools/analyze_flowmonitor_debug



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