aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/apan/files/patch-apan.defs
blob: 45fda2521f9bcfc0a43e5b637bea3cc419344dac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

$FreeBSD$

--- apan.defs.orig	Fri Mar 26 12:01:53 2004
+++ apan.defs	Fri Mar 26 12:14:02 2004
@@ -1,23 +1,23 @@
 #Base-directory for nagios:
-NAGIOSDIR=/usr/local/nagios
+NAGIOSDIR=%%PREFIX%%/share/nagios
 
 #The directory where apan is installed
-APANDIR=$NAGIOSDIR/apan
+APANDIR=%%PREFIX%%/share/apan
 
 #The directory where Nagios plugins resides
-PLUGINSDIR=$NAGIOSDIR/libexec
+PLUGINSDIR=%%NAGIOSPLUGINSDIR%%
 
 #The directory where Nagios .cfg-files resides
-ETCDIR=$NAGIOSDIR/etc
+ETCDIR=%%PREFIX%%/etc/nagios
 
 # The directory where apans plugins resides
-PLUGSDIR=$APANDIR/plugs
+PLUGSDIR=%%APANPLUGSDIR%%
 
 # The main config-file for apan
-CFGFILE=$APANDIR/apan.cfg
+CFGFILE=%%APANCONFDIR%%/apan.cfg
 
 # Path to rrdtool
-RRDTOOL=/usr/local/bin/rrdtool
+RRDTOOL=%%PREFIX%%/bin/rrdtool
 
 # Set DEBUG to 1 and define a DEBUGFILE to get debug-info from apan
 DEBUG=1