pkgsrc/net/smokeping/patches/patch-ab
adrianp f927232191 Update smokeping 2.3.5->2.4.2
* better master/slave secrets documentation
* first cut at mtr integration
* use localtime to construct the rawlog filename
New in 2.4:
* SmokeTrace: An Ajax Traceroute tool.
* The 'blazemode' option for the FPing probe, so that the first (slow) ping packet can be ignored.

Ok'ed bouyer@
2008-08-17 11:09:10 +00:00

46 lines
1.3 KiB
Text

$NetBSD: patch-ab,v 1.10 2008/08/17 11:09:10 adrianp Exp $
--- htdocs/smokeping.cgi.dist.orig 2008-07-24 18:37:05.000000000 +0100
+++ htdocs/smokeping.cgi.dist
@@ -1,17 +1,16 @@
-#!/usr/bin/speedy
+#!@PREFIX@/@INTERP@ -w
# -*-perl-*-
use strict;
use warnings;
-use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl);
-use lib qw(/home/oetiker/checkouts/smokeping/trunk/software/lib);
+use lib qw(@PREFIX@/lib/smokeping);
use CGI::Carp qw(fatalsToBrowser);
use Smokeping 2.004002;
-Smokeping::cgi("/home/oetiker/checkouts/smokeping/trunk/software/etc/config.dist");
+Smokeping::cgi("@PKG_SYSCONFDIR@/config");
=head1 NAME
@@ -41,17 +40,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.