diff options
author | marino <marino@FreeBSD.org> | 2015-02-06 18:20:43 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-02-06 18:20:43 +0800 |
commit | be50e92630512018f389a175da9e3935b79e4c45 (patch) | |
tree | 223ea4b8342e22407ec46cb282ffe4c9931eb9e1 /net-mgmt | |
parent | 32b632934965cea9f311da1ee118793d30799e7e (diff) | |
download | freebsd-ports-gnome-be50e92630512018f389a175da9e3935b79e4c45.tar.gz freebsd-ports-gnome-be50e92630512018f389a175da9e3935b79e4c45.tar.zst freebsd-ports-gnome-be50e92630512018f389a175da9e3935b79e4c45.zip |
net-mgmt/flowviewer: Add 3 sample config files (not with @sample though)
PR: 196013
Submitted by: timp87 (gmail)
Approved by: maintainer timeout (2 months)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/flowviewer/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/flowviewer/files/pkg-message.in | 6 | ||||
-rw-r--r-- | net-mgmt/flowviewer/pkg-plist | 6 |
3 files changed, 12 insertions, 8 deletions
diff --git a/net-mgmt/flowviewer/Makefile b/net-mgmt/flowviewer/Makefile index 15f4ab315546..f6ce81f1ba86 100644 --- a/net-mgmt/flowviewer/Makefile +++ b/net-mgmt/flowviewer/Makefile @@ -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 FlowGrapher.cgi FlowGrapher_Main.cgi \ 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 \ diff --git a/net-mgmt/flowviewer/files/pkg-message.in b/net-mgmt/flowviewer/files/pkg-message.in index 4cc89e5ff2bd..714880457631 100644 --- a/net-mgmt/flowviewer/files/pkg-message.in +++ b/net-mgmt/flowviewer/files/pkg-message.in @@ -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: diff --git a/net-mgmt/flowviewer/pkg-plist b/net-mgmt/flowviewer/pkg-plist index 1825a9d96bfb..f518e6e1498d 100644 --- a/net-mgmt/flowviewer/pkg-plist +++ b/net-mgmt/flowviewer/pkg-plist @@ -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 |