ports/72684: [ new port ] net-mgmt/py-flowtools: Python extension module for reading flow-tools' data
Roman Bogorodskiy
bogorodskiy at inbox.ru
Thu Oct 14 13:01:02 UTC 2004
>Number: 72684
>Category: ports
>Synopsis: [ new port ] net-mgmt/py-flowtools: Python extension module for reading flow-tools' data
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 14 13:00:53 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 5.3-BETA7 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.3-BETA7 FreeBSD 5.3-BETA7 #11: Sun Oct 10 18:12:32 MSD 2004 root at lame.novel.ru:/usr/obj/usr/home/novel/current/src/sys/NOVEL i386
>Description:
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.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# py-flowtools
# py-flowtools/Makefile
# py-flowtools/distinfo
# py-flowtools/pkg-descr
# py-flowtools/pkg-plist
#
echo c - py-flowtools
mkdir -p py-flowtools > /dev/null 2>&1
echo x - py-flowtools/Makefile
sed 's/^X//' >py-flowtools/Makefile << 'END-of-py-flowtools/Makefile'
X# Ports collection makefile for: py-flowtools
X# Date created: 16 Sep 2004
X# Whom: Roman Bogorodskiy <bogorodskiy at inbox.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= flowtools
XPORTVERSION= 0.3
XCATEGORIES= net-mgmt python
XMASTER_SITES= http://mail.net.informatik.tu-muenchen.de/~robin/flowtools/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
XDISTNAME= pyflowtools-${PORTVERSION}
X
XMAINTAINER= bogorodskiy at inbox.ru
XCOMMENT= Python extension module for reading flow-tools' data
X
XBUILD_DEPENDS= ${LOCALBASE}/include/ftlib.h:${PORTSDIR}/net-mgmt/flow-tools
X
XCFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= yes
X
X.include <bsd.port.mk>
END-of-py-flowtools/Makefile
echo x - py-flowtools/distinfo
sed 's/^X//' >py-flowtools/distinfo << 'END-of-py-flowtools/distinfo'
XMD5 (pyflowtools-0.3.tar.gz) = a9268d59812aeb5f34c1d41a6535ef95
XSIZE (pyflowtools-0.3.tar.gz) = 12510
END-of-py-flowtools/distinfo
echo x - py-flowtools/pkg-descr
sed 's/^X//' >py-flowtools/pkg-descr << 'END-of-py-flowtools/pkg-descr'
Xpy-flowtools extension module gives you a simple python interface
Xto NetFlow data as stored by Mark Fullmer's flow-tools package.
X
XIt contains a class FlowSet which reads the data from a given file
X(or from standard input). A FlowSet provides an iterator interface
Xto access the individual flow records as instances of a second
Xclass called Flow. A Flow provides access to its data through
Xattribute references.
X
XWWW: http://mail.net.informatik.tu-muenchen.de/~robin/flowtools/
END-of-py-flowtools/pkg-descr
echo x - py-flowtools/pkg-plist
sed 's/^X//' >py-flowtools/pkg-plist << 'END-of-py-flowtools/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/flowtools.so
END-of-py-flowtools/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list