$NetBSD: patch-ac,v 1.10 2020/04/27 18:05:18 bouyer Exp $ --- etc/config.dist.in.orig 2017-06-25 20:18:25.000000000 +0200 +++ etc/config.dist.in 2020-04-23 10:20:42.223454811 +0200 @@ -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 htmltitle = yes graphborders = no @@ -107,10 +107,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