Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2004 17:48:03 +0100 (CET)
From:      Janos Mohacsi <janos.mohacsi@niif.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73722: [NEW PORT] net-mgmt/flowd: The clowd is a small, fast and secure NetFlow collector
Message-ID:  <200411091648.iA9Gm3rt062914@scone.ki.iif.hu>
Resent-Message-ID: <200411091650.iA9GoTSB085053@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73722
>Category:       ports
>Synopsis:       [NEW PORT] net-mgmt/flowd: The clowd is a small, fast and secure NetFlow collector
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 09 16:50:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 5.3-STABLE FreeBSD 5.3-STABLE #4: Mon Oct 18 13:14:24 CEST 2004
>Description:
flowd is a small, fast and secure NetFlow collector. It offers the following 
features:

    * Understands NetFlow protocol v.1, v.5, v.7 and v.9 (including IPv6 flows)
    * Supports both IPv4 and IPv6 transport of flows
    * Secure: flowd is privilege separated to limit the impact of any compromise
    * Supports filtering and tagging of flows, using a packet filter-like syntax
    * Stores recorded flow data in a compact binary format which supports 
      run-time choice over which flow fields are stored
    * Ships with both Perl and Python interfaces for reading and parsing the 
      on-disk record format
    * Is licensed under a liberal BSD-like license

WWW: http://www.mindrot.org/flowd.html

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
Apply this shar.
>Fix:

--- flowd-0.7.shar begins here ---
# 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:
#
#	flowd
#	flowd/pkg-descr
#	flowd/distinfo
#	flowd/Makefile
#	flowd/files
#	flowd/files/patch-Makefile.in
#	flowd/pkg-plist
#
echo c - flowd
mkdir -p flowd > /dev/null 2>&1
echo x - flowd/pkg-descr
sed 's/^X//' >flowd/pkg-descr << 'END-of-flowd/pkg-descr'
Xflowd is a small, fast and secure NetFlow collector. It offers the following 
Xfeatures:
X
X    * Understands NetFlow protocol v.1, v.5, v.7 and v.9 (including IPv6 flows)
X    * Supports both IPv4 and IPv6 transport of flows
X    * Secure: flowd is privilege separated to limit the impact of any compromise
X    * Supports filtering and tagging of flows, using a packet filter-like syntax
X    * Stores recorded flow data in a compact binary format which supports 
X      run-time choice over which flow fields are stored
X    * Ships with both Perl and Python interfaces for reading and parsing the 
X      on-disk record format
X    * Is licensed under a liberal BSD-like license
X
XWWW: http://www.mindrot.org/flowd.html
END-of-flowd/pkg-descr
echo x - flowd/distinfo
sed 's/^X//' >flowd/distinfo << 'END-of-flowd/distinfo'
XMD5 (flowd-0.7.tar.gz) = bf8a7a257b571c484e417e0b3b7bf80e
XSIZE (flowd-0.7.tar.gz) = 151898
END-of-flowd/distinfo
echo x - flowd/Makefile
sed 's/^X//' >flowd/Makefile << 'END-of-flowd/Makefile'
X# New ports collection makefile for:   flowd
X# Date created:        9 October 2004
X# Whom:                Janos Mohacsi <janos.mohacsi@bsd.hu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	flowd
XPORTVERSION=	0.7
XCATEGORIES=	net-mgmt ipv6
XMASTER_SITES=	http://www2.mindrot.org/files/flowd/
X
XMAINTAINER=	janos.mohacsi@bsd.hu
XCOMMENT=	The clowd is a small, fast and secure NetFlow collector
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XMAN8=		flowd.8 flowd-reader.8
XMAN5=		flowd.conf.5
XPORTDOCS=	README INSTALL
X
X.if defined(WITH_PERL)
XUSE_PERL5=	yes
XPLIST_SUB+=	WITH_PERL=""
X#MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X#MAN3=		Flowd.3
X.else
XPLIST_SUB+=	WITH_PERL="@comment "
X.endif
X
X.if defined(WITH_PYTHON)
XUSE_PYTHON=	yes
XPLIST_SUB+=	WITH_PYTHON=""
X.else
XPLIST_SUB+=	WITH_PYTHON="@comment "
X.endif
X
Xpre-extract:
X	@${ECHO_MSG} ""
X.if defined(WITH_PERL)
X	@${ECHO_MSG} "Build with perl bindings."
X.else
X	@${ECHO_MSG} "You can enable perl bindings by defining WITH_PERL"
X.endif
X	@${ECHO_MSG} ""
X.if defined(WITH_PYTHON)
X	@${ECHO_MSG} "Build with Python bindings."
X.else
X	@${ECHO_MSG} "You can enable Python bindings by defining WITH_PYTHON."
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
Xpost-install:
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
X.endif
X
X.if defined(WITH_PERL)
X	cd ${WRKSRC}/Flowd && \
X	${PERL} Makefile.PL  && \
X	${GMAKE} && \
X	${GMAKE} install
X.endif
X
X.if defined(WITH_PYTHON)
X	cd ${WRKSRC} && \
X	${PYTHON_CMD} setup.py build && \
X	${PYTHON_CMD} setup.py install
X.endif
X
X.include <bsd.port.mk>
END-of-flowd/Makefile
echo c - flowd/files
mkdir -p flowd/files > /dev/null 2>&1
echo x - flowd/files/patch-Makefile.in
sed 's/^X//' >flowd/files/patch-Makefile.in << 'END-of-flowd/files/patch-Makefile.in'
X
X$FreeBSD$
X
X--- Makefile.in.orig
X+++ Makefile.in
X@@ -95,7 +95,7 @@
X install-conf: flowd.conf
X 	$(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
X 	test -f $(DESTDIR)$(sysconfdir)/flowd.conf || \
X-	    $(INSTALL) -m 0600 flowd.conf $(DESTDIR)$(sysconfdir)
X+	    $(INSTALL) -m 0600 flowd.conf $(DESTDIR)$(sysconfdir)/flowd.conf.sample
X 
X install-lib: libflowd.a
X 	$(srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
END-of-flowd/files/patch-Makefile.in
echo x - flowd/pkg-plist
sed 's/^X//' >flowd/pkg-plist << 'END-of-flowd/pkg-plist'
Xbin/flowd-reader
Xsbin/flowd
Xlib/libflowd.a
Xinclude/flowd/addr.h
Xinclude/flowd/crc32.h
Xinclude/flowd/store.h
Xetc/flowd.conf.sample
X%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Flowd/Flowd.so
X%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Flowd/Flowd.bs
X%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Flowd/.packlist
X%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Flowd.pm
X%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Flowd
X%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/
X%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/flowd_serialiser.so
X%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/flowd.pyc
X%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/flowd.py
END-of-flowd/pkg-plist
exit
--- flowd-0.7.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411091648.iA9Gm3rt062914>