From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 12 22:20:26 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A19216A420 for ; Thu, 12 Jan 2006 22:20:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA0B143D69 for ; Thu, 12 Jan 2006 22:20:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0CMK7hn027993 for ; Thu, 12 Jan 2006 22:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0CMK7M6027989; Thu, 12 Jan 2006 22:20:07 GMT (envelope-from gnats) Resent-Date: Thu, 12 Jan 2006 22:20:07 GMT Resent-Message-Id: <200601122220.k0CMK7M6027989@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Janos Mohacsi Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 658A416A44A for ; Thu, 12 Jan 2006 22:19:47 +0000 (GMT) (envelope-from mohacsi@scone.ki.iif.hu) Received: from scone.ki.iif.hu (host86-140-134-69.range86-140.btcentralplus.com [86.140.134.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1B8243D70 for ; Thu, 12 Jan 2006 22:19:44 +0000 (GMT) (envelope-from mohacsi@scone.ki.iif.hu) Received: (from mohacsi@localhost) by scone.ki.iif.hu (8.13.4/8.13.4) id k0CMIvKs001768; Thu, 12 Jan 2006 23:18:57 +0100 (CET) (envelope-from mohacsi) Message-Id: <200601122218.k0CMIvKs001768@scone.ki.iif.hu> Date: Thu, 12 Jan 2006 23:18:57 +0100 (CET) From: Janos Mohacsi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/91725: [NEW PORT] net-mgmt/nfdump-devel: Command-line tools to collect and process NetFlow data X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Janos Mohacsi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 22:20:26 -0000 >Number: 91725 >Category: ports >Synopsis: [NEW PORT] net-mgmt/nfdump-devel: Command-line 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: Thu Jan 12 22:20:07 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 6.0-STABLE i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD scone.ki.iif.hu 6.0-STABLE FreeBSD 6.0-STABLE #7: Tue Dec 13 13:56:06 CET 2005 >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 Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- nfdump-devel-1.5.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-configure # nfdump-devel/files/patch-Makefile.in # nfdump-devel/files/patch-ft2nfdump.c # nfdump-devel/Makefile # nfdump-devel/distinfo # nfdump-devel/pkg-descr # 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-configure sed 's/^X//' >nfdump-devel/files/patch-configure << 'END-of-nfdump-devel/files/patch-configure' X X$FreeBSD$ 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@@ -90,23 +90,19 @@ X $(CC) $(CFLAGS) -o $@ $(FT2NF_OBJ) $(FT_LDFLAGS) $(FT_LIBS) X X install: $(OBJECTS) X- test -d $(PREFIX) || install -d -o root -g bin -m 755 $(PREFIX) X- test -d $(PREFIX)/bin || install -d -o root -g bin -m 755 $(PREFIX)/bin X- test -d $(MANDIR) || install -d -o root -g bin -m 755 $(MANDIR) X- test -d $(MANDIR)/man1 || install -d -o root -g bin -m 755 $(MANDIR)/man1 X- $(INSTALL) -o root -g bin -m 755 nfcapd $(PREFIX)/bin X- $(INSTALL) -o root -g bin -m 755 nfdump $(PREFIX)/bin X- $(INSTALL) -o root -g bin -m 755 nfprofile $(PREFIX)/bin X- $(INSTALL) -o root -g bin -m 755 nfreplay $(PREFIX)/bin X- test -f $(PREFIX)/bin/nfclean.pl || $(INSTALL) -o root -g bin -m 755 nfclean.pl $(PREFIX)/bin X+ $(BSD_INSTALL_PROGRAM) nfcapd $(PREFIX)/bin X+ $(BSD_INSTALL_PROGRAM) nfdump $(PREFIX)/bin X+ $(BSD_INSTALL_PROGRAM) nfprofile $(PREFIX)/bin X+ $(BSD_INSTALL_PROGRAM) nfreplay $(PREFIX)/bin X+ $(BSD_INSTALL_SCRIPT) nfclean.pl $(PREFIX)/bin X X- $(INSTALL) -o root -g bin -m 644 nfcapd.1 $(MANDIR)/man1 X- $(INSTALL) -o root -g bin -m 644 nfdump.1 $(MANDIR)/man1 X- $(INSTALL) -o root -g bin -m 644 nfprofile.1 $(MANDIR)/man1 X- $(INSTALL) -o root -g bin -m 644 nfreplay.1 $(MANDIR)/man1 X+ $(BSD_INSTALL_MAN) nfcapd.1 $(MANDIR)/man1 X+ $(BSD_INSTALL_MAN) nfdump.1 $(MANDIR)/man1 X+ $(BSD_INSTALL_MAN) nfprofile.1 $(MANDIR)/man1 X+ $(BSD_INSTALL_MAN) nfreplay.1 $(MANDIR)/man1 X if test -f ft2nfdump; then \ X- $(INSTALL) -o root -g bin -m 755 ft2nfdump $(PREFIX)/bin; \ X- $(INSTALL) -o root -g bin -m 644 ft2nfdump.1 $(MANDIR)/man1; \ X+ $(BSD_INSTALL_PROGRAM) ft2nfdump $(PREFIX)/bin; \ X+ $(BSD_INSTALL_MAN) ft2nfdump.1 $(MANDIR)/man1; \ X fi; X X uninstall: END-of-nfdump-devel/files/patch-Makefile.in 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@@ -54,7 +54,7 @@ X X #include X #include X-#include "ftbuild.h" X+/*#include "ftbuild.h" */ X X #include X END-of-nfdump-devel/files/patch-ft2nfdump.c 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: 2006-01-12 X# Whom: Janos.Mohacsi@bsd.hu X# X# $FreeBSD$ X# X XPORTNAME= nfdump XPORTVERSION= 1.5 XCATEGORIES= net-mgmt XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XPKGNAMESUFFIX= -devel XDISTNAME= ${PORTNAME}-${PORTVERSION}-beta-3 X XMAINTAINER= janos.mohacsi@bsd.hu XCOMMENT= Command-line tools to collect and process NetFlow data X XGNU_CONFIGURE= yes XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} X#for compatibility X# X.ifndef(WITHOUT_NFDUMP14_SUPPORT) XCONFIGURE_ARGS= --enable-compat14 X.endif X#flow-tools support XOPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off X X.include X XPLIST_FILES= bin/nfcapd bin/nfdump bin/nfprofile bin/nfreplay bin/nfclean.pl XMAN1= nfcapd.1 nfdump.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.if !defined(NOPORTDOCS) Xpost-install: X ${MKDIR} ${DOCSDIR} X cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} X.endif X X.include END-of-nfdump-devel/Makefile echo x - nfdump-devel/distinfo sed 's/^X//' >nfdump-devel/distinfo << 'END-of-nfdump-devel/distinfo' XMD5 (nfdump-1.5-beta-3.tar.gz) = 9e8fed7097d809d11afdf6c3e3003720 XSHA256 (nfdump-1.5-beta-3.tar.gz) = 6768f8a360475daf7d011bc6d6536fcb2462b876c7fa3f208106a8b3678f38ea XSIZE (nfdump-1.5-beta-3.tar.gz) = 186927 END-of-nfdump-devel/distinfo 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 END-of-nfdump-devel/pkg-descr exit --- nfdump-devel-1.5.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: