summaryrefslogtreecommitdiff
path: root/net/smokeping/patches/patch-ab
blob: 50056613b8523a460f797bf2bf1eb88d92e749f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$NetBSD: patch-ab,v 1.8 2007/11/22 22:56:01 adrianp Exp $

--- htdocs/smokeping.cgi.dist.orig	2007-11-05 21:59:38.000000000 +0000
+++ htdocs/smokeping.cgi.dist
@@ -1,13 +1,12 @@
-#!/usr/sepp/bin/speedy -w
+#!@PREFIX@/@INTERP@ -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@/lib/smokeping);
 use CGI::Carp qw(fatalsToBrowser);
 
 use Smokeping 2.002007;
 
-Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config");
+Smokeping::cgi("@PKG_SYSCONFDIR@/config");
 
 =head1 NAME
 
@@ -37,17 +36,17 @@ Please refer to the installation documen
 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);
+ use lib qw(@PREFIX@/lib/smokeping);
 
 One pointing to your B<rrdtool> installation
 
- use lib qw(/home/oetiker/public_html/smokeping/lib);
+ use lib qw(@PREFIX@/lib/smokeping);
 
 One pointing to the place where you have installed the SmokePing libraries
 
  use Smokeping;
 
- Smokeping::cgi("/home/oetiker/.smokeping/config");
+ Smokeping::cgi("@PKG_SYSCONFDIR@/config");
 
 The third path is the argument to the Smokeping::cgi command. It points to
 the SmokePing configuration file.