sysstat/sysstat.spec

388 lines
12 KiB
RPMSpec
Raw Normal View History

Name: sysstat
2009-07-20 07:00:21 +00:00
Version: 9.0.4
Release: 1%{?dist}
2007-02-12 13:38:06 +00:00
Summary: The sar and iostat system monitoring commands
License: GPLv2+
Group: Applications/System
URL: http://perso.orange.fr/sebastien.godard/
2006-11-08 11:41:36 +00:00
Source: http://perso.orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2
2007-02-12 13:38:06 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: /sbin/chkconfig
2007-02-12 13:38:06 +00:00
Requires: sh-utils textutils grep fileutils /etc/cron.d
2006-06-05 17:52:24 +00:00
BuildRequires: perl %{_includedir}/linux/if.h gettext
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
%description
This package provides the sar and iostat commands for Linux. Sar and
iostat enable system monitoring of disk, network, and other IO
activity.
%prep
%setup -q
iconv -f windows-1252 -t utf8 CREDITS > CREDITS.aux
mv CREDITS.aux CREDITS
%build
# FIXME: I need to fix the upstream Makefile to use LIBDIR et al. properly and
# send the upstream maintainer a patch.
# add DOCDIR to the configure part
./configure --disable-man-group --prefix=%{_prefix} --mandir=%{_mandir} sa_lib_dir=%{_libdir}/sa --libdir=%{_libdir}
CFLAGS="$RPM_OPT_FLAGS -DSADC_PATH=\\\"%{_libdir}/sa/sadc\\\""
2007-11-05 14:25:50 +00:00
make CFLAGS="$CFLAGS" LFLAGS="" DOC_DIR=%{_docdir}/%{name}-%{version}
%install
rm -rf %{buildroot}
2007-11-05 14:25:50 +00:00
make install IGNORE_MAN_GROUP=y DOC_DIR=%{_docdir}/%{name}-%{version} INIT_DIR=%{_initrddir}
2007-11-09 10:36:22 +00:00
mkdir -p %{buildroot}/%{_sysconfdir}/cron.d
install -m 0644 sysstat.crond %{buildroot}/%{_sysconfdir}/cron.d/sysstat
mkdir -p %{buildroot}%{_initrddir}
install -m 0755 sysstat %{buildroot}%{_initrddir}/
%find_lang %{name}
%post
/sbin/chkconfig --add sysstat
%preun
if [ "$1" = 0 ]; then
# Remove sa logs if removing sysstat completely
2007-11-09 10:36:22 +00:00
rm -f %{_localstatedir}/log/sa/*
# Remove service
/sbin/chkconfig --del sysstat
fi
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
2007-11-05 14:25:50 +00:00
%defattr(-,root,root,-)
2005-10-11 11:57:37 +00:00
%doc CHANGES COPYING CREDITS README TODO FAQ
2007-11-09 10:36:22 +00:00
%config(noreplace) %{_sysconfdir}/cron.d/sysstat
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat.ioconf
%{_initrddir}/sysstat
%{_bindir}/*
%{_libdir}/sa
%{_mandir}/man1/*
%{_mandir}/man8/*
2007-11-09 10:36:22 +00:00
%{_localstatedir}/log/sa
%changelog
2009-07-20 07:00:21 +00:00
* Mon Jul 20 2009 Ivana Varekova <varekova@redhat.com> - 9.0.4-1
- update to 9.0.4
* Thu May 28 2009 Ivana Varekova <varekova@redhat.com> - 9.0.3-1
- update to 9.0.3
- remove obsolete patches
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.0.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-12-05 10:43:09 +00:00
* Fri Dec 5 2008 Ivana Varekova <varekova@redhat.com> - 8.0.4-6
- add /proc/diskstats reading patch
* Mon Sep 22 2008 Ivana Varekova <varekova@redhat.com> - 8.0.4-5
- Resolves: #463066 - Fix Patch0:/%%patch mismatch
* Wed Apr 23 2008 Ivana Varekova <varekova@redhat.com> - 8.0.4-4
- Resolves: #442801 mpstat shows one extra cpu
thanks Chris Wright
* Thu Mar 6 2008 Ivana Varekova <varekova@redhat.com> - 8.0.4-3
- add nfs extended statistic to iostat command
* Thu Feb 28 2008 Ivana Varekova <varekova@redhat.com> - 8.0.4-2
- retry write functuon in sadc command - thanks Tomas Mraz
2008-02-08 09:37:51 +00:00
* Fri Feb 8 2008 Ivana Varekova <varekova@redhat.com> - 8.0.4-1
- updated to 8.0.4
2007-12-03 08:54:43 +00:00
* Mon Dec 3 2007 Ivana Varekova <varekova@redhat.com> - 8.0.3-1
- updated to 8.0.3
2007-11-09 10:36:22 +00:00
* Fri Nov 9 2007 Ivana Varekova <varekova@redhat.com> - 8.0.2-3
- used macros instead of var, etc
* Thu Nov 8 2007 Ivana Varekova <varekova@redhat.com> - 8.0.2-2
- change license tag
- remove sysstat.crond source (add -d)
- remove obsolete sysconfig file
- spec file cleanup
2007-11-05 14:25:50 +00:00
* Mon Nov 5 2007 Ivana Varekova <varekova@redhat.com> - 8.0.2-1
- update 8.0.2
- spec file cleanup
2007-10-24 07:07:28 +00:00
* Wed Oct 24 2007 Ivana Varekova <varekova@redhat.com> - 8.0.1-2
- remove useless patches
* Mon Oct 22 2007 Ivana Varekova <varekova@redhat.com> - 8.0.1-1
- update to 8.0.1
- remove useless patches
- spec file cleanup
2007-10-22 17:40:00 +00:00
- remove smp build flag (ar problem)
2007-10-22 17:56:01 +00:00
- add libdir flags
* Wed Aug 15 2007 Ivana Varekova <varekova@redhat.com> - 7.0.4-3
- fix cve-2007-3852 -
sysstat insecure temporary file usage
* Fri Mar 23 2007 Ivana Varekova <varekova@redhat.com> - 7.0.4-2
- fix sa2 problem (sa2 works wrong when the /var/log/sa file is
a link to another directory)
2007-02-12 13:38:06 +00:00
* Mon Feb 12 2007 Ivana Varekova <varekova@redhat.com> - 7.0.4-1
- update to 7.0.4
- spec file cleanup
2007-01-30 13:30:21 +00:00
* Tue Jan 30 2007 Ivana Varekova <varekova@redhat.com> - 7.0.3-3
- remove -s flag
2007-01-30 12:54:44 +00:00
* Mon Dec 18 2006 Ivana Varekova <varekova@redhat.com> - 7.0.3-1
2006-12-18 15:14:36 +00:00
- update to 7.0.3
2006-11-21 15:34:11 +00:00
* Tue Nov 21 2006 Ivana Varekova <varekova@redhat.com> - 7.0.2-3
- update NFS mount statistic patch
2006-11-08 11:41:36 +00:00
* Wed Nov 8 2006 Ivana Varekova <varekova@redhat.com> - 7.0.2-1
- update to 7.0.2
2006-10-26 09:12:15 +00:00
* Thu Oct 26 2006 Ivana Varekova <varekova@redhat.com> - 7.0.0-3
- move tmp file (#208433)
2006-10-09 12:30:34 +00:00
* Mon Oct 9 2006 Ivana Varekova <varekova@redhat.com> - 7.0.0-2
- add NFS mount statistic (#184321)
* Fri Jul 14 2006 Marcela Maslanova <mmaslano@redhat.com> - 7.0.0-1
- new version 7.0.0
2006-07-12 08:21:36 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.0.2-2.1
- rebuild
2006-06-05 17:52:24 +00:00
* Mon Jun 5 2006 Jesse Keating <jkeating@redhat.com> 6.0.2-2
- Add missing BR of gettext
2006-05-05 14:20:43 +00:00
* Fri May 5 2006 Ivana Varekova <varekova@redhat.com> 6.0.2-1
- update to 6.0.2
- remove asm/page.h used sysconf command to get PAGE_SIZE
2006-05-05 14:20:43 +00:00
2006-02-11 05:46:28 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 6.0.1-3.2.1
- bump again for double-long bug on ppc(64)
2006-02-07 13:55:57 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 6.0.1-3.2
- rebuilt for new gcc4.1 snapshot and glibc changes
2005-12-09 22:43:23 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
2005-10-11 11:57:37 +00:00
* Tue Oct 11 2005 Ivana Varekova <varekova@redhat.com> 6.0.1-3
- add FAQ to documentation (bug 170158)
2005-10-10 15:49:36 +00:00
* Mon Oct 10 2005 Ivana Varekova <varekova@redhat.com> 6.0.1-2
- fix chkconfig problem
2005-10-07 13:46:22 +00:00
* Fri Oct 7 2005 Ivana Varekova <varekova@redhat.com> 6.0.1-1
- version 6.0.1
* Thu Aug 18 2005 Florian La Roche <laroche@redhat.com>
- no need to kernel kernel 2.2 or newer anymore
2005-05-10 14:48:59 +00:00
* Tue May 10 2005 Ivana Varekova <varekova@redhat.com> 5.0.5-10.fc
- add debug files to debug_package
2005-03-07 08:29:39 +00:00
* Mon Mar 7 2005 Ivana Varekova <varekova@redhat.com> 5.0.5-9.fc
2005-03-07 12:34:37 +00:00
- rebuilt (add gcc4fix, update lib64ini)
2005-03-07 08:02:56 +00:00
2005-03-04 13:26:10 +00:00
* Fri Mar 4 2005 Ivana Varekova <varekova@redhat.ccm> 5.0.5-7.fc
2005-03-07 08:29:39 +00:00
- rebuilt
2005-03-04 13:13:57 +00:00
* Thu Sep 30 2004 Charles Bennett <ccb@redhat.com> 5.0.5-5.fc
- bring in filename and append-msg patch
- append-msg adds verbose text for when saNN data file cpu count
- does not match cpu count on the currently running system
* Wed Jun 30 2004 Nils Philippsen <nphilipp@redhat.com>
- version 5.0.5
- remove some obsolete patches
- update statreset, overrun, lib64init patches
- renumber patches
* Wed Jun 16 2004 Alan Cox <alan@redhat.com>
- Fix spew of crap to console at startup
- Fix order of startup (#124035)
- Fix array overrun (#117182)
- Fix interrupt buffer sizing (caused bogus irq info)
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Mar 24 2004 Justin Forbes <64bit_fedora@comcast.net> 5.0.1-2
- fix lib64 init
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Feb 18 2004 Nils Philippsen <nphilipp@redhat.com> 5.0.1-1
- version 5.0.1
- update statreset patch
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> 5.0.0-0.6
- let user configure how long to keep logs through /etc/sysconfig/sysstat
(#81294)
- reset stats at system boot (#102445)
* Wed Jan 21 2004 Nils Philippsen <nphilipp@redhat.com> 5.0.0-0.5
- fix ifnamsiz patch for s390x (hopefully)
* Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> 5.0.0-0.4
- fix insecure tmp files in scripts (#78212)
- require tools needed in scripts
- use IFNAMSIZ from {_includedir}/linux/if.h for maximum interface length
* Mon Jan 12 2004 Nils Philippsen <nphilipp@redhat.com> 5.0.0-0.3
- Buildrequires: perl
- check for %%_lib == lib64 instead of specific arches
* Mon Jan 12 2004 Nils Philippsen <nphilipp@redhat.com> 5.0.0-0.2
- fix dealing with lib64 case of cron.d file
* Mon Jan 12 2004 Nils Philippsen <nphilipp@redhat.com> 5.0.0-0.1
- version 5.0.0
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Mon Mar 3 2003 Joe Orton <jorton@redhat.com> 4.0.7-4
- really fix paths for multilib (#82913)
* Wed Feb 19 2003 Bill Nottingham <notting@redhat.com> 4.0.7-3
- fix paths on multilib arches (#82913)
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Sat Nov 23 2002 Mike A. Harris <mharris@redhat.com> 4.0.7-1
- Updated to new upstream version 4.0.7
* Tue Nov 19 2002 Mike A. Harris <mharris@redhat.com> 4.0.5-7
- Fixed files installed in /usr/doc to be put in correct place
* Tue Oct 8 2002 Mike A. Harris <mharris@redhat.com> 4.0.5-6
- All-arch rebuild
2007-02-12 13:38:06 +00:00
* Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 4.0.5-3
- Rebuild
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
2007-02-12 13:38:06 +00:00
* Mon Jun 17 2002 Trond Eivind Glomsrød <teg@redhat.com> 4.0.5-1
- 4.0.5-1
- isag is no longer installed by default upstream, removing
requirement on gnuplot
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
2007-02-12 13:38:06 +00:00
* Mon Apr 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 4.0.4-1
- 4.0.4
- Add an explicit requires on gnuplot (#63474)
2007-02-12 13:38:06 +00:00
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 4.0.3-2
- Do the daily sa2 run just before midnight, not at 4AM... you'd
only get 4 hours worth of data that way (#63132)
2007-02-12 13:38:06 +00:00
* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 4.0.3-1
- 4.0.3
2007-02-12 13:38:06 +00:00
* Wed Feb 27 2002 Trond Eivind Glomsrød <teg@redhat.com> 4.0.2-3
- Rebuild
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
2007-02-12 13:38:06 +00:00
* Wed Dec 12 2001 Trond Eivind Glomsrød <teg@redhat.com> 4.0.2-1
- 4.0.2
- the kernel patch for extended statistics is in, don't say it needs
applying in the man page
* Mon Aug 13 2001 Preston Brown <pbrown@redhat.com>
- be more verbose about which files are corrupt (#47122)
* Mon Jul 2 2001 Preston Brown <pbrown@redhat.com>
- run sa1 from cron.d to fix run-parts interaction problem (#37733)
* Fri Jun 29 2001 Preston Brown <pbrown@redhat.com>
- upgrade to 4.0.1 stable release
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Sun Apr 8 2001 Preston Brown <pbrown@redhat.com>
- explicitly set safe umask (#35142)
* Fri Mar 9 2001 Preston Brown <pbrown@redhat.com>
- iostat disk utilization was off by a factor of 10.
* Wed Feb 14 2001 Preston Brown <pbrown@redhat.com>
- 3.3.5 brings us full support for kernel IO stats
* Tue Jan 30 2001 Preston Brown <pbrown@redhat.com>
- Summarize previous day's activity with sa2, not current day (which is only 4 hours of data when it gets run) (#24820)
- upgrade to 3.3.4 for full 2.4 compatibility and improved iostat
* Tue Jan 17 2001 Preston Brown <pbrown@redhat.com>
- iostat man page fixes
* Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
- 3.3.3, crontab fixes
* Fri Dec 29 2000 Bill Nottingham <notting@redhat.com>
- fix prereqs
* Fri Oct 13 2000 Preston Brown <pbrown@redhat.com>
- crontab entry was still incorrect. Fixed.
* Mon Oct 09 2000 Preston Brown <pbrown@redhat.com>
- make sure disk accounting is enabled to fix iostat -l, -p (#16268)
- crontab entries were missing the user (root) to run as (#18212)
* Tue Aug 22 2000 Preston Brown <pbrown@redhat.com>
- enable IO accounting now that kernel supports it
* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix buildrooting (#16271)
* Tue Aug 08 2000 Preston Brown <pbrown@redhat.com>
- bugfixes in 3.2.4 cause our inclusion. :)
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Thu Jun 29 2000 Preston Brown <pbrown@redhat.com>
- 3.2.3 fixes SMP race condition
* Tue Jun 20 2000 Preston Brown <pbrown@redhat.com>
- FHS macros
- 3.2.2
* Fri May 26 2000 Preston Brown <pbrown@redhat.com>
- packaged for Winston
- change va patch to indicate kernel is not patched for iostat accounting.
re-enable if our stock kernel gets this patch.
- upgrade to 3.2.
- install crontab entry.
* Sun Dec 12 1999 Ian Macdonald <ian@caliban.org>
- upgraded to 2.2
* Fri Oct 29 1999 Ian Macdonald <ian@caliban.org>
- first RPM release (2.1)