diff --git a/logwatch-7.3.6-secure1.patch b/logwatch-7.3.6-secure1.patch new file mode 100644 index 0000000..5ba1ded --- /dev/null +++ b/logwatch-7.3.6-secure1.patch @@ -0,0 +1,13 @@ +diff -up logwatch-7.3.6/scripts/services/secure.pom logwatch-7.3.6/scripts/services/secure +--- logwatch-7.3.6/scripts/services/secure.pom 2007-10-10 14:35:11.000000000 +0200 ++++ logwatch-7.3.6/scripts/services/secure 2007-10-10 15:33:22.000000000 +0200 +@@ -213,7 +213,8 @@ while (defined($ThisLine = )) { + ( $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/) or +- ( $ThisLine =~ /sshd.*: Accepted \S+ for \S+ from [\d\.:a-f]+ port \d+/) # ssh script reads this log ++ ( $ThisLine =~ /sshd.*: Accepted \S+ for \S+ from [\d\.:a-f]+ port \d+/) or # ssh script reads this log ) ++ ( $ThisLine =~ /userhelper.*: running (.*) with context (.*)/) + ) { + # Ignore these entries + } elsif ($ThisLine =~ /^spop3d/ || $ThisLine =~ /^pop\(\w+\)\[\d+\]:/) { diff --git a/logwatch.spec b/logwatch.spec index 2975014..1b07b0d 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -1,7 +1,7 @@ Summary: A log file analysis program Name: logwatch Version: 7.3.6 -Release: 7%{?dist} +Release: 8%{?dist} License: MIT Group: Applications/System URL: http://www.logwatch.org/ @@ -23,6 +23,7 @@ Patch16: logwatch-7.3.6-zz-disk_space.patch Patch17: logwatch-7.3.6-cron2.patch Patch18: logwatch-7.3.6-cron3.patch Patch19: logwatch-7.3.6-pam_unix2.patch +Patch20: logwatch-7.3.6-secure1.patch Requires: textutils sh-utils grep mailx BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -53,6 +54,7 @@ of the package on many systems. %patch17 -p1 %patch18 -p1 %patch19 -p1 +%patch20 -p1 %build @@ -165,6 +167,9 @@ rm -rf %{buildroot} %doc License project/CHANGES %changelog +* Wed Oct 10 2007 Ivana Varekova 7.3.6-8 +- add secure service patch + * Wed Oct 10 2007 Ivana Varekova 7.3.6-7 - add cron service patch - add pam-unix service patch