aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-16 00:41:49 +0800
committerpav <pav@FreeBSD.org>2004-10-16 00:41:49 +0800
commitb618a1bcd7e6f4854841ecab28fe1980000180b8 (patch)
tree92882c33ed4022ae5405c699242f7a4f68afd37b /net-mgmt
parent84e3ec9f1dba7cf884dd9fbf3da8f3193d678aed (diff)
downloadfreebsd-ports-gnome-b618a1bcd7e6f4854841ecab28fe1980000180b8.tar.gz
freebsd-ports-gnome-b618a1bcd7e6f4854841ecab28fe1980000180b8.tar.zst
freebsd-ports-gnome-b618a1bcd7e6f4854841ecab28fe1980000180b8.zip
Add py-flowtools, an extension module gives you a simple python interface
to NetFlow data as stored by Mark Fullmer's flow-tools package. PR: ports/72684 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/py-flowtools/Makefile24
-rw-r--r--net-mgmt/py-flowtools/distinfo2
-rw-r--r--net-mgmt/py-flowtools/pkg-descr10
-rw-r--r--net-mgmt/py-flowtools/pkg-plist1
5 files changed, 38 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index c3d7a2b506d3..19bc4d866f4d 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -126,6 +126,7 @@
SUBDIR += pixilate
SUBDIR += pmacct
SUBDIR += portmon
+ SUBDIR += py-flowtools
SUBDIR += py-ipy
SUBDIR += py-snmp
SUBDIR += rancid
diff --git a/net-mgmt/py-flowtools/Makefile b/net-mgmt/py-flowtools/Makefile
new file mode 100644
index 000000000000..a064bc604f97
--- /dev/null
+++ b/net-mgmt/py-flowtools/Makefile
@@ -0,0 +1,24 @@
+# Ports collection makefile for: py-flowtools
+# Date created: 16 Sep 2004
+# Whom: Roman Bogorodskiy <bogorodskiy@inbox.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flowtools
+PORTVERSION= 0.3
+CATEGORIES= net-mgmt python
+MASTER_SITES= http://mail.net.informatik.tu-muenchen.de/~robin/flowtools/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyflowtools-${PORTVERSION}
+
+MAINTAINER= bogorodskiy@inbox.ru
+COMMENT= Python extension module for reading flow-tools' data
+
+BUILD_DEPENDS= ${LOCALBASE}/include/ftlib.h:${PORTSDIR}/net-mgmt/flow-tools
+
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/py-flowtools/distinfo b/net-mgmt/py-flowtools/distinfo
new file mode 100644
index 000000000000..3516f88b3c61
--- /dev/null
+++ b/net-mgmt/py-flowtools/distinfo
@@ -0,0 +1,2 @@
+MD5 (pyflowtools-0.3.tar.gz) = a9268d59812aeb5f34c1d41a6535ef95
+SIZE (pyflowtools-0.3.tar.gz) = 12510
diff --git a/net-mgmt/py-flowtools/pkg-descr b/net-mgmt/py-flowtools/pkg-descr
new file mode 100644
index 000000000000..54f31698bf9b
--- /dev/null
+++ b/net-mgmt/py-flowtools/pkg-descr
@@ -0,0 +1,10 @@
+py-flowtools extension module gives you a simple python interface
+to NetFlow data as stored by Mark Fullmer's flow-tools package.
+
+It contains a class FlowSet which reads the data from a given file
+(or from standard input). A FlowSet provides an iterator interface
+to access the individual flow records as instances of a second
+class called Flow. A Flow provides access to its data through
+attribute references.
+
+WWW: http://mail.net.informatik.tu-muenchen.de/~robin/flowtools/
diff --git a/net-mgmt/py-flowtools/pkg-plist b/net-mgmt/py-flowtools/pkg-plist
new file mode 100644
index 000000000000..2b03d065a65a
--- /dev/null
+++ b/net-mgmt/py-flowtools/pkg-plist
@@ -0,0 +1 @@
+%%PYTHON_SITELIBDIR%%/flowtools.so