git: 9a60373e52f4 - main - net-mgmt/smokeping: update to 2.9.0

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Mon, 24 Feb 2025 19:54:02 UTC
The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9a60373e52f4948e72b55fdb6b1e9324cedba7c2

commit 9a60373e52f4948e72b55fdb6b1e9324cedba7c2
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2025-02-23 22:23:32 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2025-02-24 19:49:30 +0000

    net-mgmt/smokeping: update to 2.9.0
    
    Changelog: https://oss.oetiker.ch/smokeping/pub/CHANGES
---
 net-mgmt/smokeping/Makefile                                 |  3 +--
 net-mgmt/smokeping/distinfo                                 |  6 +++---
 net-mgmt/smokeping/files/patch-bin_tSmoke                   | 10 +++++-----
 .../files/patch-lib_Smokeping_probes_FPingContinuous.pm     | 13 -------------
 4 files changed, 9 insertions(+), 23 deletions(-)

diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile
index 90549e2e3e4e..8b5475886398 100644
--- a/net-mgmt/smokeping/Makefile
+++ b/net-mgmt/smokeping/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	smokeping
-PORTVERSION=	2.8.2
-PORTREVISION=	7
+PORTVERSION=	2.9.0
 CATEGORIES=	net-mgmt www
 MASTER_SITES=	https://oss.oetiker.ch/smokeping/pub/
 
diff --git a/net-mgmt/smokeping/distinfo b/net-mgmt/smokeping/distinfo
index 5c1be134baa9..d799accb1fcc 100644
--- a/net-mgmt/smokeping/distinfo
+++ b/net-mgmt/smokeping/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668638007
-SHA256 (smokeping-2.8.2.tar.gz) = 29e61118b455e23b969ada5f8e2ab432d3e2ef87d4afe2c86de4a03d7188b6ea
-SIZE (smokeping-2.8.2.tar.gz) = 582311
+TIMESTAMP = 1740347538
+SHA256 (smokeping-2.9.0.tar.gz) = f1be35bfccc2ba1c9f75f76d222b29b57024efe89c5b564b86c1a37ce2d1ddb1
+SIZE (smokeping-2.9.0.tar.gz) = 555734
diff --git a/net-mgmt/smokeping/files/patch-bin_tSmoke b/net-mgmt/smokeping/files/patch-bin_tSmoke
index 9f4d0916aa21..16cfc2fc6475 100644
--- a/net-mgmt/smokeping/files/patch-bin_tSmoke
+++ b/net-mgmt/smokeping/files/patch-bin_tSmoke
@@ -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
-@@ -53,7 +53,7 @@
- # Point the lib variables to your implementation
+@@ -54,7 +54,6 @@
  
  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 Smokeping;
-@@ -63,7 +63,7 @@
+@@ -64,7 +64,7 @@
  use RRDs;
  
  # Point to your Smokeping config file
diff --git a/net-mgmt/smokeping/files/patch-lib_Smokeping_probes_FPingContinuous.pm b/net-mgmt/smokeping/files/patch-lib_Smokeping_probes_FPingContinuous.pm
deleted file mode 100644
index 04aa39c2fab9..000000000000
--- a/net-mgmt/smokeping/files/patch-lib_Smokeping_probes_FPingContinuous.pm
+++ /dev/null
@@ -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"