auto-import changelog data from sysstat-4.0.1-1.src.rpm
Mon Jul 02 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.
This commit is contained in:
parent
7f2e01764a
commit
ec983d5b2b
@ -1 +1 @@
|
||||
sysstat-3.3.5.tar.gz
|
||||
sysstat-4.0.1.tar.bz2
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
92858cb3301a01538508a2eeff020286 sysstat-3.3.5.tar.gz
|
||||
63be9404b3e671e8661d8c8062def2f9 sysstat-4.0.1.tar.bz2
|
||||
|
36
sysstat-4.0.1-config.patch
Normal file
36
sysstat-4.0.1-config.patch
Normal file
@ -0,0 +1,36 @@
|
||||
--- sysstat-4.0.1/build/CONFIG.config Sun Jun 24 10:10:30 2001
|
||||
+++ sysstat-4.0.1/build/CONFIG Fri Jun 29 13:04:58 2001
|
||||
@@ -2,7 +2,7 @@
|
||||
# (C) 2000 Sebastien GODARD <sebastien.godard@wanadoo.fr>
|
||||
|
||||
# Directories
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX = /usr
|
||||
SA_DIR = /var/log/sa
|
||||
CLEAN_SA_DIR = n
|
||||
|
||||
@@ -16,18 +16,21 @@
|
||||
endif
|
||||
|
||||
# Uncomment this to enable workaround for Linux kernel SMP race condition
|
||||
-#SAS_DFLAGS += -DSMP_RACE
|
||||
+SAS_DFLAGS += -DSMP_RACE
|
||||
|
||||
# Man page group
|
||||
MAN_GROUP = root
|
||||
|
||||
+IGNORE_MAN_GROUP = y
|
||||
+
|
||||
# Crontab owner
|
||||
CRON_OWNER = adm
|
||||
|
||||
# Run-command directories
|
||||
-RC_DIR = /etc/rc.d
|
||||
-INIT_DIR = /etc/rc.d/init.d
|
||||
+RC_DIR = /etc
|
||||
+INIT_DIR = /etc/init.d
|
||||
INITD_DIR = init.d
|
||||
|
||||
INSTALL_CRON = n
|
||||
+
|
||||
|
3
sysstat.crond
Normal file
3
sysstat.crond
Normal file
@ -0,0 +1,3 @@
|
||||
# run system activity accounting tool every 10 minutes
|
||||
*/10 * * * * root /usr/lib/sa/sa1 1 1
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
# generate a daily summary of process accounting.
|
||||
umask 0022
|
||||
/usr/lib/sa/sa2 -A &
|
||||
/usr/lib/sa/sa2 -A
|
||||
|
34
sysstat.spec
34
sysstat.spec
@ -1,18 +1,19 @@
|
||||
Name: sysstat
|
||||
Version: 3.3.5
|
||||
Release: 3
|
||||
Version: 4.0.1
|
||||
Release: 1
|
||||
Summary: Includes the sar and iostat system monitoring commands.
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
Source: http://ibiblio.org/pub/Linux/system/status/%{name}-%{version}.tar.gz
|
||||
Source1: sysstat.cronhourly
|
||||
Source: http://perso.wanadoo.fr/sebastien.godard/%{name}-%{version}.tar.bz2
|
||||
Source1: sysstat.crond
|
||||
Source2: sysstat.crondaily
|
||||
Patch0: sysstat-3.3.3-config.patch
|
||||
Patch1: sysstat-3.3.3-prevday.patch
|
||||
Patch0: sysstat-4.0.1-config.patch
|
||||
Patch1: sysstat-4.0.1-prevday.patch
|
||||
Patch2: sysstat-3.3.5-fixutilization.patch
|
||||
URL: http://perso.wanadoo.fr/sebastien.godard/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||
Requires: kernel >= 2.2.16-21
|
||||
Prereq: sh-utils textutils grep fileutils
|
||||
Prereq: sh-utils textutils grep fileutils /etc/cron.d
|
||||
|
||||
%description
|
||||
This package provides the sar and iostat commands for the Linux
|
||||
@ -23,7 +24,7 @@ They enable system monitoring of disk, network, and other IO activity.
|
||||
%setup -q
|
||||
%patch0 -p1 -b .config
|
||||
%patch1 -p1 -b .prevday
|
||||
%patch2 -p1 -b .fixutilization
|
||||
#%patch2 -p1 -b .fixutilization
|
||||
|
||||
%build
|
||||
make CFLAGS="$RPM_OPT_FLAGS" PREFIX=%{_prefix}
|
||||
@ -32,8 +33,8 @@ make CFLAGS="$RPM_OPT_FLAGS" PREFIX=%{_prefix}
|
||||
rm -rf %{buildroot}
|
||||
make install MAN_DIR=%{_mandir}
|
||||
|
||||
mkdir -p %{buildroot}/etc/{cron.daily,cron.hourly}
|
||||
install %{SOURCE1} %{buildroot}/etc/cron.hourly/sysstat
|
||||
mkdir -p %{buildroot}/etc/{cron.daily,cron.d}
|
||||
install %{SOURCE1} %{buildroot}/etc/cron.d/sysstat
|
||||
install %{SOURCE2} %{buildroot}/etc/cron.daily/sysstat
|
||||
|
||||
%find_lang %{name}
|
||||
@ -57,8 +58,8 @@ rm -rf %{buildroot}
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES COPYING CREDITS README TODO
|
||||
/etc/cron.hourly/sysstat
|
||||
/etc/cron.daily/sysstat
|
||||
%config(noreplace) /etc/cron.d/sysstat
|
||||
%config(noreplace) /etc/cron.daily/sysstat
|
||||
%{_bindir}/*
|
||||
%{_libdir}/sa
|
||||
%{_mandir}/man1/*
|
||||
@ -66,6 +67,15 @@ rm -rf %{buildroot}
|
||||
/var/log/sa
|
||||
|
||||
%changelog
|
||||
* 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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user