Author: blues Date: Fri Feb 25 14:28:48 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - added cron-job with possibility to put generated reports to file
---- Files affected: SPECS: logwatch.spec (1.142 -> 1.143) ---- Diffs: ================================================================ Index: SPECS/logwatch.spec diff -u SPECS/logwatch.spec:1.142 SPECS/logwatch.spec:1.143 --- SPECS/logwatch.spec:1.142 Fri Feb 25 13:20:47 2005 +++ SPECS/logwatch.spec Fri Feb 25 15:28:43 2005 @@ -1,19 +1,18 @@ # $Revision$, $Date$ -# TODO: -# - prepare cron-job to generate not only e-mail, but html (like calamaris) too -# - choice in cron-jol: html, html-embed or clean text %include /usr/lib/rpm/macros.perl Summary: Analyzes system logs Summary(pl): Logwatch - analizator logów systemowych Name: logwatch Version: 6.0.1 -Release: 2 +Release: 2.1 License: MIT Group: Applications/System Source0: ftp://ftp.logwatch.org/pub/linux/%{name}-%{version}.tar.gz # Source0-md5: 47a609d01472935b269f04584d6e9217 #Path for pre-versions: #Source0: ftp://ftp.kaybee.org/pub/beta/linux/%{name}-pre%{version}.tar.gz +Source1: %{name}.cron +Source2: %{name}.sysconfig Patch0: %{name}-config.patch Patch1: %{name}-log_conf.patch Patch2: %{name}-secure.patch @@ -53,7 +52,7 @@ %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_logwatchconf},/etc/cron.daily} \ +install -d $RPM_BUILD_ROOT{%{_logwatchconf},/etc/{cron.daily,sysconfig}} \ $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_logwatchdir}/lib} install conf/logwatch.conf $RPM_BUILD_ROOT%{_logwatchconf} @@ -68,7 +67,9 @@ ln -sf %{_sbindir}/logwatch $RPM_BUILD_ROOT%{_logwatchdir}/scripts/logwatch.pl ln -sf %{_sbindir}/logwatch $RPM_BUILD_ROOT%{_logwatchconf}/logwatch -ln -sf %{_sbindir}/logwatch $RPM_BUILD_ROOT/etc/cron.daily/00-logwatch + +install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily/00-%{name} +install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} install logwatch.8 $RPM_BUILD_ROOT%{_mandir}/man8 @@ -86,15 +87,16 @@ %files %defattr(644,root,root,755) %doc README HOWTO-Make-Filter project/{CHANGES,TODO} -%attr(750,root,root) %dir %{_logwatchconf} -%attr(750,root,root) %dir %{_logwatchconf}/logfiles -%attr(750,root,root) %dir %{_logwatchconf}/services +%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/%{name} +%attr(755,root,root) %config(noreplace) %verify(not size mtime md5) /etc/cron.daily/00-%{name} %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_logwatchconf}/logwatch.conf %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_logwatchconf}/services/*.conf %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_logwatchconf}/logfiles/*.conf +%attr(750,root,root) %dir %{_logwatchconf} +%attr(750,root,root) %dir %{_logwatchconf}/logfiles +%attr(750,root,root) %dir %{_logwatchconf}/services %attr(755,root,root) %{_logwatchdir} %attr(755,root,root) %{_sbindir}/logwatch -%attr(755,root,root) /etc/cron.daily/00-logwatch %{_mandir}/man8/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) @@ -103,6 +105,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.143 2005/02/25 14:28:43 blues +- added cron-job with possibility to put generated reports to file + Revision 1.142 2005/02/25 12:20:47 blues - release 2 - sendmail patch added - fixed other patches STBR ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/logwatch.spec?r1=1.142&r2=1.143&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit