summaryrefslogtreecommitdiff
path: root/net/smokeping/patches/patch-ac
blob: 23400bec39d0a67d7b129c95e0db999b161cac33 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
$NetBSD: patch-ac,v 1.8 2008/08/17 11:09:10 adrianp Exp $

--- etc/config.dist.orig	2008-07-24 18:36:57.000000000 +0100
+++ etc/config.dist
@@ -1,19 +1,19 @@
 *** General ***
 
-owner    = Peter Random
-contact  = some@address.nowhere
-mailhost = my.mail.host
-sendmail = /usr/lib/sendmail
+owner    = Charlie Root
+contact  = root@localhost
+mailhost = localhost
+sendmail = /usr/sbin/sendmail
 # NOTE: do not put the Image Cache below cgi-bin
 # since all files under cgi-bin will be executed ... this is not
 # good for images.
-imgcache = /home/oetiker/public_html/smokeping-ms/cache
+imgcache = @SPDIR@/.simg
 imgurl   = cache
-datadir  = /tmp/smokeping-ms/data
-piddir  = /tmp/smokeping-ms/var
-cgiurl   = http://some.url/smokeping.cgi
-smokemail = /home/oetiker/checkouts/smokeping/trunk/software/etc/smokemail.dist
-tmail = /home/oetiker/checkouts/smokeping/trunk/software/etc/tmail.dist
+datadir  = @VARBASE@/db/smokeping
+piddir  = @VARBASE@/run
+cgiurl   = http://localhost/cgi-bin/smokeping.cgi
+smokemail = @PREFIX@/etc/smokeping/smokemail
+tmail = @PKG_SYSCONFDIR@/tmail
 # specify this to get syslog logging
 syslogfacility = local0
 # each probe is now run in its own process
@@ -47,7 +47,7 @@ AVERAGE  0.5 144   720
 
 *** Presentation ***
 
-template = /home/oetiker/checkouts/smokeping/trunk/software/etc/basepage.html.dist
+template = @PKG_SYSCONFDIR@/basepage.html
 
 + charts
 
@@ -105,7 +105,7 @@ unison_tolerance = 2
 
 + FPing
 
-binary = /usr/sbin/fping
+binary = @PREFIX@/sbin/fping
 
 *** Slaves ***
 secrets=/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist