From owner-freebsd-ports Tue Jul 25 10:50:11 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 092B937B97A for ; Tue, 25 Jul 2000 10:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA54514; Tue, 25 Jul 2000 10:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 9F73F37B6D4 for ; Tue, 25 Jul 2000 10:42:02 -0700 (PDT) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id VAA21238; Tue, 25 Jul 2000 21:42:00 +0400 (MSD) Message-Id: <200007251742.VAA21238@aaz.links.ru> Date: Tue, 25 Jul 2000 21:42:00 +0400 (MSD) From: .@babolo.ru Reply-To: .@babolo.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/20178: New port: net/flow-tools Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20178 >Category: ports >Synopsis: Programs to work with Cisco NetFlow >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 25 10:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Aleksandr A. Babaylov >Release: FreeBSD 4.0-STABLE i386 >Organization: home >Environment: N/A >Description: Tools to capture, replicate, print, filter, send and other works on Cisco's NetFlow Export. >How-To-Repeat: N/A >Fix: # 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: # # flow-tools # flow-tools/Makefile # flow-tools/pkg # flow-tools/pkg/PLIST # flow-tools/pkg/COMMENT # flow-tools/pkg/DESCR # flow-tools/files # flow-tools/files/md5 # flow-tools/patches # flow-tools/patches/patch-aa # flow-tools/patches/patch-ab # echo c - flow-tools mkdir -p flow-tools > /dev/null 2>&1 echo x - flow-tools/Makefile sed 's/^X//' >flow-tools/Makefile << 'END-of-flow-tools/Makefile' X# New ports collection makefile for: flow-tools X# Date created: 2000 Jul 25 X# Whom: @BABOLO <.@babolo.ru> X# X# $FreeBSD: $ X# X XPORTNAME= flow-tools XPORTVERSION= 0.34 XCATEGORIES= net XMASTER_SITES= ftp://ftp.net.ohio-state.edu/users/maf/cisco/ X XMAINTAINER= .@babolo.ru X XALL_TARGET= i386-fbsd docs XUSE_GMAKE= yes X XMAN1= flow-capture.1 flow-export.1 flow-stat.1 flow-cat.1 \ X flow-fanout.1 flow-tools.1 flow-dscan.1 flow-filter.1 \ X flow-print.1 flow-expire.1 flow-gen.1 flow-profile.1 X X#MANCOMPRESSED= yes X X.include END-of-flow-tools/Makefile echo c - flow-tools/pkg mkdir -p flow-tools/pkg > /dev/null 2>&1 echo x - flow-tools/pkg/PLIST sed 's/^X//' >flow-tools/pkg/PLIST << 'END-of-flow-tools/pkg/PLIST' Xbin/flow-capture Xbin/flow-stat Xbin/flow-print Xbin/flow-cat Xbin/flow-dscan Xbin/flow-export Xbin/flow-filter Xbin/flow-fanout Xbin/flow-send Xbin/flow-receive Xbin/flow-gen Xbin/flow-profile Xbin/flow-expire END-of-flow-tools/pkg/PLIST echo x - flow-tools/pkg/COMMENT sed 's/^X//' >flow-tools/pkg/COMMENT << 'END-of-flow-tools/pkg/COMMENT' XPrograms to work with Cisco NetFlow END-of-flow-tools/pkg/COMMENT echo x - flow-tools/pkg/DESCR sed 's/^X//' >flow-tools/pkg/DESCR << 'END-of-flow-tools/pkg/DESCR' XTools to capture, replicate, print, filter, send and other works Xon Cisco's NetFlow Export. X XWWW: http://www.usenix.org/publications/login/1999-9/osu.html END-of-flow-tools/pkg/DESCR echo c - flow-tools/files mkdir -p flow-tools/files > /dev/null 2>&1 echo x - flow-tools/files/md5 sed 's/^X//' >flow-tools/files/md5 << 'END-of-flow-tools/files/md5' XMD5 (flow-tools-0.34.tar.gz) = 994ba902972cea7497a9fa0f0b927275 END-of-flow-tools/files/md5 echo c - flow-tools/patches mkdir -p flow-tools/patches > /dev/null 2>&1 echo x - flow-tools/patches/patch-aa sed 's/^X//' >flow-tools/patches/patch-aa << 'END-of-flow-tools/patches/patch-aa' X--- asn2c.orig Fri May 1 19:35:11 1998 X+++ asn2c Mon Jul 17 19:32:58 2000 X@@ -1,4 +1,4 @@ X-#!/usr/local/bin/perl X+#!/usr/bin/perl X X # X # converts internic netinfo/asn.txt to C code END-of-flow-tools/patches/patch-aa echo x - flow-tools/patches/patch-ab sed 's/^X//' >flow-tools/patches/patch-ab << 'END-of-flow-tools/patches/patch-ab' X--- Makefile.orig Mon May 1 22:54:20 2000 X+++ Makefile Tue Jul 25 19:30:16 2000 X@@ -32,22 +32,29 @@ X FL="flow-tools" X DIST=flow-tools-0.34 X SHELL=/bin/sh X-BINDIR=/usr/local/netflow/bin X+PREFIX ?= /usr/local X+BINDIR ?= ${PREFIX}/bin X+MANDIR ?= ${PREFIX}/man X X LEX=flex X CC=gcc X-INSTALL=install -c -m0755 X+ X+BINMODE ?= 0555 X+MANMODE ?= 0444 X+INSTALL_PROGRAM ?= install -c -s -o root -g wheel -m ${BINMODE} X+INSTALL_MAN ?= install -c -o root -g wheel -m ${MANMODE} X+ X X YACC=yacc -t -v X #YACC=bison -y X X POD2MAN=pod2man X POD2HTML=pod2html X-P2MFLAGS = --center="OSU FLOW TOOLS" --date="2000-04-26" X+P2MFLAGS = --center="OSU FLOW TOOLS" --date="2000-04-26" --release="OSU flow tools 0.34" X X X #CFLAGS = -g -DPOSIX_SIGNALS -DDEBUG -DLIBWRAP -I/usr/local/include -L/usr/local/lib X-CFLAGS = -O2 -funroll-all-loops -ffast-math -I/usr/local/include -L/usr/local/lib -DPOSIX_SIGNALS -DLIBWRAP X+CFLAGS+= -O2 -funroll-all-loops -ffast-math -I/usr/local/include -L/usr/local/lib -DPOSIX_SIGNALS -DLIBWRAP X X LIBS = -L. -lz X X@@ -94,20 +101,23 @@ X #flow-test X X MAN = flow-capture.1 flow-export.1 flow-stat.1 flow-cat.1 \ X- flow-fanout.1 flow-mirror.1 flow-tools.1 flow-dscan.1 flow-filter.1 \ X- flow-print.1 flow-expire.1 flow-gen.1 flow-search.1 flow-profile.1 X+ flow-fanout.1 flow-tools.1 flow-dscan.1 flow-filter.1 \ X+ flow-print.1 flow-expire.1 flow-gen.1 flow-profile.1 X X HTML = flow-capture.html flow-export.html flow-stat.html \ X- flow-cat.html flow-fanout.html flow-mirror.html flow-tools.html \ X+ flow-cat.html flow-fanout.html flow-tools.html \ X flow-dscan.html flow-filter.html flow-print.html flow-expire.html \ X- flow-gen.html flow-search.html flow-profile.html X+ flow-gen.html flow-profile.html X X all: ${BINS} X X install: X mkdir -p ${BINDIR} X- ${INSTALL} ${BINS} flow-mirror ${BINDIR} X+ ${INSTALL_PROGRAM} ${BINS} ${BINDIR} X @echo files installed in ${BINDIR} X+ mkdir -p ${MANDIR}/man1 X+ ${INSTALL_MAN} ${MAN} ${MANDIR}/man1 X+ @echo files installed in ${MANDIR}/man1 X X clean: X /bin/rm -f ${BINS} *.o sym_asn.c *.1 *.html END-of-flow-tools/patches/patch-ab exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message