Don't use ApplyhttpDate (rhbz#881111)

This commit is contained in:
Jan Synacek 2012-12-04 08:32:03 +01:00
parent 5317f53f4c
commit 758f90dacd
2 changed files with 20 additions and 1 deletions

13
logwatch-http-error.patch Normal file
View File

@ -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

View File

@ -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 <jsynacek@redhat.com> - 7.4.0-19.20120619svn110
- Don't use ApplyhttpDate (rhbz#881111)
* Mon Oct 22 2012 Jan Synáček <jsynacek@redhat.com> - 7.4.0-18.20120619svn110
- Add secure-userhelper patch: Fix misparsing userhelper log entries
(rhbz#867290)