openbsd-ports/net/smokeping/patches/patch-htdocs_smokeping_cgi_dist
2007-12-19 17:54:51 +00:00

17 lines
613 B
Plaintext

$OpenBSD: patch-htdocs_smokeping_cgi_dist,v 1.8 2007/12/19 17:54:51 sthen Exp $
--- htdocs/smokeping.cgi.dist.orig Mon Nov 5 21:59:38 2007
+++ htdocs/smokeping.cgi.dist Wed Dec 19 15:07:30 2007
@@ -1,6 +1,4 @@
-#!/usr/sepp/bin/speedy -w
+#!%%LOCALBASE%%/bin/speedy -w
# -*-perl-*-
-use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
-use lib qw(/home/oetiker/data/projects/AADJ-smokeping/dist/lib);
use CGI::Carp qw(fatalsToBrowser);
@@ -9,3 +7,3 @@ use Smokeping 2.002007;
-Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config");
+Smokeping::cgi("%%SYSCONFDIR%%/smokeping/config");