Summary(pl.UTF-8): Demon i wtyczka zdalnego wywoływania wtyczek Nagios
Name: nagios-nrpe
Version: 4.0.3
-Release: 2
+Release: 3
License: GPL v2
Group: Networking
Source0: https://github.com/NagiosEnterprises/nrpe/releases/download/nrpe-%{version}/nrpe-%{version}.tar.gz
Source4: commands.cfg
Patch0: %{name}-config.patch
Patch1: nrpe_check_control.patch
+Patch2: 11_reproducible_dh.h.patch
URL: https://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE--2D-Nagios-Remote-Plugin-Executor/details
BuildRequires: openssl-devel
BuildRequires: openssl-tools
%undos contrib/nrpe_check_control.c
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
+%{__aclocal}
+%{__autoconf}
%configure \
--with-nrpe-port=%{nsport} \
--with-nrpe-user=nagios \
/sbin/chkconfig --del nrpe
fi
-%triggerpostun -- %{name} < 2.15-5
+%triggerpostun -- %{name} < 2.6-1.1
+# < 2.15-5
# skip *this* trigger on downgrade
[ $1 -le 1 ] && exit 0
%service nrpe restart
-%triggerpostun -- %{name} < 2.6-1.1
+# < 2.6-1.1
%{__sed} -i -e 's,/var/run/nrpe.pid,/var/run/nrpe/nrpe.pid,' %{_sysconfdir}/nrpe.cfg
%triggerpostun -n nagios-plugin-check_nrpe -- nagios-plugin-check_nrpe < 2.12-7.1