[logwatch/f13/master] named: match "clients-per-query increased" as well as "decreased"

richardfearn richardfearn at fedoraproject.org
Sat Oct 9 16:59:31 UTC 2010


commit 9d1186328bb02671b6f3153141c9ea5994c763ed
Author: Richard Fearn <richardfearn at gmail.com>
Date:   Sat Oct 9 17:06:15 2010 +0100

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

 logwatch-7.3.6-named9.patch |   12 ++++++++++++
 logwatch.spec               |   10 +++++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
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 d6d1768..ed64975 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 52%{?dist}
+Release: 53%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -77,6 +77,10 @@ Patch73: logwatch-7.3.6-manpages.patch
 # rhbz#581186
 Patch74: logwatch-7.3.6-named8.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)
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -153,6 +157,7 @@ of the package on many systems.
 %patch71 -p1
 %patch73 -p1
 %patch74 -p1
+%patch76 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -267,6 +272,9 @@ rm -rf %{buildroot}
 %doc License project/CHANGES 
 
 %changelog
+* Sat Oct  9 2010 Richard Fearn <richardfearn at gmail.com> 7.3.6-53
+- named: match "clients-per-query increased" as well as "decreased"
+
 * Sat Oct  9 2010 Richard Fearn <richardfearn at gmail.com> 7.3.6-52
 - Update dhcpd patch so that "Information-request" messages are matched
   (rhbz#624590)


More information about the scm-commits mailing list