From 74b552997486b6c956c4db46c768f1fdf336d01a Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 15 Oct 2004 16:41:49 +0000 Subject: 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 --- net-mgmt/Makefile | 1 + net-mgmt/py-flowtools/Makefile | 24 ++++++++++++++++++++++++ net-mgmt/py-flowtools/distinfo | 2 ++ net-mgmt/py-flowtools/pkg-descr | 10 ++++++++++ net-mgmt/py-flowtools/pkg-plist | 1 + 5 files changed, 38 insertions(+) create mode 100644 net-mgmt/py-flowtools/Makefile create mode 100644 net-mgmt/py-flowtools/distinfo create mode 100644 net-mgmt/py-flowtools/pkg-descr create mode 100644 net-mgmt/py-flowtools/pkg-plist (limited to 'net-mgmt') 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 +# +# $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 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 -- cgit v1.2.3