ports/net/smokeping/files/patch-htdocs-smokeping.cgi.dist
Lars Thegler c96404e983 - Update to 2.0.9
- Permanent uid/gid [1]
- Better handling of www uid [1]
- Update WWW: URL in pkg-descr [1]

PR:		ports/96310 [1]
Submitted by:	Gea-Suan Lin <gslin@gslin.org>
2006-07-26 12:55:58 +00:00

45 lines
1.3 KiB
Text

--- htdocs/smokeping.cgi.dist.orig Mon Sep 26 22:15:57 2005
+++ htdocs/smokeping.cgi.dist Thu Oct 6 10:40:18 2005
@@ -1,13 +1,12 @@
-#!/usr/sepp/bin/speedy -w
+#!%%PREFIX%%/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 lib qw(%%PREFIX%%/smokeping/lib);
use CGI::Carp qw(fatalsToBrowser);
use Smokeping 2.000009;
-Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config");
+Smokeping::cgi("%%PREFIX%%/etc/smokeping/config");
=head1 NAME
@@ -34,23 +34,8 @@
=head1 SETUP
-When installing SmokePing, this file has to be adjusted to fit your
-local system. Three paths have to be entered.
-
- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
-
-One pointing to your B<rrdtool> installation
-
- use lib qw(/home/oetiker/public_html/smokeping/lib);
-
-One pointing to the place where you have installed the SmokePing libraries
-
- use Smokeping;
-
- Smokeping::cgi("/home/oetiker/.smokeping/config");
-
-The third path is the argument to the Smokeping::cgi command. It points to
-the SmokePing configuration file.
++When installing SmokePing, this file has been adjusted to fit your
++local system. There should be no need for further path adjustments.
=head1 COPYRIGHT