aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-04-15 09:59:31 +0800
committerijliao <ijliao@FreeBSD.org>2004-04-15 09:59:31 +0800
commitedcd42d89a7ca24010c3ac12b7f5fd0cf9ba60a6 (patch)
treebb179e3cf57a4fc30bd161261e34d038adcc83cf /net-mgmt
parent6323c3d485310e3e8ec48dd340ab5f699f5a0ccb (diff)
downloadfreebsd-ports-graphics-edcd42d89a7ca24010c3ac12b7f5fd0cf9ba60a6.tar.gz
freebsd-ports-graphics-edcd42d89a7ca24010c3ac12b7f5fd0cf9ba60a6.tar.zst
freebsd-ports-graphics-edcd42d89a7ca24010c3ac12b7f5fd0cf9ba60a6.zip
add TkTopNetFlows 0.4
GUI tool for NetFlow data visualisation PR: 65542 Submitted by: Viktor Fomichev <vfom@narod.ru>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/TkTopNetFlows/Makefile44
-rw-r--r--net-mgmt/TkTopNetFlows/distinfo2
-rw-r--r--net-mgmt/TkTopNetFlows/pkg-descr6
-rw-r--r--net-mgmt/TkTopNetFlows/pkg-plist7
5 files changed, 60 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index ba7ffc744e2..f1b7f41d354 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -4,6 +4,7 @@
COMMENT = Network management tools
SUBDIR += NeTraMet
+ SUBDIR += TkTopNetFlows
SUBDIR += aggregate
SUBDIR += aguri
SUBDIR += airport
diff --git a/net-mgmt/TkTopNetFlows/Makefile b/net-mgmt/TkTopNetFlows/Makefile
new file mode 100644
index 00000000000..241cb9b7306
--- /dev/null
+++ b/net-mgmt/TkTopNetFlows/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: TkTopNetFlows
+# Date created: 2004 Apr 14
+# Whom: vfom@narod.ru
+#
+# $FreeBSD$
+#
+
+PORTNAME= TkTopNetFlows
+PORTVERSION= 0.4
+CATEGORIES= net-mgmt
+MASTER_SITES= http://vfom.narod.ru/download/
+
+MAINTAINER= vfom@narod.ru
+COMMENT= GUI tool for NetFlow data visualisation
+
+RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
+ ${LOCALBASE}/lib/libBLT24.so.3:${PORTSDIR}/x11-toolkits/blt \
+ ${LOCALBASE}/lib/Tktable2.8/libTktable2.8.so:${PORTSDIR}/x11-toolkits/tktable \
+ ${SITE_PERL}/${PERL_ARCH}/Cflow.pm:${PORTSDIR}/net-mgmt/p5-Cflow
+
+NO_MTREE= yes
+NO_BUILD= yes
+USE_PERL5= yes
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+PLIST_SUB= PORTVERSION=${PORTVERSION}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/TkTopNetFlows.tcl ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/TkTopNetFlowsHist.tcl ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/flow_Server.pl ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/flow_Server.sh ${PREFIX}/etc/rc.d
+ ${INSTALL_SCRIPT} ${WRKSRC}/view_definitions.pl.example ${PREFIX}/etc
+ @${MKDIR} ${PREFIX}/lib/${PORTNAME}-${PORTVERSION}
+ ${INSTALL_SCRIPT} ${WRKSRC}/TkTopNetFlows_lib.tcl ${PREFIX}/lib/${PORTNAME}-${PORTVERSION}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/TkTopNetFlows/distinfo b/net-mgmt/TkTopNetFlows/distinfo
new file mode 100644
index 00000000000..efefa40f381
--- /dev/null
+++ b/net-mgmt/TkTopNetFlows/distinfo
@@ -0,0 +1,2 @@
+MD5 (TkTopNetFlows-0.4.tar.gz) = 08026de2bc2bf41bea5a141a10a500e1
+SIZE (TkTopNetFlows-0.4.tar.gz) = 86680
diff --git a/net-mgmt/TkTopNetFlows/pkg-descr b/net-mgmt/TkTopNetFlows/pkg-descr
new file mode 100644
index 00000000000..0e5a771e959
--- /dev/null
+++ b/net-mgmt/TkTopNetFlows/pkg-descr
@@ -0,0 +1,6 @@
+TkTopNetFlows - GUI tool for NetFlow data visualisation.
+Written as Perl and Tcl/Tk scripts. It need Blt & Tktable extension
+for Tcl and Cflow extension for Perl. Netflow data is expected to be collected
+by flow-capture from flow-tools package.
+
+WWW: http://vfom.narod.ru/TkTopNetFlows/
diff --git a/net-mgmt/TkTopNetFlows/pkg-plist b/net-mgmt/TkTopNetFlows/pkg-plist
new file mode 100644
index 00000000000..9f0a6c973f0
--- /dev/null
+++ b/net-mgmt/TkTopNetFlows/pkg-plist
@@ -0,0 +1,7 @@
+sbin/flow_Server.pl
+bin/TkTopNetFlows.tcl
+bin/TkTopNetFlowsHist.tcl
+etc/view_definitions.pl.example
+etc/rc.d/flow_Server.sh
+lib/TkTopNetFlows-%%PORTVERSION%%/TkTopNetFlows_lib.tcl
+@dirrm lib/TkTopNetFlows-%%PORTVERSION%%