Added -sshd patch and revert to older conf file creations
This commit is contained in:
parent
2abe842328
commit
3192c9e6be
@ -1,7 +1,7 @@
|
||||
Summary: A log file analysis program
|
||||
Name: logwatch
|
||||
Version: 7.4.0
|
||||
Release: 4.20110328svn50%{?dist}
|
||||
Release: 5.20110328svn50%{?dist}
|
||||
License: MIT
|
||||
Group: Applications/System
|
||||
URL: http://www.logwatch.org/
|
||||
@ -24,6 +24,7 @@ Patch4: logwatch-manpage.patch
|
||||
Patch5: logwatch-xntpd.patch
|
||||
Patch6: logwatch-smartd.patch
|
||||
Patch7: logwatch-dovecot.patch
|
||||
Patch8: logwatch-sshd.patch
|
||||
Requires: textutils sh-utils grep mailx
|
||||
Requires: perl(Date::Manip)
|
||||
BuildArchitectures: noarch
|
||||
@ -44,6 +45,7 @@ of the package on many systems.
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
rm -f scripts/services/*.orig
|
||||
|
||||
%build
|
||||
@ -80,8 +82,6 @@ install -m 0644 scripts/services/* %{buildroot}%{_datadir}/logwatch/scripts/serv
|
||||
install -m 0644 scripts/shared/* %{buildroot}%{_datadir}/logwatch/scripts/shared
|
||||
|
||||
install -m 0644 conf/logwatch.conf %{buildroot}%{_datadir}/logwatch/default.conf/logwatch.conf
|
||||
install -m 0644 conf/logwatch.conf %{buildroot}%{_sysconfdir}/logwatch/conf/logwatch.conf
|
||||
install -m 0644 conf/ignore.conf %{buildroot}%{_sysconfdir}/logwatch/conf/ignore.conf
|
||||
|
||||
install -m 0644 conf/logfiles/* %{buildroot}%{_datadir}/logwatch/default.conf/logfiles
|
||||
install -m 0644 conf/services/* %{buildroot}%{_datadir}/logwatch/default.conf/services
|
||||
@ -107,6 +107,8 @@ touch %{buildroot}%{_datadir}/logwatch/scripts/services/zz-fortune
|
||||
chmod 644 %{buildroot}%{_datadir}/logwatch/scripts/services/zz-fortune
|
||||
%endif
|
||||
|
||||
echo "###### REGULAR EXPRESSIONS IN THIS FILE WILL BE TRIMMED FROM REPORT OUTPUT #####" > %{buildroot}%{_sysconfdir}/logwatch/conf/ignore.conf
|
||||
echo "# Local configuration options go here (defaults are in %{_datadir}/logwatch/default.conf/logwatch.conf)" > %{buildroot}%{_sysconfdir}/logwatch/conf/logwatch.conf
|
||||
echo "# Configuration overrides for specific logfiles/services may be placed here." > %{buildroot}%{_sysconfdir}/logwatch/conf/override.conf
|
||||
|
||||
%files
|
||||
@ -135,6 +137,10 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Sat Apr 30 2011 Frank Crawford <frank@crawford.emu.id.au> - 7.4.0-5.20110328svn50
|
||||
- Added -sshd patch to match more pam_systemd messages (rhbz#699558)
|
||||
- Updated logwatch.spec to create empty files in /etc/logwatch/conf
|
||||
|
||||
* Tue Apr 26 2011 Frank Crawford <frank@crawford.emu.id.au> - 7.4.0-4.20110328svn50
|
||||
- Updated -secure patch to match more pam_systemd messages
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user