aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nfsen/files/patch-etc_nfsen-dist.conf
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nfsen/files/patch-etc_nfsen-dist.conf')
-rw-r--r--net-mgmt/nfsen/files/patch-etc_nfsen-dist.conf42
1 files changed, 18 insertions, 24 deletions
diff --git a/net-mgmt/nfsen/files/patch-etc_nfsen-dist.conf b/net-mgmt/nfsen/files/patch-etc_nfsen-dist.conf
index 0d260cabe3a4..47e7b8e04b86 100644
--- a/net-mgmt/nfsen/files/patch-etc_nfsen-dist.conf
+++ b/net-mgmt/nfsen/files/patch-etc_nfsen-dist.conf
@@ -1,9 +1,9 @@
$FreeBSD$
---- etc/nfsen-dist.conf.orig
-+++ etc/nfsen-dist.conf
-@@ -26,7 +26,7 @@
+--- etc/nfsen-dist.conf.ori 2008-05-29 13:33:01.000000000 -0700
++++ etc/nfsen-dist.conf 2008-05-29 13:56:53.000000000 -0700
+@@ -18,7 +18,7 @@
#
# Required for default layout
@@ -12,7 +12,7 @@ $FreeBSD$
#
# Where to install the NfSen binaries
-@@ -34,7 +34,7 @@
+@@ -26,7 +26,7 @@
#
# Where to install the NfSen Perl modules
@@ -21,16 +21,16 @@ $FreeBSD$
#
# Where to install the config files
-@@ -44,7 +44,7 @@
+@@ -36,7 +36,7 @@
# NfSen html pages directory:
# All php scripts will be installed here.
# URL: Entry point for nfsen: http://<webserver>/nfsen/nfsen.php
-$HTMLDIR = "/var/www/nfsen/";
-+$HTMLDIR = "%%PREFIX%%/www/%%PORTNAME%%/";
++$HTMLDIR = "%%PREFIX%%/www/%%PORTNAME%%";
#
# Where to install the docs
-@@ -52,20 +52,20 @@
+@@ -44,7 +44,7 @@
#
# Var space for NfSen
@@ -38,15 +38,18 @@ $FreeBSD$
+$VARDIR="${BASEDIR}/var/%%PORTNAME%%";
#
+ # directory for all pid files
+@@ -53,15 +53,15 @@
+ #
# The Profiles stat directory, where all profile information
- # RRD DBs and gif pictures of the profile are stored
--$PROFILESTATDIR="${BASEDIR}/profiles";
-+$PROFILESTATDIR="${VARDIR}/profiles";
+ # RRD DBs and png pictures of the profile are stored
+-$PROFILESTATDIR="${BASEDIR}/profiles-stat";
++$PROFILESTATDIR="${VARDIR}/profiles-stat";
#
# The Profiles directory, where all netflow data is stored
--$PROFILEDATADIR="${BASEDIR}/profiles";
-+$PROFILEDATADIR="${VARDIR}/profiles";
+-$PROFILEDATADIR="${BASEDIR}/profiles-data";
++$PROFILEDATADIR="${VARDIR}/profiles-data";
#
# Where go all the backend plugins
@@ -55,7 +58,7 @@ $FreeBSD$
#
# Where go all the frontend plugins
-@@ -73,7 +73,7 @@
+@@ -69,7 +69,7 @@
#
# nfdump tools path
@@ -63,8 +66,8 @@ $FreeBSD$
+$PREFIX = '%%PREFIX%%/bin';
#
- # BASEDIR unrelated vars:
-@@ -82,7 +82,7 @@
+ # nfsend communication socket
+@@ -81,7 +81,7 @@
# This may be a different or the same uid than your web server.
# Note: This user must be in group $WWWGROUP, otherwise nfcapd
# is not able to write data files!
@@ -73,12 +76,3 @@ $FreeBSD$
# user and group of the web server process
# All netflow processing will be done with this user
-@@ -106,7 +106,7 @@
-
- %sources = (
- 'upstream1' => { 'port' => '9995', 'col' => '#0000ff', 'type' => 'netflow' },
-- 'peer1' => { 'port' => '9996', 'col' => '#ff0000' },
-+# 'peer1' => { 'port' => '9996', 'col' => '#ff0000' },
- );
-
- #