rpms/logwatch/devel logwatch-7.3.4-pam_unix.patch, 1.1, 1.2 logwatch.spec, 1.81, 1.82
Ivana Varekova (varekova)
fedora-extras-commits at redhat.com
Thu Nov 22 11:06:39 UTC 2007
Author: varekova
Update of /cvs/pkgs/rpms/logwatch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6854
Modified Files:
logwatch-7.3.4-pam_unix.patch logwatch.spec
Log Message:
- fix pam_unix script output (#389311)
logwatch-7.3.4-pam_unix.patch:
Index: logwatch-7.3.4-pam_unix.patch
===================================================================
RCS file: /cvs/pkgs/rpms/logwatch/devel/logwatch-7.3.4-pam_unix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- logwatch-7.3.4-pam_unix.patch 8 Mar 2007 14:25:45 -0000 1.1
+++ logwatch-7.3.4-pam_unix.patch 22 Nov 2007 11:06:34 -0000 1.2
@@ -7,8 +7,8 @@
+# $Id$
##########################################################################
# $Log$
- # Revision 1.1 2007/03/08 14:25:45 varekova
- # - add pam_unix service patch
+ # Revision 1.2 2007/11/22 11:06:34 varekova
+ # - fix pam_unix script output (#389311)
#
-# Revision 1.29 2006/12/20 15:46:45 bjorn
-# Additional filtering by Ivana Varekova.
@@ -83,8 +83,8 @@
- } else {
+ if ($line =~ s/^session opened for user (.+)/$1/) {
+ $data{$service}{'Sessions Opened'}{$line}++;
-+ } elsif ($line =~ s/^session closed for user (.+)/$1/) {
-+ $data{$service}{'Password Failures'}{$line}++;
++ } elsif ($line =~ /session closed for user/) {
++ # ignore this line
+ } elsif ($line =~ /account (.+) has password changed in future/) {
+ } else {
$data{$service}{'Unknown Entries'}{$line}++;
@@ -94,8 +94,8 @@
+ } elsif ($service eq 'runuser') {
+ if ($line =~ s/^session opened for user (.+)/$1/) {
+ $data{$service}{'Sessions Opened'}{$line}++;
-+ } elsif ($line =~ s/^session closed for user (.+)/$1/) {
-+ $data{$service}{'Password Failures'}{$line}++;
++ } elsif ($line =~ /session closed for user/) {
++ # ignore this line
+ } else {
+ $data{$service}{'Unknown Entries'}{$line}++;
+ }
Index: logwatch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/logwatch/devel/logwatch.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- logwatch.spec 13 Nov 2007 13:40:11 -0000 1.81
+++ logwatch.spec 22 Nov 2007 11:06:34 -0000 1.82
@@ -1,7 +1,7 @@
Summary: A log file analysis program
Name: logwatch
Version: 7.3.6
-Release: 12%{?dist}
+Release: 13%{?dist}
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
@@ -176,6 +176,9 @@
%doc License project/CHANGES
%changelog
+* Thu Nov 22 2007 Ivana Varekova <varekova at redhat.com> 7.3.6-13
+- fix pam_unix script output (#389311)
+
* Tue Nov 13 2007 Ivana Varekova <varekova at redhat.com> 7.3.6-12
- change Print configuration (#378901)
More information about the fedora-extras-commits
mailing list