diff options
Diffstat (limited to 'net-mgmt/trafd')
-rw-r--r-- | net-mgmt/trafd/Makefile | 34 | ||||
-rw-r--r-- | net-mgmt/trafd/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/trafd/files/patch-aa | 71 | ||||
-rw-r--r-- | net-mgmt/trafd/files/patch-ab | 7 | ||||
-rw-r--r-- | net-mgmt/trafd/files/patch-ac | 7 | ||||
-rw-r--r-- | net-mgmt/trafd/files/patch-ad | 7 | ||||
-rw-r--r-- | net-mgmt/trafd/files/patch-ae | 7 | ||||
-rw-r--r-- | net-mgmt/trafd/files/patch-ah | 39 | ||||
-rw-r--r-- | net-mgmt/trafd/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/trafd/pkg-descr | 21 | ||||
-rw-r--r-- | net-mgmt/trafd/pkg-plist | 14 |
11 files changed, 0 insertions, 209 deletions
diff --git a/net-mgmt/trafd/Makefile b/net-mgmt/trafd/Makefile deleted file mode 100644 index 4364e0c031ae..000000000000 --- a/net-mgmt/trafd/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# New ports collection makefile for: trafd -# Date created: 22 January 2000 -# Whom: Michael Vasilenko <acid@stu.cn.ua> -# -# $FreeBSD$ -# - -PORTNAME= trafd -PORTVERSION= 3.0.1 -CATEGORIES= net -MASTER_SITES= ftp://ftp.riss-telecom.ru/pub/dev/trafd/ -EXTRACT_SUFX= .tgz - -MAINTAINER= ports@FreeBSD.org - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/trafd/trafd ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafstart ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafstop ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafsave ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafdump ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/trafstat/trafstat ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/trafstatd/trafstatd ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/traflog/traflog ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/traflog/traflog.format ${PREFIX}/etc - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/trafd - ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/trafd/README -.endif - ${MKDIR} ${PREFIX}/var/trafd - ${MKDIR} ${PREFIX}/var/log -.include <bsd.port.mk> diff --git a/net-mgmt/trafd/distinfo b/net-mgmt/trafd/distinfo deleted file mode 100644 index ce0641ac7f92..000000000000 --- a/net-mgmt/trafd/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (trafd-3.0.1.tgz) = 4793d475ed8403d86012023ce459f88d diff --git a/net-mgmt/trafd/files/patch-aa b/net-mgmt/trafd/files/patch-aa deleted file mode 100644 index 250fb8c59302..000000000000 --- a/net-mgmt/trafd/files/patch-aa +++ /dev/null @@ -1,71 +0,0 @@ ---- Makefile.orig Thu Nov 25 03:38:29 1999 -+++ Makefile Thu Feb 17 00:51:02 2000 -@@ -12,22 +12,22 @@ - # - - # Target directory for install execution files. --PATH_BINDIR=/usr/local/bin -+PATH_BINDIR=${PREFIX}/bin - - # Target directory for install man pages. --PATH_MANDIR=/usr/local/man/man1 -+PATH_MANDIR=${MANPREFIX}/man1 - - # Trailing slash directory, summary traffic log files will be put there. --PATH_TOSAVE=/var/trafd/ -+PATH_TOSAVE=${PREFIX}/var/trafd/ - - # Full pathname where locate tarfstat program. --PATH_TRAFSTAT=/usr/local/bin/trafstat -+PATH_TRAFSTAT=${PREFIX}/bin/trafstat - - # Where locate trafstatd log file, if you want log then file must exist. --PATH_TRAFSTAT_LOG=/var/log/trafstat.log -+PATH_TRAFSTAT_LOG=${PREFIX}/var/log/trafstat.log - - # File with user defined descriptions of the traflog output format. --PATH_TRAFLOG_FMT=/usr/local/etc/traflog.format -+PATH_TRAFLOG_FMT=${PREFIX}/etc/traflog.format - - # Only group wheel can execute binary files. - SHELL = /bin/sh -@@ -35,8 +35,8 @@ - GROUP = wheel - - # This options intended for BSD/OS V2. --CC = gcc --FLAGS = -O2 -+CC ?= gcc -+#FLAGS = -O2 - DEFINE = -DRETSIGTYPE=void -DRETSIGVAL= - #DEFINE += -DHAVE_FCNTL_H=1 - #DEFINE += -DHAVE_MEMORY_H=1 -@@ -45,7 +45,7 @@ - LDFLAGS = -L../lib -lbpft -lpcap -lcurses -ltermcap -ll - - INCLUDE = -I../include --CFLAGS = ${FLAGS} ${INCLUDE} ${DEFINE} \ -+CFLAGS += ${INCLUDE} ${DEFINE} \ - -DPATH_TOSAVE=\"${PATH_TOSAVE}\"\ - -DPATH_TRAFSTAT=\"${PATH_TRAFSTAT}\"\ - -DPATH_TRAFSTAT_LOG=\"${PATH_TRAFSTAT_LOG}\"\ -@@ -69,10 +69,15 @@ - 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 -o root -g ${GROUP} -m ${MODE} traflog/traflog.format ${PATH_TRAFLOG_FMT} -+ ${BSD_INSTALL_PROGRAM} trafd/trafd ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} trafd/trafstart ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} trafd/trafstop ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} trafd/trafsave ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} trafd/trafdump ${PATH_BINDIR} -+ ${BSD_INSTALL_PROGRAM} trafstat/trafstat ${PATH_BINDIR} -+ ${BSD_INSTALL_PROGRAM} trafstatd/trafstatd ${PATH_BINDIR} -+ ${BSD_INSTALL_PROGRAM} traflog/traflog ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} traflog/traflog.format ${PATH_TRAFLOG_FMT} - @echo Done. - - clean: diff --git a/net-mgmt/trafd/files/patch-ab b/net-mgmt/trafd/files/patch-ab deleted file mode 100644 index 37b96f3f6542..000000000000 --- a/net-mgmt/trafd/files/patch-ab +++ /dev/null @@ -1,7 +0,0 @@ ---- trafd/trafdump.orig Tue Feb 8 00:14:22 2000 -+++ trafd/trafdump Tue Feb 8 00:15:05 2000 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafdump Copyright (c)1993 CAD lab - # diff --git a/net-mgmt/trafd/files/patch-ac b/net-mgmt/trafd/files/patch-ac deleted file mode 100644 index 3bd0c67318ad..000000000000 --- a/net-mgmt/trafd/files/patch-ac +++ /dev/null @@ -1,7 +0,0 @@ ---- trafd/trafsave.orig Tue Feb 8 00:14:31 2000 -+++ trafd/trafsave Tue Feb 8 00:15:15 2000 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafsave Copyright (c)1993 CAD lab - # diff --git a/net-mgmt/trafd/files/patch-ad b/net-mgmt/trafd/files/patch-ad deleted file mode 100644 index d03435051373..000000000000 --- a/net-mgmt/trafd/files/patch-ad +++ /dev/null @@ -1,7 +0,0 @@ ---- trafd/trafstart.orig Tue Feb 8 00:14:42 2000 -+++ trafd/trafstart Tue Feb 8 00:15:38 2000 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafstart Copyright (c)1993 CAD lab - # diff --git a/net-mgmt/trafd/files/patch-ae b/net-mgmt/trafd/files/patch-ae deleted file mode 100644 index b583de35ce86..000000000000 --- a/net-mgmt/trafd/files/patch-ae +++ /dev/null @@ -1,7 +0,0 @@ ---- trafd/trafstop.orig Tue Feb 8 00:14:49 2000 -+++ trafd/trafstop Tue Feb 8 00:15:51 2000 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafstop Copyright (c)1993 CAD lab - # diff --git a/net-mgmt/trafd/files/patch-ah b/net-mgmt/trafd/files/patch-ah deleted file mode 100644 index 832f7e5333d7..000000000000 --- a/net-mgmt/trafd/files/patch-ah +++ /dev/null @@ -1,39 +0,0 @@ ---- trafd/traffic.c.buggy Mon Aug 7 18:45:54 2000 -+++ trafd/traffic.c Mon Aug 7 18:46:42 2000 -@@ -253,7 +253,7 @@ - t.p_port = tp->th_sport, t.who_srv = 1; - else if (tp->th_sport > tp->th_dport) - t.p_port = tp->th_dport, t.who_srv = 2; -- else if (tp->th_sport = tp->th_dport) -+ else if (tp->th_sport == tp->th_dport) - t.p_port = tp->th_sport, t.who_srv = 3; - if (t.p_port > IPPORT_RESERVED) { - if (s_port_big[tp->th_sport & (IPPORT_RESERVED-1)] & IPPROTO_TCP) { -@@ -263,7 +263,7 @@ - t.p_port = tp->th_dport; - t.who_srv = 2; - } -- if (tp->th_sport = tp->th_dport) t.who_srv = 3; -+ if (tp->th_sport == tp->th_dport) t.who_srv = 3; - } - traf_add(insertentry(&t), t.n_bytes, t.n_psize); - -@@ -300,7 +300,7 @@ - t.p_port = up->uh_sport, t.who_srv = 1; - else if (up->uh_sport > up->uh_dport) - t.p_port = up->uh_dport, t.who_srv = 2; -- else if (up->uh_sport = up->uh_dport) -+ else if (up->uh_sport == up->uh_dport) - t.p_port = up->uh_sport, t.who_srv = 3; - if (t.p_port > IPPORT_RESERVED) { - if (s_port_big[up->uh_sport & (IPPORT_RESERVED-1)] & IPPROTO_UDP) { -@@ -310,7 +310,7 @@ - t.p_port = up->uh_dport; - t.who_srv = 2; - } -- if (up->uh_sport = up->uh_dport) t.who_srv = 3; -+ if (up->uh_sport == up->uh_dport) t.who_srv = 3; - } - traf_add(insertentry(&t), t.n_bytes, t.n_psize); - - diff --git a/net-mgmt/trafd/pkg-comment b/net-mgmt/trafd/pkg-comment deleted file mode 100644 index f2898ca78fed..000000000000 --- a/net-mgmt/trafd/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -The BPF Traffic Collector diff --git a/net-mgmt/trafd/pkg-descr b/net-mgmt/trafd/pkg-descr deleted file mode 100644 index d4d4190e1098..000000000000 --- a/net-mgmt/trafd/pkg-descr +++ /dev/null @@ -1,21 +0,0 @@ -trafd 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/trafd/README after installation for more -information. - -To use trafd, 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 deleted file mode 100644 index 1791a3e25ef9..000000000000 --- a/net-mgmt/trafd/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -bin/trafd -bin/trafdump -bin/traflog -bin/trafsave -bin/trafstart -bin/trafstat -bin/trafstatd -bin/trafstop -etc/traflog.format -share/doc/trafd/README -@dirrm share/doc/trafd -@dirrm var/trafd -@unexec rmdir %D/var/log 2>/dev/null || true -@unexec rmdir %D/var 2>/dev/null || true |