openbsd-ports/net/smokeping/patches/patch-htdocs_smokeping_cgi_dist

17 lines
613 B
Plaintext
Raw Normal View History

2007-12-19 12:54:51 -05:00
$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 @@
2004-07-08 13:10:56 -04:00
-#!/usr/sepp/bin/speedy -w
+#!%%LOCALBASE%%/bin/speedy -w
2002-11-10 15:04:49 -05:00
# -*-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);
2007-12-19 12:54:51 -05:00
@@ -9,3 +7,3 @@ use Smokeping 2.002007;
2002-11-10 15:04:49 -05:00
-Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config");
+Smokeping::cgi("%%SYSCONFDIR%%/smokeping/config");
2002-11-10 15:04:49 -05:00