named: match "clients-per-query increased" as well as "decreased"

This commit is contained in:
Richard Fearn 2010-10-09 17:06:15 +01:00
parent ad5b9c3524
commit af13ca010d
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -ur logwatch-7.3.6/scripts/services/named logwatch-7.3.6-fedora/scripts/services/named
--- logwatch-7.3.6/scripts/services/named 2010-10-09 13:45:17.000000000 +0100
+++ logwatch-7.3.6-fedora/scripts/services/named 2010-10-09 16:46:53.000000000 +0100
@@ -193,7 +193,7 @@
($ThisLine =~ /built with/) or
($ThisLine =~ /'.*': TTL differs in rdataset, adjusting [0-9]* -> [0-9]*/) or
($ThisLine =~ /max open files \([0-9]*\) is smaller than max sockets \([0-9]*\)/) or
- ($ThisLine =~ /clients-per-query decreased to .*/) or
+ ($ThisLine =~ /clients-per-query (?:de|in)creased to .*/) or
($ThisLine =~ /^must-be-secure resolving '.*': .*/) or
($ThisLine =~ /^no valid DS resolving '.*': .*/) or
($ThisLine =~ /^no valid KEY resolving '.*': .*/) or

View File

@ -1,7 +1,7 @@
Summary: A log file analysis program
Name: logwatch
Version: 7.3.6
Release: 56%{?dist}
Release: 57%{?dist}
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
@ -143,6 +143,10 @@ Patch74: logwatch-7.3.6-named8.patch
# Applied by upstream.
Patch75: logwatch-7.3.6-fetchmail.patch
# Match "clients-per-query increased" as well as "decreased"
# Already included upstream (rev 9)
Patch76: logwatch-7.3.6-named9.patch
Requires: textutils sh-utils grep mailx
Requires: perl(Date::Manip)
BuildArchitectures: noarch
@ -219,6 +223,7 @@ of the package on many systems.
%patch73 -p1
%patch74 -p1
%patch75 -p1
%patch76 -p1
rm -f scripts/services/*.orig
%build
@ -338,6 +343,9 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
%doc License project/CHANGES
%changelog
* Sat Oct 9 2010 Richard Fearn <richardfearn@gmail.com> 7.3.6-57
- named: match "clients-per-query increased" as well as "decreased"
* Sat Oct 9 2010 Richard Fearn <richardfearn@gmail.com> 7.3.6-56
- Update dhcpd patch so that "Information-request" messages are matched
(rhbz#624590)