commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2020-10-08 13:11:55 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.4249 (New) Package is "sysstat" Thu Oct 8 13:11:55 2020 rev:91 rq:839959 version:12.4.0 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2020-09-24 16:13:29.188853157 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new.4249/sysstat.changes 2020-10-08 13:12:40.935199489 +0200 @@ -1,0 +2,5 @@ +Sat Oct 3 07:38:44 UTC 2020 - Thorsten Kukuk + +- Don't hard require systemd, it works without,too. + +--- Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.D8Rbpe/_old 2020-10-08 13:12:41.655200141 +0200 +++ /var/tmp/diff_new_pack.D8Rbpe/_new 2020-10-08 13:12:41.655200141 +0200 @@ -46,7 +46,7 @@ BuildRequires: pkgconfig(systemd) Requires: procmail Requires: xz -%{?systemd_requires} +%{?systemd_ordering} %ifnarch s390 s390x BuildRequires: libsensors4-devel %endif
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2020-09-24 16:12:57 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.4249 (New) Package is "sysstat" Thu Sep 24 16:12:57 2020 rev:90 rq:835794 version:12.4.0 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2020-09-04 10:55:31.426508018 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new.4249/sysstat.changes 2020-09-24 16:13:29.188853157 +0200 @@ -1,0 +2,13 @@ +Fri Sep 18 14:47:02 UTC 2020 - Pedro Monreal + +- Fix average iowait output of sar [bsc#1174227] + * The iowait value reported by the kernel can also decrement as +a result of inaccurate iowait tracking. Waiting on IO can be +first accounted as iowait but then instead as idle. Therefore +if the idle value during the same period did not decrease then +consider this is a problem with the iowait reporting and correct +the previous value according to the new reading. Otherwise, treat +this as CPU coming back online. +- Add patch sysstat-iowait-decr.patch + +--- New: sysstat-iowait-decr.patch Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.u51Xig/_old 2020-09-24 16:13:30.464854434 +0200 +++ /var/tmp/diff_new_pack.u51Xig/_new 2020-09-24 16:13:30.468854437 +0200 @@ -35,6 +35,8 @@ Patch3: sysstat-service.patch # PATCH-FIX-OPENSUSE Temporarily disable failing tests on s390x and ppc64 Patch4: sysstat-disable-test-failures.patch +# PATCH-FIX-OPENSUSE bsc#1174227 Workaround for iowait being decremented +Patch5: sysstat-iowait-decr.patch BuildRequires: findutils BuildRequires: gettext-runtime BuildRequires: pkgconfig @@ -77,6 +79,7 @@ %ifarch s390x ppc64 %patch4 -p1 %endif +%patch5 -p1 cp %{S:1} . # remove date and time from objects find ./ -name \*.c -exec sed -i -e 's: " compiled " __DATE__ " " __TIME__::g' {} \; ++ sysstat-iowait-decr.patch ++ >From 1f5949d4a6fcb33065dbb1d509f356db039998ed Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Wed, 2 Sep 2020 19:04:04 +0200 Subject: [PATCH] Workaround for iowait being decremented The iowait value reported by the kernel on NO_HZ systems can decrement as a result of inaccurate iowait tracking. Waiting on IO can be first accounted as iowait but then instead as idle. Function get_per_cpu_interval() considers iowait going backwards between two readings as a CPU coming back online and resets the iowait value of the first reading to 0. If iowait is decremented only because of inaccurate tracking, this causes that almost all time between the two readings is incorrectly recognized by sar as being spent in iowait. The patch updates the code in get_per_cpu_interval() to recognize this situation. If the iowait value between two readings decremented but the idle value did not then the code now considers it as a problem with the iowait reporting and corrects the first value according to the second reading. Otherwise, the code remains treating decremented iowait as a CPU coming back online. Fixes #14. Signed-off-by: Sebastien GODARD --- rd_stats.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/rd_stats.c b/rd_stats.c index 56d42d00..fb93f23f 100644 --- a/rd_stats.c +++ b/rd_stats.c @@ -440,12 +440,26 @@ unsigned long long get_per_cpu_interval(struct stats_cpu *scc, * value was greater than ULLONG_MAX - 0x7 (the counter probably * overflew). */ + if ((scc->cpu_iowait < scp->cpu_iowait) && (scp->cpu_iowait < (ULLONG_MAX - 0x7))) { + /* +* The iowait value reported by the kernel can also decrement as +* a result of inaccurate iowait tracking. Waiting on IO can be +* first accounted as iowait but then instead as idle. +* Therefore if the idle value during the same period did not +* decrease then consider this is a problem with the iowait +* reporting and correct the previous value according to the new +* reading. Otherwise, treat this as CPU coming back online. +*/ + if ((scc->cpu_idle > scp->cpu_idle) || (scp->cpu_idle >= (ULLONG_MAX - 0x7))) { + scp->cpu_iowait = scc->cpu_iowait; + } + else { + scp->cpu_iowait = 0; + } + } if ((scc->cpu_idle < scp->cpu_idle) && (scp->cpu_idle < (ULLONG_MAX - 0x7))) { scp->cpu_idle = 0; } - if ((scc->cpu_iowait <
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2020-09-04 10:55:00 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.3399 (New) Package is "sysstat" Fri Sep 4 10:55:00 2020 rev:89 rq:831125 version:12.4.0 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2020-08-20 22:23:06.619820846 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new.3399/sysstat.changes 2020-09-04 10:55:31.426508018 +0200 @@ -1,0 +2,6 @@ +Mon Aug 31 11:43:51 UTC 2020 - Dirk Mueller + +- update sysstat-8.1.6-sa1sa2lock.diff: also remove locking on + sleep/resume (bsc#1175913) + +--- Other differences: -- ++ sysstat-8.1.6-sa1sa2lock.diff ++ --- /var/tmp/diff_new_pack.33qo06/_old 2020-09-04 10:55:32.074508366 +0200 +++ /var/tmp/diff_new_pack.33qo06/_new 2020-09-04 10:55:32.074508366 +0200 @@ -2,7 +2,7 @@ === --- sysstat-12.4.0.orig/sa1.in +++ sysstat-12.4.0/sa1.in -@@ -29,8 +29,14 @@ then +@@ -29,19 +29,25 @@ then SADC_OPTIONS="${SADC_OPTIONS} -D" fi @@ -17,7 +17,11 @@ [ "$1" = "--boot" ] && shift && BOOT=y || BOOT=n [ "$1" = "--sleep" ] && shift && SLEEP=y || SLEEP=n if [ "${SLEEP}" = "y" ] -@@ -41,7 +47,7 @@ then + then +- exec ${ENDIR}/sadc -F -L ${SADC_OPTIONS} -C "LINUX SLEEP MODE ($*)" ${SA_DIR} ++ ${ENDIR}/sadc -F -L ${SADC_OPTIONS} -C "LINUX SLEEP MODE ($*)" ${SA_DIR} + elif [ $# = 0 ] && [ "${BOOT}" = "n" ] + then # Note: Stats are written at the end of previous file *and* at the # beginning of the new one (when there is a file rotation) only if # outfile has been specified as '-' on the command line...
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2020-08-20 22:23:02 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.3399 (New) Package is "sysstat" Thu Aug 20 22:23:02 2020 rev:88 rq:827123 version:12.4.0 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2020-05-14 23:23:22.888795966 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new.3399/sysstat.changes 2020-08-20 22:23:06.619820846 +0200 @@ -1,0 +2,44 @@ +Sun Aug 16 21:48:36 UTC 2020 - Dirk Mueller + +- update to 12.4.0: + * All commands: Display statistics in color by default when the + output is connected to a terminal. + * sar: Now pretty-print all device names by default (that is to + say, you no longer need to use option -p with option -d for that). + * cifsiostat, iostat, sar: Add new --pretty option (this option + makes the reports easier to read when long item names are used). + * iostat: No longer use sysstat.ioconf file to determine the name + of the devices. This file gave a wrong name for some devices + with big minor numbers. + * iostat, sar: Make device name consistent between both of them. + * configure: Add new option "--enable-use-crond" to use standard + cron daemon even if systemd is installed. + * configure: Use AC_COMPILE_IFELSE instead of old AC_TRY_COMPILE + macro. Remove other obsolete autoconf macros. + * configure: Add new option "delay_range=". Used by sa2 script + to wait for a random delay. + * configure: Fix --enable-debuginfo option. + * sa1: Insert a comment in daily datafile on system suspend/resume. + * sa2: Wait for a random delay before running to prevent massive + I/O burst on some systems. + * sar: Fix typo in manual page. + * sar, iostat, cifsiostat, mpstat, pidstat, tapestat and sa1 manual + pages updated. + * Update style for all manual pages. + * Compress manual pages by default when they are installed. + * Makefile: Remove all reports and date files (even those compressed + with another program than gzip) when told to do so. + * Add pcp help file to be used with iconfig script. + * Update Travis script (now calls do_test script). + * sadf: Output format which doesn't accept the use of option -T + should not also reject the use of option -t [12.2.3]. + * [Tom Hebb]: Replace index() call with strchr() call [12.2.3]. + * Use NULL as an argument for time(2) system call [12.2.3]. + * Various cosmetic changes in code (comments updated, dead code + removed, etc.) + * NLS updated. + * Non regression environment updated. New tests added. + * Better handle big minor numbers in sysstat test code. + * Fix gcc V10 warnings in sysstat 12.0.1 code used for test. + +--- Old: sysstat-12.3.3.tar.gz New: sysstat-12.4.0.tar.gz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.kXwa4x/_old 2020-08-20 22:23:07.391821207 +0200 +++ /var/tmp/diff_new_pack.kXwa4x/_new 2020-08-20 22:23:07.395821209 +0200 @@ -17,7 +17,7 @@ Name: sysstat -Version:12.3.3 +Version:12.4.0 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later @@ -162,6 +162,7 @@ %{_unitdir}/sysstat-collect.timer %{_unitdir}/sysstat-summary.service %{_unitdir}/sysstat-summary.timer +%{_prefix}/lib/systemd/system-sleep/sysstat.sleep %dir %{_localstatedir}/log/sa %{_sbindir}/rcsysstat ++ sysstat-12.3.3.tar.gz -> sysstat-12.4.0.tar.gz ++ 24930 lines of diff (skipped) ++ sysstat-8.1.6-sa1sa2lock.diff ++ --- /var/tmp/diff_new_pack.kXwa4x/_old 2020-08-20 22:23:24.191829064 +0200 +++ /var/tmp/diff_new_pack.kXwa4x/_new 2020-08-20 22:23:24.195829066 +0200 @@ -1,8 +1,8 @@ -Index: sysstat-11.6.1/sa1.in +Index: sysstat-12.4.0/sa1.in === sysstat-11.6.1.orig/sa1.in -+++ sysstat-11.6.1/sa1.in -@@ -22,15 +22,21 @@ then +--- sysstat-12.4.0.orig/sa1.in sysstat-12.4.0/sa1.in +@@ -29,8 +29,14 @@ then SADC_OPTIONS="${SADC_OPTIONS} -D" fi @@ -15,22 +15,23 @@ +trap "/bin/rm -f $LOCKFILE" EXIT + [ "$1" = "--boot" ] && shift && BOOT=y || BOOT=n - if [ $# = 0 ] && [ "${BOOT}" = "n" ] - then + [ "$1" = "--sleep" ] && shift && SLEEP=y || SLEEP=n + if [ "${SLEEP}" = "y" ] +@@ -41,7 +47,7 @@ then # Note: Stats are written at the end of previous file *and* at the # beginning of the new one (when there is a file rotation) only if # outfile has been specified as '-' on the command line... - exec ${ENDIR}/sadc -F -L
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2020-05-14 23:23:15 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.2738 (New) Package is "sysstat" Thu May 14 23:23:15 2020 rev:87 rq:805149 version:12.3.3 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2020-01-24 14:20:24.434603384 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new.2738/sysstat.changes 2020-05-14 23:23:22.888795966 +0200 @@ -1,0 +2,36 @@ +Wed May 13 07:51:01 UTC 2020 - Paolo Stivanin + +- Update to 12.3.3: + * sar/sadc: Add new Pressure-Stall Information (PSI) statistics. + * sadf: Add support for PSI statistics. + * iostat: Add support for devices managed by userspace drivers (e.g. spdk). +Add new flags -f/+f to specify an alternate location for stats files. + * sar: Don't display duplicate entries in /etc/mtab [12.2.2]. + * sar: Don't display "Inconsistent input data" error message when no +activities are collected by sadc. + * sadf: XML: Remove "per" attribute for memory activity. + * sadf: Add new option "hz=" for datafile conversion. + * Various updates to remove GCC v9/v10 warnings. + * sar: Don't check if we are close enough to selected interval when +interval=1 [12.2.2]. + * sadf: Use actual number of items, not its pointer address [12.2.2]. + * [Sdrkun]: sa1: Create default sa directory if it doesn't exist [12.2.2]. + * pr_stats.c: Printing timestamp should appear only once [12.2.2]. + * common.c: Remove unused get_dev_part_nr() function [12.2.2]. + * DTD and XSD documents updated. + * sar and sadf manual pages updated. + * Non regression tests updated. New tests added (sar, iostat). + * pidstat: Major code refactoring. Several bugs fixed. + * pidstat: Don't display unneeded spaces following command name +when option -l is used. + * cifsiostat: Major code refactoring. + * simtest: Add test environment for pidstat command. + * simtest: Add new non regression tests for iostat command. + * pidstat: Remove extra space at end of command name [12.2.2]. + * [Anatoly Pugachev]: Fix sa2 script, so it wont complain on empty list +for compress program [12.2.2]. + * iostat: Make sure pointer on linked list is initialized [12.2.2]. + * [Fabrice Fontaine]: Makefile: Link with -lintl if needed [12.2.2]. + * NLS translation updated. + +--- Old: sysstat-12.3.1.tar.xz New: sysstat-12.3.3.tar.gz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.QCAF2a/_old 2020-05-14 23:23:23.856798078 +0200 +++ /var/tmp/diff_new_pack.QCAF2a/_new 2020-05-14 23:23:23.860798087 +0200 @@ -17,13 +17,13 @@ Name: sysstat -Version:12.3.1 +Version:12.3.3 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later Group: System/Monitoring -URL:http://pagesperso-orange.fr/sebastien.godard/ -Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz +URL:https://github.com/sysstat/sysstat +Source: https://github.com/sysstat/sysstat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1:isag.desktop # PATCH-FIX-OPENSUSE should be upstreamed # add locking to scripts sa1 and sa2 (bnc#7861)
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2020-01-24 14:20:22 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.26092 (New) Package is "sysstat" Fri Jan 24 14:20:22 2020 rev:86 rq:766071 version:12.3.1 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2019-12-18 14:47:59.221929523 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new.26092/sysstat.changes 2020-01-24 14:20:24.434603384 +0100 @@ -1,0 +2,22 @@ +Tue Jan 21 12:49:07 UTC 2020 - Paolo Stivanin + +- Version update to 12.3.1 + * [Konstantin Khlebnikov]: iostat: Add flush I/O statistics +(statistics available starting with kernel 5.5). + * mpstat: Add new switch to display system topology. + * mpstat: Allow to select individual CPU/nodes with option -A. + * cifsiostat: Add support for SMB2 version of statistics file. + * mpstat: Add non regression tests. + * tapestat: Add non regression tests. + * cifsiostat: Add non regression tests. + * iostat: Add new non regression tests. + * sadf: Fix double free in check_file_actlst() [12.2.1]. + * sadf: Fix heap overflow in logic2_display_loop() function. + * iostat: Fix wrong unit used in JSON output [12.2.1]. + * [Leo]: Add missing header files when using musl C library [12.2.1]. + * [Albert]: Add missing empty line in FAQ.md file [12.2.1]. + * mpstat and iostat manual pages updated. + * Cosmetic changes. +- Remove sysstat-CVE-2019-19725.patch as it is no longer needed + +--- Old: sysstat-12.2.0.tar.xz sysstat-CVE-2019-19725.patch New: sysstat-12.3.1.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.jrRGqF/_old 2020-01-24 14:20:25.158603639 +0100 +++ /var/tmp/diff_new_pack.jrRGqF/_new 2020-01-24 14:20:25.162603640 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sysstat -Version:12.2.0 +Version:12.3.1 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later @@ -35,8 +35,6 @@ Patch3: sysstat-service.patch # PATCH-FIX-OPENSUSE Temporarily disable failing tests on s390x and ppc64 Patch4: sysstat-disable-test-failures.patch -# PATCH-FIX-UPSTREAM CVE-2019-19725 bsc#159104 double free in check_file_actlst -Patch5: sysstat-CVE-2019-19725.patch BuildRequires: findutils BuildRequires: gettext-runtime BuildRequires: pkgconfig @@ -79,7 +77,6 @@ %ifarch s390x ppc64 %patch4 -p1 %endif -%patch5 -p1 cp %{S:1} . # remove date and time from objects find ./ -name \*.c -exec sed -i -e 's: " compiled " __DATE__ " " __TIME__::g' {} \; ++ sysstat-12.2.0.tar.xz -> sysstat-12.3.1.tar.xz ++ 10645 lines of diff (skipped)
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2019-12-18 14:44:15 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.4691 (New) Package is "sysstat" Wed Dec 18 14:44:15 2019 rev:85 rq:756729 version:12.2.0 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2019-11-07 23:15:01.184435754 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new.4691/sysstat.changes 2019-12-18 14:47:59.221929523 +0100 @@ -1,0 +2,59 @@ +Thu Dec 12 15:20:43 UTC 2019 - Pedro Monreal Gonzalez + +- Security fix: [bsc#1159104, CVE-2019-19725] + * Double free in check_file_actlst in sa_common.c +- Add sysstat-CVE-2019-19725.patch +- Rebase sysstat-disable-test-failures.patch + +--- +Thu Nov 14 10:48:14 UTC 2019 - Pedro Monreal Gonzalez + +- Version update to 12.2.0 + * sar/sadc: Save timezone value in binary data files (saDD). + * sadf: Display timezone value in output from sadf -H. + * sar/sadf: Make sure we will always be able to read file headers +structures from older versions. + * sadf: Enhance raw format output (now also display records header contents). + * sadf: Update DTD and XSD documents. Fix their contents so that XML +output from 12.0.x sadf versions validates. + * sar/sadf: Change 'flags' variable type from "unsigned int" to "uint64_t". + * simtest: Make all tests independent from timezone value. + * simtest: Add more non regression tests. + * sadf: Small fix in manual page. + * NLS updated. + * FAQ updated. +- Remove patch fixed upstream: + * sysstat-CVE-2019-16167.patch + +--- +Thu Nov 14 09:04:41 UTC 2019 - Pedro Monreal Gonzalez + +- Version udate to 12.1.7 + * sar/sadc: Add stable identifier support for disks statistics. + * sar/sadf: Add extra flexibility in binary data file in case of +a future format change. + * sadf: sadf -H output updated. + * iostat: Fix several bugs (CID ##349502, #349503, #349500 and #349501). + * sar: Manual page updated. + * sadf: Fix memory corruption bug due to integer overflow in +remap_struct() function (try #2). + * configure: Add new configuration variables: conf_file and sar_dir. + * simtest: sar: Add new non regression tests. + * simtest: iostat: Make tests independent from timezone value. + * NLS updated. + +- Version update to 12.1.6 + * iostat: Major code refactoring. Devices structures are now +dynamically allocated, better handle the case when devices are +removed then inserted again in the system, better command line +parsing, better handle devices with a slash in their name. + * sar/sadf: Allow to select individual CPU and/or interrupts when option -A is used. + * sar: Better handle the case when Fibre Channel hosts are added to the system. + * sar: Fix sar -s/-e output on datafiles spanning two consecutive days. + * sadf: Fix memory corruption bug due to integer overflow in remap_struct() function. + * Update sysstat simulation test environment (new tests added, etc.) + * sar manual page updated. + * Various cosmetic fixes (comments updated in code, etc.) + * NLS updated. + +--- Old: sysstat-12.0.6.tar.xz sysstat-CVE-2019-16167.patch New: sysstat-12.2.0.tar.xz sysstat-CVE-2019-19725.patch Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.k53mye/_old 2019-12-18 14:47:59.989929874 +0100 +++ /var/tmp/diff_new_pack.k53mye/_new 2019-12-18 14:47:59.989929874 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sysstat -Version:12.0.6 +Version:12.2.0 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later @@ -31,12 +31,12 @@ # PATCH-FIX-OPENSUSE should be upstreamed # use getpagesize() instead of kb_shift for hugetable archs Patch2: sysstat-8.0.4-pagesize.diff -# PATCH-FIX-UPSTREAM bsc#1150114 CVE-2019-16167 sysstat-CVE-2019-16167.patch -Patch3: sysstat-CVE-2019-16167.patch # PATCH-FIX-OPENSUSE bsc#1151453 -Patch4: sysstat-service.patch +Patch3: sysstat-service.patch # PATCH-FIX-OPENSUSE Temporarily disable failing tests on s390x and ppc64 -Patch5: sysstat-disable-test-failures.patch +Patch4:
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2019-11-07 23:14:58 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.2990 (New) Package is "sysstat" Thu Nov 7 23:14:58 2019 rev:84 rq:745466 version:12.0.6 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2019-10-14 14:52:48.802244482 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new.2990/sysstat.changes 2019-11-07 23:15:01.184435754 +0100 @@ -1,0 +2,24 @@ +Tue Nov 5 11:11:55 UTC 2019 - Pedro Monreal Gonzalez + +- Temporarily disable failing tests on s390x and ppc64 architectures + * Add sysstat-disable-test-failures.patch + +--- +Mon Nov 4 15:34:52 UTC 2019 - Pedro Monreal Gonzalez + +- Use upstream systemd service and timer files [bsc#1151453] + * Add sysstat-service.patch + +--- +Wed Oct 30 18:49:50 UTC 2019 - Pedro Monreal Gonzalez + +- Enable log information on service start/stop [bsc#1144923, jsc#SLE-5958] + +--- +Tue Oct 29 18:00:14 UTC 2019 - Pedro Monreal Gonzalez + +- Migrate from cron to systemd timer units [bsc#1151453] + * Add sysstat-collect.{service,timer} and sysstat-summary.{service,timer} + * Remove sysstat.cron.suse + +--- Old: sysstat.cron.suse sysstat.service New: sysstat-disable-test-failures.patch sysstat-service.patch Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.U4havq/_old 2019-11-07 23:15:02.096436753 +0100 +++ /var/tmp/diff_new_pack.U4havq/_new 2019-11-07 23:15:02.104436762 +0100 @@ -25,8 +25,6 @@ URL:http://pagesperso-orange.fr/sebastien.godard/ Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz Source1:isag.desktop -Source2:sysstat.cron.suse -Source4:sysstat.service # PATCH-FIX-OPENSUSE should be upstreamed # add locking to scripts sa1 and sa2 (bnc#7861) Patch0: sysstat-8.1.6-sa1sa2lock.diff @@ -35,6 +33,10 @@ Patch2: sysstat-8.0.4-pagesize.diff # PATCH-FIX-UPSTREAM bsc#1150114 CVE-2019-16167 sysstat-CVE-2019-16167.patch Patch3: sysstat-CVE-2019-16167.patch +# PATCH-FIX-OPENSUSE bsc#1151453 +Patch4: sysstat-service.patch +# PATCH-FIX-OPENSUSE Temporarily disable failing tests on s390x and ppc64 +Patch5: sysstat-disable-test-failures.patch BuildRequires: findutils BuildRequires: gettext-runtime BuildRequires: pkgconfig @@ -42,7 +44,6 @@ BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files BuildRequires: pkgconfig(systemd) -Requires: cron Requires: procmail Requires: xz %{?systemd_requires} @@ -75,17 +76,22 @@ %patch0 -p1 %patch2 -p1 %patch3 -p1 -cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . +%patch4 -p1 +%ifarch s390x ppc64 +%patch5 -p1 +%endif +cp %{S:1} . # remove date and time from objects find ./ -name \*.c -exec sed -i -e 's: " compiled " __DATE__ " " __TIME__::g' {} \; %build export conf_dir="%{_sysconfdir}/sysstat" export sa_lib_dir="%{_libdir}/sa" -export cron_owner=root export LFLAGS="-L. -lsyscom" export history="60" +export sadc_options="-S ALL" %configure \ + --enable-install-cron \ --disable-silent-rules \ --enable-nls \ --disable-man-group \ @@ -106,32 +112,24 @@ cp contrib/isag/isag %{buildroot}%{_bindir} cp contrib/isag/isag.1 %{buildroot}%{_mandir}/man1 rm -rf %{buildroot}%{_datadir}/doc/sysstat* -install -D -m 0755 sysstat.cron.suse %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcsysstat %find_lang %{name} -install -D -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/sysstat.service -# change /usr/lib to /usr/lib64 or something else when needed -if [ "%{_libdir}" != "%{_libexecdir}" ]; then -sed -i 's:%{_libexecdir}/:%{_libdir}/:g' \ - %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron \ - %{buildroot}%{_unitdir}/sysstat.service -fi %check make %{?_smp_mflags} test %pre -%service_add_pre sysstat.service +%service_add_pre sysstat.service sysstat-collect.timer sysstat-summary.timer + +%post +%service_add_post sysstat.service sysstat-collect.timer sysstat-summary.timer %preun -%service_del_preun sysstat.service +%service_del_preun sysstat.service sysstat-collect.timer sysstat-summary.timer [ "$1" -gt 0 ] || rm -rf %{_localstatedir}/log/sa/* -%post -%service_add_post sysstat.service - %postun -%service_del_postun sysstat.service
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2019-10-14 14:52:46 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.2352 (New) Package is "sysstat" Mon Oct 14 14:52:46 2019 rev:83 rq:737452 version:12.0.6 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2019-09-30 15:51:48.598428406 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new.2352/sysstat.changes 2019-10-14 14:52:48.802244482 +0200 @@ -1,0 +2,6 @@ +Thu Oct 10 13:18:26 UTC 2019 - Guillaume GARDET + +- Requires cron, since sysstat.service wants to create + /etc/cron.d/sysstat link and /etc/cron.d/ is from cron package + +--- Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.ChrO6u/_old 2019-10-14 14:52:50.462240153 +0200 +++ /var/tmp/diff_new_pack.ChrO6u/_new 2019-10-14 14:52:50.466240142 +0200 @@ -42,6 +42,7 @@ BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files BuildRequires: pkgconfig(systemd) +Requires: cron Requires: procmail Requires: xz %{?systemd_requires}
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2019-09-30 15:51:45 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.2352 (New) Package is "sysstat" Mon Sep 30 15:51:45 2019 rev:82 rq:732933 version:12.0.6 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2019-08-30 14:39:36.481438044 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new.2352/sysstat.changes 2019-09-30 15:51:48.598428406 +0200 @@ -1,0 +2,8 @@ +Tue Sep 10 11:10:11 UTC 2019 - Pedro Monreal Gonzalez + +- Security fix: [bsc#1150114, CVE-2019-16167] + * Memory corruption due to an Integer Overflow in remap_struct() +in sa_common.c + * Added sysstat-CVE-2019-16167.patch + +--- New: sysstat-CVE-2019-16167.patch Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.8nCV02/_old 2019-09-30 15:51:49.234426714 +0200 +++ /var/tmp/diff_new_pack.8nCV02/_new 2019-09-30 15:51:49.234426714 +0200 @@ -33,6 +33,8 @@ # PATCH-FIX-OPENSUSE should be upstreamed # use getpagesize() instead of kb_shift for hugetable archs Patch2: sysstat-8.0.4-pagesize.diff +# PATCH-FIX-UPSTREAM bsc#1150114 CVE-2019-16167 sysstat-CVE-2019-16167.patch +Patch3: sysstat-CVE-2019-16167.patch BuildRequires: findutils BuildRequires: gettext-runtime BuildRequires: pkgconfig @@ -71,6 +73,7 @@ %setup -q %patch0 -p1 %patch2 -p1 +%patch3 -p1 cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . # remove date and time from objects find ./ -name \*.c -exec sed -i -e 's: " compiled " __DATE__ " " __TIME__::g' {} \; ++ sysstat-CVE-2019-16167.patch ++ Index: sysstat-12.0.6/sa_common.c === --- sysstat-12.0.6.orig/sa_common.c +++ sysstat-12.0.6/sa_common.c @@ -1298,6 +1298,10 @@ void remap_struct(unsigned int gtypes_nr /* Remap [unsigned] long fields */ d = gtypes_nr[0] - ftypes_nr[0]; if (d) { + if (ftypes_nr[0] * ULL_ALIGNMENT_WIDTH < ftypes_nr[0]) + /* Overflow */ + return; + n = MINIMUM(f_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH, g_size - gtypes_nr[0] * ULL_ALIGNMENT_WIDTH); if ((ftypes_nr[0] * ULL_ALIGNMENT_WIDTH >= b_size) || @@ -1314,6 +1318,11 @@ void remap_struct(unsigned int gtypes_nr /* Remap [unsigned] int fields */ d = gtypes_nr[1] - ftypes_nr[1]; if (d) { + if (gtypes_nr[0] * ULL_ALIGNMENT_WIDTH + + ftypes_nr[1] * UL_ALIGNMENT_WIDTH < ftypes_nr[1]) + /* Overflow */ + return; + n = MINIMUM(f_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH - ftypes_nr[1] * UL_ALIGNMENT_WIDTH, g_size - gtypes_nr[0] * ULL_ALIGNMENT_WIDTH @@ -1338,6 +1347,12 @@ void remap_struct(unsigned int gtypes_nr /* Remap possible fields (like strings of chars) following int fields */ d = gtypes_nr[2] - ftypes_nr[2]; if (d) { + if (gtypes_nr[0] * ULL_ALIGNMENT_WIDTH + + gtypes_nr[1] * UL_ALIGNMENT_WIDTH + + ftypes_nr[2] * U_ALIGNMENT_WIDTH < ftypes_nr[2]) + /* Overflow */ + return; + n = MINIMUM(f_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH - ftypes_nr[1] * UL_ALIGNMENT_WIDTH - ftypes_nr[2] * U_ALIGNMENT_WIDTH,
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2019-08-30 14:39:33 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.7948 (New) Package is "sysstat" Fri Aug 30 14:39:33 2019 rev:81 rq:726603 version:12.0.6 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2019-06-04 12:09:01.119887047 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new.7948/sysstat.changes 2019-08-30 14:39:36.481438044 +0200 @@ -1,0 +2,16 @@ +Tue Aug 27 15:53:53 UTC 2019 - Pedro Monreal Gonzalez + +- Version update to 12.0.6 + * sadc: Check if InCsumErrors is present for EICMP as well. + * sadf: XML: Fix bad transmission words statistics for Fibre Channel hosts. + * iostat: Fix wrong CPU statistics displayed for the first sample when option -y is used. + * iostat: Make sure UUID given on the command line is not taken as interval value. + * Allow more space for persistent type directory names. + +--- +Tue Jul 23 16:33:27 UTC 2019 - Pedro Monreal Gonzalez + +- Remove deprecated Require gettext and require gettext-runtime only + during build [bsc#1142470] + +--- Old: sysstat-12.0.5.tar.xz New: sysstat-12.0.6.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.1fyJQc/_old 2019-08-30 14:39:37.505437859 +0200 +++ /var/tmp/diff_new_pack.1fyJQc/_new 2019-08-30 14:39:37.509437858 +0200 @@ -17,7 +17,7 @@ Name: sysstat -Version:12.0.5 +Version:12.0.6 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later @@ -34,12 +34,12 @@ # use getpagesize() instead of kb_shift for hugetable archs Patch2: sysstat-8.0.4-pagesize.diff BuildRequires: findutils +BuildRequires: gettext-runtime BuildRequires: pkgconfig BuildRequires: sed BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files BuildRequires: pkgconfig(systemd) -Requires: gettext Requires: procmail Requires: xz %{?systemd_requires} ++ sysstat-12.0.5.tar.xz -> sysstat-12.0.6.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.5/CHANGES new/sysstat-12.0.6/CHANGES --- old/sysstat-12.0.5/CHANGES 2019-05-31 08:42:11.0 +0200 +++ new/sysstat-12.0.6/CHANGES 2019-08-14 17:56:38.0 +0200 @@ -1,5 +1,16 @@ Changes: +2019/08/14: Version 12.0.6 - Sebastien Godard (sysstat orange.fr) + * [Alexandros Kosiaris]: sadc: Check if InCsumErrors is present for + EICMP as well. + * sadf: XML: Fix bad transmission words statistics for Fibre Channel + hosts. + * iostat: Fix wrong CPU statistics displayed for the first sample + when option -y is used. + * iostat: Make sure UUID given on the command line is not taken as + interval value. + * Allow more space for persistent type directory names. + 2019/05/31: Version 12.0.5 - Sebastien Godard (sysstat orange.fr) * sar: Add missing %gnice CPU value for tickless CPU. * sar: Better detect if a disk has been unregistered then registered diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.5/common.c new/sysstat-12.0.6/common.c --- old/sysstat-12.0.5/common.c 2019-05-31 08:28:49.0 +0200 +++ new/sysstat-12.0.6/common.c 2019-08-14 17:54:20.0 +0200 @@ -776,9 +776,9 @@ */ char *get_persistent_type_dir(char *type) { - static char dir[32]; + static char dir[PATH_MAX]; - snprintf(dir, 32, "%s-%s", DEV_DISK_BY, type); + snprintf(dir, sizeof(dir), "%s-%s", DEV_DISK_BY, type); if (access(dir, R_OK)) { return (NULL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.5/configure new/sysstat-12.0.6/configure --- old/sysstat-12.0.5/configure2019-05-31 08:28:49.0 +0200 +++ new/sysstat-12.0.6/configure2019-08-14 17:54:20.0 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for sysstat 12.0.5. +# Generated by GNU Autoconf 2.69 for sysstat 12.0.6. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='sysstat' PACKAGE_TARNAME='sysstat' -PACKAGE_VERSION='12.0.5' -PACKAGE_STRING='sysstat 12.0.5' +PACKAGE_VERSION='12.0.6' +PACKAGE_STRING='sysstat 12.0.6'
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2019-06-04 12:08:55 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.5148 (New) Package is "sysstat" Tue Jun 4 12:08:55 2019 rev:80 rq:706769 version:12.0.5 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2019-02-24 16:56:05.72787 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new.5148/sysstat.changes 2019-06-04 12:09:01.119887047 +0200 @@ -1,0 +2,7 @@ +Fri May 31 21:44:31 UTC 2019 - sean...@opensuse.org + +- Version update to 12.0.5 + * Complete support for PCP output formwat with sadf + * Includes simulation/test environment to run non-regression tests + +--- Old: sysstat-12.0.3.tar.xz New: sysstat-12.0.5.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.i4Oyb3/_old 2019-06-04 12:09:03.683886208 +0200 +++ /var/tmp/diff_new_pack.i4Oyb3/_new 2019-06-04 12:09:03.727886193 +0200 @@ -17,7 +17,7 @@ Name: sysstat -Version:12.0.3 +Version:12.0.5 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later ++ sysstat-12.0.3.tar.xz -> sysstat-12.0.5.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.3/CHANGES new/sysstat-12.0.5/CHANGES --- old/sysstat-12.0.3/CHANGES 2018-12-14 15:08:26.0 +0100 +++ new/sysstat-12.0.5/CHANGES 2019-05-31 08:42:11.0 +0200 @@ -1,5 +1,34 @@ Changes: +2019/05/31: Version 12.0.5 - Sebastien Godard (sysstat orange.fr) + * sar: Add missing %gnice CPU value for tickless CPU. + * sar: Better detect if a disk has been unregistered then registered + again. + * sar: Allow option -i when no input file is specified. + * sadc: Fix bad number of CPU displayed in a LINUX RESTART message. + * sadf: Fix SVG output for filesystem statistics when the user asked for + the mount point to be displayed ("-F MOUNT"). + * iostat: Fix invalid JSON output when option -y is used. + * sar: Cosmetic fix in manual page. + * Cosmectic changes in code. + +2019/04/18: Version 12.0.4 - Sebastien Godard (sysstat orange.fr) + * [Ondrej Dubaj]: sar/sadc: Ignore autofs entries in /etc/mtab. + * [Huang Ying]: mpstat: Fix missing "}" and "]" in JSON output when + stopped by SIGINT. + * iostat: Add a SIGINT handler so that JSON output can be terminated + properly when the user presses Ctrl/C. + * sadf: Fix segmentation fault error when trying to display XML or JSON + data using a file which contains only RESTART records. + * mpstat: JSON output should display "all" for CPU number for global + CPU utilization. + * [Danny Smit]: Add umask sysconfig variable for sa1 and sa2. + * configure: Don't check for sensors library if --disable-sensors + option is used. + * sadf: Don't test for activities available in file if only the header + needs to be displayed. + * json_stats.h: Replace XML -> JSON. + 2018/12/14: Version 12.0.3 - Sebastien Godard (sysstat orange.fr) * sadf: Fix out of bound reads security issues (CVE-2018-19416 and CVE-2018-19517). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.3/configure new/sysstat-12.0.5/configure --- old/sysstat-12.0.3/configure2018-12-14 15:06:43.0 +0100 +++ new/sysstat-12.0.5/configure2019-05-31 08:28:49.0 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for sysstat 12.0.3. +# Generated by GNU Autoconf 2.69 for sysstat 12.0.5. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='sysstat' PACKAGE_TARNAME='sysstat' -PACKAGE_VERSION='12.0.3' -PACKAGE_STRING='sysstat 12.0.3' +PACKAGE_VERSION='12.0.5' +PACKAGE_STRING='sysstat 12.0.5' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1304,7 +1304,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures sysstat 12.0.3 to adapt to many kinds of systems. +\`configure' configures sysstat 12.0.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1365,7 +1365,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive )
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2019-02-24 16:56:00 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.28833 (New) Package is "sysstat" Sun Feb 24 16:56:00 2019 rev:79 rq:673022 version:12.0.3 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2018-11-28 11:15:09.950750331 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new.28833/sysstat.changes 2019-02-24 16:56:05.72787 +0100 @@ -1,0 +2,18 @@ +Wed Jan 23 11:13:24 UTC 2019 - Pedro Monreal Gonzalez + +- Version update to 12.0.3 + * 2018/12/14: Version 12.0.3 - Sebastien Godard (sysstatorange.fr) +* sadf: Fix out of bound reads security issues (CVE-2018-19416 + and CVE-2018-19517). +* sadf: Fix possible infinite loop. +* [Todd Walton]: Clarify sadc manual page and FAQ on using + multiple -S keywords. +* Remove remap_struct() prototype from sa.h. +* [Steve Kay]: Use memcpy rather than strncpy, in order to + avoid truncation warning. +* [Steve Kay]: Cosmetic fixes in configure file. +* [Anatoly Pugachev]: Fix comment in sar.c. +- Dropped patch fixed upstream: + * sysstat-12.0.2-CVE-2018-19416-and-CVE-2018-19517.patch + +--- Old: sysstat-12.0.2-CVE-2018-19416-and-CVE-2018-19517.patch sysstat-12.0.2.tar.xz New: sysstat-12.0.3.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.4vsXwg/_old 2019-02-24 16:56:07.57903 +0100 +++ /var/tmp/diff_new_pack.4vsXwg/_new 2019-02-24 16:56:07.592887901 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sysstat -Version:12.0.2 +Version:12.0.3 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later @@ -33,8 +33,6 @@ # PATCH-FIX-OPENSUSE should be upstreamed # use getpagesize() instead of kb_shift for hugetable archs Patch2: sysstat-8.0.4-pagesize.diff -# PATCH-FIX-UPSTREAM CVE-2018-19416 CVE-2018-19517 bsc#1117001 bsc#1117260 -Patch3: sysstat-12.0.2-CVE-2018-19416-and-CVE-2018-19517.patch BuildRequires: findutils BuildRequires: pkgconfig BuildRequires: sed @@ -73,7 +71,6 @@ %setup -q %patch0 -p1 %patch2 -p1 -%patch3 -p1 cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . # remove date and time from objects find ./ -name \*.c -exec sed -i -e 's: " compiled " __DATE__ " " __TIME__::g' {} \; ++ sysstat-12.0.2.tar.xz -> sysstat-12.0.3.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.2/CHANGES new/sysstat-12.0.3/CHANGES --- old/sysstat-12.0.2/CHANGES 2018-10-13 09:29:36.0 +0200 +++ new/sysstat-12.0.3/CHANGES 2018-12-14 15:08:26.0 +0100 @@ -1,5 +1,16 @@ Changes: +2018/12/14: Version 12.0.3 - Sebastien Godard (sysstat orange.fr) + * sadf: Fix out of bound reads security issues (CVE-2018-19416 and + CVE-2018-19517). + * sadf: Fix possible infinite loop. + * [Todd Walton]: Clarify sadc manual page and FAQ on using multiple -S keywords. + * Remove remap_struct() prototype from sa.h. + * [Steve Kay]: Use memcpy rather than strncpy, in order to avoid truncation + warning. + * [Steve Kay]: Cosmetic fixes in configure file. + * [Anatoly Pugachev]: Fix comment in sar.c. + 2018/10/13: Version 12.0.2 - Sebastien Godard (sysstat orange.fr) * sar: Fix timestamp format in report output. * sar: Fortify remap_struct() function. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.2/FAQ.md new/sysstat-12.0.3/FAQ.md --- old/sysstat-12.0.2/FAQ.md 2018-10-13 09:28:34.0 +0200 +++ new/sysstat-12.0.3/FAQ.md 2018-12-14 15:06:43.0 +0100 @@ -536,10 +536,10 @@ in my binary daily data files? -A: sadc's option -S followed by a keyword (DISK, SNMP...) can already -be used to specify which optional activities are to be collected. -Without this option, sadc collects a default set of activities (CPU -activity, memory activity, network activity, etc.) +A: sadc's option -S followed by one or more keywords (DISK, SNMP...) +can already be used to specify which optional activities are to be +collected. Without this option, sadc collects a default set of +activities (CPU
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2018-11-28 11:15:00 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new.19453 (New) Package is "sysstat" Wed Nov 28 11:15:00 2018 rev:78 rq:652184 version:12.0.2 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2018-11-13 17:50:24.267556774 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new.19453/sysstat.changes 2018-11-28 11:15:09.950750331 +0100 @@ -1,0 +2,10 @@ +Tue Nov 27 13:02:58 UTC 2018 - Pedro Monreal Gonzalez + +- Security fixes: + * The remap_struct function in sa_common.c has an out-of-bounds +read during a memmove call [CVE-2018-19416, bsc#1117001] + * The remap_struct function in sa_common.c has an out-of-bounds read +during a memset call [CVE-2018-19517, bsc#1117260] + * Added patch sysstat-12.0.2-CVE-2018-19416-and-CVE-2018-19517.patch + +--- New: sysstat-12.0.2-CVE-2018-19416-and-CVE-2018-19517.patch Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.c8MxZF/_old 2018-11-28 11:15:10.742749224 +0100 +++ /var/tmp/diff_new_pack.c8MxZF/_new 2018-11-28 11:15:10.742749224 +0100 @@ -33,6 +33,8 @@ # PATCH-FIX-OPENSUSE should be upstreamed # use getpagesize() instead of kb_shift for hugetable archs Patch2: sysstat-8.0.4-pagesize.diff +# PATCH-FIX-UPSTREAM CVE-2018-19416 CVE-2018-19517 bsc#1117001 bsc#1117260 +Patch3: sysstat-12.0.2-CVE-2018-19416-and-CVE-2018-19517.patch BuildRequires: findutils BuildRequires: pkgconfig BuildRequires: sed @@ -71,6 +73,7 @@ %setup -q %patch0 -p1 %patch2 -p1 +%patch3 -p1 cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . # remove date and time from objects find ./ -name \*.c -exec sed -i -e 's: " compiled " __DATE__ " " __TIME__::g' {} \; ++ sysstat-12.0.2-CVE-2018-19416-and-CVE-2018-19517.patch ++ >From fbc691eaaa10d0bcea6741d5a223dc3906106548 Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Mon, 26 Nov 2018 14:32:05 +0100 Subject: [PATCH] Fix #196 and #199: Out of bound reads security issues Check args before calling memmove() and memset() in remap_struct() function to avoid out of bound reads which would possibly lead to unknown code execution and/or sadf command crash. Signed-off-by: Sebastien GODARD --- sa.h| 5 ++-- sa_common.c | 66 - sadf.c | 2 +- sar.c | 13 ++- 4 files changed, 56 insertions(+), 30 deletions(-) Index: sysstat-12.0.2/sa.h === --- sysstat-12.0.2.orig/sa.h +++ sysstat-12.0.2/sa.h @@ -1355,11 +1355,11 @@ void read_file_stat_bunch __nr_t read_nr_value (int, char *, struct file_magic *, int, int, int); int read_record_hdr - (int, void *, struct record_header *, struct file_header *, int, int); +(int, void *, struct record_header *, struct file_header *, int, int, size_t); void reallocate_all_buffers (struct activity *, __nr_t); void remap_struct - (unsigned int [], unsigned int [], void *, unsigned int, unsigned int); +(unsigned int [], unsigned int [], void *, unsigned int, unsigned int, size_t); void replace_nonprintable_char (int, char *); int sa_fread Index: sysstat-12.0.2/sa_common.c === --- sysstat-12.0.2.orig/sa_common.c +++ sysstat-12.0.2/sa_common.c @@ -1280,12 +1280,14 @@ void swap_struct(unsigned int types_nr[] * @f_size Size of the structure containing statistics. This is the * size of the structure *read from file*. * @g_size Size of the structure expected by current sysstat version. + * @b_size Size of the buffer pointed by @ps. *** */ void remap_struct(unsigned int gtypes_nr[], unsigned int ftypes_nr[], - void *ps, unsigned int f_size, unsigned int g_size) + void *ps, unsigned int f_size, unsigned int g_size, size_t b_size) { int d; + size_t n; /* Sanity check */ if (MAP_SIZE(ftypes_nr) > f_size) @@ -1294,10 +1296,14 @@ void remap_struct(unsigned int gtypes_nr /* Remap [unsigned] long fields */ d = gtypes_nr[0] - ftypes_nr[0]; if (d) { + n = MINIMUM(f_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH, + g_size - gtypes_nr[0] * ULL_ALIGNMENT_WIDTH); + if ((ftypes_nr[0] * ULL_ALIGNMENT_WIDTH >= b_size) || + (gtypes_nr[0] * ULL_ALIGNMENT_WIDTH + n >
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2018-11-13 17:02:24 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Tue Nov 13 17:02:24 2018 rev:77 rq:648619 version:12.0.2 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2018-10-22 11:23:03.595172936 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2018-11-13 17:50:24.267556774 +0100 @@ -1,0 +2,6 @@ +Mon Nov 12 11:34:17 UTC 2018 - Martin Pluskal + +- Run tests during build +- Use explicit list of binaries in files section of spec file + +--- Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.DbvRLv/_old 2018-11-13 17:50:24.93843 +0100 +++ /var/tmp/diff_new_pack.DbvRLv/_new 2018-11-13 17:50:24.939555837 +0100 @@ -113,6 +113,9 @@ %{buildroot}%{_unitdir}/sysstat.service fi +%check +make %{?_smp_mflags} test + %pre %service_add_pre sysstat.service @@ -145,7 +148,13 @@ %config(noreplace) %{_sysconfdir}/sysstat/sysstat %attr(644,root,root) %config(noreplace) %{_sysconfdir}/sysstat/sysstat.cron %attr(644,root,root) %config(noreplace) %{_sysconfdir}/sysstat/sysstat.ioconf -%{_bindir}/* +%{_bindir}/cifsiostat +%{_bindir}/iostat +%{_bindir}/mpstat +%{_bindir}/pidstat +%{_bindir}/sadf +%{_bindir}/sar +%{_bindir}/tapestat %exclude %{_bindir}/isag %{_libdir}/sa %{_unitdir}/sysstat.service
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2018-10-22 11:22:57 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Mon Oct 22 11:22:57 2018 rev:76 rq:642999 version:12.0.2 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2018-10-17 08:42:39.401791878 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2018-10-22 11:23:03.595172936 +0200 @@ -4 +4 @@ -- Up to 12.0.2: +- Up to 12.0.2: (fate#326576, bsc#1089883) @@ -5,0 +6,4 @@ +- Dropped patches for SLE-12, fixed upstream: + * sysstat-10.2.1-iostat-sar-util.patch + * sysstat-10.2.1-sar-ifutil.patch + * sysstat-10.2.6-fix-json-with-file-utc-time.patch Other differences: --
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2018-10-17 08:41:42 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Wed Oct 17 08:41:42 2018 rev:75 rq:642241 version:12.0.2 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2018-08-15 10:38:06.704260728 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2018-10-17 08:42:39.401791878 +0200 @@ -1,0 +2,6 @@ +Tue Oct 16 10:10:52 UTC 2018 - Tomáš Chvátal + +- Up to 12.0.2: + * This version mainly includes bugfixes + +--- Old: sysstat-12.0.1.tar.xz New: sysstat-12.0.2.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.Y0Ckxk/_old 2018-10-17 08:42:40.929790581 +0200 +++ /var/tmp/diff_new_pack.Y0Ckxk/_new 2018-10-17 08:42:40.933790578 +0200 @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: sysstat -Version:12.0.1 +Version:12.0.2 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later ++ sysstat-12.0.1.tar.xz -> sysstat-12.0.2.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/CHANGES new/sysstat-12.0.2/CHANGES --- old/sysstat-12.0.1/CHANGES 2018-08-06 17:50:02.0 +0200 +++ new/sysstat-12.0.2/CHANGES 2018-10-13 09:29:36.0 +0200 @@ -1,5 +1,14 @@ Changes: +2018/10/13: Version 12.0.2 - Sebastien Godard (sysstat orange.fr) + * sar: Fix timestamp format in report output. + * sar: Fortify remap_struct() function. + * sadf: SVG: Fix variable type used for huge pages kbhugfree metric. + * sar: Make sure header lines are always displayed in report for statistics. + * Makefile: Fix "unexpected operator" error on install. + * sar: Fix typo in manual page. + * Cosmetic fixes. + 2018/08/06: Version 12.0.1 - Sebastien Godard (sysstat orange.fr) * sar: Fix wrong size for stats_huge structure. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/Makefile.in new/sysstat-12.0.2/Makefile.in --- old/sysstat-12.0.1/Makefile.in 2018-08-03 08:18:09.0 +0200 +++ new/sysstat-12.0.2/Makefile.in 2018-10-13 09:28:34.0 +0200 @@ -434,7 +434,7 @@ $(INSTALL_DATA) cron/sysstat-summary.timer $(DESTDIR)$(SYSTEMD_UNIT_DIR); \ elif [ -d $(DESTDIR)$(INIT_DIR) ]; then \ $(INSTALL_BIN) sysstat $(DESTDIR)$(INIT_DIR)/sysstat; \ - if [ "$(COPY_ONLY)" == "n" ]; then \ + if [ "$(COPY_ONLY)" = "n" ]; then \ if [ -x "$(CHKCONFIG)" ]; then \ cd $(DESTDIR)$(INIT_DIR) && $(CHKCONFIG) --add sysstat; \ else \ @@ -448,7 +448,7 @@ fi \ elif [ -d $(DESTDIR)$(RC_DIR) ]; then \ $(INSTALL_BIN) sysstat $(DESTDIR)$(RC_DIR)/rc.sysstat; \ - if [ "$(COPY_ONLY)" == "n" ]; then \ + if [ "$(COPY_ONLY)" = "n" ]; then \ if [ -x "$(CHKCONFIG)" ]; then \ cd $(DESTDIR)$(RC_DIR) && $(CHKCONFIG) --add rc.sysstat; \ else \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/configure new/sysstat-12.0.2/configure --- old/sysstat-12.0.1/configure2018-08-06 17:59:43.0 +0200 +++ new/sysstat-12.0.2/configure2018-10-13 09:28:34.0 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for sysstat 12.0.1. +# Generated by GNU Autoconf 2.69 for sysstat 12.0.2. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='sysstat' PACKAGE_TARNAME='sysstat' -PACKAGE_VERSION='12.0.1' -PACKAGE_STRING='sysstat 12.0.1' +PACKAGE_VERSION='12.0.2' +PACKAGE_STRING='sysstat 12.0.2' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1304,7 +1304,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures sysstat 12.0.1 to adapt to many kinds
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2018-08-15 10:38:05 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Wed Aug 15 10:38:05 2018 rev:74 rq:629179 version:12.0.1 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2018-06-22 13:35:57.377379478 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2018-08-15 10:38:06.704260728 +0200 @@ -1,0 +2,32 @@ +Tue Aug 14 07:03:04 UTC 2018 - tchva...@suse.com + +- Version update to 12.0.1: + * sadf: SVG: Remove id tag from individual graphs. Use activities +identification numbers for id tags. + * sadf: SVG: Add new option "showtoc", which can be used to display +the list of activities for which there are graphs ("table of +contents"). + * sadf: SVG: Improve output for softnet activity: Add a discontinuity in +graph when corresponding CPU is marked offline. + * sadf: SVG: Improve function used to assess SVG canvas height. + * sadf: SVG: Fix core dumped on buffers reallocation. + * sar/sadf: Devices list management code refactoring. + * sa_conv.c: Use write_all() function instead of write() to handle possible +signal interruptions. + * spec file updated: No longer create a debug package. + * Remove many warnings from gcc v7/v8. + * README file updated. + * Manual pages updated. + +--- +Tue Aug 14 06:50:52 UTC 2018 - tchva...@suse.com + +- Update to 11.6.5: + * sadf: SVG: Display graphs for swap utilization in packed mode. + * sadf: SVG: Don't take into account activities with no graphs when +calculating canvas height. + * sadf: SVG: Don't insert a gap in SVG output if an activity is not +displayed. + * sadf: SVG: Fix possible negative value in graphs coordinates. + +--- Old: sysstat-11.6.4.tar.xz New: sysstat-12.0.1.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.nczSPf/_old 2018-08-15 10:38:08.380263784 +0200 +++ /var/tmp/diff_new_pack.nczSPf/_new 2018-08-15 10:38:08.380263784 +0200 @@ -17,7 +17,7 @@ Name: sysstat -Version:11.6.4 +Version:12.0.1 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later ++ sysstat-11.6.4.tar.xz -> sysstat-12.0.1.tar.xz ++ 44382 lines of diff (skipped)
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2018-06-22 13:35:54 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Fri Jun 22 13:35:54 2018 rev:73 rq:618309 version:11.6.4 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2018-04-27 16:09:53.865024541 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2018-06-22 13:35:57.377379478 +0200 @@ -1,0 +2,7 @@ +Thu Jun 21 10:45:22 UTC 2018 - tchva...@suse.com + +- Version update to 11.6.4: + * The number of decimal places used by sysstat commands (sar, cifsiostat, iostat, mpstat and pidstat), + * The network interfaces, block devices and filesystems for which statistics shall be displayed by sar or sadf. + +--- Old: sysstat-11.6.3.tar.xz New: sysstat-11.6.4.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.Y2scPS/_old 2018-06-22 13:35:58.297345469 +0200 +++ /var/tmp/diff_new_pack.Y2scPS/_new 2018-06-22 13:35:58.309345025 +0200 @@ -17,12 +17,12 @@ Name: sysstat -Version:11.6.3 +Version:11.6.4 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0-or-later Group: System/Monitoring -Url:http://pagesperso-orange.fr/sebastien.godard/ +URL:http://pagesperso-orange.fr/sebastien.godard/ Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz Source1:isag.desktop Source2:sysstat.cron.suse @@ -107,7 +107,7 @@ %find_lang %{name} install -D -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/sysstat.service # change /usr/lib to /usr/lib64 or something else when needed -if [ "%{_libdir}" != "%{_prefix}/lib" ]; then +if [ "%{_libdir}" != "%{_libexecdir}" ]; then sed -i 's:%{_libexecdir}/:%{_libdir}/:g' \ %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron \ %{buildroot}%{_unitdir}/sysstat.service @@ -135,7 +135,8 @@ %endif %files -f "%{name}.lang" -%doc CHANGES COPYING CREDITS FAQ.md README.md +%license COPYING +%doc CHANGES CREDITS FAQ.md README.md %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man8/* ++ sysstat-11.6.3.tar.xz -> sysstat-11.6.4.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.6.3/CHANGES new/sysstat-11.6.4/CHANGES --- old/sysstat-11.6.3/CHANGES 2018-04-06 11:54:48.0 +0200 +++ new/sysstat-11.6.4/CHANGES 2018-06-01 10:18:12.0 +0200 @@ -1,5 +1,10 @@ Changes: +2018/06/01: Version 11.6.4 - Sebastien Godard (sysstat orange.fr) + * sar: Change how used memory (kbmemused) is calculated to be + consistent with free(1) and top(1)'s output. + * pidstat: Fix incorrect thread names displayed with -t and -l options. + 2018/04/06: Version 11.6.3 - Sebastien Godard (sysstat orange.fr) * iostat: Refresh device list properly. * pidstat: Report CPU usage for a process as the sum of all threads. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.6.3/configure new/sysstat-11.6.4/configure --- old/sysstat-11.6.3/configure2018-04-06 11:54:07.0 +0200 +++ new/sysstat-11.6.4/configure2018-06-01 10:17:22.0 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for sysstat 11.6.3. +# Generated by GNU Autoconf 2.69 for sysstat 11.6.4. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='sysstat' PACKAGE_TARNAME='sysstat' -PACKAGE_VERSION='11.6.3' -PACKAGE_STRING='sysstat 11.6.3' +PACKAGE_VERSION='11.6.4' +PACKAGE_STRING='sysstat 11.6.4' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1307,7 +1307,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures sysstat 11.6.3 to adapt to many kinds of systems. +\`configure' configures sysstat 11.6.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1368,7 +1368,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of sysstat 11.6.3:";; + short | recursive ) echo "Configuration of sysstat 11.6.4:";; esac cat <<\_ACEOF @@ -1487,7 +1487,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2018-04-27 16:09:49 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Fri Apr 27 16:09:49 2018 rev:72 rq:601842 version:11.6.3 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2017-11-03 16:27:57.257432054 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2018-04-27 16:09:53.865024541 +0200 @@ -1,0 +2,16 @@ +Fri Apr 27 07:58:40 UTC 2018 - tchva...@suse.com + +- Version update to 11.6.3: + * A possible crash related to the new binary format used by sar, which could +happen when buffers needed to be reallocated to accomodate more devices +added to the system, + * The %CPU value displayed by pidstat for processes using more than 100% +of a core. + +--- +Thu Apr 26 15:12:43 UTC 2018 - fcro...@suse.com + +- Remove Requires on update-desktop-files on subpackage, it is + useless. + +--- Old: sysstat-11.6.1.tar.xz New: sysstat-11.6.3.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.EbkWOU/_old 2018-04-27 16:09:54.720993148 +0200 +++ /var/tmp/diff_new_pack.EbkWOU/_new 2018-04-27 16:09:54.724993002 +0200 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,10 +17,10 @@ Name: sysstat -Version:11.6.1 +Version:11.6.3 Release:0 Summary:Sar and Iostat Commands for Linux -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Monitoring Url:http://pagesperso-orange.fr/sebastien.godard/ Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz @@ -61,8 +61,6 @@ Requires: gnuplot Requires: sysstat = %{version} Requires: tk -Requires(post): update-desktop-files -Requires(postun): update-desktop-files %description isag This package includes the isag command, which graphically displays the @@ -128,11 +126,13 @@ %postun %service_del_postun sysstat.service +%if 0%{?suse_version} < 1500 %post isag %desktop_database_post %postun isag %desktop_database_postun +%endif %files -f "%{name}.lang" %doc CHANGES COPYING CREDITS FAQ.md README.md ++ sysstat-11.6.1.tar.xz -> sysstat-11.6.3.tar.xz ++ 3263 lines of diff (skipped)
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2017-11-03 16:26:49 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Fri Nov 3 16:26:49 2017 rev:71 rq:538307 version:11.6.1 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2017-04-11 09:38:21.438766158 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2017-11-03 16:27:57.257432054 +0100 @@ -1,0 +2,12 @@ +Thu Nov 2 09:36:49 UTC 2017 - mplus...@suse.com + +- Update to version 11.6.1 + * See provided CHANGES for detailed list of changes +- Refresh patches: + * sysstat-8.0.4-pagesize.diff + * sysstat-8.0.4-sysconfdir.diff + * sysstat-8.1.6-sa1sa2lock.diff +- Drop no longer needed + * sysstat-8.0.4-sysconfdir.diff + +--- Old: sysstat-11.4.3.tar.xz sysstat-8.0.4-sysconfdir.diff New: sysstat-11.6.1.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.6Iiwkn/_old 2017-11-03 16:27:58.097401482 +0100 +++ /var/tmp/diff_new_pack.6Iiwkn/_new 2017-11-03 16:27:58.101401336 +0100 @@ -17,7 +17,7 @@ Name: sysstat -Version:11.4.3 +Version:11.6.1 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ @@ -33,10 +33,6 @@ # PATCH-FIX-OPENSUSE should be upstreamed # use getpagesize() instead of kb_shift for hugetable archs Patch2: sysstat-8.0.4-pagesize.diff -# PATCH-FIX-OPENSUSE use /etc/sysstat for config files -# instead of /etc/sysconfig since the files do not match -# the format used there (should be configure option) -Patch3: sysstat-8.0.4-sysconfdir.diff BuildRequires: findutils BuildRequires: pkgconfig BuildRequires: sed @@ -75,9 +71,8 @@ %prep %setup -q -%patch0 -%patch2 -%patch3 +%patch0 -p1 +%patch2 -p1 cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . # remove date and time from objects find ./ -name \*.c -exec sed -i -e 's: " compiled " __DATE__ " " __TIME__::g' {} \; @@ -140,8 +135,7 @@ %desktop_database_postun %files -f "%{name}.lang" -%defattr(-,root,root) -%doc CHANGES COPYING CREDITS FAQ README.md +%doc CHANGES COPYING CREDITS FAQ.md README.md %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man8/* @@ -158,7 +152,6 @@ %{_sbindir}/rcsysstat %files isag -%defattr(-,root,root) %doc contrib/isag/README-isag %{_mandir}/man1/isag* %{_bindir}/isag ++ sysstat-11.4.3.tar.xz -> sysstat-11.6.1.tar.xz ++ 32798 lines of diff (skipped) ++ sysstat-8.0.4-pagesize.diff ++ --- /var/tmp/diff_new_pack.6Iiwkn/_old 2017-11-03 16:27:58.473387797 +0100 +++ /var/tmp/diff_new_pack.6Iiwkn/_new 2017-11-03 16:27:58.473387797 +0100 @@ -1,8 +1,8 @@ -Index: common.h +Index: sysstat-11.6.1/common.h === common.h.orig -+++ common.h -@@ -146,8 +146,8 @@ extern unsigned int kb_shift; +--- sysstat-11.6.1.orig/common.h sysstat-11.6.1/common.h +@@ -178,8 +178,8 @@ extern unsigned int kb_shift; * kB <-> number of pages. * Page size depends on machine architecture (4 kB, 8 kB, 16 kB, 64 kB...) */ ++ sysstat-8.1.6-sa1sa2lock.diff ++ --- /var/tmp/diff_new_pack.6Iiwkn/_old 2017-11-03 16:27:58.485387361 +0100 +++ /var/tmp/diff_new_pack.6Iiwkn/_new 2017-11-03 16:27:58.485387361 +0100 @@ -1,7 +1,7 @@ -Index: sa1.in +Index: sysstat-11.6.1/sa1.in === sa1.in.orig -+++ sa1.in +--- sysstat-11.6.1.orig/sa1.in sysstat-11.6.1/sa1.in @@ -22,15 +22,21 @@ then SADC_OPTIONS="${SADC_OPTIONS} -D" fi @@ -26,10 +26,10 @@ - exec ${ENDIR}/sadc -F -L ${SADC_OPTIONS} $* ${SA_DIR} + ${ENDIR}/sadc -F -L ${SADC_OPTIONS} $* ${SA_DIR} fi -Index: sa2.in +Index: sysstat-11.6.1/sa2.in === sa2.in.orig -+++ sa2.in +--- sysstat-11.6.1.orig/sa2.in sysstat-11.6.1/sa2.in @@ -43,6 +43,17 @@ ENDIR=@bindir@ [ -f "${DFILE}" ] || exit 0
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2017-04-11 09:38:19 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Tue Apr 11 09:38:19 2017 rev:70 rq:484039 version:11.4.3 Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2017-02-20 13:15:26.529529823 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2017-04-11 09:38:21.438766158 +0200 @@ -1,0 +2,6 @@ +Fri Mar 31 09:54:04 UTC 2017 - tchva...@suse.com + +- Properly specify you want to be started by multi-user.target + bsc#1031674 + +--- Other differences: -- ++ sysstat.service ++ --- /var/tmp/diff_new_pack.paNtWj/_old 2017-04-11 09:38:22.754580282 +0200 +++ /var/tmp/diff_new_pack.paNtWj/_new 2017-04-11 09:38:22.758579717 +0200 @@ -12,4 +12,4 @@ RemainAfterExit=true [Install] -WantedBy=default.target +WantedBy=multi-user.target
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2017-02-20 13:15:25 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2016-05-29 03:13:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2017-02-20 13:15:26.529529823 +0100 @@ -1,0 +2,11 @@ +Sun Feb 19 10:21:16 UTC 2017 - tchva...@suse.com + +- Update to 11.4.3 release + * check the CHANGES file for detailed informations, too long +- Refresh patches: + * sysstat-8.0.4-sysconfdir.diff + * sysstat-8.1.6-sa1sa2lock.diff +- Remove patch that was converted to sed: + * sysstat-9.0.4-no-build-date.patch + +--- Old: sysstat-11.0.8.tar.xz sysstat-9.0.4-no-build-date.patch New: sysstat-11.4.3.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.8IUwTH/_old 2017-02-20 13:15:27.353413986 +0100 +++ /var/tmp/diff_new_pack.8IUwTH/_new 2017-02-20 13:15:27.357413424 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sysstat -Version:11.0.8 +Version:11.4.3 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ @@ -37,13 +37,8 @@ # instead of /etc/sysconfig since the files do not match # the format used there (should be configure option) Patch3: sysstat-8.0.4-sysconfdir.diff -# PATCH-FIX-OPENSUSE avoid build dates in generated files -Patch4: sysstat-9.0.4-no-build-date.patch BuildRequires: findutils -%ifnarch s390 s390x -BuildRequires: libsensors4-devel -%endif -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: sed BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files @@ -52,6 +47,9 @@ Requires: procmail Requires: xz %{?systemd_requires} +%ifnarch s390 s390x +BuildRequires: libsensors4-devel +%endif %description Sar and Iostat commands for Linux. The sar command collects and reports @@ -80,8 +78,9 @@ %patch0 %patch2 %patch3 -%patch4 cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . +# remove date and time from objects +find ./ -name \*.c -exec sed -i -e 's: " compiled " __DATE__ " " __TIME__::g' {} \; %build export conf_dir="%{_sysconfdir}/sysstat" @@ -90,8 +89,11 @@ export LFLAGS="-L. -lsyscom" export history="60" %configure \ + --disable-silent-rules \ --enable-nls \ --disable-man-group \ + --enable-copy-only \ + --disable-file-attr \ --enable-debug-info \ %ifnarch s390 s390x --enable-sensors \ @@ -101,7 +103,7 @@ %install mkdir -p %{buildroot}%{_localstatedir}/log/sa %{buildroot}%{_sbindir} -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install install -D -m 0644 isag.desktop %{buildroot}%{_datadir}/applications/isag.desktop %suse_update_desktop_file isag cp contrib/isag/isag %{buildroot}%{_bindir} @@ -139,7 +141,7 @@ %files -f "%{name}.lang" %defattr(-,root,root) -%doc CHANGES COPYING CREDITS FAQ README +%doc CHANGES COPYING CREDITS FAQ README.md %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man8/* ++ sysstat-11.0.8.tar.xz -> sysstat-11.4.3.tar.xz ++ 45984 lines of diff (skipped) ++ sysstat-8.0.4-sysconfdir.diff ++ --- /var/tmp/diff_new_pack.8IUwTH/_old 2017-02-20 13:15:27.809349883 +0100 +++ /var/tmp/diff_new_pack.8IUwTH/_new 2017-02-20 13:15:27.809349883 +0100 @@ -2,7 +2,7 @@ === --- FAQ.orig +++ FAQ -@@ -434,9 +434,9 @@ to verify that for yourself. +@@ -444,9 +444,9 @@ to verify that for yourself. Nor do you have to be concerned about using up all your disk space. sar will use a few hundred kilobytes for a whole day's worth of data, and it normally only stores one week worth (this can be configured via the HISTORY @@ -14,7 +14,7 @@ configuration file. ~~~ -@@ -476,7 +476,7 @@ another file or create a new one. See al +@@ -486,7 +486,7 @@ another file or create a new one. See al By default sar saves its data in the standard system activity data file, the /var/log/sa/saDD file, where DD is the current day in the month. To prevent sar from overwriting any existing files, just set the variable @@ -23,18 +23,18 @@ must be kept. When this variable
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2016-05-29 03:12:29 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2015-11-24 22:33:44.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2016-05-29 03:13:21.0 +0200 @@ -1,0 +2,5 @@ +Wed May 25 01:57:31 CEST 2016 - r...@suse.de + +- skip libsensors on s390/s390x + +--- Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.d86LzC/_old 2016-05-29 03:13:22.0 +0200 +++ /var/tmp/diff_new_pack.d86LzC/_new 2016-05-29 03:13:22.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,7 +40,9 @@ # PATCH-FIX-OPENSUSE avoid build dates in generated files Patch4: sysstat-9.0.4-no-build-date.patch BuildRequires: findutils +%ifnarch s390 s390x BuildRequires: libsensors4-devel +%endif BuildRequires: pkg-config BuildRequires: sed BuildRequires: systemd-rpm-macros @@ -91,8 +93,10 @@ --enable-nls \ --disable-man-group \ --enable-debug-info \ - --disable-stripping \ - --enable-sensors +%ifnarch s390 s390x + --enable-sensors \ +%endif + --disable-stripping make %{?_smp_mflags} %install
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2015-11-24 22:33:34 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is "sysstat" Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2015-09-09 20:21:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2015-11-24 22:33:44.0 +0100 @@ -1,0 +2,15 @@ +Mon Nov 16 17:41:10 UTC 2015 - mplus...@suse.com + +- Update to 11.0.8 + * Fix possible NULL pointer dereference in SREALLOC macro (CID +#29706). + * sadc: Fix untrusted value used as argument (CID #29720). + * Update librdsensors.a target in Makefile. +- Changes for 11.0.7 + * [Peter Schiffer]: Fix problem with pidstat output values > 100% +for %CPU. + * [Alexis Solanas]: Fix issue with iostat not showing the full +device name. + * CREDITS file updated. + +--- Old: sysstat-11.0.6.tar.xz New: sysstat-11.0.8.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.il8TpA/_old 2015-11-24 22:33:45.0 +0100 +++ /var/tmp/diff_new_pack.il8TpA/_new 2015-11-24 22:33:45.0 +0100 @@ -17,7 +17,7 @@ Name: sysstat -Version:11.0.6 +Version:11.0.8 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ ++ sysstat-11.0.6.tar.xz -> sysstat-11.0.8.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.0.6/.gitignore new/sysstat-11.0.8/.gitignore --- old/sysstat-11.0.6/.gitignore 2015-08-24 17:13:30.0 +0200 +++ new/sysstat-11.0.8/.gitignore 2015-09-05 09:57:42.0 +0200 @@ -45,6 +45,7 @@ sar sadf iostat +tapestat mpstat pidstat nfsiostat diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.0.6/CHANGES new/sysstat-11.0.8/CHANGES --- old/sysstat-11.0.6/CHANGES 2015-08-24 17:14:37.0 +0200 +++ new/sysstat-11.0.8/CHANGES 2015-10-23 14:21:36.0 +0200 @@ -1,5 +1,18 @@ Changes: +2015/10/23: Version 11.0.8 - Sebastien Godard (sysstat orange.fr) + * Fix possible NULL pointer dereference in SREALLOC macro (CID + #29706). + * sadc: Fix untrusted value used as argument (CID #29720). + * Update librdsensors.a target in Makefile. + +2015/09/20: Version 11.0.7 - Sebastien Godard (sysstat orange.fr) + * [Peter Schiffer]: Fix problem with pidstat output values > 100% + for %CPU. + * [Alexis Solanas]: Fix issue with iostat not showing the full + device name. + * CREDITS file updated. + 2015/08/24: Version 11.0.6 - Sebastien Godard (sysstat orange.fr) * Check /proc/net/snmp format to collect ICMP statistics at their right positions. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.0.6/CREDITS new/sysstat-11.0.8/CREDITS --- old/sysstat-11.0.6/CREDITS 2015-08-24 17:15:31.0 +0200 +++ new/sysstat-11.0.8/CREDITS 2015-10-23 14:22:01.0 +0200 @@ -221,6 +221,7 @@ Rod SkinnerKevin C. Smallwood Dick Snippe + Alexis Solanas Graham Swallow Mike Sweger Don Totten diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.0.6/Makefile.in new/sysstat-11.0.8/Makefile.in --- old/sysstat-11.0.6/Makefile.in 2015-08-24 17:13:49.0 +0200 +++ new/sysstat-11.0.8/Makefile.in 2015-10-23 14:19:18.0 +0200 @@ -220,7 +220,9 @@ librdstats_light.a: rd_stats_light.o count_light.o $(AR) rvs $@ $? -librdsensors.a: librdsensors.a(rd_sensors.o) +#librdsensors.a: librdsensors.a(rd_sensors.o) +librdsensors.a: rd_sensors.o + $(AR) rvs $@ $? sadc.o: sadc.c sa.h version.h common.h ioconf.h sysconfig.h rd_stats.h rd_sensors.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.0.6/common.h new/sysstat-11.0.8/common.h --- old/sysstat-11.0.6/common.h 2015-08-24 17:13:49.0 +0200 +++ new/sysstat-11.0.8/common.h 2015-10-23 14:14:26.0 +0200 @@ -69,7 +69,7 @@ #define MAX_FILE_LEN 256 #define MAX_PF_NAME1024 #define DEFAULT_DEVMAP_MAJOR 253 -#define MAX_NAME_LEN 72 +#define MAX_NAME_LEN 128 #define IGNORE_VIRTUAL_DEVICES FALSE
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2015-06-24 20:52:13 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2015-05-18 22:32:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2015-06-24 20:52:14.0 +0200 @@ -1,0 +2,12 @@ +Mon Jun 22 07:01:56 UTC 2015 - mplus...@suse.com + +- Update to 11.0.5 + * [Peter Schiffer]: Fixed and simplified some math expressions +in pr_stats.c. + * [Peter Schiffer]: ioconf.c: Check value of variable major +read from file. + * [Peter Schiffer]: ioconf.c: Use strncpy instead of strcpy. + * cifsiostat: Fixed possible integer overflowed argument. + * sar: Fixed untrusted loop bound. + +--- Old: sysstat-11.0.4.tar.xz New: sysstat-11.0.5.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.fZOKJa/_old 2015-06-24 20:52:16.0 +0200 +++ /var/tmp/diff_new_pack.fZOKJa/_new 2015-06-24 20:52:16.0 +0200 @@ -17,7 +17,7 @@ Name: sysstat -Version:11.0.4 +Version:11.0.5 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ ++ sysstat-11.0.4.tar.xz - sysstat-11.0.5.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.0.4/CHANGES new/sysstat-11.0.5/CHANGES --- old/sysstat-11.0.4/CHANGES 2015-04-07 21:40:34.0 +0200 +++ new/sysstat-11.0.5/CHANGES 2015-06-12 12:02:29.0 +0200 @@ -1,5 +1,15 @@ Changes: +2015/06/12: Version 11.0.5 - Sebastien Godard (sysstat at orange.fr) +* [Peter Schiffer]: Fixed and simplified some math expressions + in pr_stats.c. +* [Peter Schiffer]: ioconf.c: Check value of variable major + read from file. +* [Peter Schiffer]: ioconf.c: Use strncpy instead of strcpy. + * cifsiostat: Fixed possible integer overflowed argument. + * sar: Fixed untrusted loop bound. + * FAQ updated. + 2015/04/07: Version 11.0.4 - Sebastien Godard (sysstat at orange.fr) * Makefile: sysstat init script may sometimes be called rc.sysstat. So use that name when needed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.0.4/FAQ new/sysstat-11.0.5/FAQ --- old/sysstat-11.0.4/FAQ 2015-04-07 21:35:54.0 +0200 +++ new/sysstat-11.0.5/FAQ 2015-06-12 12:01:21.0 +0200 @@ -20,7 +20,7 @@ 2.2. The sar command complains with the following message: Cannot append data to that file (...). 2.3. The sar command complains with the following message: - Invalid data format. + Inconsistent input data. 2.4. I get the following error message when I try to run sar: Cannot open /var/log/sa/sa30: No such file or directory. 2.5. Are sar daily data files fully compatible with Sun Solaris format @@ -196,14 +196,15 @@ ~~~ 2.3. The sar command complains with the following message: -Invalid data format +Inconsistent input data This error message means that sadc (the system activity data collector that sar is using) is not consistent with the sar command. In most cases this is because the sar and sadc commands do not belong to the same release of the sysstat package. Remember that sar may search for sadc in predefined directories (/usr/local/lib/sa, /usr/lib/sa, ...) before looking in the -current directory! +current directory! With sysstat version 11.1.5 and later, enter sar --sadc +to determine which data collector is called by sar. ~~~ @@ -343,6 +344,9 @@ rrd.cgi (http://haroon.sis.utoronto.ca/rrd/scripts/) is a perl front-end for rrdtool and can be used to make some graphs (see a demo at http://haroon.sis.utoronto.ca/perl/rrd.cgi/sar_stats/). +sysstat_mail_report (https://github.com/desbma/sysstat_mail_report) is a script +that automatically generates and sends an email report every day/week/month +with graphs generated from sysstat data. I've also heard of commercial tools which use sysstat: PerfMan comes to mind, among others. If you find others which you think are of real interest, please let me know diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-11.0.4/cifsiostat.c new/sysstat-11.0.5/cifsiostat.c --- old/sysstat-11.0.4/cifsiostat.c 2015-04-07 21:35:54.0 +0200 +++ new/sysstat-11.0.5/cifsiostat.c 2015-06-12 12:01:21.0 +0200 @@ -174,18 +174,28 @@ if ((cifs_nr
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2015-05-18 22:32:03 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2015-02-22 17:27:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2015-05-18 22:32:04.0 +0200 @@ -1,0 +2,24 @@ +Sun May 17 11:09:27 UTC 2015 - mplus...@suse.com + +- Update to 11.0.4 + * Makefile: sysstat init script may sometimes be called rc.sysstat. +So use that name when needed. + * pidstat: Don't stop if gtime and cgtime fields are unavailable. + * Typos fixed in XSD document. + * [Peter Schiffer]: Replace spaces with tabs in Makefile.in. + * [Peter Schiffer]: Create appropriate directories in DESTDIR if +missing. + * [Peter Schiffer]: Fixed installation of systemd/cron files on +systems w/o systemd. + * [Peter Schiffer]: Don't look in weird places for programs during +configuration. + * [Peter Schiffer]: Portable way to detect 64 bit OS in configure +script. + * [Steve Kay]: Fix mpstat SCPU alignment output. + * Makefile: Call chkconfig only if $(COPY_ONLY) is set to no. + * sysstat(5) manual page updated. + * NLS updated. +- Use scriplets for updating desktop files +- Update patches + +--- Old: sysstat-11.0.3.tar.xz New: sysstat-11.0.4.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.tLHaFy/_old 2015-05-18 22:32:05.0 +0200 +++ /var/tmp/diff_new_pack.tLHaFy/_new 2015-05-18 22:32:05.0 +0200 @@ -17,7 +17,7 @@ Name: sysstat -Version:11.0.3 +Version:11.0.4 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ @@ -65,6 +65,8 @@ Requires: gnuplot Requires: sysstat = %{version} Requires: tk +Requires(post): update-desktop-files +Requires(postun): update-desktop-files %description isag This package includes the isag command, which graphically displays the @@ -125,12 +127,18 @@ %postun %service_del_postun sysstat.service +%post isag +%desktop_database_post + +%postun isag +%desktop_database_postun + %files -f %{name}.lang %defattr(-,root,root) %doc CHANGES COPYING CREDITS FAQ README -%doc %{_mandir}/man1/* -%doc %{_mandir}/man5/* -%doc %{_mandir}/man8/* +%{_mandir}/man1/* +%{_mandir}/man5/* +%{_mandir}/man8/* %exclude %{_mandir}/man1/isag* %dir %{_sysconfdir}/sysstat %config(noreplace) %{_sysconfdir}/sysstat/sysstat @@ -146,7 +154,7 @@ %files isag %defattr(-,root,root) %doc contrib/isag/README-isag -%doc %{_mandir}/man1/isag* +%{_mandir}/man1/isag* %{_bindir}/isag %{_datadir}/applications/isag.desktop ++ sysstat-11.0.3.tar.xz - sysstat-11.0.4.tar.xz ++ 7141 lines of diff (skipped) ++ sysstat-8.0.4-pagesize.diff ++ --- /var/tmp/diff_new_pack.tLHaFy/_old 2015-05-18 22:32:05.0 +0200 +++ /var/tmp/diff_new_pack.tLHaFy/_new 2015-05-18 22:32:05.0 +0200 @@ -1,6 +1,8 @@ sysstat-11.0.0/common.h2014-06-12 15:31:57.0 -0400 -+++ common.h 2014-07-17 22:07:52.571757781 -0400 -@@ -140,8 +140,8 @@ +Index: common.h +=== +--- common.h.orig common.h +@@ -140,8 +140,8 @@ extern unsigned int kb_shift; * kB - number of pages. * Page size depends on machine architecture (4 kB, 8 kB, 16 kB, 64 kB...) */ ++ sysstat-8.0.4-sysconfdir.diff ++ --- /var/tmp/diff_new_pack.tLHaFy/_old 2015-05-18 22:32:05.0 +0200 +++ /var/tmp/diff_new_pack.tLHaFy/_new 2015-05-18 22:32:05.0 +0200 @@ -1,6 +1,8 @@ sysstat-11.0.0/FAQ 2014-06-08 10:28:50.0 -0400 -+++ FAQ2014-07-17 22:13:10.841736018 -0400 -@@ -430,9 +430,9 @@ +Index: FAQ +=== +--- FAQ.orig FAQ +@@ -430,9 +430,9 @@ to verify that for yourself. Nor do you have to be concerned about using up all your disk space. sar will use a few hundred kilobytes for a whole day's worth of data, and it normally only stores one week worth (this can be configured via the HISTORY @@ -12,7 +14,7 @@ configuration file. ~~~ -@@ -472,7 +472,7 @@ +@@ -472,7 +472,7 @@ another file or create a new one. See al By default sar saves its data in the standard system activity data file, the /var/log/sa/saDD file, where DD is the current day in the month. To prevent sar from overwriting any existing files, just set the variable @@ -21,9 +23,11 @@ must be kept. When this variable has a
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2015-02-22 17:27:04 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2014-07-18 14:04:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2015-02-22 17:27:07.0 +0100 @@ -1,0 +2,12 @@ +Fri Feb 20 18:44:59 UTC 2015 - mplus...@suse.com + +- Cleanup spec file with spec-cleaner +- Update dependecies +- Update to 11.0.3: + * Prefer xz compression program when compressing sa data files + * sadc: Fix possible race condition in signal handler code + * Fix description of %util in iostat and sar manual pages + * Make sure that no crontabs are activated when configure's +option --enable-copy-only is used. + +--- Old: sysstat-11.0.0.tar.xz New: sysstat-11.0.3.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.eyQYe0/_old 2015-02-22 17:27:08.0 +0100 +++ /var/tmp/diff_new_pack.eyQYe0/_new 2015-02-22 17:27:08.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sysstat -Version:11.0.0 +Version:11.0.3 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ @@ -39,15 +39,17 @@ Patch3: sysstat-8.0.4-sysconfdir.diff # PATCH-FIX-OPENSUSE avoid build dates in generated files Patch4: sysstat-9.0.4-no-build-date.patch -BuildRequires: xz -Requires: gettext -Requires: procmail -%{?systemd_requires} - BuildRequires: findutils +BuildRequires: libsensors4-devel +BuildRequires: pkg-config BuildRequires: sed -BuildRequires: systemd +BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files +BuildRequires: pkgconfig(systemd) +Requires: gettext +Requires: procmail +Requires: xz +%{?systemd_requires} %description Sar and Iostat commands for Linux. The sar command collects and reports @@ -87,12 +89,13 @@ --enable-nls \ --disable-man-group \ --enable-debug-info \ ---disable-stripping + --disable-stripping \ + --enable-sensors make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_localstatedir}/log/sa %{buildroot}%{_sbindir} -%make_install +make DESTDIR=%{buildroot} install %{?_smp_mflags} install -D -m 0644 isag.desktop %{buildroot}%{_datadir}/applications/isag.desktop %suse_update_desktop_file isag cp contrib/isag/isag %{buildroot}%{_bindir} @@ -101,10 +104,10 @@ install -D -m 0755 sysstat.cron.suse %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcsysstat %find_lang %{name} -install -D -m 0644 %{S:4} %{buildroot}%{_unitdir}/sysstat.service +install -D -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/sysstat.service # change /usr/lib to /usr/lib64 or something else when needed -if [ %{_libdir} != /usr/lib ]; then -sed -i 's:/usr/lib/:%{_libdir}/:g' \ +if [ %{_libdir} != %{_prefix}/lib ]; then +sed -i 's:%{_libexecdir}/:%{_libdir}/:g' \ %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron \ %{buildroot}%{_unitdir}/sysstat.service fi ++ sysstat-11.0.0.tar.xz - sysstat-11.0.3.tar.xz ++ 4334 lines of diff (skipped) ++ sysstat-9.0.4-no-build-date.patch ++ --- /var/tmp/diff_new_pack.eyQYe0/_old 2015-02-22 17:27:08.0 +0100 +++ /var/tmp/diff_new_pack.eyQYe0/_new 2015-02-22 17:27:08.0 +0100 @@ -1,5 +1,7 @@ sysstat-11.0.0/sadf.c 2014-06-12 15:31:57.0 -0400 -+++ sadf.c 2014-07-17 22:18:54.094712546 -0400 +Index: sadf.c +=== +--- sadf.c.orig sadf.c @@ -41,7 +41,7 @@ # define _(string) (string) #endif @@ -9,8 +11,10 @@ char *sccsid(void) { return (SCCSID); } long interval = -1, count = 0; sysstat-11.0.0/sadc.c 2014-06-12 15:31:57.0 -0400 -+++ sadc.c 2014-07-17 22:19:40.650709363 -0400 +Index: sadc.c +=== +--- sadc.c.orig sadc.c @@ -52,7 +52,7 @@ #include sensors/error.h #endif @@ -20,9 +24,11 @@ char *sccsid(void) { return (SCCSID); } long interval = 0;
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2014-07-18 14:03:57 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2014-05-02 14:03:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2014-07-18 14:04:10.0 +0200 @@ -1,0 +2,22 @@ +Fri Jul 18 02:34:05 UTC 2014 - tabra...@suse.com + +- update to 11.0.0 + * [Cedric Marie]: pidstat now displays task scheduling priority and policy (-R option). + * [Cedric Marie]: pidstat: Add option -G to filter processes by name. + * pidstat: Update variables type to be consistent with recent 3.x kernels. + * sadc/sar/sadf: The standard daily data files may now be named saMMDD instead of saDD. Option -D has been added to sar and sadc to tell them to write to data files under the name saMMDD. + * sadc/sar/sadf: Take into account alternate locations for standard daily data files. + * sa1 and sa2 scripts updated: Don't create a tree of directories any more if HISTORY is greater than 28. Use saMMDD data files instead. + * sa1 and sa2 scripts now take into account two new variables: SA_DIR (directory where sa and sar files are located) and ZIP (compression program to use). + * Make sysstat init script source the functions library. + * Fix possible buffer overflow. + * Small fix with sadc's option -S: It is now possible to enter several comma separated values. + * Don't install crontabs when using systemd timer units. + * Manual pages updated. + * FAQ updated. + * NLS updated. Galician and Hungarian translations added. + * CREDITS file updated. +- removed sysstat-rename_nfsiostat.patch (deprecated) +- refreshed the other patches + +--- Old: sysstat-10.2.1.tar.xz sysstat-rename_nfsiostat.patch New: sysstat-11.0.0.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.Uvotvy/_old 2014-07-18 14:04:12.0 +0200 +++ /var/tmp/diff_new_pack.Uvotvy/_new 2014-07-18 14:04:12.0 +0200 @@ -17,7 +17,7 @@ Name: sysstat -Version:10.2.1 +Version:11.0.0 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ @@ -39,7 +39,6 @@ Patch3: sysstat-8.0.4-sysconfdir.diff # PATCH-FIX-OPENSUSE avoid build dates in generated files Patch4: sysstat-9.0.4-no-build-date.patch -Patch5: sysstat-rename_nfsiostat.patch BuildRequires: xz Requires: gettext Requires: procmail @@ -77,11 +76,6 @@ %patch3 %patch4 cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . -# bnc814447: rename nfsiostat to nfsiostat-sysstat -%patch5 -p1 -mv man/nfsiostat.in man/nfsiostat-sysstat.in -mv nfsiostat.c nfsiostat-sysstat.c -mv nfsiostat.h nfsiostat-sysstat.h %build export conf_dir=%{_sysconfdir}/sysstat ++ sysstat-10.2.1.tar.xz - sysstat-11.0.0.tar.xz ++ 21321 lines of diff (skipped) ++ sysstat-8.0.4-pagesize.diff ++ --- /var/tmp/diff_new_pack.Uvotvy/_old 2014-07-18 14:04:12.0 +0200 +++ /var/tmp/diff_new_pack.Uvotvy/_new 2014-07-18 14:04:12.0 +0200 @@ -1,15 +1,13 @@ -Index: common.h -=== common.h.orig 2013-09-13 09:01:47.0 +0200 -+++ common.h 2013-11-04 13:02:30.115239489 +0100 -@@ -140,8 +140,8 @@ extern unsigned int kb_shift; +--- sysstat-11.0.0/common.h2014-06-12 15:31:57.0 -0400 common.h 2014-07-17 22:07:52.571757781 -0400 +@@ -140,8 +140,8 @@ * kB - number of pages. * Page size depends on machine architecture (4 kB, 8 kB, 16 kB, 64 kB...) */ -#define KB_TO_PG(k) ((k) kb_shift) -#define PG_TO_KB(k) ((k) kb_shift) -+#define KB_TO_PG(k) ((k) / (getpagesize()/1024) ) -+#define PG_TO_KB(k) ((k) * (getpagesize()/1024) ) ++#define KB_TO_PG(k) ((k) / (getpagesize()/1024)) ++#define PG_TO_KB(k) ((k) * (getpagesize()/1024)) /* Type of persistent device names used in sar and iostat */ extern char persistent_name_type[MAX_FILE_LEN]; ++ sysstat-8.0.4-sysconfdir.diff ++ --- /var/tmp/diff_new_pack.Uvotvy/_old 2014-07-18 14:04:12.0 +0200 +++ /var/tmp/diff_new_pack.Uvotvy/_new 2014-07-18 14:04:12.0 +0200 @@ -1,8 +1,6 @@ -Index: FAQ -=== FAQ.orig 2013-11-04 13:00:33.520958755 +0100 -+++ FAQ2013-11-04 13:00:34.808972906 +0100 -@@ -422,9 +422,9 @@ to verify that for yourself. +--- sysstat-11.0.0/FAQ 2014-06-08 10:28:50.0 -0400
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2014-05-02 14:03:29 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2014-01-29 07:17:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2014-05-02 14:03:29.0 +0200 @@ -1,0 +2,6 @@ +Mon Apr 28 07:17:44 UTC 2014 - co...@suse.com + +- remove %ghost in /var/run, see + http://lists.opensuse.org/opensuse-packaging/2014-04/msg00046.html + +--- Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.KL4dQj/_old 2014-05-02 14:03:30.0 +0200 +++ /var/tmp/diff_new_pack.KL4dQj/_new 2014-05-02 14:03:30.0 +0200 @@ -107,7 +107,6 @@ install -D -m 0755 sysstat.cron.suse %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcsysstat %find_lang %{name} -install -d %{buildroot}%{_localstatedir}/lock/sa %{buildroot}%{_unitdir} install -D -m 0644 %{S:4} %{buildroot}%{_unitdir}/sysstat.service # change /usr/lib to /usr/lib64 or something else when needed if [ %{_libdir} != /usr/lib ]; then @@ -144,7 +143,6 @@ %exclude %{_bindir}/isag %{_libdir}/sa %{_unitdir}/sysstat.service -%ghost %dir %{_localstatedir}/lock/sa %dir %{_localstatedir}/log/sa %{_sbindir}/rcsysstat -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2014-01-29 07:17:12 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2013-11-05 13:53:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2014-01-29 07:17:14.0 +0100 @@ -1,0 +2,22 @@ +Mon Jan 27 12:06:13 UTC 2014 - vci...@suse.com + +- update to 10.2.1 + * Added new --enable-copy-only option to configure script. +This option may be useful when creating sysstat package to +make sure that files are only copied to $DESTDIR and that +no service is activated (eg. for distro using systemd). + * pidstat: Add a new metric to pidstat I/O statistics: +per-task block I/O delays. + * Take $DESTDIR variable into account when installing sysstat +service used by systemd. + * sadf -H, sadf -j and sadf -x now also display the file +creation time. + * Use sizeof() instead of hardcoded size values. + * pidstat manual page updated. + * Cosmetic fixes. + * NLS updated. +- rename nfsiostat to nfsiostat-sysstat because of a name collision + with a binary from nfs-utils (bnc#814447) + * added sysstat-rename_nfsiostat.patch + +--- Old: sysstat-10.2.0.tar.xz New: sysstat-10.2.1.tar.xz sysstat-rename_nfsiostat.patch Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.TkmC3T/_old 2014-01-29 07:17:14.0 +0100 +++ /var/tmp/diff_new_pack.TkmC3T/_new 2014-01-29 07:17:14.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sysstat -Version:10.2.0 +Version:10.2.1 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ @@ -39,6 +39,7 @@ Patch3: sysstat-8.0.4-sysconfdir.diff # PATCH-FIX-OPENSUSE avoid build dates in generated files Patch4: sysstat-9.0.4-no-build-date.patch +Patch5: sysstat-rename_nfsiostat.patch BuildRequires: xz Requires: gettext Requires: procmail @@ -76,6 +77,11 @@ %patch3 %patch4 cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . +# bnc814447: rename nfsiostat to nfsiostat-sysstat +%patch5 -p1 +mv man/nfsiostat.in man/nfsiostat-sysstat.in +mv nfsiostat.c nfsiostat-sysstat.c +mv nfsiostat.h nfsiostat-sysstat.h %build export conf_dir=%{_sysconfdir}/sysstat ++ sysstat-10.2.0.tar.xz - sysstat-10.2.1.tar.xz ++ 3783 lines of diff (skipped) ++ sysstat-rename_nfsiostat.patch ++ commit 0b97789cd6b10bca691a9bf43b7cf95cc4fdf384 Author: Sebastien GODARD syss...@users.noreply.github.com Date: Sun Jan 26 09:17:03 2014 +0100 Rename nfsiostat command to nfsiostat-sysstat nfsiostat was added to the sysstat package in 2010, but such a command has already existed in the nfs-utils package since 2008. So to avoid confusion, rename nfsiostat to nfsiostat-sysstat and indicate it is now obsolete. The nfsiostat command from the sysstat package will be removed in a future version since we don't need two similar commands. Signed-off-by: Sebastien GODARD syss...@users.noreply.github.com Index: sysstat-10.2.1/Makefile.in === --- sysstat-10.2.1.orig/Makefile.in 2014-01-27 13:16:53.480367396 +0100 +++ sysstat-10.2.1/Makefile.in 2014-01-27 13:17:27.744767704 +0100 @@ -163,7 +163,7 @@ NLSPOT= $(NLSPO:.po=.pot) % : %.o $(CC) -o $@ $(CFLAGS) $^ $(LFLAGS) -all: sadc sar sadf iostat mpstat pidstat nfsiostat cifsiostat locales +all: sadc sar sadf iostat mpstat pidstat nfsiostat-sysstat cifsiostat locales common.o: common.c version.h common.h ioconf.h sysconfig.h @@ -247,9 +247,9 @@ mpstat.o: mpstat.c mpstat.h version.h co mpstat: mpstat.o librdstats_light.a libsyscom.a -nfsiostat.o: nfsiostat.c nfsiostat.h count.h version.h common.h +nfsiostat-sysstat.o: nfsiostat-sysstat.c nfsiostat-sysstat.h count.h version.h common.h -nfsiostat: nfsiostat.o librdstats_light.a libsyscom.a +nfsiostat-sysstat: nfsiostat-sysstat.o librdstats_light.a libsyscom.a cifsiostat.o: cifsiostat.c cifsiostat.h count.h version.h common.h @@ -291,8 +291,8 @@ ifeq ($(INSTALL_DOC),y) $(INSTALL_DATA) $(MANGRPARG)
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2013-11-05 13:53:28 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2013-10-30 15:54:06.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2013-11-05 13:53:29.0 +0100 @@ -1,0 +2,12 @@ +Mon Nov 4 12:05:12 UTC 2013 - vci...@suse.com + +- update to 10.2.0 + * This version mainly focuses on pidstat, with several bug fixes +and the addition of a new option (-v) enabling the user to +display the number of threads and file descriptors associated +with tasks. +- refreshed some of the patches +- move the lib64 patching from %prep (overwrites service unit on + every quilt setup) + +--- Old: sysstat-10.0.5.tar.bz2 New: sysstat-10.2.0.tar.xz Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.ylVCzn/_old 2013-11-05 13:53:30.0 +0100 +++ /var/tmp/diff_new_pack.ylVCzn/_new 2013-11-05 13:53:30.0 +0100 @@ -17,13 +17,13 @@ Name: sysstat -Version:10.0.5 +Version:10.2.0 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ Group: System/Monitoring Url:http://pagesperso-orange.fr/sebastien.godard/ -Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2 +Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz Source1:isag.desktop Source2:sysstat.cron.suse Source4:sysstat.service @@ -39,6 +39,7 @@ Patch3: sysstat-8.0.4-sysconfdir.diff # PATCH-FIX-OPENSUSE avoid build dates in generated files Patch4: sysstat-9.0.4-no-build-date.patch +BuildRequires: xz Requires: gettext Requires: procmail %{?systemd_requires} @@ -74,10 +75,6 @@ %patch2 %patch3 %patch4 -# patch correct libdir path in service unit -if [ %{_libdir} != /usr/lib ]; then -sed -i 's:/usr/lib:%{_libdir}:' %{S:4} -fi cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . %build @@ -102,14 +99,16 @@ cp contrib/isag/isag.1 %{buildroot}%{_mandir}/man1 rm -rf %{buildroot}%{_datadir}/doc/sysstat* install -D -m 0755 sysstat.cron.suse %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron -# change /usr/lib to /usr/lib64 or something else when needed -if [ %{_libdir} != /usr/lib ]; then -sed -i 's:/usr/lib/:%{_libdir}/:g' %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron -fi -ln -sf /sbin/service %{buildroot}%{_sbindir}/rcsysstat +ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcsysstat %find_lang %{name} install -d %{buildroot}%{_localstatedir}/lock/sa %{buildroot}%{_unitdir} install -D -m 0644 %{S:4} %{buildroot}%{_unitdir}/sysstat.service +# change /usr/lib to /usr/lib64 or something else when needed +if [ %{_libdir} != /usr/lib ]; then +sed -i 's:/usr/lib/:%{_libdir}/:g' \ + %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron \ + %{buildroot}%{_unitdir}/sysstat.service +fi %pre %service_add_pre sysstat.service @@ -126,7 +125,7 @@ %files -f %{name}.lang %defattr(-,root,root) -%doc CHANGES COPYING CREDITS FAQ README TODO +%doc CHANGES COPYING CREDITS FAQ README %doc %{_mandir}/man1/* %doc %{_mandir}/man5/* %doc %{_mandir}/man8/* @@ -136,12 +135,12 @@ %attr(644,root,root) %config(noreplace) %{_sysconfdir}/sysstat/sysstat.cron %attr(644,root,root) %config(noreplace) %{_sysconfdir}/sysstat/sysstat.ioconf %{_bindir}/* -%{_sbindir}/* %exclude %{_bindir}/isag %{_libdir}/sa %{_unitdir}/sysstat.service %ghost %dir %{_localstatedir}/lock/sa %dir %{_localstatedir}/log/sa +%{_sbindir}/rcsysstat %files isag %defattr(-,root,root) ++ sysstat-8.0.4-pagesize.diff ++ --- /var/tmp/diff_new_pack.ylVCzn/_old 2013-11-05 13:53:30.0 +0100 +++ /var/tmp/diff_new_pack.ylVCzn/_new 2013-11-05 13:53:30.0 +0100 @@ -1,6 +1,8 @@ common.h -+++ common.h -@@ -125,8 +125,8 @@ +Index: common.h +=== +--- common.h.orig 2013-09-13 09:01:47.0 +0200 common.h 2013-11-04 13:02:30.115239489 +0100 +@@ -140,8 +140,8 @@ extern unsigned int kb_shift; * kB - number of pages. * Page size depends on machine architecture (4 kB, 8 kB, 16 kB, 64 kB...) */ @@ -9,5 +11,5 @@ +#define KB_TO_PG(k) ((k) / (getpagesize()/1024) ) +#define PG_TO_KB(k) ((k) * (getpagesize()/1024) ) - /* - *** + /* Type of
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2013-10-30 15:54:06 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2012-11-14 17:02:53.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2013-10-30 15:54:06.0 +0100 @@ -1,0 +2,5 @@ +Wed Oct 23 15:56:10 UTC 2013 - p.drou...@gmail.com + +- Drop sysvinit support + +--- Old: sysstat.init.suse Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.FDW78k/_old 2013-10-30 15:54:20.0 +0100 +++ /var/tmp/diff_new_pack.FDW78k/_new 2013-10-30 15:54:20.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,6 @@ Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2 Source1:isag.desktop Source2:sysstat.cron.suse -Source3:sysstat.init.suse Source4:sysstat.service # PATCH-FIX-OPENSUSE should be upstreamed # add locking to scripts sa1 and sa2 (bnc#7861) @@ -40,12 +39,9 @@ Patch3: sysstat-8.0.4-sysconfdir.diff # PATCH-FIX-OPENSUSE avoid build dates in generated files Patch4: sysstat-9.0.4-no-build-date.patch -PreReq: %fillup_prereq -PreReq: %insserv_prereq Requires: gettext Requires: procmail %{?systemd_requires} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: findutils BuildRequires: sed @@ -82,7 +78,7 @@ if [ %{_libdir} != /usr/lib ]; then sed -i 's:/usr/lib:%{_libdir}:' %{S:4} fi -cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . +cp %{SOURCE1} %{SOURCE2} %{SOURCE4} . %build export conf_dir=%{_sysconfdir}/sysstat @@ -106,12 +102,11 @@ cp contrib/isag/isag.1 %{buildroot}%{_mandir}/man1 rm -rf %{buildroot}%{_datadir}/doc/sysstat* install -D -m 0755 sysstat.cron.suse %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron -install -D -m 0755 sysstat.init.suse %{buildroot}%{_sysconfdir}/init.d/boot.sysstat # change /usr/lib to /usr/lib64 or something else when needed if [ %{_libdir} != /usr/lib ]; then -sed -i 's:/usr/lib/:%{_libdir}/:g' %{buildroot}%{_sysconfdir}/init.d/boot.sysstat %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron +sed -i 's:/usr/lib/:%{_libdir}/:g' %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron fi -ln -s %{_sysconfdir}/init.d/boot.sysstat %{buildroot}%{_sbindir}/rcsysstat +ln -sf /sbin/service %{buildroot}%{_sbindir}/rcsysstat %find_lang %{name} install -d %{buildroot}%{_localstatedir}/lock/sa %{buildroot}%{_unitdir} install -D -m 0644 %{S:4} %{buildroot}%{_unitdir}/sysstat.service @@ -120,21 +115,15 @@ %service_add_pre sysstat.service %preun -%{stop_on_removal boot.sysstat} %service_del_preun sysstat.service [ $1 -gt 0 ] || rm -rf %{_localstatedir}/log/sa/* %post -%{fillup_and_insserv boot.sysstat} %service_add_post sysstat.service %postun -%{insserv_cleanup} %service_del_postun sysstat.service -%clean -rm -rf %{buildroot} - %files -f %{name}.lang %defattr(-,root,root) %doc CHANGES COPYING CREDITS FAQ README TODO @@ -146,7 +135,6 @@ %config(noreplace) %{_sysconfdir}/sysstat/sysstat %attr(644,root,root) %config(noreplace) %{_sysconfdir}/sysstat/sysstat.cron %attr(644,root,root) %config(noreplace) %{_sysconfdir}/sysstat/sysstat.ioconf -%attr(755,root,root) %{_sysconfdir}/init.d/boot.sysstat %{_bindir}/* %{_sbindir}/* %exclude %{_bindir}/isag -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2012-11-14 17:02:52 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat, Maintainer is vci...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2012-10-18 22:03:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2012-11-14 17:02:53.0 +0100 @@ -1,0 +2,8 @@ +Fri Nov 9 15:36:58 UTC 2012 - vci...@suse.com + +- fixed two typos in spec related to service unit, which prevented + succesful startup (bnc#783886) +- service unit included hardcoded /usr/lib, so patching + sysstat.service to use correct libdir + +--- Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.ZJVKFQ/_old 2012-11-14 17:02:54.0 +0100 +++ /var/tmp/diff_new_pack.ZJVKFQ/_new 2012-11-14 17:02:54.0 +0100 @@ -78,6 +78,10 @@ %patch2 %patch3 %patch4 +# patch correct libdir path in service unit +if [ %{_libdir} != /usr/lib ]; then +sed -i 's:/usr/lib:%{_libdir}:' %{S:4} +fi cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . %build @@ -110,7 +114,7 @@ ln -s %{_sysconfdir}/init.d/boot.sysstat %{buildroot}%{_sbindir}/rcsysstat %find_lang %{name} install -d %{buildroot}%{_localstatedir}/lock/sa %{buildroot}%{_unitdir} -install -D -m 0644 sysstat.service %{buildrppt}%{_unitdir}/sysstat.service +install -D -m 0644 %{S:4} %{buildroot}%{_unitdir}/sysstat.service %pre %service_add_pre sysstat.service @@ -122,7 +126,7 @@ %post %{fillup_and_insserv boot.sysstat} -%service_add_post syststat.service +%service_add_post sysstat.service %postun %{insserv_cleanup} @@ -147,6 +151,7 @@ %{_sbindir}/* %exclude %{_bindir}/isag %{_libdir}/sa +%{_unitdir}/sysstat.service %ghost %dir %{_localstatedir}/lock/sa %dir %{_localstatedir}/log/sa -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2012-10-18 22:03:39 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat, Maintainer is vci...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2012-05-21 07:32:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2012-10-18 22:03:41.0 +0200 @@ -1,0 +2,6 @@ +Tue Oct 16 12:59:50 UTC 2012 - vci...@suse.com + +- increased the default number of days for how long will sysstat + keep the log files (fate#313767) + +--- Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.nPo49R/_old 2012-10-18 22:03:43.0 +0200 +++ /var/tmp/diff_new_pack.nPo49R/_new 2012-10-18 22:03:43.0 +0200 @@ -85,6 +85,7 @@ export sa_lib_dir=%{_libdir}/sa export cron_owner=root export LFLAGS=-L. -lsyscom +export history=60 %configure \ --enable-nls \ --disable-man-group \ @@ -117,7 +118,7 @@ %preun %{stop_on_removal boot.sysstat} %service_del_preun sysstat.service -[ $1 -gt 0 ] || rm -f %{_localstatedir}/log/sa/* +[ $1 -gt 0 ] || rm -rf %{_localstatedir}/log/sa/* %post %{fillup_and_insserv boot.sysstat} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2012-05-21 07:32:43 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat, Maintainer is vci...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2012-03-16 13:26:40.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2012-05-21 07:32:51.0 +0200 @@ -1,0 +2,20 @@ +Thu May 17 12:39:53 UTC 2012 - vci...@suse.com + +- update to 10.0.5 + * [Alain Chereau]: Options -g and -T added to iostat. These options +enable the user to display statistics for groups of devices. + * [Vitezslav Cizek]: sadc now overwrites its standard daily data +file when this file is from a past month. +- fixes bnc#758356 + * sadf: Change time format from HH-MM-SS to HH:MM:SS in the +various reports displayed by sadf. + * XSD document updated: Added a maxOccurs indicator for the timestamp element. + * Added option --enable-collect-all to configure script. This +option tells sadc to collect all possible activities, including optional ones. + * [Peter Schiffer]: Set exit code to 0 for sa2 shell script. + * NLS updated. Croatian translation added. + * iostat and sadc manual pages updated. + * FAQ updated. + * CREDITS file updated. + +--- Old: sysstat-10.0.4.tar.bz2 New: sysstat-10.0.5.tar.bz2 Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.ctThbE/_old 2012-05-21 07:32:53.0 +0200 +++ /var/tmp/diff_new_pack.ctThbE/_new 2012-05-21 07:32:53.0 +0200 @@ -17,7 +17,7 @@ Name: sysstat -Version:10.0.4 +Version:10.0.5 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ ++ sysstat-10.0.4.tar.bz2 - sysstat-10.0.5.tar.bz2 ++ 2499 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2012-03-16 13:26:38 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat, Maintainer is vci...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2012-02-16 12:28:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2012-03-16 13:26:40.0 +0100 @@ -1,0 +2,22 @@ +Mon Mar 12 17:27:04 UTC 2012 - tabra...@novell.com + +- update to 10.0.4 + * [Andrey Borzenkov]: Don't take virtual devices into account in +sar -b results. + * [Peter Schiffer]: iostat didn't display target device +information when a symbolic link was specified as a parameter. +This is now fixed. + * The number of jiffies spent by a CPU in guest mode given by the +corresponding counter in /proc/stat may be slightly different +from that included in the user counter. Take this into account +when calculating current time interval value. + * configure script updated: Added --disable-stripping option. +Using this option tells configure to NOT strip object files. + * FAQ updated. + * sa1 manual page updated. + * NLS updated. Serbian translation added. + +- drop sysstat-do-not-strip.patch (use new configure option + --disable-stripping instead) + +--- Old: sysstat-10.0.3.tar.bz2 sysstat-do-not-strip.patch New: sysstat-10.0.4.tar.bz2 Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.2wGWMw/_old 2012-03-16 13:26:42.0 +0100 +++ /var/tmp/diff_new_pack.2wGWMw/_new 2012-03-16 13:26:42.0 +0100 @@ -17,7 +17,7 @@ Name: sysstat -Version:10.0.3 +Version:10.0.4 Release:0 Summary:Sar and Iostat Commands for Linux License:GPL-2.0+ @@ -38,11 +38,8 @@ # instead of /etc/sysconfig since the files do not match # the format used there (should be configure option) Patch3: sysstat-8.0.4-sysconfdir.diff -# PATCH-FIX-OPENSUSE remove the unconditional stripping -# we possibly want a debuginfo package -Patch4: sysstat-do-not-strip.patch # PATCH-FIX-OPENSUSE avoid build dates in generated files -Patch5: sysstat-9.0.4-no-build-date.patch +Patch4: sysstat-9.0.4-no-build-date.patch PreReq: %fillup_prereq PreReq: %insserv_prereq Requires: gettext @@ -80,8 +77,7 @@ %patch0 %patch2 %patch3 -%patch4 -p1 -%patch5 +%patch4 cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . %build @@ -92,7 +88,8 @@ %configure \ --enable-nls \ --disable-man-group \ ---enable-debug-info +--enable-debug-info \ +--disable-stripping make %{?_smp_mflags} %install ++ sysstat-10.0.3.tar.bz2 - sysstat-10.0.4.tar.bz2 ++ 2230 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2012-02-16 12:28:26 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat, Maintainer is pu...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2012-01-04 07:32:01.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2012-02-16 12:28:28.0 +0100 @@ -1,0 +2,6 @@ +Wed Feb 15 10:01:27 UTC 2012 - pu...@suse.com + +- pass '-S ALL' to first run of sadc after boot to properly + include disk and interrupt statistics in the reports (bnc#746517) + +--- Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.VzLlx1/_old 2012-02-16 12:28:29.0 +0100 +++ /var/tmp/diff_new_pack.VzLlx1/_new 2012-02-16 12:28:29.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysstat # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ sysstat.init.suse ++ --- /var/tmp/diff_new_pack.VzLlx1/_old 2012-02-16 12:28:29.0 +0100 +++ /var/tmp/diff_new_pack.VzLlx1/_new 2012-02-16 12:28:29.0 +0100 @@ -21,7 +21,7 @@ case $1 in start) echo Running sadc -/usr/lib/sa/sa1 --boot 1/dev/null 21 ln -fs /etc/sysstat/sysstat.cron /etc/cron.d/sysstat || rc_failed 1 +/usr/lib/sa/sa1 --boot -S ALL 1/dev/null 21 ln -fs /etc/sysstat/sysstat.cron /etc/cron.d/sysstat || rc_failed 1 rc_status -v ;; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2012-01-04 07:31:59 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat, Maintainer is pu...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2011-11-10 16:05:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2012-01-04 07:32:01.0 +0100 @@ -1,0 +2,14 @@ +Wed Nov 30 09:04:14 UTC 2011 - pu...@suse.com + +- update to sysstat-10.0.3 + * sadf: New output format added: JSON (JavaScript Object +Notation). This format can be displayed with sadf's option -j. + * [Jürgen Heinemann]: Fixed a bug in sadf XML output. + * [Jürgen Heinemann]: Fixed several bugs in DTD and XSD +documents. + * [Petr Uzel]: Fixed random crash with iostat when called with +option -N [NOVELL Bug#729130]. + * sadf manual page updated. +- drop sysstat-fix-iostat-crash.patch (merged upstream) + +--- Old: sysstat-10.0.2.tar.bz2 sysstat-fix-iostat-crash.patch New: sysstat-10.0.3.tar.bz2 Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.Qntp7B/_old 2012-01-04 07:32:02.0 +0100 +++ /var/tmp/diff_new_pack.Qntp7B/_new 2012-01-04 07:32:02.0 +0100 @@ -16,14 +16,13 @@ # - Name: sysstat -Version:10.0.2 -Release:18 -License:GNU General Public License version 2 or later (GPL v2 or later) +Version:10.0.3 +Release:0 Summary:Sar and Iostat Commands for Linux -Url:http://pagesperso-orange.fr/sebastien.godard/ +License:GPL-2.0+ Group: System/Monitoring +Url:http://pagesperso-orange.fr/sebastien.godard/ Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2 Source1:isag.desktop Source2:sysstat.cron.suse @@ -44,8 +43,6 @@ Patch4: sysstat-do-not-strip.patch # PATCH-FIX-OPENSUSE avoid build dates in generated files Patch5: sysstat-9.0.4-no-build-date.patch -# PATCH-FIX-UPSTREAM fix crash in iostat -N (bnc#729130) -Patch6: sysstat-fix-iostat-crash.patch PreReq: %fillup_prereq PreReq: %insserv_prereq Requires: gettext @@ -55,8 +52,8 @@ BuildRequires: findutils BuildRequires: sed -BuildRequires: update-desktop-files BuildRequires: systemd +BuildRequires: update-desktop-files %description Sar and Iostat commands for Linux. The sar command collects and reports @@ -67,7 +64,6 @@ utilization. %package isag -License:GNU General Public License version 2 or later (GPL v2 or later) Summary:Interactive System Activity Grapher for sysstat Group: System/Monitoring Requires: gnuplot @@ -86,7 +82,6 @@ %patch3 %patch4 -p1 %patch5 -%patch6 -p1 cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . %build ++ sysstat-10.0.2.tar.bz2 - sysstat-10.0.3.tar.bz2 ++ 6688 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2011-11-10 16:05:18 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat, Maintainer is pu...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2011-10-27 14:00:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2011-11-10 16:05:20.0 +0100 @@ -1,0 +2,5 @@ +Wed Nov 9 12:25:47 UTC 2011 - pu...@suse.com + +- add sysstat-fix-iostat-crash.patch (bnc#729130) + +--- New: sysstat-fix-iostat-crash.patch Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.bh1ubb/_old 2011-11-10 16:05:21.0 +0100 +++ /var/tmp/diff_new_pack.bh1ubb/_new 2011-11-10 16:05:21.0 +0100 @@ -44,6 +44,8 @@ Patch4: sysstat-do-not-strip.patch # PATCH-FIX-OPENSUSE avoid build dates in generated files Patch5: sysstat-9.0.4-no-build-date.patch +# PATCH-FIX-UPSTREAM fix crash in iostat -N (bnc#729130) +Patch6: sysstat-fix-iostat-crash.patch PreReq: %fillup_prereq PreReq: %insserv_prereq Requires: gettext @@ -84,6 +86,7 @@ %patch3 %patch4 -p1 %patch5 +%patch6 -p1 cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . %build ++ sysstat-fix-iostat-crash.patch ++ Index: sysstat-10.0.2/ioconf.c === --- sysstat-10.0.2.orig/ioconf.c +++ sysstat-10.0.2/ioconf.c @@ -504,7 +504,7 @@ char *transform_devmapname(unsigned int dm_minor = minor(aux.st_rdev); if ((dm_minor == minor) (dm_major == major)) { - dm_name = dp-d_name; + dm_name = strdup(dp-d_name); break; } } Index: sysstat-10.0.2/iostat.c === --- sysstat-10.0.2.orig/iostat.c +++ sysstat-10.0.2/iostat.c @@ -686,7 +686,8 @@ void read_diskstats_stat(int curr) */ dm_name = transform_devmapname(major, minor); if (dm_name) { - strcpy(dev_name, dm_name); + strncpy(dev_name, dm_name, MAX_NAME_LEN); + free(dm_name); } } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at 2011-10-27 13:53:35 Comparing /work/SRC/openSUSE:Factory/sysstat (Old) and /work/SRC/openSUSE:Factory/.sysstat.new (New) Package is sysstat, Maintainer is pu...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes 2011-10-18 14:39:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes 2011-10-27 14:00:49.0 +0200 @@ -1,0 +2,12 @@ +Thu Oct 27 07:12:57 UTC 2011 - pu...@suse.com + +- Generate the reports before midnight and simplify the cron file + (bnc#720609) + +--- +Wed Oct 26 13:59:26 UTC 2011 - lnus...@suse.de + +- don't enable sysstat by default (bnc#725791) +- don't use /var/lock (bnc#725785) + +--- Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.vUTlvK/_old 2011-10-27 14:00:50.0 +0200 +++ /var/tmp/diff_new_pack.vUTlvK/_new 2011-10-27 14:00:50.0 +0200 @@ -125,7 +125,7 @@ [ $1 -gt 0 ] || rm -f %{_localstatedir}/log/sa/* %post -%{fillup_and_insserv -y boot.sysstat} +%{fillup_and_insserv boot.sysstat} %service_add_post syststat.service %postun ++ sysstat-8.1.6-sa1sa2lock.diff ++ --- /var/tmp/diff_new_pack.vUTlvK/_old 2011-10-27 14:00:51.0 +0200 +++ /var/tmp/diff_new_pack.vUTlvK/_new 2011-10-27 14:00:51.0 +0200 @@ -11,8 +11,8 @@ ENDIR=@SA_LIB_DIR@ cd ${ENDIR} + -+LOCKFILE=/var/lock/sa/sadc.LOCK -+mkdir -p /var/lock/sa ++LOCKFILE=/var/run/sysstat/sadc.LOCK ++mkdir -p /var/run/sysstat +lockfile -r2 -30 $LOCKFILE 2/dev/null +trap /bin/rm -f $LOCKFILE EXIT + @@ -38,8 +38,8 @@ [ -f $DFILE ] || exit 0 cd ${ENDIR} + -+LOCKFILE=/var/lock/sa/sadc.LOCK -+mkdir -p /var/lock/sa ++LOCKFILE=/var/run/sysstat/sadc.LOCK ++mkdir -p /var/run/sysstat +if ! lockfile -r6 -600 $LOCKFILE 2/dev/null; then + if test `find $LOCKFILE -mmin +180 2/dev/null`; then +rm -f $LOCKFILE ++ sysstat.cron.suse ++ --- /var/tmp/diff_new_pack.vUTlvK/_old 2011-10-27 14:00:51.0 +0200 +++ /var/tmp/diff_new_pack.vUTlvK/_new 2011-10-27 14:00:51.0 +0200 @@ -1,10 +1,7 @@ # crontab for sysstat # Activity reports every 10 minutes everyday -5-55/10 * * * * root [ -x /usr/lib/sa/sa1 ] exec /usr/lib/sa/sa1 -S ALL 1 1 - -# Additional run at 23:59 to rotate the statistics file -59 23 * * * root [ -x /usr/lib/sa/sa1 ] exec /usr/lib/sa/sa1 -S ALL 60 2 +*/10 * * * * root [ -x /usr/lib/sa/sa1 ] exec /usr/lib/sa/sa1 -S ALL 1 1 # Update reports every 6 hours -0 */6 * * * root [ -x /usr/lib/sa/sa2 ] exec /usr/lib/sa/sa2 -A +55 5,11,17,23 * * * root [ -x /usr/lib/sa/sa2 ] exec /usr/lib/sa/sa2 -A -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at Tue Oct 18 14:30:18 CEST 2011. --- openSUSE:Factory/sysstat/sysstat.changes2011-09-23 12:47:17.0 +0200 +++ /mounts/work_src_done/STABLE/sysstat/sysstat.changes2011-10-17 17:23:55.0 +0200 @@ -1,0 +2,5 @@ +Mon Oct 17 15:16:34 UTC 2011 - fcro...@suse.com + +- Add systemd service for sysstat (bnc#723858). + +--- calling whatdependson for head-i586 New: sysstat.service Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.5DvHMn/_old 2011-10-18 14:30:11.0 +0200 +++ /var/tmp/diff_new_pack.5DvHMn/_new 2011-10-18 14:30:11.0 +0200 @@ -28,6 +28,7 @@ Source1:isag.desktop Source2:sysstat.cron.suse Source3:sysstat.init.suse +Source4:sysstat.service # PATCH-FIX-OPENSUSE should be upstreamed # add locking to scripts sa1 and sa2 (bnc#7861) Patch0: sysstat-8.1.6-sa1sa2lock.diff @@ -47,11 +48,13 @@ PreReq: %insserv_prereq Requires: gettext Requires: procmail +%{?systemd_requires} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: findutils BuildRequires: sed BuildRequires: update-desktop-files +BuildRequires: systemd %description Sar and Iostat commands for Linux. The sar command collects and reports @@ -81,7 +84,7 @@ %patch3 %patch4 -p1 %patch5 -cp %{SOURCE1} %{SOURCE2} %{SOURCE3} . +cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . %build export conf_dir=%{_sysconfdir}/sysstat @@ -110,17 +113,24 @@ fi ln -s %{_sysconfdir}/init.d/boot.sysstat %{buildroot}%{_sbindir}/rcsysstat %find_lang %{name} -install -d %{buildroot}%{_localstatedir}/lock/sa +install -d %{buildroot}%{_localstatedir}/lock/sa %{buildroot}%{_unitdir} +install -D -m 0644 sysstat.service %{buildrppt}%{_unitdir}/sysstat.service + +%pre +%service_add_pre sysstat.service %preun %{stop_on_removal boot.sysstat} +%service_del_preun sysstat.service [ $1 -gt 0 ] || rm -f %{_localstatedir}/log/sa/* %post %{fillup_and_insserv -y boot.sysstat} +%service_add_post syststat.service %postun %{insserv_cleanup} +%service_del_postun sysstat.service %clean rm -rf %{buildroot} ++ sysstat.service ++ [Unit] Description=Write information about system start to sysstat log After=remote-fs.target local-fs.target Before=cron.service [Service] Type=oneshot ExecStart=/usr/lib/sa/sa1 --boot ExecStart=/bin/ln -fs /etc/sysstat/sysstat.cron /etc/cron.d/sysstat ExecStop=/bin/rm -f /etc/cron.d/sysstat StandardOutput=null RemainAfterExit=true [Install] WantedBy=default.target continue with q... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at Tue Sep 20 09:36:41 CEST 2011. --- sysstat/sysstat.changes 2011-08-11 09:32:24.0 +0200 +++ /mounts/work_src_done/STABLE/sysstat/sysstat.changes2011-09-19 10:05:16.0 +0200 @@ -1,0 +2,6 @@ +Mon Sep 19 08:04:02 UTC 2011 - pu...@suse.com + +- update to sysstat-10.0.2 + - see /usr/share/doc/packages/sysstat/CHANGES + +--- calling whatdependson for head-i586 Old: sysstat-10.0.1.tar.bz2 New: sysstat-10.0.2.tar.bz2 Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.yg1nbh/_old 2011-09-20 09:36:36.0 +0200 +++ /var/tmp/diff_new_pack.yg1nbh/_new 2011-09-20 09:36:36.0 +0200 @@ -18,7 +18,7 @@ Name: sysstat -Version:10.0.1 +Version:10.0.2 Release:18 License:GNU General Public License version 2 or later (GPL v2 or later) Summary:Sar and Iostat Commands for Linux ++ sysstat-10.0.1.tar.bz2 - sysstat-10.0.2.tar.bz2 ++ 6723 lines of diff (skipped) Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sysstat for openSUSE:Factory
Hello community, here is the log from the commit of package sysstat for openSUSE:Factory checked in at Tue Jun 28 09:35:42 CEST 2011. --- sysstat/sysstat.changes 2011-03-07 12:37:16.0 +0100 +++ /mounts/work_src_done/STABLE/sysstat/sysstat.changes2011-06-27 14:50:07.0 +0200 @@ -1,0 +2,12 @@ +Mon Jun 27 12:40:36 UTC 2011 - pu...@novell.com + +- update to sysstat-10.0.1 + - see /usr/share/doc/packages/sysstat/CHANGES for +full list of changes +- update patches +- get rid of obsolete --disable-smp-race configure option +- use --enable-debug-info configure option +- install /var/lock/sa as ghost file +- use spec-cleaner + +--- calling whatdependson for head-i586 Old: sysstat-9.0.6.1.tar.bz2 New: sysstat-10.0.1.tar.bz2 Other differences: -- ++ sysstat.spec ++ --- /var/tmp/diff_new_pack.KmsM73/_old 2011-06-28 09:26:01.0 +0200 +++ /var/tmp/diff_new_pack.KmsM73/_new 2011-06-28 09:26:01.0 +0200 @@ -15,13 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: sysstat -Version:9.0.6.1 -Release:16 +Version:10.0.1 +Release:1 +License:GNU General Public License version 2 or later (GPL v2 or later) Summary:Sar and Iostat Commands for Linux +Url:http://pagesperso-orange.fr/sebastien.godard/ +Group: System/Monitoring Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2 Source1:isag.desktop Source2:sysstat.cron.suse @@ -41,15 +43,15 @@ Patch4: sysstat-do-not-strip.patch # PATCH-FIX-OPENSUSE avoid build dates in generated files Patch5: sysstat-9.0.4-no-build-date.patch -Url:http://pagesperso-orange.fr/sebastien.godard/ -Group: System/Monitoring -License:GNU General Public License version 2 or later (GPL v2 or later) -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: procmail gettext -PreReq: %insserv_prereq PreReq: %fillup_prereq +PreReq: %insserv_prereq +Requires: gettext +Requires: procmail +BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: findutils sed update-desktop-files +BuildRequires: findutils +BuildRequires: sed +BuildRequires: update-desktop-files %description Sar and Iostat commands for Linux. The sar command collects and reports @@ -59,28 +61,19 @@ inspection. Both commands now support SMP machines when displaying CPU utilization. - -Authors: - -Sebastien Godard sebastien.god...@wanadoo.fr - %package isag License:GNU General Public License version 2 or later (GPL v2 or later) Summary:Interactive System Activity Grapher for sysstat -Requires: sysstat = %{version} -Requires: gnuplot tk Group: System/Monitoring +Requires: gnuplot +Requires: sysstat = %{version} +Requires: tk %description isag This package includes the isag command, which graphically displays the system activity data stored in a binary data produced by a sar command from a sysstat package. - -Authors: - -Sebastien Godard sebastien.god...@wanadoo.fr - %prep %setup -q %patch0 @@ -97,27 +90,27 @@ export LFLAGS=-L. -lsyscom %configure \ --enable-nls \ ---disable-smp-race \ ---enable-man-group +--disable-man-group \ +--enable-debug-info make %{?_smp_mflags} %install -mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/sa $RPM_BUILD_ROOT%{_sbindir} -make DESTDIR=$RPM_BUILD_ROOT install -install -D -m 0644 isag.desktop $RPM_BUILD_ROOT%{_datadir}/applications/isag.desktop +mkdir -p %{buildroot}%{_localstatedir}/log/sa %{buildroot}%{_sbindir} +%make_install +install -D -m 0644 isag.desktop %{buildroot}%{_datadir}/applications/isag.desktop %suse_update_desktop_file isag -cp contrib/isag/isag $RPM_BUILD_ROOT%{_bindir} -cp contrib/isag/isag.1 $RPM_BUILD_ROOT%{_mandir}/man1 -rm -rf $RPM_BUILD_ROOT/usr/share/doc/sysstat* -install -D -m 0755 sysstat.cron.suse $RPM_BUILD_ROOT%{_sysconfdir}/sysstat/sysstat.cron -install -D -m 0755 sysstat.init.suse $RPM_BUILD_ROOT%{_sysconfdir}/init.d/boot.sysstat +cp contrib/isag/isag %{buildroot}%{_bindir} +cp contrib/isag/isag.1 %{buildroot}%{_mandir}/man1 +rm -rf %{buildroot}%{_datadir}/doc/sysstat* +install -D -m 0755 sysstat.cron.suse %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron +install -D -m 0755 sysstat.init.suse %{buildroot}%{_sysconfdir}/init.d/boot.sysstat # change /usr/lib to /usr/lib64 or something else when needed if [ %{_libdir} != /usr/lib ]; then -sed -i 's:/usr/lib/:%{_libdir}/:g' $RPM_BUILD_ROOT%{_sysconfdir}/init.d/boot.sysstat $RPM_BUILD_ROOT%{_sysconfdir}/sysstat/sysstat.cron +sed -i