forked from pool/monitoring-plugins
Accepting request 1139115 from home:pmonrealgonzalez:branches:server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1139115 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=117
This commit is contained in:
parent
c0f2d03d1d
commit
db13358820
@ -1,28 +0,0 @@
|
|||||||
Index: monitoring-plugins-2.3.5/plugins-scripts/check_ircd.pl
|
|
||||||
===================================================================
|
|
||||||
--- monitoring-plugins-2.3.5.orig/plugins-scripts/check_ircd.pl
|
|
||||||
+++ monitoring-plugins-2.3.5/plugins-scripts/check_ircd.pl
|
|
||||||
@@ -37,7 +37,7 @@
|
|
||||||
# 1999/09/20. Some code taken from Charlie Cook (check_disk.pl).
|
|
||||||
#
|
|
||||||
use Getopt::Long;
|
|
||||||
-use IO::Socket::INET6;
|
|
||||||
+use IO::Socket::IP;
|
|
||||||
use strict;
|
|
||||||
use vars qw($PROGNAME $VERSION);
|
|
||||||
use vars qw($opt_V $opt_h $opt_t $opt_p $opt_H $opt_w $opt_c $ssl $verbose);
|
|
||||||
@@ -106,10 +107,10 @@ sub connection ($$$$$$) {
|
|
||||||
debug("Attempting connect.\n",$verbose);
|
|
||||||
# Connect to server
|
|
||||||
debug("Connecting ...........\n",$verbose);
|
|
||||||
- my $sock = IO::Socket::INET6->new( PeerAddr => $server,
|
|
||||||
- PeerPort => $port,
|
|
||||||
- Proto => 'tcp',
|
|
||||||
- Domain => AF_UNSPEC ) or return ($user);
|
|
||||||
+ my $sock = IO::Socket::IP->new( PeerAddr => $server,
|
|
||||||
+ PeerPort => $port,
|
|
||||||
+ Proto => 'tcp',
|
|
||||||
+ Domain => AF_UNSPEC ) or return ($user);
|
|
||||||
if($ssl) {
|
|
||||||
use IO::Socket::SSL;
|
|
||||||
debug("Starting SSL .........\n",$verbose);
|
|
@ -6,7 +6,6 @@ Mon Jan 15 10:44:48 UTC 2024 - Pedro Monreal <pmonreal@suse.com>
|
|||||||
deprecated by upstream, is no longer suitable for use and its not
|
deprecated by upstream, is no longer suitable for use and its not
|
||||||
being maintained. A compatible replacement for this package is
|
being maintained. A compatible replacement for this package is
|
||||||
perl(IO::Socket::IP) which is shipped by the perl-base package.
|
perl(IO::Socket::IP) which is shipped by the perl-base package.
|
||||||
* Add monitoring-plugins-ircd-INET6-deprecation.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 5 11:46:24 UTC 2023 - Lars Vogdt <lars@linux-schulserver.de> - 2.3.5
|
Tue Dec 5 11:46:24 UTC 2023 - Lars Vogdt <lars@linux-schulserver.de> - 2.3.5
|
||||||
|
@ -73,8 +73,6 @@ Patch126: monitoring-plugins-2.3.3-check_ssh.t_-_improve_testing.patch
|
|||||||
Patch128: monitoring-plugins-2.3.3-check_disk_on_btrfs.patch
|
Patch128: monitoring-plugins-2.3.3-check_disk_on_btrfs.patch
|
||||||
# PATCH-FIX-UPSTREAM - see https://github.com/monitoring-plugins/monitoring-plugins/pull/1774
|
# PATCH-FIX-UPSTREAM - see https://github.com/monitoring-plugins/monitoring-plugins/pull/1774
|
||||||
Patch129: monitoring-plugins-2.3.3-check_by_ssh.patch
|
Patch129: monitoring-plugins-2.3.3-check_by_ssh.patch
|
||||||
# PATCH-FIX-openSUSE - check_ircd: Remove the perl-IO-Socket-INET6 dependency
|
|
||||||
Patch130: monitoring-plugins-ircd-INET6-deprecation.patch
|
|
||||||
BuildRequires: bind-utils
|
BuildRequires: bind-utils
|
||||||
BuildRequires: dhcp-devel
|
BuildRequires: dhcp-devel
|
||||||
BuildRequires: fping
|
BuildRequires: fping
|
||||||
|
Loading…
Reference in New Issue
Block a user