[packages/nagios-plugins] - rel 6; add check_dns_name
arekm
arekm at pld-linux.org
Fri Mar 9 13:46:59 CET 2018
commit 9f3fe4cc31b8fce30d276a6242e650cdbca8a9b1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Mar 9 13:46:52 2018 +0100
- rel 6; add check_dns_name
dns-config.patch | 23 +++++++++++++++++++++++
nagios-plugins.spec | 4 +++-
2 files changed, 26 insertions(+), 1 deletion(-)
---
diff --git a/nagios-plugins.spec b/nagios-plugins.spec
index 6faea99..e0f9d26 100644
--- a/nagios-plugins.spec
+++ b/nagios-plugins.spec
@@ -17,7 +17,7 @@ Summary: Host/service/network monitoring program plugins for Nagios
Summary(pl.UTF-8): Wtyczki do monitorowania hostów/usług/sieci dla Nagiosa
Name: nagios-plugins
Version: 2.2.1
-Release: 5
+Release: 6
License: GPL v3
Group: Networking
Source0: http://www.nagios-plugins.org/download/%{name}-%{version}.tar.gz
@@ -37,6 +37,7 @@ Patch7: %{name}-check_hpjd-no-paper-out.patch
Patch8: %{name}-check_disk_smb-zero-cap.patch
Patch9: %{name}-paths.patch
Patch10: %{name}-ping.patch
+Patch11: dns-config.patch
URL: http://www.nagiosplugins.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -532,6 +533,7 @@ mv nagios-plugins-config-*/* .
%patch8 -p1
%patch9 -p1
%patch10 -p1
+%patch11 -p1
# remove libtool m4 macro copies, breaks when system libtool is older
%{__rm} gl/m4/libtool.m4 gl/m4/lt*.m4
diff --git a/dns-config.patch b/dns-config.patch
new file mode 100644
index 0000000..cf3f9a3
--- /dev/null
+++ b/dns-config.patch
@@ -0,0 +1,23 @@
+commit cf8bb3b1eb003c921c14bed986c79b03eef215ee
+Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
+Date: Fri Mar 9 12:33:42 2018 +0100
+
+ check_dns_name for checking if specified name resolves
+
+diff --git a/commands/check_dns.cfg b/commands/check_dns.cfg
+index 092c0a8..01ab269 100644
+--- a/commands/check_dns.cfg
++++ b/commands/check_dns.cfg
+@@ -4,6 +4,12 @@ define command {
+ command_line /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H www.yahoo.com $ARG1$
+ }
+
++# 'check_dns_name' command definition
++define command {
++ command_name check_dns_name
++ command_line /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H $ARG1$ $ARG2$
++}
++
+ # check if DNSBL is returning success on test record 127.0.0.2
+ define command {
+ command_name check_dnsbl
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugins.git/commitdiff/9f3fe4cc31b8fce30d276a6242e650cdbca8a9b1
More information about the pld-cvs-commit
mailing list