diff --git a/nagios-plugins-check_log-path.patch b/nagios-plugins-check_log-path.patch new file mode 100644 index 0000000..fe14fd3 --- /dev/null +++ b/nagios-plugins-check_log-path.patch @@ -0,0 +1,14 @@ +--- nagios-plugins-1.4.8/plugins-scripts/check_log.sh.orig 2007-11-22 12:19:57.000000000 +0000 ++++ nagios-plugins-1.4.8/plugins-scripts/check_log.sh 2007-11-22 12:20:13.000000000 +0000 +@@ -62,8 +62,8 @@ + + ECHO="/bin/echo" + GREP="/bin/egrep" +-DIFF="/bin/diff" +-TAIL="/bin/tail" ++DIFF="/usr/bin/diff" ++TAIL="/usr/bin/tail" + CAT="/bin/cat" + RM="/bin/rm" + CHMOD="/bin/chmod" + diff --git a/nagios-plugins.spec b/nagios-plugins.spec index d456a4c..6f17301 100644 --- a/nagios-plugins.spec +++ b/nagios-plugins.spec @@ -1,6 +1,6 @@ Name: nagios-plugins Version: 1.4.10 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Host/service/network monitoring program plugins for Nagios Group: Applications/System @@ -11,6 +11,7 @@ Source1: nagios-plugins.README.Fedora Patch0: nagios-plugins-1.4.3-subst.patch Patch1: nagios-plugins-1.4.3-ntpd.patch Patch2: nagiosplugins-checksnmp-crash.patch +Patch3: nagios-plugins-check_log-path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openldap-devel @@ -511,6 +512,7 @@ Provides check_wave support for Nagios. %patch0 -p1 %patch1 -p0 %patch2 -p0 +%patch3 -p1 %build %configure \ @@ -796,6 +798,9 @@ rm -rf %{buildroot} %{_libdir}/nagios/plugins/utils.sh %changelog +* Thu Jan 10 2008 Mike McGrath 1.4.10-3 +- Fixed check_log plugin #395601 + * Thu Dec 06 2007 Release Engineering - 1.4.10-2 - Rebuild for deps