Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
DISCONTINUED:openSUSE:11.1:Update
logwatch
logwatch.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File logwatch.spec of Package logwatch
# # spec file for package logwatch (Version 7.3.6) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: logwatch Summary: Analyzes and Reports on system logs Version: 7.3.6 Release: 60.<RELEASE6> License: X11/MIT Group: System/Monitoring Url: http://www.logwatch.org BuildArch: noarch Source0: logwatch-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Source2: Logwatch_Dmeventd_Setup_Files.tgz Patch0: logwatch-firewall.patch Patch1: logwatch-full_path_to_sendmail.patch Patch2: logwatch-timestamp_in_var.patch Requires: perl textutils sh-utils grep mailx cron BuildRequires: dos2unix BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Logwatch is a customizable, pluggable log-monitoring system. It will go through your logs for a given period of time and make a report in the areas that you wish with the detail that you wish. Authors: -------- Kirk Bauer <kirk@kaybee.org> %prep %setup -q -a 2 chmod u+w Logwatch_Setup_Files/* %patch %patch1 %patch2 dos2unix scripts/services/courier %build %install install -m 0755 -d %{buildroot}%{_var}/cache/logwatch install -m 0755 -d %{buildroot}%{_sysconfdir}/logwatch/scripts install -m 0755 -d %{buildroot}%{_sysconfdir}/logwatch/conf install -m 0755 -d %{buildroot}%{_sysconfdir}/logwatch/conf/logfiles install -m 0755 -d %{buildroot}%{_sysconfdir}/logwatch/conf/services install -m 0755 -d %{buildroot}%{_datadir}/logwatch/default.conf/logfiles install -m 0755 -d %{buildroot}%{_datadir}/logwatch/default.conf/services install -m 0755 -d %{buildroot}%{_datadir}/logwatch/default.conf/html install -m 0755 -d %{buildroot}%{_datadir}/logwatch/dist.conf/logfiles install -m 0755 -d %{buildroot}%{_datadir}/logwatch/dist.conf/services install -m 0755 -d %{buildroot}%{_datadir}/logwatch/scripts/services install -m 0755 -d %{buildroot}%{_datadir}/logwatch/scripts/shared install -m 0755 -d %{buildroot}%{_datadir}/logwatch/lib install -m 0755 -d %{buildroot}/var/lib/logwatch install -m 0755 scripts/logwatch.pl %{buildroot}%{_datadir}/logwatch/scripts/logwatch.pl for i in scripts/logfiles/* ; do if [ $(ls $i | wc -l) -ne 0 ] ; then install -m 0755 -d %{buildroot}%{_datadir}/logwatch/$i install -m 0755 $i/* %{buildroot}%{_datadir}/logwatch/$i fi done install -m 0755 scripts/services/* %{buildroot}%{_datadir}/logwatch/scripts/services install -m 0755 Logwatch_Setup_Files/dmeventd %{buildroot}%{_datadir}/logwatch/scripts/services install -m 0755 scripts/shared/* %{buildroot}%{_datadir}/logwatch/scripts/shared install -m 0755 lib/* %{buildroot}%{_datadir}/logwatch/lib install -m 0644 conf/*.conf %{buildroot}%{_datadir}/logwatch/default.conf install -m 0644 conf/logfiles/* %{buildroot}%{_datadir}/logwatch/default.conf/logfiles install -m 0644 conf/services/* %{buildroot}%{_datadir}/logwatch/default.conf/services install -m 0644 Logwatch_Setup_Files/dmeventd.conf %{buildroot}%{_datadir}/logwatch/default.conf/services install -m 0644 conf/html/* %{buildroot}%{_datadir}/logwatch/default.conf/html install -m 0755 -d %{buildroot}%{_mandir}/man8 install -m 0644 logwatch.8 %{buildroot}%{_mandir}/man8 rm -f %{buildroot}%{_sysconfdir}/cron.daily/logwatch \ %{buildroot}%{_sbindir}/logwatch install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.daily ln -s %{_datadir}/logwatch/scripts/logwatch.pl %{buildroot}%{_sysconfdir}/cron.daily/0logwatch install -m 0755 -d %{buildroot}%{_sbindir} install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.d install -m 0644 Logwatch_Setup_Files/dmeventd_cronjob.txt %{buildroot}%{_sysconfdir}/cron.d/dmeventd ln -s %{_datadir}/logwatch/scripts/logwatch.pl %{buildroot}%{_sbindir}/logwatch 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 # rpm -qa --queryformat='%%{name}/%%{version}/%%{release}/%%{arch}\n'| sort | bzip2 -9 > USEDFORBUILD.bz2 # touch %{buildroot}/var/lib/logwatch/timestamp.txt %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc License project/CHANGES README HOWTO-Customize-LogWatch %doc USEDFORBUILD.bz2 %dir %{_var}/cache/logwatch %dir %{_sysconfdir}/logwatch %dir %{_sysconfdir}/logwatch/scripts %dir %{_sysconfdir}/logwatch/conf %dir %{_sysconfdir}/logwatch/conf/logfiles %dir %{_sysconfdir}/logwatch/conf/services %dir %{_datadir}/logwatch %dir %{_datadir}/logwatch/default.conf %dir %{_datadir}/logwatch/default.conf/services %dir %{_datadir}/logwatch/default.conf/logfiles %dir %{_datadir}/logwatch/default.conf/html %dir %{_datadir}/logwatch/dist.conf %dir %{_datadir}/logwatch/dist.conf/services %dir %{_datadir}/logwatch/dist.conf/logfiles %dir %{_datadir}/logwatch/scripts %dir %{_datadir}/logwatch/scripts/logfiles %dir %{_datadir}/logwatch/scripts/services %dir %{_datadir}/logwatch/scripts/shared %dir %{_datadir}/logwatch/scripts/logfiles/* %dir %{_datadir}/logwatch/lib %dir /var/lib/logwatch %config %{_sysconfdir}/cron.d/dmeventd %{_datadir}/logwatch/scripts/logwatch.pl %{_sbindir}/logwatch %{_datadir}/logwatch/scripts/shared/* %{_datadir}/logwatch/scripts/services/* %{_datadir}/logwatch/scripts/logfiles/*/* %{_datadir}/logwatch/lib/Logwatch.pm %{_datadir}/logwatch/default.conf/*.conf %{_datadir}/logwatch/default.conf/services/*.conf %{_datadir}/logwatch/default.conf/logfiles/*.conf %{_datadir}/logwatch/default.conf/html/*.html %{_sysconfdir}/cron.daily/0logwatch %doc %{_mandir}/man8/logwatch.8* %config(noreplace) %{_sysconfdir}/logwatch/conf/*.conf %ghost /var/lib/logwatch/timestamp.txt %changelog * Tue Mar 17 2009 pth@suse.de - Call sendmail with full path (bnc#465127). - Log timestamp of dmeventd in /var/lib/logwatch not /etc/logwatch/scripts/services. (bnc#467272) - Add /var/lib/logwatch to file list. - ghost the timstamp file - Fix a few typos. * Mon Oct 13 2008 pth@suse.de - Add files to let logwatch capture DM events (fate#304214, bnc#434254) * Tue Apr 08 2008 crrodriguez@suse.de - logwatch does not watch anything without cron * Mon Nov 12 2007 pth@suse.de - Patch iptables.conf to also monitor the SUSE firewall logs (#334167) - Update to 7.3.6: - Fixed bug with --mailto not working with printing now enabled by default - Fixed problem with the Samba filter - New services bfd, zz-runtime, evtsystem, evtsecurity, and evtapplication. - Default behavior is now to print output which means you will see the report if you run it from the command-line and when run from cron it will be emailed to you by the cron daemon. You can change this through config or command-line options. - Substantial Postfix improvements and other minor changes and fixes - Numerous other filter improvements - Added dpkg, pix, denyhosts, and php services * Thu Nov 23 2006 mge@suse.de - check into autobuild - update to 7.3.1 - FATE #300526
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor