Add -secure-grammar patch (rhbz#716224)

This commit is contained in:
Jan Synacek 2012-01-04 11:51:22 +01:00
parent ede27d12e7
commit 06f9969b86
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- logwatch-svn50.dist/scripts/services/secure 2012-01-04 10:45:55.615565439 +0100
+++ logwatch-svn50/scripts/services/secure 2012-01-04 11:42:12.056993506 +0100
@@ -679,7 +679,7 @@ if (keys %Error) {
}
if ($RootLoginTTY) {
- print "\nRoot logins on tty\'s: $RootLoginTTY Time(s).\n";
+ print "\nRoot logins on ttys: $RootLoginTTY Time(s).\n";
}
if (keys %UserLogin) {

View File

@ -1,7 +1,7 @@
Summary: A log file analysis program
Name: logwatch
Version: 7.4.0
Release: 6.20110328svn50%{?dist}
Release: 7.20110328svn50%{?dist}
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
@ -27,6 +27,7 @@ Patch7: logwatch-dovecot.patch
Patch8: logwatch-sshd.patch
# Fixes typo in sendmail script output
Patch9: logwatch-sendmail.patch
Patch10: logwatch-secure-grammar.patch
Requires: textutils sh-utils grep mailx
Requires: perl(Date::Manip)
BuildArchitectures: noarch
@ -49,6 +50,7 @@ of the package on many systems.
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
rm -f scripts/services/*.orig
%build
@ -140,6 +142,10 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
%{_mandir}/man*/*
%changelog
* Wed Jan 04 2012 Jan Synáček <jsynacek@redhat.com> - 7.4.0-7.20110328svn50
- Renamed sendmail patch to match other patches' naming convention
- Added -secure-grammar patch (rhbz#716224)
* Mon Dec 19 2011 Jan Synáček <jsynacek@redhat.com> - 7.4.0-6.20110328svn50
- Added -sendmail-typo patch (rhbz#708183)