Add missing options to logwatch.8

This commit is contained in:
Jan Synacek 2013-05-23 08:49:43 +02:00
parent 650c69aea5
commit 57c3853772
2 changed files with 43 additions and 1 deletions

37
logwatch-man.patch Normal file
View File

@ -0,0 +1,37 @@
Add --hostlimit and --html_wrap to the logwatch.8 manpage.
Author: Jan Synacek <jsynacek@redhat.com>
--- logwatch-svn140/logwatch.8 2013-05-22 15:29:09.779339911 +0200
+++ logwatch-svn140-dist/logwatch.8 2013-05-22 15:48:03.248311264 +0200
@@ -21,8 +21,12 @@ logwatch \- system log analyzer and repo
.I file-name
.B ] [--logdir
.I directory
+.B ] [--hostlimit
+.I hosts
.B ] [--hostname
.I hostname
+.B ] [--html_wrap
+.I number of characters
.B ] [--hostformat
.I host based options
.B ] [--output
@@ -94,6 +98,8 @@ instead of displaying or mailing it.
Look in
.I directory
for log subdirectories or log files instead of the default directory.
+.IP "\fB--hostlimit\fR host1,host2"
+Limit report to hostname - host1, host2.
.IP "\fB--hostname\fR hostname"
Use
.I hostname
@@ -101,6 +107,8 @@ for the reports instead of this system's
if HostLimit is set in the logwatch.conf configuration file (see
\fBMORE INFORMATION\fR, below),
then only logs from this hostname will be processed (where appropriate).
+.IP "\fB--html_wrap\fR num-characters"
+Number of characters that html output should be wrapped to. Default is 80.
.IP "\fB--numeric\fR"
Inhibits additional name lookups, displaying IP addresses numerically.
.IP "\fB--no-oldfiles-log\fR"

View File

@ -1,7 +1,7 @@
Summary: A log file analysis program
Name: logwatch
Version: 7.4.0
Release: 25.20130522svn140%{?dist}
Release: 26.20130522svn140%{?dist}
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
@ -25,6 +25,7 @@ Patch9: logwatch-rkhunter.patch
# Not yet upstreamed
Patch16: logwatch-secure-userhelper.patch
Patch18: logwatch-secure-username.patch
Patch19: logwatch-man.patch
Requires: textutils sh-utils grep mailx
Requires: perl(Date::Manip)
Requires: perl(Sys::CPU)
@ -47,6 +48,7 @@ of the package on many systems.
%patch9 -p0
%patch16 -p1
%patch18 -p1
%patch19 -p1
rm -f scripts/services/*.orig
%build
@ -146,6 +148,9 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
%{_mandir}/man*/*
%changelog
* Thu May 23 2013 Jan Synáček <jsynacek@redhat.com> - 7.4.0-26.20130522svn140
- Add missing options to logwatch.8
* Wed May 22 2013 Jan Synáček <jsynacek@redhat.com> - 7.4.0-25.20130522svn140
- Update to revision 140 and drop upstreamed patches
- Own directories correctly