pkgsrc/net/smokeping/patches/patch-aa
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

41 lines
1.1 KiB
Text

$NetBSD: patch-aa,v 1.10 2008/08/17 11:09:10 adrianp Exp $
--- bin/smokeping.dist.orig 2008-07-24 18:37:05.000000000 +0100
+++ bin/smokeping.dist
@@ -1,13 +1,12 @@
#!/usr/bin/perl -w
# -*-perl-*-
-use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl);
-use lib qw(lib);
+use lib qw(@PREFIX@/lib/smokeping);
use strict;
use warnings;
use Smokeping 2.004002;
-Smokeping::main("etc/config.dist");
+Smokeping::main("@PKG_SYSCONFDIR@/config");
=head1 NAME
@@ -132,17 +131,17 @@ local system. Three paths have to be ent
One pointing to your B<rrdtool> installation
- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
+ use lib qw(@PREFIX@/lib/smokeping);
One pointing to the place where you have installed the SmokePing libraries
- use lib qw(/home/oetiker/public_html/smokeping/lib);
+ use lib qw(@PREFIX@/lib/smokeping);
The third path is the argument to the Smokeping::main command. It points to
the SmokePing configuration file.
use Smokeping;
- Smokeping::main("/home/oetiker/.smokeping/config");
+ Smokeping::main("@PKG_SYSCONFDIR@/config");
=head1 COPYRIGHT