View | Details | Raw Unified | Return to bug 200329
Collapse All | Expand All

(-)/usr/ports/net-mgmt/flowviewer/Makefile (-22 / +29 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	flowviewer
4
PORTNAME=	flowviewer
5
PORTVERSION=	4.5
5
PORTVERSION=	4.5
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
8
MASTER_SITES=	SF/${PORTNAME}
8
MASTER_SITES=	SF/${PORTNAME}
9
DISTNAME=	FlowViewer_${DISTVERSION}
9
DISTNAME=	FlowViewer_${DISTVERSION}
Lines 26-50 Link Here
26
26
27
FLOWVIEWERDIR?=	${PREFIX}/www/flowviewer
27
FLOWVIEWERDIR?=	${PREFIX}/www/flowviewer
28
28
29
PLIST_SCRIPT=	FV.cgi FV_Relay.cgi FlowGrapher.cgi FlowGrapher_Main.cgi \
29
FLOWVIEWERSCRIPTS=	FV.cgi FV_Relay.cgi FlowGrapher.cgi FlowGrapher_Analyze.cgi \
30
		FlowGrapher_Replay.cgi FlowGrapher_Sort.cgi \
30
		FlowGrapher_Main.cgi FlowGrapher_Replay.cgi FlowGrapher_Sort.cgi \
31
		FlowMonitor.cgi FlowMonitor_Dashboard.cgi FlowMonitor_Display.cgi \
31
		FlowMonitor.cgi FlowMonitor_Dashboard.cgi FlowMonitor_Display.cgi \
32
		FlowMonitor_DisplayPublic.cgi FlowMonitor_Dumper.cgi \
32
		FlowMonitor_DisplayPublic.cgi FlowMonitor_Dumper.cgi \
33
		FlowMonitor_Group.cgi FlowMonitor_Main.cgi FlowMonitor_Management.cgi \
33
		FlowMonitor_Group.cgi FlowMonitor_Main.cgi FlowMonitor_Management.cgi \
34
		FlowMonitor_Replay.cgi FlowViewer.cgi dscan.suppress.dst dscan.suppress.src \
34
		FlowMonitor_Replay.cgi FlowViewer.cgi FlowViewer_Main.cgi \
35
		FlowViewer_Main.cgi FlowViewer_Replay.cgi \
35
		FlowViewer_Replay.cgi FlowViewer_Save.cgi FlowViewer_SaveManage.cgi \
36
		FlowViewer_Save.cgi FlowViewer_SaveManage.cgi FlowViewer_Sort.cgi \
36
		FlowViewer_Sort.cgi FlowViewer_UI.pm FlowViewer_Utilities.pm \
37
		FlowViewer_UI.pm FlowViewer_Utilities.pm FlowGrapher_Colors \
38
		FlowMonitor_Collector FlowMonitor_Grapher \
37
		FlowMonitor_Collector FlowMonitor_Grapher \
39
		FlowMonitor_Recreate FlowMonitor_Thumbnail FlowViewer_CleanASCache \
38
		FlowMonitor_Recreate FlowMonitor_Thumbnail FlowViewer_CleanASCache \
40
		FlowViewer_CleanFiles FlowViewer_CleanHostCache FlowViewer_CleanSiLK
39
		FlowViewer_CleanFiles FlowViewer_CleanHostCache FlowViewer_CleanSiLK
41
PLIST_DATA=	FG_button.png FM_button.png FV_button.png FlowViewer.css
40
FLOWVIEWERDATA=	FG_button.png FM_button.png FV_button.png FlowViewer.css
42
PLIST_TOOLS=	flowcapture_restart resize_rrdtools flowmonitor_grapher_nonlazy \
41
SHEBANG_TOOLS=	tools/analyze_flowmonitor_debug tools/analyze_netflow_packets \
43
		date_to_epoch_gm performance_check flowmonitor_restart \
42
		tools/convert_pre40_filters tools/create_ports_file tools/date_to_epoch_gm \
44
		convert_pre40_filters analyze_flowmonitor_debug flowmonitor_grapher_recent \
43
		tools/date_to_epoch_local tools/epoch_to_date_gm tools/epoch_to_date_local \
45
		flow-capture-table.conf rsync_monitors epoch_to_date_local rwflowpack_start \
44
		tools/flowmonitor_archive_restore tools/flowmonitor_grapher_nonlazy \
46
		epoch_to_date_gm rsync_htmls flowmonitor_archive_restore \
45
		tools/flowmonitor_grapher_recent tools/performance_check tools/resize_rrdtools
47
		date_to_epoch_local analyze_netflow_packets rsync_flows
46
FLOWVIEWERTOOLS=	${SHEBANG_TOOLS} \
47
		tools/flowcapture_restart tools/flowmonitor_restart \
48
		tools/flow-capture-table.conf tools/rsync_monitors tools/rwflowpack_start \
49
		tools/rsync_htmls tools/rsync_flows
50
FLOWVIEWERCONFIGS=	FlowViewer_Configuration.pm \
51
		FlowGrapher_Colors FlowGrapher_Ports \
52
		NamedInterfaces_Devices NamedInterfaces_Exporters \
53
		dscan.suppress.dst dscan.suppress.src
48
54
49
PLIST_SUB+=	FLOWVIEWERDIR="${FLOWVIEWERDIR}" \
55
PLIST_SUB+=	FLOWVIEWERDIR="${FLOWVIEWERDIR}" \
50
		WWWOWN=${WWWOWN} \
56
		WWWOWN=${WWWOWN} \
Lines 53-59 Link Here
53
		"PKGNAME=${PKGNAME}"
59
		"PKGNAME=${PKGNAME}"
54
SUB_FILES=	pkg-message
60
SUB_FILES=	pkg-message
55
61
56
USES=		perl5
62
USES=		perl5 shebangfix
63
SHEBANG_FILES=	${FLOWVIEWERSCRIPTS} ${SHEBANG_TOOLS} FlowViewer_Configuration.pm
57
NO_BUILD=	yes
64
NO_BUILD=	yes
58
65
59
PORTDOCS=	README
66
PORTDOCS=	README
Lines 69-88 Link Here
69
do-install:
76
do-install:
70
	${MKDIR} ${STAGEDIR}${FLOWVIEWERDIR}
77
	${MKDIR} ${STAGEDIR}${FLOWVIEWERDIR}
71
	${MKDIR} ${STAGEDIR}${FLOWVIEWERDIR}/tools
78
	${MKDIR} ${STAGEDIR}${FLOWVIEWERDIR}/tools
72
	${INSTALL_DATA} ${WRKSRC}/FlowViewer_Configuration.pm ${STAGEDIR}${FLOWVIEWERDIR}/FlowViewer_Configuration.pm.sample
73
	${INSTALL_DATA} ${WRKSRC}/NamedInterfaces_Devices ${STAGEDIR}${FLOWVIEWERDIR}/NamedInterfaces_Devices.sample
74
	${INSTALL_DATA} ${WRKSRC}/NamedInterfaces_Exporters ${STAGEDIR}${FLOWVIEWERDIR}/NamedInterfaces_Exporters.sample
75
	${MKDIR} ${STAGEDIR}${FLOWVIEWERDIR}/tmp ${STAGEDIR}${FLOWVIEWERDIR}/reports ${STAGEDIR}${FLOWVIEWERDIR}/graphs \
79
	${MKDIR} ${STAGEDIR}${FLOWVIEWERDIR}/tmp ${STAGEDIR}${FLOWVIEWERDIR}/reports ${STAGEDIR}${FLOWVIEWERDIR}/graphs \
76
	${STAGEDIR}${FLOWVIEWERDIR}/monitor ${STAGEDIR}${FLOWVIEWERDIR}/working ${STAGEDIR}${FLOWVIEWERDIR}/saves \
80
	${STAGEDIR}${FLOWVIEWERDIR}/monitor ${STAGEDIR}${FLOWVIEWERDIR}/working ${STAGEDIR}${FLOWVIEWERDIR}/saves \
77
	${STAGEDIR}${FLOWVIEWERDIR}/names ${STAGEDIR}${FLOWVIEWERDIR}/ipsets ${STAGEDIR}${FLOWVIEWERDIR}/filters \
81
	${STAGEDIR}${FLOWVIEWERDIR}/names ${STAGEDIR}${FLOWVIEWERDIR}/ipsets ${STAGEDIR}${FLOWVIEWERDIR}/filters \
78
	${STAGEDIR}${FLOWVIEWERDIR}/rrdtools ${STAGEDIR}${FLOWVIEWERDIR}/FlowViewer_Dashboard
82
	${STAGEDIR}${FLOWVIEWERDIR}/rrdtools ${STAGEDIR}${FLOWVIEWERDIR}/FlowViewer_Dashboard
79
.for i in ${PLIST_SCRIPT}
83
.for i in ${FLOWVIEWERCONFIGS}
84
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${FLOWVIEWERDIR}/${i}.sample
85
.endfor
86
.for i in ${FLOWVIEWERSCRIPTS}
80
	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${FLOWVIEWERDIR}
87
	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${FLOWVIEWERDIR}
81
.endfor
88
.endfor
82
.for i in ${PLIST_TOOLS}
89
.for i in ${FLOWVIEWERTOOLS}
83
	${INSTALL_SCRIPT} ${WRKSRC}/tools/${i} ${STAGEDIR}${FLOWVIEWERDIR}/tools
90
	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${FLOWVIEWERDIR}/tools
84
.endfor
91
.endfor
85
.for i in ${PLIST_DATA}
92
.for i in ${FLOWVIEWERDATA}
86
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${FLOWVIEWERDIR}/reports
93
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${FLOWVIEWERDIR}/reports
87
.endfor
94
.endfor
88
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
95
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)/usr/ports/net-mgmt/flowviewer/files/pkg-message.in (-4 / +1 lines)
Lines 2-11 Link Here
2
2
3
    %%FLOWVIEWERDIR%%
