diff --git a/import.log b/import.log index 9e3ceeb..658ee0f 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ nrpe-2_12-6_fc10:F-10:nrpe-2.12-6.fc10.src.rpm:1233590859 +nrpe-2_12-11_fc11:F-10:nrpe-2.12-11.fc11.src.rpm:1253804318 diff --git a/nrpe-directory_for_configs.diff b/nrpe-directory_for_configs.diff new file mode 100644 index 0000000..4081a6b --- /dev/null +++ b/nrpe-directory_for_configs.diff @@ -0,0 +1,13 @@ +diff -up nrpe-2.12/sample-config/nrpe.cfg.in.orig nrpe-2.12/sample-config/nrpe.cfg.in +--- nrpe-2.12/sample-config/nrpe.cfg.in.orig 2009-08-03 19:49:20.000000000 +0200 ++++ nrpe-2.12/sample-config/nrpe.cfg.in 2009-08-03 19:50:43.000000000 +0200 +@@ -169,8 +169,7 @@ connection_timeout=300 + # This directive allows you to include definitions from config files (with a + # .cfg extension) in one or more directories (with recursion). + +-#include_dir= +-#include_dir= ++include_dir=/etc/nrpe.d/ + + + diff --git a/nrpe.spec b/nrpe.spec index 90460ab..50c6382 100644 --- a/nrpe.spec +++ b/nrpe.spec @@ -2,7 +2,7 @@ Name: nrpe Version: 2.12 -Release: 6%{?dist} +Release: 11%{?dist} Summary: Host/service/network monitoring agent for Nagios Group: Applications/System @@ -12,6 +12,7 @@ Source0: http://dl.sourceforge.net/nagios/%{name}-%{version}.tar.gz Source1: nrpe.sysconfig Patch0: nrpe-initreload.patch Patch1: nrpe-read-extra-conf.patch +Patch2: nrpe-directory_for_configs.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -26,7 +27,7 @@ Provides: nagios-nrpe = %{version}-%{release} %description Nrpe is a system daemon that will execute various Nagios plugins locally on behalf of a remote (monitoring) host that uses the -check_nrpe plugin. Various plugins that can be executed by the +check_nrpe plugin. Various plugins that can be executed by the daemon are available at: http://sourceforge.net/projects/nagiosplug @@ -41,7 +42,7 @@ Provides: check_nrpe = %{version}-%{release} %description -n nagios-plugins-nrpe Nrpe is a system daemon that will execute various Nagios plugins locally on behalf of a remote (monitoring) host that uses the -check_nrpe plugin. Various plugins that can be executed by the +check_nrpe plugin. Various plugins that can be executed by the daemon are available at: http://sourceforge.net/projects/nagiosplug @@ -51,6 +52,7 @@ This package provides the nrpe plugin for Nagios-related applications. %setup -q %patch0 -p0 %patch1 -p0 -b .sysconfig +%patch2 -p1 -b .dir %build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ @@ -76,6 +78,8 @@ install -D -p -m 0644 sample-config/nrpe.cfg %{buildroot}/%{_sysconfdir}/nagios/ install -D -p -m 0755 src/nrpe %{buildroot}/%{_sbindir}/nrpe install -D -p -m 0755 src/check_nrpe %{buildroot}/%{_libdir}/nagios/plugins/check_nrpe install -D -p -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/%{name} +install -d %{buildroot}%{_sysconfdir}/nrpe.d + %clean rm -rf %{buildroot} @@ -102,16 +106,32 @@ fi %{_initrddir}/nrpe %{_sbindir}/nrpe %dir %{_sysconfdir}/nagios +%dir %{_sysconfdir}/nrpe.d %config(noreplace) %{_sysconfdir}/nagios/nrpe.cfg %config(noreplace) %{_sysconfdir}/sysconfig/%{name} -%doc Changelog LEGAL README +%doc Changelog LEGAL README README.SSL SECURITY docs/NRPE.pdf %files -n nagios-plugins-nrpe %defattr(-,root,root,-) %{_libdir}/nagios/* -%doc Changelog LEGAL README README.SSL SECURITY docs/NRPE.pdf +%doc Changelog LEGAL README %changelog +* Thu Sep 24 2009 Peter Lemenkov - 2.12-11 +- Fixed BZ# 515324 + +* Fri Aug 21 2009 Tomas Mraz - 2.12-10 +- rebuilt with new openssl + +* Sat Jul 25 2009 Fedora Release Engineering - 2.12-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 2.12-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Feb 21 2009 Mike McGrath - 2.12-7 +- Re-fix for 477527 + * Mon Feb 2 2009 Peter Lemenkov - 2.12-6 - Fixed BZ# 449174 - Clean up (in order to disable rpmlint warnings)