net-mgmt/smokeping: update to 2.9.0

Changelog: https://oss.oetiker.ch/smokeping/pub/CHANGES
This commit is contained in:
Rodrigo Osorio 2025-02-23 23:23:32 +01:00
parent db87610164
commit 9a60373e52
4 changed files with 9 additions and 23 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= smokeping PORTNAME= smokeping
PORTVERSION= 2.8.2 PORTVERSION= 2.9.0
PORTREVISION= 7
CATEGORIES= net-mgmt www CATEGORIES= net-mgmt www
MASTER_SITES= https://oss.oetiker.ch/smokeping/pub/ MASTER_SITES= https://oss.oetiker.ch/smokeping/pub/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1668638007 TIMESTAMP = 1740347538
SHA256 (smokeping-2.8.2.tar.gz) = 29e61118b455e23b969ada5f8e2ab432d3e2ef87d4afe2c86de4a03d7188b6ea SHA256 (smokeping-2.9.0.tar.gz) = f1be35bfccc2ba1c9f75f76d222b29b57024efe89c5b564b86c1a37ce2d1ddb1
SIZE (smokeping-2.8.2.tar.gz) = 582311 SIZE (smokeping-2.9.0.tar.gz) = 555734

View file

@ -1,15 +1,15 @@
--- bin/tSmoke.orig 2021-11-14 17:05:16 UTC --- bin/tSmoke.orig 2025-02-23 21:59:54 UTC
+++ bin/tSmoke +++ bin/tSmoke
@@ -53,7 +53,7 @@ @@ -54,7 +54,6 @@
# Point the lib variables to your implementation
use lib (split /:/, q{}); # PERL5LIB use lib (split /:/, q{}); # PERL5LIB
-use FindBin;use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR -use FindBin;
-use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
+use lib "/usr/local/smokeping/lib"; +use lib "/usr/local/smokeping/lib";
use Smokeping; use Smokeping;
@@ -63,7 +63,7 @@ @@ -64,7 +64,7 @@
use RRDs; use RRDs;
# Point to your Smokeping config file # Point to your Smokeping config file

View file

@ -1,13 +0,0 @@
--- lib/Smokeping/probes/FPingContinuous.pm.orig 2021-08-13 06:20:13 UTC
+++ lib/Smokeping/probes/FPingContinuous.pm
@@ -72,8 +72,8 @@ sub new($$$)
my $binary = join(" ", $self->binary);
my $testhost = $self->testhost;
my $return = `$binary -C 1 $testhost 2>&1`;
- $self->{enable}{S} = (`$binary -h 2>&1` =~ /\s-S\s/);
- $self->{enable}{O} = (`$binary -h 2>&1` =~ /\s-O\s/);
+ $self->{enable}{S} = (`$binary -h 2>&1` =~ /\s-S[,\s]/);
+ $self->{enable}{O} = (`$binary -h 2>&1` =~ /\s-O[,\s]/);
croak "ERROR: fping ('$binary -C 1 $testhost') could not be run: $return"
if $return =~ m/not found/;
croak "ERROR: FPing must be installed setuid root or it will not work\n"