Added sendmail2 patch from #555753

This commit is contained in:
Karel Klíč 2010-02-03 12:08:50 +00:00
parent 90aa49e909
commit cee98acf28
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- logwatch/scripts/services/sendmail 2009-08-11 21:59:52.000000000 +1000
+++ sendmail 2008-12-21 23:40:05.000000000 +1100
@@ -636,6 +636,8 @@
}
} elsif ($CleanTo =~ m/\w+\@[\w\.]+/) {
$ToList{$CleanTo}++;
+ } elsif ($CleanTo =~ m/\w+/) { # Match a simple name
+ $ToList{$CleanTo}++;
} #Else ignore it
if (defined $Msgs{$QueueID}{"Size"}) {

View File

@ -68,6 +68,7 @@ Patch67: logwatch-7.3.6-sshd3.patch
Patch68: logwatch-7.3.6-dhcpd2.patch
Patch69: logwatch-7.3.6-named7.patch
Patch70: logwatch-7.3.6-dovecot3.patch
Patch71: logwatch-7.3.6-sendmail2.patch
Requires: textutils sh-utils grep mailx
Requires: perl(Date::Manip)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -141,6 +142,7 @@ of the package on many systems.
%patch68 -p1
%patch69 -p1
%patch70 -p1
%patch71 -p1
rm -f scripts/services/*.orig
%build
@ -271,6 +273,7 @@ rm -rf %{buildroot}
- Added lines from #550873 to the logwatch-7.3.6-named6.patch
- Added named7 patch from #555980
- Added dovecot3 patch from #555745
- Added sendmail2 patch from #555753
* Wed Dec 2 2009 Karel Klic <kklic@redhat.com> 7.3.6-49
- Add 802.1q subinterface support to iptables report; iptables.patch (#507743)