summaryrefslogtreecommitdiff
path: root/net-mgmt/trafd/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/trafd/files')
-rw-r--r--net-mgmt/trafd/files/patch-aa71
-rw-r--r--net-mgmt/trafd/files/patch-ab7
-rw-r--r--net-mgmt/trafd/files/patch-ac7
-rw-r--r--net-mgmt/trafd/files/patch-ad7
-rw-r--r--net-mgmt/trafd/files/patch-ae7
-rw-r--r--net-mgmt/trafd/files/patch-ah39
6 files changed, 0 insertions, 138 deletions
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);
-
-