summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-01-29 05:37:41 +0000
committerSteve Price <steve@FreeBSD.org>2000-01-29 05:37:41 +0000
commit83c80603a19fd315d9f9d85a6e99a2da53248b39 (patch)
treeecca4987f436e24bee0277dbca9ac1d09e419829 /net-mgmt
parentAdding tn5250 version 0.15.6. (diff)
Adding trafd version 3.0.
The BPF traffic collector. PR: 16294 Submitted by: Michael Vasilenko <acid@stu.cn.ua>
Notes
Notes: svn path=/head/; revision=25217
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/trafd/Makefile22
-rw-r--r--net-mgmt/trafd/distinfo1
-rw-r--r--net-mgmt/trafd/files/patch-aa21
-rw-r--r--net-mgmt/trafd/pkg-comment1
-rw-r--r--net-mgmt/trafd/pkg-descr21
-rw-r--r--net-mgmt/trafd/pkg-plist11
6 files changed, 77 insertions, 0 deletions
diff --git a/net-mgmt/trafd/Makefile b/net-mgmt/trafd/Makefile
new file mode 100644
index 000000000000..5d4e8b6f7776
--- /dev/null
+++ b/net-mgmt/trafd/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: trafd
+# Version required: 3.0
+# Date created: 22 January 2000
+# Whom: Michael Vasilenko <acid@stu.cn.ua>
+#
+# $FreeBSD$
+#
+
+DISTNAME= trafd-3.0
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.riss-telecom.ru/pub/dev/trafd/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/bpft
+ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/bpft/README
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/trafd/distinfo b/net-mgmt/trafd/distinfo
new file mode 100644
index 000000000000..9d255dda9b90
--- /dev/null
+++ b/net-mgmt/trafd/distinfo
@@ -0,0 +1 @@
+MD5 (trafd-3.0.tgz) = 7880a8de300414e6afefc8f9fcc1f69e
diff --git a/net-mgmt/trafd/files/patch-aa b/net-mgmt/trafd/files/patch-aa
new file mode 100644
index 000000000000..8a703a73dc9e
--- /dev/null
+++ b/net-mgmt/trafd/files/patch-aa
@@ -0,0 +1,21 @@
+--- Makefile.orig Sun Jan 23 16:02:11 2000
++++ Makefile Sun Jan 23 16:02:35 2000
+@@ -64,14 +64,14 @@
+ @echo "Done."
+
+ install: all
+- install -s -o root -g ${GROUP} -m ${MODE} trafd/trafd ${PATH_BINDIR}
++ install -c -s -o root -g ${GROUP} -m ${MODE} trafd/trafd ${PATH_BINDIR}
+ install -c -o root -g ${GROUP} -m ${MODE} trafd/trafstart ${PATH_BINDIR}
+ install -c -o root -g ${GROUP} -m ${MODE} trafd/trafstop ${PATH_BINDIR}
+ install -c -o root -g ${GROUP} -m ${MODE} trafd/trafsave ${PATH_BINDIR}
+ install -c -o root -g ${GROUP} -m ${MODE} trafd/trafdump ${PATH_BINDIR}
+- install -s -o root -g ${GROUP} -m ${MODE} trafstat/trafstat ${PATH_BINDIR}
+- install -s -o root -g ${GROUP} -m ${MODE} trafstatd/trafstatd ${PATH_BINDIR}
+- install -s -o root -g ${GROUP} -m ${MODE} traflog/traflog ${PATH_BINDIR}
++ install -c -s -o root -g ${GROUP} -m ${MODE} trafstat/trafstat ${PATH_BINDIR}
++ install -c -s -o root -g ${GROUP} -m ${MODE} trafstatd/trafstatd ${PATH_BINDIR}
++ install -c -s -o root -g ${GROUP} -m ${MODE} traflog/traflog ${PATH_BINDIR}
+ install -c -o root -g ${GROUP} -m ${MODE} traflog/traflog.format ${PATH_TRAFLOG_FMT}
+ @echo Done.
+
diff --git a/net-mgmt/trafd/pkg-comment b/net-mgmt/trafd/pkg-comment
new file mode 100644
index 000000000000..f2898ca78fed
--- /dev/null
+++ b/net-mgmt/trafd/pkg-comment
@@ -0,0 +1 @@
+The BPF Traffic Collector
diff --git a/net-mgmt/trafd/pkg-descr b/net-mgmt/trafd/pkg-descr
new file mode 100644
index 000000000000..b09137875231
--- /dev/null
+++ b/net-mgmt/trafd/pkg-descr
@@ -0,0 +1,21 @@
+bpft is a superset of trafshow, and extends it by adding a daemon
+which collects data about network connections (src, dst, protocol
+and length). The resulting data can be dumped to a file for later
+processing.
+
+Read /usr/local/share/doc/bpft/README after installation for more
+information.
+
+To use bpft, your kernel must be rebuilt with the following line
+added to your kernel config file (/sys/i386/conf/<YourMachine>):
+
+pseudo-device bpfilter 4 # Berkeley packet filter
+
+The number after bpfilter is the number of interfaces that can be
+examined simultaneously. See section 6.1 of the Handbook for details.
+
+On FreeBSD 4.0 or later versions, use the following line instead:
+
+pseudo-device bpf 4 # Berkeley packet filter
+
+- oddbjorn <oddbjorn@tricknology.org>
diff --git a/net-mgmt/trafd/pkg-plist b/net-mgmt/trafd/pkg-plist
new file mode 100644
index 000000000000..b6a9dcf01cc9
--- /dev/null
+++ b/net-mgmt/trafd/pkg-plist
@@ -0,0 +1,11 @@
+bin/trafd
+bin/trafdump
+bin/traflog
+bin/trafsave
+bin/trafstart
+bin/trafstat
+bin/trafstatd
+bin/trafstop
+etc/traflog.format
+share/doc/bpft/README
+@dirrm share/doc/bpft