3
    %%FLOWVIEWERDIR%%
4
4
5
Please copy FlowViewer_Configuration.pm.sample to FlowViewer_Configuration.pm,
5
Please edit at least FlowViewer_Configuration.pm to suit your needs.
6
NamedInterfaces_Devices.sample to NamedInterfaces_Devices,
7
NamedInterfaces_Exporters.sample to NamedInterfaces_Exporters
8
and edit them to suit your needs.
9
6
10
To make FlowViewer available through your web site, I suggest
7
To make FlowViewer available through your web site, I suggest
11
that you add something like the following to httpd.conf:
8
that you add something like the following to httpd.conf:
(-)/usr/ports/net-mgmt/flowviewer/pkg-plist (-6 / +9 lines)
Lines 1-8 Link Here
1
%%FLOWVIEWERDIR%%/FV.cgi
1
%%FLOWVIEWERDIR%%/FV.cgi
2
%%FLOWVIEWERDIR%%/FV_Relay.cgi
2
%%FLOWVIEWERDIR%%/FV_Relay.cgi
3
%%FLOWVIEWERDIR%%/FlowGrapher.cgi
3
%%FLOWVIEWERDIR%%/FlowGrapher.cgi
4
%%FLOWVIEWERDIR%%/FlowGrapher_Colors
4
%%FLOWVIEWERDIR%%/FlowGrapher_Analyze.cgi
5
@sample %%FLOWVIEWERDIR%%/FlowGrapher_Colors.sample
5
%%FLOWVIEWERDIR%%/FlowGrapher_Main.cgi
6
%%FLOWVIEWERDIR%%/FlowGrapher_Main.cgi
7
@sample %%FLOWVIEWERDIR%%/FlowGrapher_Ports.sample
6
%%FLOWVIEWERDIR%%/FlowGrapher_Replay.cgi
8
%%FLOWVIEWERDIR%%/FlowGrapher_Replay.cgi
7
%%FLOWVIEWERDIR%%/FlowGrapher_Sort.cgi
9
%%FLOWVIEWERDIR%%/FlowGrapher_Sort.cgi
8
%%FLOWVIEWERDIR%%/FlowMonitor.cgi
10
%%FLOWVIEWERDIR%%/FlowMonitor.cgi
Lines 23-29 Link Here
23
%%FLOWVIEWERDIR%%/FlowViewer_CleanFiles
25
%%FLOWVIEWERDIR%%/FlowViewer_CleanFiles
24
%%FLOWVIEWERDIR%%/FlowViewer_CleanHostCache
26
%%FLOWVIEWERDIR%%/FlowViewer_CleanHostCache
25
%%FLOWVIEWERDIR%%/FlowViewer_CleanSiLK
27
%%FLOWVIEWERDIR%%/FlowViewer_CleanSiLK
26
%%FLOWVIEWERDIR%%/FlowViewer_Configuration.pm.sample
28
@sample %%FLOWVIEWERDIR%%/FlowViewer_Configuration.pm.sample
27
%%FLOWVIEWERDIR%%/FlowViewer_Main.cgi
29
%%FLOWVIEWERDIR%%/FlowViewer_Main.cgi
28
%%FLOWVIEWERDIR%%/FlowViewer_Replay.cgi
30
%%FLOWVIEWERDIR%%/FlowViewer_Replay.cgi
29
%%FLOWVIEWERDIR%%/FlowViewer_Save.cgi
31
%%FLOWVIEWERDIR%%/FlowViewer_Save.cgi
Lines 31-43 Link Here
31
%%FLOWVIEWERDIR%%/FlowViewer_Sort.cgi
33
%%FLOWVIEWERDIR%%/FlowViewer_Sort.cgi
32
%%FLOWVIEWERDIR%%/FlowViewer_UI.pm
34
%%FLOWVIEWERDIR%%/FlowViewer_UI.pm
33
%%FLOWVIEWERDIR%%/FlowViewer_Utilities.pm
35
%%FLOWVIEWERDIR%%/FlowViewer_Utilities.pm
34
%%FLOWVIEWERDIR%%/NamedInterfaces_Devices.sample
36
@sample %%FLOWVIEWERDIR%%/NamedInterfaces_Devices.sample
35
%%FLOWVIEWERDIR%%/NamedInterfaces_Exporters.sample
37
@sample %%FLOWVIEWERDIR%%/NamedInterfaces_Exporters.sample
36
%%FLOWVIEWERDIR%%/dscan.suppress.dst
38
@sample %%FLOWVIEWERDIR%%/dscan.suppress.dst.sample
37
%%FLOWVIEWERDIR%%/dscan.suppress.src
39
@sample %%FLOWVIEWERDIR%%/dscan.suppress.src.sample
38
%%FLOWVIEWERDIR%%/tools/analyze_flowmonitor_debug
40
%%FLOWVIEWERDIR%%/tools/analyze_flowmonitor_debug
39
%%FLOWVIEWERDIR%%/tools/analyze_netflow_packets
41
%%FLOWVIEWERDIR%%/tools/analyze_netflow_packets
40
%%FLOWVIEWERDIR%%/tools/convert_pre40_filters
42
%%FLOWVIEWERDIR%%/tools/convert_pre40_filters
43
%%FLOWVIEWERDIR%%/tools/create_ports_file
41
%%FLOWVIEWERDIR%%/tools/date_to_epoch_gm
44
%%FLOWVIEWERDIR%%/tools/date_to_epoch_gm
42
%%FLOWVIEWERDIR%%/tools/date_to_epoch_local
45
%%FLOWVIEWERDIR%%/tools/date_to_epoch_local
43
%%FLOWVIEWERDIR%%/tools/epoch_to_date_gm
46
%%FLOWVIEWERDIR%%/tools/epoch_to_date_gm

Return to bug 200329