Name: logwatch
Summary: Log file analysis program
Version: 5.2.2
Release: 0.1.2
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
Description: Logwatch is a customizable, pluggable log-monitoring system. LogWatch parses
through your system's logs for a given period of time and creates a report
analyzing areas that you specify, in as much detail as you require.
The build could not start because the following file is missing: logwatch-5.2.2.tar.gz
The build could not start because the following file is missing: logwatch-5.2.2.tar.gz
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dag # Upstream: Kirk Bauer <kirk$kaybee,org> # Upstream: <logwatch-bugs$logwatch,org> # Upstream: <logwatch-devel$logwatch,org> ### EL6 ships with logwatch-7.3.6-48.1.el6 ### EL5 ships with logwatch-7.3-8.el5 ### EL4 ships with logwatch-5.2.2-4.el4 ### EL3 ships with logwatch-4.3.2-3.rhel3 ### EL2 ships with logwatch-2.6-2.EL2 %{?el2:# Tag: rfx} # ExclusiveDist: el2 Summary: Log file analysis program Name: logwatch Version: 5.2.2 Release: 0.1.2%{?dist} License: MIT Group: Applications/System URL: http://www.logwatch.org/ Source: ftp://ftp.kaybee.org/pub/linux/logwatch-%{version}.tar.gz Patch0: logwatch-4.3.2-nounicode.patch Patch1: logwatch-4.3.2-nosegfault.patch Patch3: logwatch-5.1-catchlocal.patch Patch9: logwatch-5.2-RejectedAtt.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch Requires: perl, textutils, sh-utils, grep, mailx %description Logwatch is a customizable, pluggable log-monitoring system. LogWatch parses through your system's logs for a given period of time and creates a report analyzing areas that you specify, in as much detail as you require. %prep %setup %patch0 -p1 %patch1 -p1 %patch3 -p1 %patch9 %build %install %{__rm} -rf %{buildroot} %{__install} -Dp -m0755 scripts/logwatch.pl %{buildroot}%{_sysconfdir}/log.d/scripts/logwatch.pl %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/log.d/scripts/services/ %{__install} -p -m0755 scripts/services/* %{buildroot}%{_sysconfdir}/log.d/scripts/services/ %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/log.d/scripts/shared/ %{__install} -p -m0755 scripts/shared/* %{buildroot}%{_sysconfdir}/log.d/scripts/shared/ for file in scripts/logfiles/* ; do if [ $(ls $file | wc -l) -ne 0 ] ; then %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/log.d/$file %{__install} -p -m0755 $file/* %{buildroot}%{_sysconfdir}/log.d/$file fi done %{__install} -Dp -m0644 conf/logwatch.conf %{buildroot}%{_sysconfdir}/log.d/conf/logwatch.conf %{__install} -Dp -m0644 logwatch.8 %{buildroot}%{_mandir}/man8/logwatch.8 %{__install} -Dp -m0644 lib/Logwatch.pm %{buildroot}%{_sysconfdir}/log.d/lib/Logwatch.pm %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/log.d/conf/logfiles/ %{__install} -p -m0644 conf/logfiles/* %{buildroot}%{_sysconfdir}/log.d/conf/logfiles/ %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/log.d/conf/services/ %{__install} -p -m0644 conf/services/* %{buildroot}%{_sysconfdir}/log.d/conf/services/ %{__ln_s} -f scripts/logwatch.pl %{buildroot}%{_sysconfdir}/log.d/logwatch %{__ln_s} -f conf/logwatch.conf %{buildroot}%{_sysconfdir}/log.d/ %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/cron.daily/ %{__ln_s} -f ../log.d/scripts/logwatch.pl %{buildroot}%{_sysconfdir}/cron.daily/00-logwatch %{__install} -d -m0755 %{buildroot}%{_sbindir} %{__ln_s} -f ../..%{_sysconfdir}/log.d/scripts/logwatch.pl %{buildroot}%{_sbindir}/logwatch #%{__rm} -f %{buildroot}%{_sysconfdir}/log.d/logwatch \ # %{buildroot}%{_sysconfdir}/log.d/logwatch.conf \ # %{buildroot}%{_sysconfdir}/cron.daily/logwatch \ # %{buildroot}%{_sbindir}/logwatch %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc License project/CHANGES project/TODO %doc HOWTO-Make-Filter README %doc %{_mandir}/man8/* %config %{_sysconfdir}/log.d/ %config %{_sysconfdir}/cron.daily/00-logwatch %{_sbindir}/logwatch %changelog * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 5.2.2-0.1.2 - Rebuild for Fedora Core 5. * Sat Jun 26 2004 Dag Wieers <dag@wieers.com> - 5.2.2-1 - Updated to release 5.2.2. * Mon Jun 21 2004 Dag Wieers <dag@wieers.com> - 5.2-1 - Updated to release 5.2. * Wed May 12 2004 Dag Wieers <dag@wieers.com> - 5.1-3 - Moved the logwatch manpage to the correct location. (Matthew Lenz) * Thu Apr 29 2004 Dag Wieers <dag@wieers.com> - 5.1-2 - Fixed the perl(Logwatch) problem. - Updated to release 5.1. * Thu Mar 27 2003 Dag Wieers <dag@wieers.com> - 4.3.2-0 - Initial package. (using DAR)