]> git.pld-linux.org Git - packages/nagios-nrpe.git/blobdiff - nagios-nrpe.spec
- fix from Debian for missing dhparam -C 2048 aka get_dh2048, rel 3
[packages/nagios-nrpe.git] / nagios-nrpe.spec
index 6f13e3f703c4c9ce61ca8bb99011ea3c19d59de8..da8d0cfbbefbc3c6a2df6db7fdf7cb18ed19d6d9 100644 (file)
@@ -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:       2
+Release:       3
 License:       GPL v2
 Group:         Networking
 Source0:       https://github.com/NagiosEnterprises/nrpe/releases/download/nrpe-%{version}/nrpe-%{version}.tar.gz
@@ -13,6 +13,7 @@ Source3:      %{name}.tmpfiles
 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
@@ -67,8 +68,11 @@ na innych komputerach za pomocą demona nrpe.
 %undos contrib/nrpe_check_control.c
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
 %configure \
        --with-nrpe-port=%{nsport} \
        --with-nrpe-user=nagios \
@@ -109,7 +113,8 @@ if [ "$1" = "0" ] ; then
        /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
 
@@ -129,7 +134,7 @@ sed -i -e '/^command\[/d' %{_sysconfdir}/nrpe.cfg
 
 %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
This page took 0.085425 seconds and 4 git commands to generate.