commit 6afa96ad7caaa1a0fe4e0a3fe922a7a49fddee55
Author: Arkadiusz Miśkiewicz <[email protected]>
Date: Fri Jun 11 11:03:56 2021 +0200
- rel 2; restore important config part
nagios-nrpe-config.patch | 15 ++++++++++++---
nagios-nrpe.spec | 2 +-
2 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/nagios-nrpe.spec b/nagios-nrpe.spec
index 86901a0..6f13e3f 100644
--- a/nagios-nrpe.spec
+++ b/nagios-nrpe.spec
@@ -2,7 +2,7 @@ Summary: Nagios remote plugin execution service/plugin
Summary(pl.UTF-8): Demon i wtyczka zdalnego wywoływania wtyczek Nagios
Name: nagios-nrpe
Version: 4.0.3
-Release: 1
+Release: 2
License: GPL v2
Group: Networking
Source0:
https://github.com/NagiosEnterprises/nrpe/releases/download/nrpe-%{version}/nrpe-%{version}.tar.gz
diff --git a/nagios-nrpe-config.patch b/nagios-nrpe-config.patch
index b63ccb2..b379991 100644
--- a/nagios-nrpe-config.patch
+++ b/nagios-nrpe-config.patch
@@ -1,6 +1,7 @@
---- nrpe-4.0.3/sample-config/nrpe.cfg.in~ 2020-04-28 23:10:40.000000000
+0200
-+++ nrpe-4.0.3/sample-config/nrpe.cfg.in 2021-05-10 16:07:17.744206907
+0200
-@@ -274,87 +274,6 @@ connection_timeout=300
+diff -urN nrpe-4.0.3.org/sample-config/nrpe.cfg.in
nrpe-4.0.3/sample-config/nrpe.cfg.in
+--- nrpe-4.0.3.org/sample-config/nrpe.cfg.in 2020-04-28 23:10:40.000000000
+0200
++++ nrpe-4.0.3/sample-config/nrpe.cfg.in 2021-06-11 11:03:15.467505455
+0200
+@@ -274,87 +274,6 @@
# If this option is not set, the error messages will be logged.
disable_syslog=0
@@ -88,3 +89,11 @@
# INCLUDE CONFIG DIRECTORY
# This directive allows you to include definitions from config files (with a
# .cfg extension) in one or more directories (with recursion).
+@@ -367,3 +286,7 @@
+ # when starting the NRPE daemon.
+
+ #keep_env_vars=NRPE_MULTILINESUPPORT,NRPE_PROGRAMVERSION
++
++#include_dir=<somedirectory>
++#include_dir=<someotherdirectory>
++include_dir=/etc/nagios/nrpe.d
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-nrpe.git/commitdiff/6afa96ad7caaa1a0fe4e0a3fe922a7a49fddee55
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit