[packages/nagios-nrpe] up to 2.14 (12/21/2012)

glen glen at pld-linux.org
Tue Mar 5 18:58:23 CET 2013


commit 65eed8995702458022c3c9363f7935f72f01598c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Mar 5 19:42:49 2013 +0200

    up to 2.14 (12/21/2012)
    
    - Added configure option to allow bash command substitutions, disabled by default [bug #400] (Eric Stanley)
    - Patched to shutdown SSL connection completely (Jari Takkala)
    - Added SRC support on AIX (Thierry Bertaud)
    - Updated RPM SPEC file to support creating RPMs on AIX (Eric Stanley)
    - Updated logging to support compiling on AIX (Eric Stanley)
    
    fixes CVE-2013-1362
    http://www.occamsec.com/vulnerabilities.html#nagios_metacharacter_vulnerability
    http://www.opsview.com/whats-new/blog/security-notice-nrpe-exploit

 nagios-nrpe.spec | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/nagios-nrpe.spec b/nagios-nrpe.spec
index 0bcc269..bb4eef5 100644
--- a/nagios-nrpe.spec
+++ b/nagios-nrpe.spec
@@ -1,12 +1,12 @@
 Summary:	Nagios remote plugin execution service/plugin
 Summary(pl.UTF-8):	Demon i wtyczka zdalnego wywoływania wtyczek Nagios
 Name:		nagios-nrpe
-Version:	2.13
-Release:	4
+Version:	2.14
+Release:	1
 License:	GPL v2
 Group:		Networking
 Source0:	http://downloads.sourceforge.net/nagios/nrpe-%{version}.tar.gz
-# Source0-md5:	e5176d9b258123ce9cf5872e33a77c1a
+# Source0-md5:	105857720e21674083a6d6be99e102c7
 Source1:	nrpe.init
 Source2:	nrpe-command.cfg
 Source3:	%{name}.tmpfiles
@@ -17,7 +17,7 @@ BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	openssl-devel
 BuildRequires:	openssl-tools
-BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	rpmbuild(macros) >= 1.647
 Requires(post,preun):	/sbin/chkconfig
 Requires:	nagios-common
 Requires:	rc-scripts
@@ -90,15 +90,14 @@ na innych komputerach za pomocą demona nrpe.
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/{plugins,nrpe.d},%{_libdir}/nagios/plugins,%{_sbindir}} \
 	$RPM_BUILD_ROOT{%{_localstatedir},/var/run/nrpe} \
-	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
+	$RPM_BUILD_ROOT%{systemdtmpfilesdir}
 
 cp -p sample-config/nrpe.cfg $RPM_BUILD_ROOT%{_sysconfdir}/nrpe.cfg
 sed -e 's, at plugindir@,%{_plugindir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_sysconfdir}/plugins/check_nrpe.cfg
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/nrpe
 install -p src/nrpe $RPM_BUILD_ROOT%{_sbindir}
 install -p src/check_nrpe $RPM_BUILD_ROOT%{_plugindir}
-
-install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -131,7 +130,7 @@ fi
 %attr(755,root,root) %{_sbindir}/nrpe
 %attr(754,root,root) /etc/rc.d/init.d/nrpe
 %dir %attr(775,root,nagios) /var/run/nrpe
-/usr/lib/tmpfiles.d/%{name}.conf
+%{systemdtmpfilesdir}/%{name}.conf
 
 %files -n nagios-plugin-check_nrpe
 %defattr(644,root,root,755)
diff --git a/nrpe.init b/nrpe.init
old mode 100644
new mode 100755
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-nrpe.git/commitdiff/475d9adc7392d102ee77d787f1485395ffac0592



More information about the pld-cvs-commit mailing list