summaryrefslogtreecommitdiff
path: root/net/smokeping/patches/patch-ad
diff options
context:
space:
mode:
authorbouyer <bouyer>2012-02-02 18:54:34 +0000
committerbouyer <bouyer>2012-02-02 18:54:34 +0000
commite3d7d260113cfc2457d146b074884c6fefb3be8a (patch)
treea01a2e6b2d5b7ab27ef1500933505808743ba11d /net/smokeping/patches/patch-ad
parenta37c1c086266340a9a02faec607d3fb21392c14a (diff)
downloadpkgsrc-e3d7d260113cfc2457d146b074884c6fefb3be8a.tar.gz
Update smokeping from 2.4.2 to 2.6.7, fixing SA47678.
Major changes between 2.4 and 2.6: New in Version 2.6 Added automake support for easy "configure, make install" installation fixed strftime bug when sending alert mails New in Version 2.5 Switched from SpeedyCGI to FastCGI DismanPing probe by Bill Fenner OpenSSHJunOSPing (Sponsoerd by Juniper) SIP Ping Probe (Sponsored by ANI Networks) Support alert patterns with upper AND lower limit: (>a<b) SmokeTrace removed. Check out remOcular. Updated Prototype and scriptaculous libraries ExpLoss matcher by Konoplev V.Konoplev Improved slave update performance
Diffstat (limited to 'net/smokeping/patches/patch-ad')
-rw-r--r--net/smokeping/patches/patch-ad53
1 files changed, 5 insertions, 48 deletions
diff --git a/net/smokeping/patches/patch-ad b/net/smokeping/patches/patch-ad
index c23056122be..7e588aedc1b 100644
--- a/net/smokeping/patches/patch-ad
+++ b/net/smokeping/patches/patch-ad
@@ -1,56 +1,13 @@
-$NetBSD: patch-ad,v 1.5 2008/08/17 11:09:10 adrianp Exp $
+$NetBSD: patch-ad,v 1.6 2012/02/02 18:54:35 bouyer Exp $
---- bin/tSmoke.dist.orig 2008-07-24 18:37:05.000000000 +0100
-+++ bin/tSmoke.dist
-@@ -51,8 +51,7 @@ use warnings;
- # -- Getopt::Long
- #
- # Point the lib variables to your implementation
--use lib qw(lib);
--use lib qw(/usr/local/rrdtool-1.0.39/lib/perl);
-+use lib "@PREFIX@/lib/smokeping";
-
- use Smokeping 2.004002;
- use Net::SMTP;
-@@ -61,7 +60,7 @@ use Pod::Usage;
+--- bin/tSmoke.orig 2012-02-02 15:16:10.000000000 +0100
++++ bin/tSmoke 2012-02-02 15:16:31.000000000 +0100
+@@ -63,7 +63,7 @@
use RRDs;
# Point to your Smokeping config file
-my $cfgfile = "etc/config.dist";
-+my $cfgfile = "@PKG_SYSCONFDIR@/config";
++my $cfgfile = "@PKG_SYSCONFDIR@/config.dist";
# global variables
my $cfg;
-@@ -476,9 +475,9 @@ past week and past month including an ov
- Typical crontab used to invoke this are
-
- # Quick morning alert to see what's down
-- 0 6 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mobilephone@att.net.invalid --morning
-+ 0 6 * * * @PREFIX@/bin/tSmoke.pl --q --to=mobilephone@att.net.invalid --morning
- # Weekly report on the percent availability of network systems with no detail
-- 0 8 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mailbox@company.com.invalid --weekly --detail=0
-+ 0 8 * * * @PREFIX@/bin/tSmoke.pl --q --to=mailbox@company.com.invalid --weekly --detail=0
-
- =head1 SETUP
-
-@@ -498,17 +497,16 @@ We need to use the following B<libraries
-
- Set up your libraries:
-
-- use lib "/usr/local/smokeping/lib";
-- use lib "/usr/local/rrdtool-1.0.39/lib/perl";
-+ use lib "@PREFIX@/lib/smokeping";
-
- Point to your Smokeping B<config> file
-
-- my $cfgfile = "/usr/local/smokeping/etc/config";
-+ my $cfgfile = "@PKG_SYSCONFDIR@/config";
-
- Modify the Smokeping config file to include a path for tmail in the
- General section:
-
-- tmail = /usr/local/smokeping/etc/tmail
-+ tmail = @PKG_SYSCONFDIR@/tmail
-
- =head1 COPYRIGHT
-