- add secure service patch

This commit is contained in:
Ivana Varekova 2007-10-10 13:43:51 +00:00
parent 86b9286eb7
commit 92e5af7722
2 changed files with 19 additions and 1 deletions

View File

@ -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 = <STDIN>)) {
( $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+\]:/) {

View File

@ -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 <varekova@redhat.com> 7.3.6-8
- add secure service patch
* Wed Oct 10 2007 Ivana Varekova <varekova@redhat.com> 7.3.6-7
- add cron service patch
- add pam-unix service patch