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

20 lines
617 B
Plaintext
Raw Normal View History

$OpenBSD: patch-htdocs_smokeping_cgi_dist,v 1.7 2007/06/29 06:58:22 jakob Exp $
--- htdocs/smokeping.cgi.dist.orig Wed May 2 18:15:31 2007
+++ htdocs/smokeping.cgi.dist Wed Jun 27 09:38:14 2007
@@ -1,13 +1,11 @@
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);
use Smokeping 2.001001;
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
=head1 NAME
2002-11-10 15:04:49 -05:00