diff --git a/logwatch-http-error.patch b/logwatch-http-error.patch new file mode 100644 index 0000000..ec2f36a --- /dev/null +++ b/logwatch-http-error.patch @@ -0,0 +1,13 @@ +Don't use ApplyhttpDate in http-error. The error_log uses a different timestamp +format than the access_log. + +--- logwatch-svn110/conf/logfiles/http-error.conf 2012-12-04 08:25:17.116989626 +0100 ++++ logwatch-svn110/conf/logfiles/http-error.conf.orig 2012-12-04 08:24:10.000000000 +0100 +@@ -34,7 +34,4 @@ + *ExpandRepeats + + +-# Keep only the lines in the proper date range... +-*ApplyhttpDate +- + # vi: shiftwidth=3 tabstop=3 et diff --git a/logwatch.spec b/logwatch.spec index 66cf116..29aa9e1 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -1,7 +1,7 @@ Summary: A log file analysis program Name: logwatch Version: 7.4.0 -Release: 18.20120619svn110%{?dist} +Release: 19.20120619svn110%{?dist} License: MIT Group: Applications/System URL: http://www.logwatch.org/ @@ -33,6 +33,8 @@ Patch13: logwatch-xvc.patch Patch14: logwatch-secure.patch Patch15: logwatch-pam_unix.patch Patch16: logwatch-secure-userhelper.patch +# Not upstreamed +Patch17: logwatch-http-error.patch Requires: textutils sh-utils grep mailx Requires: perl(Date::Manip) Requires: perl(Sys::CPU) @@ -63,6 +65,7 @@ of the package on many systems. %patch14 -p1 %patch15 -p1 %patch16 -p1 +%patch17 -p1 rm -f scripts/services/*.orig %build @@ -153,6 +156,9 @@ echo "# Configuration overrides for specific logfiles/services may be placed her %{_mandir}/man*/* %changelog +* Tue Dec 04 2012 Jan Synáček - 7.4.0-19.20120619svn110 +- Don't use ApplyhttpDate (rhbz#881111) + * Mon Oct 22 2012 Jan Synáček - 7.4.0-18.20120619svn110 - Add secure-userhelper patch: Fix misparsing userhelper log entries (rhbz#867290)