Date: Sun, 20 May 2007 16:22:29 +0200 (CEST) From: mohacsi@niif.hu To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/112807: [NEW PORT] net-mgmt/nfdump-devel: Development version of tools to collect and process NetFlow data Message-ID: <200705201422.l4KEMTxN061378@skye.ki.iif.hu> Resent-Message-ID: <200705201440.l4KEe54n085897@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 112807 >Category: ports >Synopsis: [NEW PORT] net-mgmt/nfdump-devel: Development version of tools to collect and process NetFlow data >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: Sun May 20 14:40:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 5.5-STABLE i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD skye.ki.iif.hu 5.5-STABLE FreeBSD 5.5-STABLE #3: Mon May 7 18:11:54 CEST >Description: NFDUMP tools support netflow v5, v7 and v9 capturing and processing. nfcapd - netflow capture daemon. Reads the netflow data from the network and stores the data into files. nfdump - netflow dump. Reads the netflow data from the files stored by nfcapd. It's syntax is similar to tcpdump. If you like tcpdump you will like nfdump. nfprofile - netflow profiler. Reads the netflow data from the files stored by nfcapd. Filters the netflow data according to the specified filter sets ( profiles ) and stores the filtered data into files for later use. nfreplay - netflow replay Reads the netflow data from the files stored by nfcapd and sends it over the network to another host. ft2nfdump - flow-tools to nfdump - optional component WWW: http://nfdump.sourceforge.net Janos Mohacsi <janos.mohacsi@bsd.hu> Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- nfdump-devel-20070312.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: # # nfdump-devel # nfdump-devel/files # nfdump-devel/files/patch-ft2nfdump.c # nfdump-devel/files/patch-configure # nfdump-devel/files/patch-Makefile.in # nfdump-devel/pkg-descr # nfdump-devel/distinfo # nfdump-devel/Makefile # echo c - nfdump-devel mkdir -p nfdump-devel > /dev/null 2>&1 echo c - nfdump-devel/files mkdir -p nfdump-devel/files > /dev/null 2>&1 echo x - nfdump-devel/files/patch-ft2nfdump.c sed 's/^X//' >nfdump-devel/files/patch-ft2nfdump.c << 'END-of-nfdump-devel/files/patch-ft2nfdump.c' X X$FreeBSD$ X X--- ft2nfdump.c.orig X+++ ft2nfdump.c X@@ -66,7 +66,7 @@ X #include "nffile.h" X #include "launch.h" X X-#include "ftbuild.h" X+/*#include "ftbuild.h" */ X X /* Global defines */ X #define MAXRECORDS 30 END-of-nfdump-devel/files/patch-ft2nfdump.c echo x - nfdump-devel/files/patch-configure sed 's/^X//' >nfdump-devel/files/patch-configure << 'END-of-nfdump-devel/files/patch-configure' X X$FreeBSD: ports/net-mgmt/nfdump/files/patch-configure,v 1.1 2006/04/01 22:57:30 pav Exp $ X X--- configure.orig X+++ configure X@@ -2843,7 +2843,7 @@ X fi X X if test -d "$WHERE_FTPATH"; then X- if test ! -f "$WHERE_FTPATH/lib/ftlib.h"; then X+ if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then X { { echo "$as_me:$LINENO: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&5 X echo "$as_me: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&2;} X { (exit 1); exit 1; }; } X@@ -2853,7 +2853,7 @@ X echo "$as_me: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&2;} X { (exit 1); exit 1; }; } X fi X- FT_INCLUDES="-I$WHERE_FTPATH/src -I$WHERE_FTPATH/lib" X+ FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib" X FT_LDFLAGS="-L$WHERE_FTPATH/lib" X else X { { echo "$as_me:$LINENO: error: flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" >&5 END-of-nfdump-devel/files/patch-configure echo x - nfdump-devel/files/patch-Makefile.in sed 's/^X//' >nfdump-devel/files/patch-Makefile.in << 'END-of-nfdump-devel/files/patch-Makefile.in' X X$FreeBSD$ X X--- Makefile.in.orig X+++ Makefile.in X@@ -108,8 +108,8 @@ X test -d $(MANDIR)/man1 || install -d -o root -g bin -m 755 $(MANDIR)/man1 X for file in $(OBJECTS); do \ X if [ -f $$file.1 ]; then \ X- $(INSTALL) -o root -g bin -m 755 $$file $(PREFIX)/bin ; \ X- $(INSTALL) -o root -g bin -m 644 $$file.1 $(MANDIR)/man1 ; \ X+ $(BSD_INSTALL_PROGRAM) $$file $(PREFIX)/bin ; \ X+ $(BSD_INSTALL_MAN) $$file.1 $(MANDIR)/man1 ; \ X fi \ X done; X END-of-nfdump-devel/files/patch-Makefile.in echo x - nfdump-devel/pkg-descr sed 's/^X//' >nfdump-devel/pkg-descr << 'END-of-nfdump-devel/pkg-descr' XNFDUMP tools support netflow v5, v7 and v9 capturing and processing. X Xnfcapd - netflow capture daemon. XReads the netflow data from the network and stores the data into files. X Xnfdump - netflow dump. XReads the netflow data from the files stored by nfcapd. It's syntax is similar Xto tcpdump. If you like tcpdump you will like nfdump. X Xnfprofile - netflow profiler. XReads the netflow data from the files stored by nfcapd. Filters the netflow Xdata according to the specified filter sets ( profiles ) and stores the Xfiltered data into files for later use. X Xnfreplay - netflow replay XReads the netflow data from the files stored by nfcapd and sends it over Xthe network to another host. X Xft2nfdump - flow-tools to nfdump - optional component X XWWW: http://nfdump.sourceforge.net X XJanos Mohacsi <janos.mohacsi@bsd.hu> END-of-nfdump-devel/pkg-descr echo x - nfdump-devel/distinfo sed 's/^X//' >nfdump-devel/distinfo << 'END-of-nfdump-devel/distinfo' XMD5 (nfdump-snapshot-20070312.tar.gz) = 4f8b1f3a88d6dd93042829f07f6bb0f3 XSHA256 (nfdump-snapshot-20070312.tar.gz) = c3815ba3a98a80150586fd5b7eaf9a2bd5d78164e15a7de5a63c4bcc70aeb149 XSIZE (nfdump-snapshot-20070312.tar.gz) = 280144 END-of-nfdump-devel/distinfo echo x - nfdump-devel/Makefile sed 's/^X//' >nfdump-devel/Makefile << 'END-of-nfdump-devel/Makefile' X# New ports collection makefile for: nfdump-devel X# Date created: 2007-05-20 X# Whom: Janos.Mohacsi@bsd.hu X# X# $FreeBSD$ X# X XPORTNAME= nfdump-devel XPORTVERSION= 20070312 XCATEGORIES= net-mgmt XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= nfdump XDISTNAME= nfdump-snapshot-${PORTVERSION} X XMAINTAINER= janos.mohacsi@bsd.hu XCOMMENT= Development version of tools to collect and process NetFlow data X XBUILD_DEPENDS= rrdtool:${PORTSDIR}/net/rrdtool XRUN_DEPENDS= ${BUILD_DEPENDS} X XGNU_CONFIGURE= yes XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} --enable-nfprofile --with-rrdpath=${LOCALBASE} X X#flow-tools support XOPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off \ X SFLOW "Build sflow collector daemon also" off X X.include <bsd.port.pre.mk> X X#for compatibility X# X.ifndef(WITHOUT_NFDUMP14_SUPPORT) XCONFIGURE_ARGS= --enable-compat14 X.endif X XPLIST_FILES= bin/nfcapd bin/nfdump bin/nfreplay bin/nfexpire bin/nfprofile XMAN1= nfcapd.1 nfdump.1 nfexpire.1 nfprofile.1 nfreplay.1 XPORTDOCS= AUTHORS ChangeLog INSTALL README X X#flow-tools support X.if defined(WITH_FT2NFDUMP) XBUILD_DEPENDS+= flow-cat:${PORTSDIR}/net-mgmt/flow-tools XCONFIGURE_ARGS+= --enable-ftconv --with-ftpath=${LOCALBASE} XPLIST_FILES+= bin/ft2nfdump XMAN1+= ft2nfdump.1 X.endif X X#sflow capture support X.if defined(WITH_SFLOW) XCONFIGURE_ARGS+= --enable-sflow XPLIST_FILES+= bin/sfcapd XMAN1+= sfcapd.1 X.endif X X.if !defined(NOPORTDOCS) Xpost-install: X ${MKDIR} ${DOCSDIR} X cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} X.endif X X.include <bsd.port.post.mk> END-of-nfdump-devel/Makefile exit --- nfdump-devel-20070312.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?200705201422.l4KEMTxN061378>