From 7fc693bc32fbea34ae4fd8f2e110226ddc904625 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Wed, 5 Feb 2003 12:30:01 +0000 Subject: New port: net/bpft The BPF Traffic collector Enhanced version of trafd (/usr/ports/net/trafd/) WWW: http://bpft.by.ru/ PR: ports/42020 Submitted by: El Vampiro --- net-mgmt/bpft/files/patch-Makefile | 20 ++++++++++++++++++++ net-mgmt/bpft/files/patch-pathnames | 17 +++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 net-mgmt/bpft/files/patch-Makefile create mode 100644 net-mgmt/bpft/files/patch-pathnames (limited to 'net-mgmt/bpft/files') diff --git a/net-mgmt/bpft/files/patch-Makefile b/net-mgmt/bpft/files/patch-Makefile new file mode 100644 index 000000000000..c3710ba0cd67 --- /dev/null +++ b/net-mgmt/bpft/files/patch-Makefile @@ -0,0 +1,20 @@ +--- Makefile.orig Sun Dec 2 11:44:35 2001 ++++ Makefile Wed Feb 5 04:24:20 2003 +@@ -43,8 +43,6 @@ + # + + +-PREFIX=/usr/local +- + # Man pages prefix + PREFIX_MANPAGES=${PREFIX}/man/man + PREFIX_CATMANPAGES=${PREFIX}/man/cat +@@ -59,7 +57,7 @@ + PATH_SBINDIR=${PREFIX}/sbin + + # Trailing slash directory, summary traffic log files will be put there. +-PATH_TOSAVE=${PREFIX}/var/trafd/ ++PATH_TOSAVE=${PREFIX}/var/bpft/ + + # Full pathname where locate trafstat program. + PATH_TRAFSTAT=${PREFIX}/bin/trafstat diff --git a/net-mgmt/bpft/files/patch-pathnames b/net-mgmt/bpft/files/patch-pathnames new file mode 100644 index 000000000000..5c122d2a0661 --- /dev/null +++ b/net-mgmt/bpft/files/patch-pathnames @@ -0,0 +1,17 @@ +--- include/pathnames.h.orig Mon Aug 26 11:24:39 2002 ++++ include/pathnames.h Mon Aug 26 11:25:09 2002 +@@ -49,12 +49,12 @@ + + /* where unerased tmp directory */ + #ifndef _PATH_VARTMP +-#define _PATH_VARTMP "/usr/local/var/trafd/tmp/" ++#define _PATH_VARTMP "/usr/local/var/bpft/tmp/" + #endif + + /* where backuped data */ + #ifndef PATH_TOSAVE +-#define PATH_TOSAVE "/usr/local/var/trafd/" ++#define PATH_TOSAVE "/usr/local/var/bpft/" + #endif + + /* where locate trafstat */ -- cgit v1.2.3