From bf7fd773bfa5fee9cc9bc6a8fbe4d261cba3fb05 Mon Sep 17 00:00:00 2001 From: Grigorios Bouzakis Date: Thu, 17 Feb 2011 23:03:35 -0600 Subject: network/iptraf-ng: Added (rewrite of iptraf) Signed-off-by: Robby Workman --- network/iptraf-ng/dirs.h.patch | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 network/iptraf-ng/dirs.h.patch (limited to 'network/iptraf-ng/dirs.h.patch') diff --git a/network/iptraf-ng/dirs.h.patch b/network/iptraf-ng/dirs.h.patch new file mode 100644 index 0000000000000..fcf1357422b70 --- /dev/null +++ b/network/iptraf-ng/dirs.h.patch @@ -0,0 +1,43 @@ +diff --git a/src/dirs.h b/src/dirs.h +index e57a4c8..1698f50 100644 +--- a/src/dirs.h ++++ b/src/dirs.h +@@ -26,11 +26,11 @@ + */ + + #ifndef WORKDIR +-#define WORKDIR "/var/lib/iptraf" ++#define WORKDIR "/var/lib/iptraf-ng" + #endif + + #ifndef LOGDIR +-#define LOGDIR "/var/log/iptraf" ++#define LOGDIR "/var/log/iptraf-ng" + #endif + + #ifndef EXECDIR +@@ -46,7 +46,7 @@ + */ + + #ifndef LOCKDIR +-#define LOCKDIR "/var/lock/iptraf" ++#define LOCKDIR "/var/lock/iptraf-ng" + #endif + + /*** +@@ -161,13 +161,13 @@ + * The rvnamed program file + */ + +-#define RVNDFILE get_path(T_EXECDIR, "rvnamed") ++#define RVNDFILE get_path(T_EXECDIR, "rvnamed-ng") + + /* + * The rvnamed log file + */ + +-#define RVNDLOGFILE get_path(T_LOGDIR, "rvnamed.log") ++#define RVNDLOGFILE get_path(T_LOGDIR, "rvnamed-ng.log") + + /* + * File to contain the current TCP filter data file name. UDP filter -- cgit v1.2.3