aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/flow-tools
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-08-11 19:11:53 +0800
committerwill <will@FreeBSD.org>2000-08-11 19:11:53 +0800
commitcda5b196d366137afd538f91977ab237a7839b02 (patch)
tree2c64fd7837f259ed617c29c44b1d36f9c3859eb1 /net-mgmt/flow-tools
parent3d2b076fca38feae9c2bfd0fbc5a2397ce609fa9 (diff)
downloadfreebsd-ports-gnome-cda5b196d366137afd538f91977ab237a7839b02.tar.gz
freebsd-ports-gnome-cda5b196d366137afd538f91977ab237a7839b02.tar.zst
freebsd-ports-gnome-cda5b196d366137afd538f91977ab237a7839b02.zip
Add flow-tools 0.34, a set of tools to manipulate Cisco's NetFlow Export.
PR: 20178 Submitted by: Aleksandr A. Babaylov <.@babolo.ru>
Diffstat (limited to 'net-mgmt/flow-tools')
-rw-r--r--net-mgmt/flow-tools/Makefile24
-rw-r--r--net-mgmt/flow-tools/distinfo1
-rw-r--r--net-mgmt/flow-tools/files/patch-aa8
-rw-r--r--net-mgmt/flow-tools/files/patch-ab65
-rw-r--r--net-mgmt/flow-tools/pkg-comment1
-rw-r--r--net-mgmt/flow-tools/pkg-descr4
-rw-r--r--net-mgmt/flow-tools/pkg-plist13
7 files changed, 116 insertions, 0 deletions
diff --git a/net-mgmt/flow-tools/Makefile b/net-mgmt/flow-tools/Makefile
new file mode 100644
index 000000000000..66d65a5ac031
--- /dev/null
+++ b/net-mgmt/flow-tools/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: flow-tools
+# Date created: 2000 Jul 25
+# Whom: @BABOLO <.@babolo.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flow-tools
+PORTVERSION= 0.34
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.net.ohio-state.edu/users/maf/cisco/
+
+MAINTAINER= .@babolo.ru
+
+ALL_TARGET= i386-fbsd docs
+USE_GMAKE= yes
+
+MAN1= flow-capture.1 flow-export.1 flow-stat.1 flow-cat.1 \
+ flow-fanout.1 flow-tools.1 flow-dscan.1 flow-filter.1 \
+ flow-print.1 flow-expire.1 flow-gen.1 flow-profile.1
+
+#MANCOMPRESSED= yes
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/flow-tools/distinfo b/net-mgmt/flow-tools/distinfo
new file mode 100644
index 000000000000..1a2c4ae48768
--- /dev/null
+++ b/net-mgmt/flow-tools/distinfo
@@ -0,0 +1 @@
+MD5 (flow-tools-0.34.tar.gz) = 994ba902972cea7497a9fa0f0b927275
diff --git a/net-mgmt/flow-tools/files/patch-aa b/net-mgmt/flow-tools/files/patch-aa
new file mode 100644
index 000000000000..ab7f5a3e2ff8
--- /dev/null
+++ b/net-mgmt/flow-tools/files/patch-aa
@@ -0,0 +1,8 @@
+--- asn2c.orig Fri May 1 19:35:11 1998
++++ asn2c Mon Jul 17 19:32:58 2000
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+
+ #
+ # converts internic netinfo/asn.txt to C code
diff --git a/net-mgmt/flow-tools/files/patch-ab b/net-mgmt/flow-tools/files/patch-ab
new file mode 100644
index 000000000000..a1248d461de8
--- /dev/null
+++ b/net-mgmt/flow-tools/files/patch-ab
@@ -0,0 +1,65 @@
+--- Makefile.orig Mon May 1 22:54:20 2000
++++ Makefile Tue Jul 25 19:30:16 2000
+@@ -32,22 +32,29 @@
+ FL="flow-tools"
+ DIST=flow-tools-0.34
+ SHELL=/bin/sh
+-BINDIR=/usr/local/netflow/bin
++PREFIX ?= /usr/local
++BINDIR ?= ${PREFIX}/bin
++MANDIR ?= ${PREFIX}/man
+
+ LEX=flex
+ CC=gcc
+-INSTALL=install -c -m0755
++
++BINMODE ?= 0555
++MANMODE ?= 0444
++INSTALL_PROGRAM ?= install -c -s -o root -g wheel -m ${BINMODE}
++INSTALL_MAN ?= install -c -o root -g wheel -m ${MANMODE}
++
+
+ YACC=yacc -t -v
+ #YACC=bison -y
+
+ POD2MAN=pod2man
+ POD2HTML=pod2html
+-P2MFLAGS = --center="OSU FLOW TOOLS" --date="2000-04-26"
++P2MFLAGS = --center="OSU FLOW TOOLS" --date="2000-04-26" --release="OSU flow tools 0.34"
+
+
+ #CFLAGS = -g -DPOSIX_SIGNALS -DDEBUG -DLIBWRAP -I/usr/local/include -L/usr/local/lib
+-CFLAGS = -O2 -funroll-all-loops -ffast-math -I/usr/local/include -L/usr/local/lib -DPOSIX_SIGNALS -DLIBWRAP
++CFLAGS+= -O2 -funroll-all-loops -ffast-math -I/usr/local/include -L/usr/local/lib -DPOSIX_SIGNALS -DLIBWRAP
+
+ LIBS = -L. -lz
+
+@@ -94,20 +101,23 @@
+ #flow-test
+
+ MAN = flow-capture.1 flow-export.1 flow-stat.1 flow-cat.1 \
+- flow-fanout.1 flow-mirror.1 flow-tools.1 flow-dscan.1 flow-filter.1 \
+- flow-print.1 flow-expire.1 flow-gen.1 flow-search.1 flow-profile.1
++ flow-fanout.1 flow-tools.1 flow-dscan.1 flow-filter.1 \
++ flow-print.1 flow-expire.1 flow-gen.1 flow-profile.1
+
+ HTML = flow-capture.html flow-export.html flow-stat.html \
+- flow-cat.html flow-fanout.html flow-mirror.html flow-tools.html \
++ flow-cat.html flow-fanout.html flow-tools.html \
+ flow-dscan.html flow-filter.html flow-print.html flow-expire.html \
+- flow-gen.html flow-search.html flow-profile.html
++ flow-gen.html flow-profile.html
+
+ all: ${BINS}
+
+ install:
+ mkdir -p ${BINDIR}
+- ${INSTALL} ${BINS} flow-mirror ${BINDIR}
++ ${INSTALL_PROGRAM} ${BINS} ${BINDIR}
+ @echo files installed in ${BINDIR}
++ mkdir -p ${MANDIR}/man1
++ ${INSTALL_MAN} ${MAN} ${MANDIR}/man1
++ @echo files installed in ${MANDIR}/man1
+
+ clean:
+ /bin/rm -f ${BINS} *.o sym_asn.c *.1 *.html
diff --git a/net-mgmt/flow-tools/pkg-comment b/net-mgmt/flow-tools/pkg-comment
new file mode 100644
index 000000000000..46496e56824e
--- /dev/null
+++ b/net-mgmt/flow-tools/pkg-comment
@@ -0,0 +1 @@
+Programs to work with Cisco NetFlow
diff --git a/net-mgmt/flow-tools/pkg-descr b/net-mgmt/flow-tools/pkg-descr
new file mode 100644
index 000000000000..b5db6104714b
--- /dev/null
+++ b/net-mgmt/flow-tools/pkg-descr
@@ -0,0 +1,4 @@
+Tools to capture, replicate, print, filter, send and other works
+on Cisco's NetFlow Export.
+
+WWW: http://www.usenix.org/publications/login/1999-9/osu.html
diff --git a/net-mgmt/flow-tools/pkg-plist b/net-mgmt/flow-tools/pkg-plist
new file mode 100644
index 000000000000..5f5b5fc9b122
--- /dev/null
+++ b/net-mgmt/flow-tools/pkg-plist
@@ -0,0 +1,13 @@
+bin/flow-capture
+bin/flow-stat
+bin/flow-print
+bin/flow-cat
+bin/flow-dscan
+bin/flow-export
+bin/flow-filter
+bin/flow-fanout
+bin/flow-send
+bin/flow-receive
+bin/flow-gen
+bin/flow-profile
+bin/flow-expire