summaryrefslogtreecommitdiffstats
path: root/net-mgmt/bpft/files
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-02-05 12:30:01 +0000
committeredwin <edwin@FreeBSD.org>2003-02-05 12:30:01 +0000
commit724cfbcafe611b384ca612acef77256de765bcd8 (patch)
tree4e43a6d67be0226ba6960e07736f3f75994fc74b /net-mgmt/bpft/files
parent0fe56a04f9245a07bec0ca73bfa03fb5c088ab42 (diff)
downloadFreeBSD-ports-724cfbcafe611b384ca612acef77256de765bcd8.zip
FreeBSD-ports-724cfbcafe611b384ca612acef77256de765bcd8.tar.gz
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 <vampiro@rootshell.ru>
Diffstat (limited to 'net-mgmt/bpft/files')
-rw-r--r--net-mgmt/bpft/files/patch-Makefile20
-rw-r--r--net-mgmt/bpft/files/patch-pathnames17
2 files changed, 37 insertions, 0 deletions
diff --git a/net-mgmt/bpft/files/patch-Makefile b/net-mgmt/bpft/files/patch-Makefile
new file mode 100644
index 0000000..c3710ba
--- /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 0000000..5c122d2
--- /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 */
OpenPOWER on IntegriCloud