- resolves cron service problem (#432766)

This commit is contained in:
Ivana Varekova 2008-02-14 13:57:29 +00:00
parent 1435038fdb
commit 6b163cef45
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up logwatch-7.3.6/scripts/services/cron.pom logwatch-7.3.6/scripts/services/cron
--- logwatch-7.3.6/scripts/services/cron.pom 2008-01-28 12:02:48.000000000 +0100
+++ logwatch-7.3.6/scripts/services/cron 2008-02-14 14:23:46.000000000 +0100
@@ -146,7 +146,7 @@ while (defined($ThisLine = <STDIN>)) {
$Errors{$Reason}++;
} elsif ( ($FileName) = ($ThisLine =~ /BAD FILE MODE \((.+)\)/) ) {
$BFMFile{$FileName}++;
- } elsif ( ($FileName) = ($ThisLine = /WRONG FILE OWNER \((.+)\)/) ) {
+ } elsif ( ($FileName) = ($ThisLine =~ /WRONG FILE OWNER \((.+)\)/) ) {
$WFO{$FileName}++;
} else {
# Report any unmatched entries...

View File

@ -1,7 +1,7 @@
Summary: A log file analysis program
Name: logwatch
Version: 7.3.6
Release: 18%{?dist}
Release: 19%{?dist}
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
@ -36,6 +36,7 @@ Patch29: logwatch-7.3.6-maillog.patch
Patch30: logwatch-7.3.6-amavis2.patch
Patch31: logwatch-7.3.6-openvpn.patch
Patch32: logwatch-7.3.6-postfix.patch
Patch33: logwatch-7.3.6-cron4.patch
Requires: textutils sh-utils grep mailx
Requires: perl(Date::Manip)
@ -80,6 +81,7 @@ of the package on many systems.
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
rm -f scripts/services/*.orig
%build
@ -193,6 +195,9 @@ rm -rf %{buildroot}
%doc License project/CHANGES
%changelog
* Thu Feb 14 2008 Ivana Varekova <varekova@redhat.com> 7.3.6-19
- resolves cron service problem (#432766)
* Mon Jan 28 2008 Ivana Varekova <varekova@redhat.com> 7.3.6-18
- resolves: #429933 fix postfix script
thanks Benjamin Gordon