From 1d8bdadb5821011c9bb467a69e128127836a54cf Mon Sep 17 00:00:00 2001 From: msf Date: Wed, 13 Apr 2005 15:06:37 +0000 Subject: [PATCH] - initial import of py-flowtools-0.3 This extension module gives you a simple python interface to NetFlow data as stored by Mark Fullmer's flow-tools package (see http://www.splintered.net/sw/flow-tools). ok nikolay@ --- net/py-flowtools/Makefile | 35 +++++++++++++++++++++++++++++++++++ net/py-flowtools/distinfo | 4 ++++ net/py-flowtools/pkg/DESCR | 3 +++ net/py-flowtools/pkg/PLIST | 5 +++++ 4 files changed, 47 insertions(+) create mode 100644 net/py-flowtools/Makefile create mode 100644 net/py-flowtools/distinfo create mode 100644 net/py-flowtools/pkg/DESCR create mode 100644 net/py-flowtools/pkg/PLIST diff --git a/net/py-flowtools/Makefile b/net/py-flowtools/Makefile new file mode 100644 index 00000000000..7516936af21 --- /dev/null +++ b/net/py-flowtools/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/04/13 15:06:37 msf Exp $ + +SHARED_ONLY= Yes + +COMMENT= "python interface to flow-tools file format" + +DISTNAME= pyflowtools-0.3 +PKGNAME= ${DISTNAME:S/pyflow/py-flow/g} +CATEGORIES= net + +MAINTAINER= Mathieu Sauve-Frankel + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://mail.net.informatik.tu-muenchen.de/~robin/flowtools/ + +BUILD_DEPENDS= ::net/flow-tools +MODULES= lang/python + +NO_REGRESS= Yes + +MODPY_DISTUTILS_BUILD= build_ext +MODPY_DISTUTILS_BUILDARGS=-I${LOCALBASE}/include -L${LOCALBASE}/lib + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-flowtools + ${INSTALL_DATA} ${WRKSRC}/example.py \ + ${PREFIX}/share/examples/py-flowtools + ${INSTALL_SCRIPT} ${WRKSRC}/flowprint-full ${PREFIX}/bin + +.include diff --git a/net/py-flowtools/distinfo b/net/py-flowtools/distinfo new file mode 100644 index 00000000000..9c8036e6ecc --- /dev/null +++ b/net/py-flowtools/distinfo @@ -0,0 +1,4 @@ +MD5 (pyflowtools-0.3.tar.gz) = a9268d59812aeb5f34c1d41a6535ef95 +RMD160 (pyflowtools-0.3.tar.gz) = c2e5bda75694f37ecff510626fbe339a5a0db80b +SHA1 (pyflowtools-0.3.tar.gz) = 43b4e972e46b510bd3e4a925cdfe8161d16e785e +SIZE (pyflowtools-0.3.tar.gz) = 12510 diff --git a/net/py-flowtools/pkg/DESCR b/net/py-flowtools/pkg/DESCR new file mode 100644 index 00000000000..367d6d9695b --- /dev/null +++ b/net/py-flowtools/pkg/DESCR @@ -0,0 +1,3 @@ +This extension module gives you a simple python interface to NetFlow +data as stored by Mark Fullmer's flow-tools package (see +http://www.splintered.net/sw/flow-tools). diff --git a/net/py-flowtools/pkg/PLIST b/net/py-flowtools/pkg/PLIST new file mode 100644 index 00000000000..8fe163a351b --- /dev/null +++ b/net/py-flowtools/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/04/13 15:06:37 msf Exp $ +bin/flowprint-full +lib/python${MODPY_VERSION}/site-packages/flowtools.so +share/examples/py-flowtools/ +share/examples/py-flowtools/example.py