diff --git a/logwatch-7.3.6-named9.patch b/logwatch-7.3.6-named9.patch new file mode 100644 index 0000000..015d267 --- /dev/null +++ b/logwatch-7.3.6-named9.patch @@ -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 diff --git a/logwatch.spec b/logwatch.spec index 19339e4..e119813 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -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 7.3.6-57 +- named: match "clients-per-query increased" as well as "decreased" + * Sat Oct 9 2010 Richard Fearn 7.3.6-56 - Update dhcpd patch so that "Information-request" messages are matched (rhbz#624590)