From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 29 14:40:22 2004 Return-Path: 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 5EE4116A4CE for ; Wed, 29 Sep 2004 14:40:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E94143D48 for ; Wed, 29 Sep 2004 14:40:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8TEeLOc066906 for ; Wed, 29 Sep 2004 14:40:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8TEeLuV066905; Wed, 29 Sep 2004 14:40:21 GMT (envelope-from gnats) Resent-Date: Wed, 29 Sep 2004 14:40:21 GMT Resent-Message-Id: <200409291440.i8TEeLuV066905@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 15F4616A4CE for ; Wed, 29 Sep 2004 14:39:01 +0000 (GMT) Received: from scone.ki.iif.hu (pulpito.crc2002.fccn.pt [193.137.248.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33C0A43D2D for ; Wed, 29 Sep 2004 14:38:59 +0000 (GMT) (envelope-from mohacsi@scone.ki.iif.hu) Received: (from mohacsi@localhost) by scone.ki.iif.hu (8.13.1/8.13.1) id i8TEchEl019696; Wed, 29 Sep 2004 16:38:43 +0200 (CEST) (envelope-from mohacsi) Message-Id: <200409291438.i8TEchEl019696@scone.ki.iif.hu> Date: Wed, 29 Sep 2004 16:38:43 +0200 (CEST) From: Janos Mohacsi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/72171: [NEW PORT] net-mgmt/nfdump: Tools to collect and process netflow data on the command line X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 29 Sep 2004 14:40:22 -0000 >Number: 72171 >Category: ports >Synopsis: [NEW PORT] net-mgmt/nfdump: Tools to collect and process netflow data on the command line >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: Wed Sep 29 14:40:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 5.3-BETA4 i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD scone.ki.iif.hu 5.3-BETA4 FreeBSD 5.3-BETA4 #3: Sun Sep 12 20:30:09 CEST 2004 >Description: NFDUMP tools support netflow v5 and v7 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. WWW: http://nfdump.sourceforge.net Janos Mohacsi Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: Apply this shar. >Fix: --- nfdump-1.1.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 # nfdump/pkg-plist # nfdump/pkg-descr # nfdump/distinfo # nfdump/Makefile # nfdump/files # nfdump/files/patch-Makefile.in # echo c - nfdump mkdir -p nfdump > /dev/null 2>&1 echo x - nfdump/pkg-plist sed 's/^X//' >nfdump/pkg-plist << 'END-of-nfdump/pkg-plist' Xbin/nfcapd Xbin/nfdump Xbin/nfprofile Xbin/nfreplay Xbin/nfclean.pl X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-nfdump/pkg-plist echo x - nfdump/pkg-descr sed 's/^X//' >nfdump/pkg-descr << 'END-of-nfdump/pkg-descr' XNFDUMP tools support netflow v5 and v7 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 X XWWW: http://nfdump.sourceforge.net X XJanos Mohacsi END-of-nfdump/pkg-descr echo x - nfdump/distinfo sed 's/^X//' >nfdump/distinfo << 'END-of-nfdump/distinfo' XMD5 (nfdump-1.1.tar.gz) = b9085f91d64985e856e43200d2869a87 XSIZE (nfdump-1.1.tar.gz) = 92044 END-of-nfdump/distinfo echo x - nfdump/Makefile sed 's/^X//' >nfdump/Makefile << 'END-of-nfdump/Makefile' X# New ports collection makefile for: nfdump X# Date created: 29.09.2004 X# Whom: Janos.Mohacsi@bsd.hu X# X# $FreeBSD$ X# X XPORTNAME= nfdump XPORTVERSION= 1.1 XCATEGORIES= net-mgmt XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= janos.mohacsi@bsd.hu XCOMMENT= Tools to collect and process netflow data on the command line X XGNU_CONFIGURE= yes XMAN1= nfcapd.1 nfdump.1 nfprofile.1 nfreplay.1 X XDOC_FILES= AUTHORS ChangeLog INSTALL README X Xpost-install: X.ifndef(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for file in ${DOC_FILES} X @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X.include END-of-nfdump/Makefile echo c - nfdump/files mkdir -p nfdump/files > /dev/null 2>&1 echo x - nfdump/files/patch-Makefile.in sed 's/^X//' >nfdump/files/patch-Makefile.in << 'END-of-nfdump/files/patch-Makefile.in' X X$FreeBSD$ X X--- Makefile.in.orig Wed Sep 22 09:23:10 2004 X+++ Makefile.in Wed Sep 29 16:31:23 2004 X@@ -47,7 +47,7 @@ X LFLAGS = -i X LDFLAGS = @LIBS@ X PREFIX = @prefix@ X-MANDIR = @mandir@ X+MANDIR = @prefix@ X FSRC = grammar.c scanner.c nftree.c netflow_v5.c netflow_v7.c nfstat.c util.c X FOBJ = $(FSRC:.c=.o) X ASRC = $(FSRC) nfdump.c nftree_check.c nfreplay.c X@@ -82,20 +82,20 @@ X $(CC) $(CFLAGS) $(INCS) -o $@ nfreplay.o $(FOBJ) $(LDFLAGS) X X install: $(OBJECTS) X- test -d $(PREFIX) || install -d -o root -g root -m 755 $(PREFIX) X- test -d $(PREFIX)/bin || install -d -o root -g root -m 755 $(PREFIX)/bin X- test -d $(MANDIR)/man || install -d -o root -g root -m 755 $(MANDIR)/man X- test -d $(MANDIR)/man/man1 || install -d -o root -g root -m 755 $(MANDIR)/man/man1 X- $(INSTALL) -o root -g root -m 755 nfcapd $(PREFIX)/bin X- $(INSTALL) -o root -g root -m 755 nfdump $(PREFIX)/bin X- $(INSTALL) -o root -g root -m 755 nfprofile $(PREFIX)/bin X- $(INSTALL) -o root -g root -m 755 nfreplay $(PREFIX)/bin X- $(INSTALL) -o root -g root -m 755 nfclean.pl $(PREFIX)/bin X+ test -d $(PREFIX) || install -d -o root -g wheel -m 755 $(PREFIX) X+ test -d $(PREFIX)/bin || install -d -o root -g wheel -m 755 $(PREFIX)/bin X+ test -d $(MANDIR)/man || install -d -o root -g wheel -m 755 $(MANDIR)/man X+ test -d $(MANDIR)/man/man1 || install -d -o root -g wheel -m 755 $(MANDIR)/man/man1 X+ $(INSTALL) -o root -g wheel -m 755 nfcapd $(PREFIX)/bin X+ $(INSTALL) -o root -g wheel -m 755 nfdump $(PREFIX)/bin X+ $(INSTALL) -o root -g wheel -m 755 nfprofile $(PREFIX)/bin X+ $(INSTALL) -o root -g wheel -m 755 nfreplay $(PREFIX)/bin X+ $(INSTALL) -o root -g wheel -m 755 nfclean.pl $(PREFIX)/bin X X- $(INSTALL) -o root -g root -m 644 nfcapd.1 $(MANDIR)/man/man1 X- $(INSTALL) -o root -g root -m 644 nfdump.1 $(MANDIR)/man/man1 X- $(INSTALL) -o root -g root -m 644 nfprofile.1 $(MANDIR)/man/man1 X- $(INSTALL) -o root -g root -m 644 nfreplay.1 $(MANDIR)/man/man1 X+ $(INSTALL) -o root -g wheel -m 644 nfcapd.1 $(MANDIR)/man/man1 X+ $(INSTALL) -o root -g wheel -m 644 nfdump.1 $(MANDIR)/man/man1 X+ $(INSTALL) -o root -g wheel -m 644 nfprofile.1 $(MANDIR)/man/man1 X+ $(INSTALL) -o root -g wheel -m 644 nfreplay.1 $(MANDIR)/man/man1 X X uninstall: X /bin/rm -f $(PREFIX)/bin/nfcapd END-of-nfdump/files/patch-Makefile.in exit --- nfdump-1.1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: