pkgsrc/net/smokeping/patches/patch-ab
adrianp 71ab4d7633 Upgrade from smokeping 1.3.x to 2.0.4
Ok'ed bouyer@
Lots of changes but in brief:

new probe programming interface
allow target-specific vars get defaults from Probes section
config file examples and smokeping_examples document
documentation updates and reorganizing
new commandline options '--config=X' and '--check'
Perl 5.8.0 compatibility fix
RRDtool 1.2.x compatibility fix ("unknown RRD version: 0003" on restart)

See this URL for all the details:
 http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/CHANGES
2005-10-28 21:43:18 +00:00

42 lines
1.3 KiB
Text

$NetBSD: patch-ab,v 1.5 2005/10/28 21:43:18 adrianp Exp $
--- htdocs/smokeping.cgi.dist.orig 2005-10-23 22:16:54.000000000 +0100
+++ htdocs/smokeping.cgi.dist
@@ -1,13 +1,12 @@
-#!/usr/sepp/bin/speedy -w
+#!@PREFIX@/bin/@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.000004;
-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.