From ec983d5b2be1d2c9ce2d6303d2aaca2c95dea870 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 12:55:38 +0000 Subject: [PATCH] auto-import changelog data from sysstat-4.0.1-1.src.rpm Mon Jul 02 2001 Preston Brown - run sa1 from cron.d to fix run-parts interaction problem (#37733) Fri Jun 29 2001 Preston Brown - upgrade to 4.0.1 stable release Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. --- .cvsignore | 2 +- sources | 2 +- sysstat-4.0.1-config.patch | 36 ++++++++++++++++++++++++++++++++++++ sysstat.crond | 3 +++ sysstat.crondaily | 2 +- sysstat.spec | 34 ++++++++++++++++++++++------------ 6 files changed, 64 insertions(+), 15 deletions(-) create mode 100644 sysstat-4.0.1-config.patch create mode 100644 sysstat.crond diff --git a/.cvsignore b/.cvsignore index ef7b890..68ffd8a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -sysstat-3.3.5.tar.gz +sysstat-4.0.1.tar.bz2 diff --git a/sources b/sources index 7bb6337..526e936 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -92858cb3301a01538508a2eeff020286 sysstat-3.3.5.tar.gz +63be9404b3e671e8661d8c8062def2f9 sysstat-4.0.1.tar.bz2 diff --git a/sysstat-4.0.1-config.patch b/sysstat-4.0.1-config.patch new file mode 100644 index 0000000..a12dd84 --- /dev/null +++ b/sysstat-4.0.1-config.patch @@ -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 + + # 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 ++ + diff --git a/sysstat.crond b/sysstat.crond new file mode 100644 index 0000000..32a1a87 --- /dev/null +++ b/sysstat.crond @@ -0,0 +1,3 @@ +# run system activity accounting tool every 10 minutes +*/10 * * * * root /usr/lib/sa/sa1 1 1 + diff --git a/sysstat.crondaily b/sysstat.crondaily index 4a1d488..2a7ba19 100644 --- a/sysstat.crondaily +++ b/sysstat.crondaily @@ -2,4 +2,4 @@ # generate a daily summary of process accounting. umask 0022 -/usr/lib/sa/sa2 -A & +/usr/lib/sa/sa2 -A diff --git a/sysstat.spec b/sysstat.spec index 73bb56a..b874b98 100644 --- a/sysstat.spec +++ b/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 +- run sa1 from cron.d to fix run-parts interaction problem (#37733) + +* Fri Jun 29 2001 Preston Brown +- upgrade to 4.0.1 stable release + +* Sun Jun 24 2001 Elliot Lee +- Bump release + rebuild. + * Sun Apr 8 2001 Preston Brown - explicitly set safe umask (#35142)