auto-import changelog data from logwatch-2.6-1.src.rpm

Sun Mar 31 2002 Elliot Lee <sopwith@redhat.com> 2.6-1
- Don't trust homebaked tempdir creation - always use mktemp.
This commit is contained in:
cvsdist 2004-09-09 08:01:31 +00:00
parent 517c16a594
commit ed257bea96
3 changed files with 156 additions and 2 deletions

View File

@ -1 +1 @@
logwatch-2.5.tar.gz
logwatch-2.6.tar.gz

154
logwatch.spec Normal file
View File

@ -0,0 +1,154 @@
Summary: A log file analysis program.
Name: logwatch
Version: 2.6
Release: 1
Copyright: MIT
Group: Applications/System
URL: http://www.logwatch.org/
Source: ftp://ftp.kaybee.org/pub/linux/logwatch-2.6.tar.gz
Patch: logwatch-2.6-mktemp.patch
Requires: perl,textutils,sh-utils,grep,mailx
BuildRoot: %{_tmppath}/logwatch-build
BuildArchitectures: noarch
%description
LogWatch is a customizable log analysis 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. LogWatch is easy to use and claims that it will work right
out of the package on almost all systems. Note that LogWatch now
analyzes Samba logs.
%prep
%setup -q
%patch -p1
%install
rm -rf %{buildroot}
install -m 0755 -d %{buildroot}%{_sysconfdir}/log.d/conf/logfiles
install -m 0755 -d %{buildroot}%{_sysconfdir}/log.d/conf/services
install -m 0755 -d %{buildroot}%{_sysconfdir}/log.d/scripts/services
install -m 0755 -d %{buildroot}%{_sysconfdir}/log.d/scripts/shared
install -m 0755 -d %{buildroot}%{_sysconfdir}/log.d/scripts/logfiles/xferlog
install -m 0755 -d %{buildroot}%{_sysconfdir}/log.d/scripts/logfiles/cron
install -m 0755 -d %{buildroot}%{_sysconfdir}/log.d/scripts/logfiles/samba
install -m 0755 scripts/logwatch.pl %{buildroot}%{_sysconfdir}/log.d/scripts/logwatch.pl
install -m 0755 scripts/logfiles/xferlog/* %{buildroot}%{_sysconfdir}/log.d/scripts/logfiles/xferlog
install -m 0755 scripts/logfiles/cron/* %{buildroot}%{_sysconfdir}/log.d/scripts/logfiles/cron
install -m 0755 scripts/logfiles/samba/* %{buildroot}%{_sysconfdir}/log.d/scripts/logfiles/samba
install -m 0755 scripts/services/* %{buildroot}%{_sysconfdir}/log.d/scripts/services
install -m 0755 scripts/shared/* %{buildroot}%{_sysconfdir}/log.d/scripts/shared
install -m 0644 conf/logwatch.conf %{buildroot}%{_sysconfdir}/log.d/conf/logwatch.conf
install -m 0644 conf/logfiles/* %{buildroot}%{_sysconfdir}/log.d/conf/logfiles
install -m 0644 conf/services/* %{buildroot}%{_sysconfdir}/log.d/conf/services
install -m 0755 -d %{buildroot}%{_mandir}/man8
install -m 0644 logwatch.8 %{buildroot}%{_mandir}/man8
rm -f %{buildroot}%{_sysconfdir}/log.d/logwatch \
%{buildroot}%{_sysconfdir}/log.d/logwatch.conf \
%{buildroot}%{_sysconfdir}/cron.daily/00-logwatch \
%{buildroot}%{_sbindir}/logwatch \
%{buildroot}%{_sysconfdir}/log.d/scripts/services/zz-fortune* \
%{buildroot}%{_sysconfdir}/log.d/conf/services/zz-fortune* \
%{buildroot}%{_sysconfdir}/log.d/conf/logfiles/fortune*
ln -s scripts/logwatch.pl %{buildroot}%{_sysconfdir}/log.d/logwatch
ln -s conf/logwatch.conf %{buildroot}%{_sysconfdir}/log.d/logwatch.conf
install -m 0755 -d %{buildroot}%{_sysconfdir}/cron.daily
ln -s ../log.d/scripts/logwatch.pl %{buildroot}%{_sysconfdir}/cron.daily/00-logwatch
install -m 0755 -d %{buildroot}%{_sbindir}
ln -s ../..%{_sysconfdir}/log.d/scripts/logwatch.pl %{buildroot}%{_sbindir}/logwatch
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README HOWTO-Make-Filter
%dir %{_sysconfdir}/log.d
%dir %{_sysconfdir}/log.d/conf
%dir %{_sysconfdir}/log.d/scripts
%dir %{_sysconfdir}/log.d/conf/logfiles
%dir %{_sysconfdir}/log.d/conf/services
%dir %{_sysconfdir}/log.d/scripts/logfiles
%dir %{_sysconfdir}/log.d/scripts/services
%dir %{_sysconfdir}/log.d/scripts/shared
%dir %{_sysconfdir}/log.d/scripts/logfiles/xferlog
%dir %{_sysconfdir}/log.d/scripts/logfiles/cron
%dir %{_sysconfdir}/log.d/scripts/logfiles/samba
%config %{_sysconfdir}/log.d/conf/logwatch.conf
%config %{_sysconfdir}/log.d/conf/services/*
%config %{_sysconfdir}/log.d/conf/logfiles/*
%{_sysconfdir}/log.d/scripts/logwatch.pl
%{_sbindir}/logwatch
%{_sysconfdir}/log.d/scripts/shared/*
%{_sysconfdir}/log.d/scripts/services/*
%{_sysconfdir}/log.d/scripts/logfiles/xferlog/*
%{_sysconfdir}/log.d/scripts/logfiles/cron/*
%{_sysconfdir}/log.d/scripts/logfiles/samba/*
%{_sysconfdir}/log.d/logwatch
%{_sysconfdir}/log.d/logwatch.conf
%{_sysconfdir}/cron.daily/00-logwatch
%{_mandir}/man8/logwatch.8*
%doc License project/CHANGES project/TODO
%changelog
* Sun Mar 31 2002 Elliot Lee <sopwith@redhat.com> 2.6-1
- Don't trust homebaked tempdir creation - always use mktemp.
* Thu Mar 28 2002 Elliot Lee <sopwith@redhat.com> 2.5-4
- Fix the /tmp race for real
- Merge changes from both spec files.
* Thu Mar 28 2002 Kirk Bauer <kirk@kaybee.org> 2.5-2
- Updated new changes from Red Hat's rawhide packaging
* Tue Sep 04 2001 Elliot Lee <sopwith@redhat.com> 2.1.1-3
- Fix #53077
* Thu Aug 09 2001 Elliot Lee <sopwith@redhat.com> 2.1.1-2
- Fix warning in services/init (#51305) and don't include fortune module
(#51093).
* Mon May 21 2001 Tim Powers <timp@redhat.com>
- updated to 2.1.1
- adapted changes from Kirk Bauer's spec file into this one
* Sat Aug 5 2000 Tim Powers <timp@redhat.com>
- fix bug #15478, spelling error in the description
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
- rebuilt
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
- rebuilt
* Thu Jun 8 2000 Tim Powers <timp@redhat.com>
- fixed man page location to be FHS compliant
- use predefined RPM macros whenever possible
* Mon May 15 2000 Tim Powers <timp@redhat.com>
- rebuilt for 7.0
* Mon Jul 19 1999 Tim Powers <timp@redhat.com>
- rebuilt for 6.1
* Thu Apr 15 1999 Michael Maher <mike@redhat.com>
- built package for 6.0
- updated source
* Wed Nov 18 1998 Kirk Bauer <kirk@kaybee.org>
- Modified to comply with RHCN standards
* Fri Oct 2 1998 Michael Maher <mike@redhat.com>
- built package
* Sun Feb 23 1998 Kirk Bauer <kirk@kaybee.org>
- Minor changes and addition of man-page
* Sun Feb 22 1998 Kirk Bauer <kirk@kaybee.org>
- initial release

View File

@ -1 +1 @@
ad9a6701d754b072e4185a6b3681f15a logwatch-2.5.tar.gz
2cebedd237b9cc133ab949ec97181c6f logwatch-2.6.tar.gz