diff --git a/logwatch-7.3.6-named2.patch b/logwatch-7.3.6-named2.patch new file mode 100644 index 0000000..f74e758 --- /dev/null +++ b/logwatch-7.3.6-named2.patch @@ -0,0 +1,12 @@ +--- logwatch-7.3.6/scripts/services/named.pom 2007-06-04 13:46:17.000000000 +0200 ++++ logwatch-7.3.6/scripts/services/named 2007-06-04 13:58:11.000000000 +0200 +@@ -171,7 +171,8 @@ + ($ThisLine =~ /isc_log_open 'named.run' failed: permission denied/) or + ($ThisLine =~ /weak RSASHA1 \(5\) key found \(exponent=3\)/) or + ($ThisLine =~ /Bad file descriptor/) or +- ($ThisLine =~ /open: .*: file not found/) ++ ($ThisLine =~ /open: .*: file not found/) or ++ ($ThisLine =~ /queries: client [0-9.#:]* view localhost_resolver: query: .* IN .*/) + ) { + # Don't care about these... + } elsif ( diff --git a/logwatch-7.3.6-secure.patch b/logwatch-7.3.6-secure.patch index 9208e24..a0ec2f3 100644 --- a/logwatch-7.3.6-secure.patch +++ b/logwatch-7.3.6-secure.patch @@ -1,9 +1,11 @@ --- logwatch-7.3.6/scripts/services/secure.pom 2007-04-29 01:56:32.000000000 +0200 -+++ logwatch-7.3.6/scripts/services/secure 2007-05-22 12:38:48.000000000 +0200 -@@ -213,6 +213,7 @@ ++++ logwatch-7.3.6/scripts/services/secure 2007-06-04 13:38:42.000000000 +0200 +@@ -212,7 +212,8 @@ + ( $ThisLine =~ /PAM pam_get_item: nowhere to place requested item/) or ( $ThisLine =~ /pam_succeed_if\(.*:.*\): error retrieving information about user [a-zA-Z]*/ ) or ( $ThisLine =~ /logfile turned over/) or # newsyslog on OpenBSD - ( $ThisLine =~ /Connection closed by/) +- ( $ThisLine =~ /Connection closed by/) ++ ( $ThisLine =~ /Connection closed by/) or + ( $ThisLine =~ /sshd.*: Accepted \S+ for \S+ from [\d\.:a-f]+ port \d+/) # ssh script reads this log ) { # Ignore these entries diff --git a/logwatch.spec b/logwatch.spec index 4982b23..90d213f 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -1,7 +1,7 @@ Summary: A log file analysis program Name: logwatch Version: 7.3.6 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT Group: Applications/System URL: http://www.logwatch.org/ @@ -14,6 +14,7 @@ Patch5: logwatch-7.3.6-xntpd.patch Patch6: logwatch-7.3.4-sshd.patch Patch9: logwatch-7.3.4-sshd3.patch Patch10: logwatch-7.3.4-named.patch +Patch11: logwatch-7.3.6-named2.patch Requires: textutils sh-utils grep mailx BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -35,6 +36,7 @@ of the package on many systems. %patch6 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %build @@ -147,6 +149,11 @@ rm -rf %{buildroot} %doc License project/CHANGES %changelog +* Mon Jun 4 2007 Ivana Varekova 7.3.6-2 +- fix secure script +- Resolves: #242201 + fix named service + * Tue May 22 2007 Ivana Varekova 7.3.6-1 - update to 7.3.6