Files
pkgsrc-ng/net/smokeping/patches/patch-ac
2013-09-26 17:14:40 +02:00

56 lines
1.4 KiB
Plaintext

$NetBSD: patch-ac,v 1.9 2012/02/02 18:54:35 bouyer Exp $
--- etc/config.dist.in.orig 2011-10-30 11:33:11.000000000 +0100
+++ etc/config.dist.in 2012-02-02 16:51:40.000000000 +0100
@@ -1,19 +1,19 @@
*** General ***
-owner = Peter Random
-contact = some@address.nowhere
-mailhost = my.mail.host
+owner = Charlie Root
+contact = root@localhost
+mailhost = localhost
sendmail = @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 = @prefix@/cache
+imgcache = @SPDIR@/.simg
imgurl = cache
-datadir = @prefix@/data
-piddir = @prefix@/var
-cgiurl = http://some.url/smokeping.cgi
-smokemail = @prefix@/etc/smokemail.dist
-tmail = @prefix@/etc/tmail.dist
+datadir = @VARBASE@/db/smokeping
+piddir = @VARBASE@/run
+cgiurl = http://localhost/cgi-bin/smokeping.cgi
+smokemail = @PKG_SYSCONFDIR@/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 @@
*** Presentation ***
-template = @prefix@/etc/basepage.html.dist
+template = @PKG_SYSCONFDIR@/basepage.html
+ charts
@@ -105,10 +105,10 @@
+ FPing
-binary = /usr/sbin/fping
+binary = @PREFIX@/sbin/fping
*** Slaves ***
-secrets=@prefix@/etc/smokeping_secrets.dist
+secrets=@PKG_SYSCONFDIR@/smokeping_secrets
+boomer
display_name=boomer
color=0000ff