rpms/logwatch/devel logwatch-7.3.6-sshd2.patch, NONE, 1.1 logwatch.spec, 1.110, 1.111

Ivana Varekova varekova at fedoraproject.org
Mon Mar 30 13:52:07 UTC 2009


Author: varekova

Update of /cvs/pkgs/rpms/logwatch/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32381

Modified Files:
	logwatch.spec 
Added Files:
	logwatch-7.3.6-sshd2.patch 
Log Message:
fix sshd script


logwatch-7.3.6-sshd2.patch:

--- NEW FILE logwatch-7.3.6-sshd2.patch ---
diff -up logwatch-7.3.6/scripts/services/sshd.ppp logwatch-7.3.6/scripts/services/sshd
--- logwatch-7.3.6/scripts/services/sshd.ppp	2009-03-16 08:50:53.000000000 +0100
+++ logwatch-7.3.6/scripts/services/sshd	2009-03-30 15:42:46.000000000 +0200
@@ -306,7 +306,8 @@ while (defined(my $ThisLine = <STDIN>)) 
       $BadLogins{$Host}{"$User/$Method"}++;
    } elsif ($ThisLine =~ s/^(log: )?Could not reverse map address ([^ ]*).*$/$2/) {
       $NoRevMap{$ThisLine}++;
-   } elsif ( my ($Address) = ($ThisLine =~ /^reverse mapping checking getaddrinfo for ([^ ]*) failed - POSSIBLE BREAKIN ATTEMPT!/)) {
+   } elsif ( my ($Address) = ($ThisLine =~ /^reverse mapping checking getaddrinfo for ([^ ]*) failed - POSSIBLE BREAK-?IN ATTEMPT!/)) {
+
       $NoRevMap{$Address}++;
    } elsif ( my ($IP,$Address) = ($ThisLine =~ /^Address ([^ ]*) maps to ([^ ]*), but this does not map back to the address - POSSIBLE BREAKIN ATTEMPT!/)) {
       $NoRevMap{"$Address($IP)"}++;


Index: logwatch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/logwatch/devel/logwatch.spec,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- logwatch.spec	25 Feb 2009 20:56:09 -0000	1.110
+++ logwatch.spec	30 Mar 2009 13:51:37 -0000	1.111
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 40%{?dist}
+Release: 41%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -49,6 +49,7 @@
 Patch50: logwatch-7.3.6-named4.patch
 Patch51: logwatch-7.3.6-openvpn3.patch
 Patch52: logwatch-7.3.6-smartd.patch
+Patch53: logwatch-7.3.6-sshd2.patch
 Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -105,6 +106,7 @@
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1
+%patch53 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -216,6 +218,9 @@
 %doc License project/CHANGES 
 
 %changelog
+* Mon Mar 30 2009 Ivana Varekova <varekova at redhta.com> 7.3.6-41
+- fix sshd script (#492738)
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 7.3.6-40
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list