6 Commits

Author SHA256 Message Date
409e9674e2 Accepting request 1312698 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1312698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysstat?expand=0&rev=112
2025-10-23 14:35:24 +00:00
bd4c6caf51 - fix typo: syssstat-rotate -> sysstat-rotate
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysstat?expand=0&rev=159
2025-10-21 06:31:26 +00:00
eb33a93924 Accepting request 1309795 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1309795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysstat?expand=0&rev=111
2025-10-09 12:59:57 +00:00
5c05c01ba9 - Update to 12.7.8.
- Changes for 12.7.8:
  * sar/sadf: Add new metric kbshmem.
  * sar/sadf: Now compute used memory as total memory - available memory.
  * sadf: Set availablekb to frmkb during conversion.
  * cifsiostat, iostat, mpstat, tapestat: Add new option -U to display timestamps in seconds since the Epoch.
  * Trap SIGTERM with all sysstat commands.
  * mpstat: Go to next line when Ctrl/C is pressed.
  * Add support for out-of-tree building and testing.
  * sar: A_PWR_BAT: Fix wrong size used in memory initialization.
  * Makefile.in: Update dependencies for install_man target.
  * Makefile.in: Remove unused TFLAGS variable.
  * Makefile.in: Remove old references to nfsiostat.
  * DTD and XSD documents updated.
  * NLS translations updated.
  * sar, mpstat, iostat, cifsiostat and tapestat manual pages updated.
  * Various cosmetic changes in code and Makefile.
  * do_test: Add test target for out-of-tree build.
  * systest: Explicitly set signal to SIGINT.
  * Non regression tests: Remove root symlink in tests directory.
  * Non regression tests updated.

OBS-URL: https://build.opensuse.org/package/show/Base:System/sysstat?expand=0&rev=157
2025-10-08 12:51:05 +00:00
d36b556873 Accepting request 1288374 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1288374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysstat?expand=0&rev=110
2025-06-26 12:05:28 +00:00
4ff208321a - Update to 12.7.7.
- Changes for 12.7.7:
  * Rework overflow check function.
  * pidstat: Add JSON output format (option "-o JSON").
  * [Siddhi Katage]: pidstat: Fix bogus %usr values in pidstat output.
  * pidstat: Free structures before exiting.
  * pidstat: Make sure interval is specified when option -e is used.
  * pidstat: Create separate functions to display data for current task.
  * pidstat: Various cosmetic changes.
  * cifsiostat: Add JSON output format (option "-o JSON").
  * cifsiostat: Display error message when no CIFS fs are found.
  * cifsiostat: Add new option -y to tell cifsiostat to omit the first
    report with statistics since system restart.
  * tapestat: Add JSON output format (option "-o JSON").
  * tapestat: Set handler for SIGALRM in rw_tape_stat_loop() function.
  * tapestat: Call write_sample_timestamp() to display timestamp.
  * mpstat: Properly terminate JSON output when ^C entered on first
    interval.
  * iostat: Remove extra blank line when omitting first report.
  * cifsiostat, tapestat and pidstat manual pages updated.
  * Use the binary units (kibibytes, mebibytes...) instead of kilobytes,
    megabytes... in all manual pages.
  * FAQ updated.
  * [Peter Portante]: Slight changes to compile on Mac OS X.
  * [Peter Portante]: Add missing "void" parameter to
    init_custom_color_palette() function.
  * Use xflags variable for options used by multiple commands.
  * Move write_sample_timestamp() function to common.c file.
  * Update headers files included.
  * Add new non regression tests.
- Changes for 12.7.6:
  * sar/sadf: [A_NET_ETCP]: Rename retrans/s field to retrseg/s
    because it was already used in A_NET_NFS report.
  * sadf: SVG: Fix oversized SVG canvas height.
  * sadf: Don't cap SVG graph output at 100%.
  * sadf: A_NET_SOFT: Don't display graphs for offline CPU.
  * sadf: SVG: Don't ignore other views when one has to be skipped.
  * sadf: Make sure structures will be alloacated for every installed
    CPU.
  * sadf: Define MIN_CANVAS_HEIGHT constant.
  * sar: Display min/max values only when available.
  * Define macros for CPU manipulation.
  * SREALLOC() macro: Make sure size is not zero.
  * Fix a warning given by gcc v13 with -fanalyzer option.
  * [Eli Schwartz]: configure.ac: fix erroneous bashisms.
  * sar manual page updated.
  * DTD and XSD documents updated.
  * Year updated in copyright messages.
  * Other cosmetic changes in code.
  * FAQ and README files updated.
  * Non regression tests updated. New tests added.
- Updated sysstat-8.1.6-sa1sa2lock.diff to use flock to create the
  lockfile. Using lockfile would require additional SELinux permissions.
  Require util-linux instead of procmail for this (bsc#1228246)
- version update to 12.7.5
  2023/12/17: Version 12.7.5 - Sebastien Godard (sysstat <at> orange.fr)
    * [Quan quan Cao]: sar/sadc: Add new metrics pgprom/s and pgdem/s.
    * sar: Remove %vmeff metric.
    * sadf: Update various output formats to take into account metrics
      that have been added or removed.
    * Update DTD and XSD documents.
    * Update sar manual page.
    * sar: Add a cron entry and a new systemd service and timer to rotate
      daily data file at midnight.
    * Option -V with sysstat commands also displays environment contents.
    * [Sam Morris]: Use correct encoding to produce hyphen-minus when
      rendering man pages.
    * Add UMASK variable definition to sysstat(5) manual page.
    * Update non regression tests.
    * Add --getenv option to commands that didn't have it.
    * Update README file for Debian-based distros.
    * Update link to my personal web page in README and manual pages.
    * NLS: Translations updated.
  2023/06/18: Version 12.7.4 - Sebastien Godard (sysstat <at> orange.fr)
    * Makefile.in: Fix installation error.
    * Makefile.in: Remove gcc warning displayed in LTO mode.
  2023/06/16: Version 12.7.3 - Sebastien Godard (sysstat <at> orange.fr)
    * sar: Add new option '-x' used to display extended reports.
    * [Pavel Kopylov]: Fix an overflow which is still possible for
      some values.
    * [Jan Kurik]: Fix export of PSI metrics to a PCP archive.
    * [Lukáš Zaoral]: Tools that take `--dec=X` option should only accept
      digits.
    * common.c: Fix an overflow which was still possible for some values.
    * iostat: Try to avoid displaying negative values.
    * Free pointer if realloc() fails.
    * Don't check if unsigned expressions are less than zero.
    * Declare parameters with "const" when possible.
    * Remove conditions which are always true.
    * Reduce variables scope when relevant.
    * Don't assign values that are never used.
    * Fix types used in format strings.
    * Split large functions into smaller ones.
    * Specify field width when using sscanf() function.
    * search_list_item(): Return position in list instead of a boolean.
    * add_list_item(): Also return item position in list.
    * svg_stats.c: Ignore negative values for fields position.
    * svg_stats.c: Reuse buffers pointers definition.
    * svg_stats.c: Reuse intermediate calculations.
    * svg_stats.c: Don't repeat test on DISPLAY_CPU_DEF().
    * sa_common.c: Don't use (void *) pointer in calculation.
    * iostat.c: Clarify calculation precedence for '+' and '?'.
    * sar/sadf: Refactor buffer allocation functions.
    * sar/sadf: Add a check on file's records header data.
    * sar/sadf: Stop when invalid data are read in records header.
    * sar/sadf: Check upper bounds of value read from file.
    * sadf_misc.c: Fix indentation in code.
    * activity.c: Init item_list even for other commands than sadf.
    * sa_conv.c: Reallocate buffers only when needed.
    * sa_conv.c: Fix untrusted allocation size.
    * pr_stats.c: Remove some dead code.
    * sar.c: Make sure buffer is null terminated.
    * do_test: Add several new options.
    * do_test: Don't strip binaries when in TEST mode.
    * Update non regression tests.
    * simtest: Change default _unix_time value.
    * Makefile.in: Simplify dependencies.
    * Makefile_in: Small update made to copyyear target.
    * sadf: XML: Update DTD and XSD documents.
    * sadf: XML: Remove references to my personal web site.
    * Restore mode for iconfig file.
    * Fix typo in sar's manual page. Sar manual page updated.
    * Other manual pages updated.
  2023/01/29: Version 12.7.2 - Sebastien Godard (sysstat <at> orange.fr)
    * All commands: Avoid displaying healthy metrics values in "red".
    * sar/sadf: Add new activity: Battery statistics (A_PWR_BAT).
    * [Kevin Stubbings]: Add CodeQL workflow.
    * sar: Make sure timestamps are always displayed in local time.
    * sar/sadf: Starting and ending times used with options -s/-e can now
      be entered as a number of seconds since the epoch.
    * sar/sadf: Strengthen tests made on arguments given to options -s/-e.
    * sadf: PCP: Fix pmiID used for two USB metrics [12.6.2].
    * [Nathanael P Wilson]: sadf: Fix extra space when no TZ printed.
    * sadc: Add another overflow check [12.6.2].
    * DTD and XSD documents updated.
    * Makefile: Fix dependencies.
    * NLS translations updated. New Belarusian translation added.
    * Remove LGTM links from README file.
    * Manual pages updated.
    * Non regression tests updated.
  2022/11/06: Version 12.7.1 - Sebastien Godard (sysstat <at> orange.fr)
    * Fix possible overflow in sa_common.c (GHSL-2022-074) [12.6.1].
    * sadf: Add support for option -t with SVG output to make it possible
      to display timestamps in the same locale as that of the file creator.
    * sadf: Print timezone instead of UTC in true time mode. Timezone is
      also displayed in local time.
    * sadf: PCP: Fix timestamps written to PCP archive file.
    * sar: Add new environment variable S_REPEAT_HEADER.
    * pidstat: Return exit code of the process that was monitored with option
      -e.
    * mpstat: Add option -H to handle vCPU physical hotplug.
    * Add local, xlocal and debug targets to iconfig script.
    * Turn off gcc's tree-slp-vectorize option which was making sadf crash
      in some situations.
    * sa_conv.c: Make size of statistics structures from older sysstat
      versions immutable [12.6.1].
    * [Bernhard M. Wiedemann]: Declare sadc dependency on libsyscom.a
      [12.6.1].
    * [Steve Kay]: Fix gcc v11.2 warnings [12.6.1].
    * [Steve Kay]: Various cosmetic fixes [12.6.1].
    * [Jan Christoph Uhde]: sar: Remove `-I int_list` from man-page and
      help [12.6.1].
    * [Frank Dana]: Consolidate systemctl commands in README file [12.6.1].
    * [Rong Tao]: Remove whitespace characters at the end of lines
      [12.6.1].
    * Update configure file to deal with newer autoconf version. configure.in
      file is renamed to configure.ac.
    * Update DTD and XSD documents.
    * sar and sysstat manual pages updated.
    * NLS updated. Add new Georgian translation.
    * Non regression tests updated.
- modified patches
  % sysstat-8.0.4-pagesize.diff (refreshed)
  % sysstat-8.1.6-sa1sa2lock.diff (refreshed)
- deleted patches
  - sysstat-CVE-2023-33204.patch (upstreamed)
- Use %patch -P N instead of deprecated %patchN.
- Drop the build dependency on systemd. This was not really necessary and it
  decreases the number of build deps from 207 to 189.
- Security fix: (CVE-2023-33204, bsc#1211507)
  * Fix an overflow which is still possible for some values.
  * Added patch sysstat-CVE-2023-33204.patch
- Update to version 12.6.2:
  * sadf: PCP: Fix pmiID used for two USB metrics.
  * sadc: Add another overflow check. 
- Update to version 12.6.1:
  * Fix possible overflow in sa_common.c
    (CVE-2022-39377, GHSL-2022-074, boo#1205224)
  * sa_conv.c: Make size of statistics structures from older sysstat
    versions immutable.
  * Declare sadc dependency on libsyscom.a.
  * Fix gcc v11.2 warnings.
  * Various cosmetic fixes.
    sar: Remove `-I int_list` from man-page and help.
  * Consolidate systemctl commands in README file.
  * Remove whitespace characters at the end of lines.
- Add support for PCP (Performance Co-Pilot). [bsc#1203065]
- Rebased patches:
  * sysstat-8.1.6-sa1sa2lock.diff
- Update to 12.6.0:
  * sar: Fix maximum value for A_IRQ activity.
  * sar/sadf: A_NET_SOFT: Add new metric softnet network backlog.
  * sadc: A_NET_SOFT: Use CPU id from /proc/net/softnet_stat.
  * Update DTD and XSD documents (softnet backlog).
  * sar/sadf: Convert 64-bit time value to time_t as needed.
  * sadf: Add basic colorization to sadf's output.
  * sadf: Add sanity checks on values read from file.
  * sadf: PCP: Fix multiple metrics name problems.
  * sa_common.c: Remove unneeded variable assignment.
  * Take into account LDFLAGS passer to configure script.
  * Various janitorial fixes and updated.
  * Update FAQ.
  * Update sar manual page.
  * Update NLS translations.
  * Update non regression tests..
- fix changelog typos.
- update to 12.4.5:
   * sar/sadf: Make sure that datafiles with unknown activities can
     be read by sar and sadf.
   * sar/sadf: Don't reallocate buffers for activities not present
     in file.
   * sar: Make sure that all buffers are copied in copy_structures()
     function.
- update to 12.4.4:
   * iostat: Always display persistent names with option -j.
   * iostat: Fix how device mapper names are taken into account when
     entered on the command line.
   * mpstat: Don't display offline CPU.
   * mpstat: Fix values displayed when an offline CPU goes back online.
   * mpstat: Fix untrusted loop bound.
   * mpstat: Update non regression tests.
   * Use `grep -E` instead of deprecated `egrep`.
   * Spelling and grammar fixes.
   * Update man pages with correct spelling of "JavaScript".
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
  * harden_sysstat.service.patch
- drop sysstat-disable-test-failures.patch - tests are fine on s390x
  and ppc64, no need to ignore test failures anymore
- remove stale symlink to cronfile on update
- update to 12.4.3:
  * sar: Fix return code sent by write_stats() function.
  * sar/sadc: Dereference nr array pointer in struct activity.
  * sadf: SVG: Make graphs discontinuous for disconnected devices.
  * sadf: SVG: Fix inadequate discontinuities in some graphs.
  * sadf: SVG: Use the <count> parameter entered on the command line.
  * sar/sadc/sadf: Check untrusted values before use.
  * sar/sadc: Don't use IFNAMSIZ value from <net/if.h>.
  * Makefile: Define TEST flag when making simulation tests.
  * Non regression tests results updated.
  * Update NLS translations.
- update to 12.4.2:
  * [Aleksei Nikiforov]: Fix alignment and structure size for 32-bit
  systems.
  * Fix metric's name in sar -y output: txmtin -> xmtin.
  * FAQ: Add links to markdown file.
  * [Tim Gates]: sar.c: Fix typo in comment.
  * NLS updated.
  * [Petr Pavlu]: Workaround for iowait being decremented.
  * [SacValleyTech]: Make sure setbuf() is the first operation
  performed on stream.
  * [Michal Berger]: Fix typo in PHYS_PACK_ID definition.
  * configure: Fix option --disable-compress-manpg.
  * sar: Update definition for runq-sz metric in manual page.
  * iostat: Update manual page (explain "*_w+d*" fields).
  * iostat: Explain options -f/+f in manual page.
  * [Nan Xiao]: mpstat: Add -T option in help message.
  * [Nan Xiao]: mpstat: Fix typo in manual page.
  * FAQ.md file: Add missing spaces at end of line.
  * Non regression tests updated.
  * NLS updated.
- drop sysstat-iowait-decr.patch (upstream)
- Don't hard require systemd, it works without,too. (bsc#1186827)
- 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
- update sysstat-8.1.6-sa1sa2lock.diff: also remove locking on
  sleep/resume (bsc#1175913)
- 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.
- 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.
- 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
- 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
- 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
- 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.
- Temporarily disable failing tests on s390x and ppc64 architectures
  * Add sysstat-disable-test-failures.patch
- Use upstream systemd service and timer files [bsc#1151453]
  * Add sysstat-service.patch
- Enable log information on service start/stop [bsc#1144923, jsc#SLE-5958]
- Migrate from cron to systemd timer units [bsc#1151453]
  * Add sysstat-collect.{service,timer} and sysstat-summary.{service,timer}
  * Remove sysstat.cron.suse
- Requires cron, since sysstat.service wants to create 
  /etc/cron.d/sysstat link and /etc/cron.d/ is from cron package
- 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
- 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.
- Remove deprecated Require gettext and require gettext-runtime only
  during build [bsc#1142470]
- Version update to 12.0.5
  * Complete support for PCP output formwat with sadf
  * Includes simulation/test environment to run non-regression tests
- Version update to 12.0.3
  * 2018/12/14: Version 12.0.3 - Sebastien Godard (sysstat<at>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.
- Dropped patch fixed upstream:
  * sysstat-12.0.2-CVE-2018-19416-and-CVE-2018-19517.patch
- 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
- Run tests during build
- Use explicit list of binaries in files section of spec file
- Up to 12.0.2: (fate#326576, bsc#1089883)
  * This version mainly includes bugfixes
- 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
- 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.
- 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.
- 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.
- 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.
- Remove Requires on update-desktop-files on subpackage, it is
  useless.
- 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
- Properly specify you want to be started by multi-user.target
  bsc#1031674
- 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
- skip libsensors on s390/s390x 
- 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.
- Update to 11.0.6
  * Check /proc/net/snmp format to collect ICMP statistics at
          their right positions.
  * ioconf.c: Fix several ressource leaks.
  * mpstat: Fix alignment output, really.
  * [Sampsa Kiiskinen]: Fix bug in isag.
  * iostat manual page updated.
  * CREDITS file updated.
- 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.
- 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
- 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.
- Dropped patches, fixed upstream:
  * sysstat-don-t-send-signal-to-init.patch
  * sysstat-fix-possible-race-in-signal-handler.patch
- 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 saYYYYMMDD instead of saDD. Option -D has been added to sar and sadc to tell them to write to data files under the name saYYYYMMDD.
  * 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 saYYYYMMDD 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
- remove %ghost in /var/run, see
  http://lists.opensuse.org/opensuse-packaging/2014-04/msg00046.html
- 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
- 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)
- Drop sysvinit support
- 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
- increased the default number of days for how long will sysstat
  keep the log files (fate#313767)
- 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.
- 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)
- pass '-S ALL' to first run of sadc after boot to properly
  include disk and interrupt statistics in the reports (bnc#746517)
- 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)
- add sysstat-fix-iostat-crash.patch (bnc#729130) 
- Generate the reports before midnight and simplify the cron file
  (bnc#720609) 
- don't enable sysstat by default (bnc#725791)
- don't use /var/lock (bnc#725785)
- Add systemd service for sysstat (bnc#723858).
- update to sysstat-10.0.2 
  - see /usr/share/doc/packages/sysstat/CHANGES
- enable boot.sysstat service on new installation (bnc#711574) 
- 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
- make /etc/sysstat/sysstat config(noreplae) (bnc#674719) 
- Use %_smp_mflags
- update to 9.0.6.1
  * Because of a change in /proc/interrupts file format, mpstat
    was no longer counting the proper number of interrupts. This
    is now fixed.
  * iostat manual page updated.
  * NLS updated.
- update to 9.0.6
  * "sadf -x" now takes into account options -s and -e (which
    specify a starting and ending time) and also interval and
    count parameters [DEBIAN bug#546259].
  * Option -C added to sadf. Use it to tell sadf to display comments
    present in file (also works with XML format).
  * sar and sadf sometimes didn't handle COMMENT records properly.
    This is now fixed.
  * XML output (displayed by sadf -x) modified for kernel tables
    statistics.
  * XSD and DTD documents updated.
  * [Yibin Shen]: HZ variable was not explicitly set in sadc.c. This is now fixed.
  * [Lans Carstensen]: sargraph added (sargraph is a shell script used to make graphs
    based on sadf XML output).
  * sadf manual page updated.
  * FAQ updated.
  * NLS updated.
  * CREDITS file updated.
- update to 9.0.5
  * sysstat should now be able to pretty print device names whose
    minor numbers are greater than or equal to 256. (Tests have
    been made on a large 26TB RHEL5/PP Linux cluster.)
  * sadc manual page updated.
  * NLS updated.
  * FAQ updated.
- Do not hardcode build dates, make build-compare happy
- add sysstat-do-not-strip.patch 
- updated to 9.0.4
  * [Jonathan Kamens]: Fix double free/memory corruption bug
    with sadc.
  * [Jeroen Roovers]: Get entirely rid of implicit rule for
    libsyscom.a in Makefile to fix a problem with parallel
    execution.
  * sysstat.ioconf configuration file updated.
- merge some changes from package in server:monitoring project
- updated to 9.0.3
  * [Michael Blakeley]: Option -z added to iostat. This option
    tells iostat to omit output for any devices for which there
    was no activity during the sample period.
  * [Tomasz Pala]: Fix mpstat where interrupt values should be
    read as unsigned integers.
  * sar -n ALL didn't select IPv6 statistics. This is now fixed.
  * iostat, sar and mpstat manual pages updated.
  * sadf -x now displays file creation date.
  * XSD and DTD documents updated.
  * NLS updated. Latvian translation added.
  * CREDITS file updated.
  * Code cleaned.
- updated to 9.0.2
  * sadc can now collect partition statistics in addition to disk ones.
    Keywords XDISK and XALL have been added to -S option.
  * Fixed a memory corruption in pidstat and iostat. This corruption
    could happen when a list of comma-separated values following
    option -p was entered on the command line.
  * configure now takes into account a new variable named rcdir.
    This variable may be used to specify the directory where
    startup scripts will be installed.
  * The value of directory for installing documentation files
    can now be set with configure's --docdir option.
  * Fixed a small bug in activity.c file, where there was a
    missing semicolon between two fields.
  * sar and sadc manual pages updated.
  * NLS updated.
  * CREDITS file updated.
- updated to 9.0.1
  * Fix a crash with sar where a pointer was freed twice.
  * NLS updated.
  * sar manual page updated.
  * CREDITS file updated.
- updated to 9.0.0
  * Option -m added to sar. This option is intended to display
    power management statistics. At the present time, only
    CPU frequency statistics are available.
  * sadc updated: Option "-S POWER" tells sadc to collect power
    management statistics.
  * sadf command updated to take into account power management
    statistics.
  * [Mike Harvey]: No longer truncate the interval of time to
    32 bits, as this may cause some problems when displaying
    average values statistics on machines with hundreds of CPU.
  * read_uptime(): Cast values read from /proc/uptime to
    unsigned long long.
  * Fixed a small bug in sar where it didn't parse arguments
    properly when some options were entered in a specific order.
  * sadc and sar manual pages updated.
  * XSD and DTD documents updated.
  * FAQ updated.
  * NLS updated.
  * Code cleaned. Makefile cleaned.
- changed parameter "-d" to "-S ALL" in crontab to match the new syntax
- fixed german translation
- updated to 8.1.5:
  - changes too numerous to list (see CHANGES file)
- fix missing --boot parameter in init script [bnc#378874]
- fixed disc statistics logging [bnc#407004]
- No patch for SuSE stuff
- Add missing Provides to the init script
- do not remove log files when package is updated [bnc#371994]
- updated to 8.0.4:
  * Removed a 'packed' attribute in pidstat.h that generated
    a warning with gcc 4.1.1.
*   Take account of all memory zone types when calculating
    pgscank, pgscand and pgsteal displayed by sar -B.
  * XML Schema added. Useful with sadf option -x.
  * sadc and sadf manual pages updated.
  * NLS updated: Dutch translation added.
  * NLS updated: Brazilian Portuguese translation added.
  * NLS updated: Vietnamese translation added.
  * NLS updated: Kirghiz translation added.
  * NLS updated: Added a PO template file in nls directory.
    Makefile modified to enable PO files update.
  * sccsid string now also includes package name and version number.
  * Makefile updated: Startup links are named S01xxx instead of S03xxx
    to be consistent with chkconfig values.
  * Various spelling fixes.
  * CREDITS file updated.
- updated to 8.0.3
  * mpstat and sar didn't parse /proc/interrupts correctly when
    some CPUs had been disabled. This is now fixed.
  * fixed a bug in pidstat where a confusion between PID and TID
    could sometimes happen, resulting in erroneous statistics
    values being displayed.
  * iconfig script updated: Help for --enable-compress-manpg
    parameter is now available, help for --enable-install-cron
    parameter updated, added parameter cron_interval.
  * sa2 shell script can now compress sar data files using bzip2.
  * Makefile updated: Now also remove sysstat.crond.sample.in.
    Documentation is installed in $prefix/share/doc/ instead of
    $prefix/doc/ directory.
  * isag updated
  * FAQ updated
  * CREDITS file updated
  * sysstat's URL updated
- updated to 8.0.2
  * option -w added to pidstat. pidstat can now display task
    switching activity
  * fixed a memory leak in pidstat that was triggered when
    reading stats for threads
  * fixed a bug where device names were incorrectly displayed by
    sar -d or sar -dp
  * when using option -o, sar now saves by default all the
    statistics into the file, including interrupts and disks
    statistics (interrupts and disks statistics remain optional
    when using sadc)
- added boot.clock to Require-Start in initscript [#333793]
- update to 8.0.1
  * Option -t added to pistat. pidstat can now display stats for
    every thread (TID) of a process.
  * pidstat's option -T CHILD now reports global statistics for
    selected tasks and all their children (and not only for the
    children).
  * pidstat now reads VSZ and RSS values from /proc/#/stat instead
    of /proc/#/status.
  * Fixed a rare parallel make issue creating archive libsyscom.a
    [GENTOO bug #193208].
  * pidstat manual page updated.
  * SCCS identification string added to all commands.
  * NLS updated.
  * Code cleaned.
  * CREDITS file updated.
- altered pagesize.diff
- update to 8.0.0
  * WARNING: Daily data files format has changed, and is *not*
    compatible with the previous one! [0x216e]
  * pidstat command improved. It is now able to report CPU and
    page fault statistics for the child processes of a task.
  * Option -T added to pidstat. This option tells pidstat if
    statistics are to be reported for tasks (which is the default)
    or for their children.
  * Fixed a security flaw in sysstat startup script (CVE-2007-3852).
  * Removed super*, dquot* and rtsig* fields from sar -v.
    They were made obsolete in Linux kernels 2.6.
  * Fields file-sz and inode-sz from sar -v renamed in file-nr
    and inode-nr.
  * Added field pty-nr (number of pseudo-terminals) to sar -v.
  * Added field tcp-tw (number of sockets in TIME_WAIT state)
    to sar -n SOCK.
  * sar and sadf updated so that they can properly extract records
    (with their options -s and -e) from a file containing data for
    two consecutive days.
  * Added option "--enable-install-isag" to "configure" to enable
    the user to install isag script.
  * Fixed a typo in iconfig script: The user was unable to specify
    the crontab owner.
  * Manual pages updated
  * Sysstat DTD file updated
  * isag updated
- update to 7.1.6
  * new VM paging metrics added to sar
  * options -x and -X have been removed from sar, use pidstat instead
  * sar updated to avoid overflow when computing some average values
- updated to 7.1.5
- dropped obsolete patches
  * filelen.patch (included in update)
- fixed init-script and crontab files on 64bit archs [#280096]
- update to 7.1.4:
  * added new command "pidstat" aimed at displaying per-process statistics
  * added -N option to iostat
    - option enables the user to query any device-mapper devices for their
      registered device name
  * fixed a small memory leak in readp_uptime() function
  * stricter syntax checking for iostat
  * sar -dp now displays the device as "devM-N" (instead of "nodev") when it
    can't find its real name in sysstat.ioconf file
  * iostat -t now also takes into account the value of environment
    variable S_TIME_FORMAT
  * manual pages now take into account variables defined by "configure"
  * isag now takes into account variables defined by "configure"
  * "configure" now determines automatically whether workaround for SMP race
    is needed (SMP kernels 2.2.15 and older only)
- splitted isag utility to separate subpackage sysstat-isag
  * users will not be forced to install gnuplot (and X stuff) if
    they do not want to
- update to 7.1.3
  * fixed bug in hotplug cpu support
  * better support for keeping sar logfiles for more than one month
  * code cleaned
- update to 7.1.2
  * autoconf support
  * better hotplug CPU support
    - no longer assuming that CPU#0 can never be disabled
  * sar datafiles format changed to become more compact
- changed spec file to build with #norootforbuild
- update to 7.0.4
  * fixed incorrect NFS client and server statistics for sar
  * added hotplug CPU support to sar and mpstat
  * added iostat NFS statistics
- dropped obsoleted patches:
  * sysstat-6.0.2-hz.diff
- added procmail to Requires [#226503]
- fix one more place with HZ usage 
- sysstat bootscript depends on boot.rootfsck, optional $local_fs (#181972)
- use sysconf(_SC_CLK_TCK) to get correct HZ (#168604)
- fix bug in sysstat-6.0.2.diff [#155329]
- package file /usr/lib/sa/sa2 
- prune old files (#136703)
- converted neededforbuild to BuildRequires
- update to 6.0.2
- update to 6.0.1
- split patches by subject
- Compile with GCC4.
- remove .cron from the crontab filename (#64225)
- update to 5.0.6
- update to 5.0.5
- changed isag data file mask according to sa file naming
  (patch mask, bug #41691)
- fixed insecure tmp file handling in isag (bug #35103, patch isag)
- do not install crontab directly into /etc/cron.d, but create/remove
  symlink threre during start/stop in the init script (bug #33279)
- added rcsysstat
- fixed sa1 and sa2
- update to version 5.0.1
- fix for systems with more than 32 cpus and a lot of memory
  [bug #30561] patch bumper
- added LSB comments to init script [bug #24541]
- do not log running /usr/lib/sa/sa1 every 10 minutes [bug #27253]
- remove unpackaged files from buildroot 
- added isag script and man page
- be more descriptive in an error message (patch msg)
- require $local_fs for start in init script [bug #24400]
  (patch init)
- updated to version 4.0.7
- moved helper binary and scripts
  back to /usr/lib [bug #21713]
- bug #18901:
  - use proper libdir (lib/lib64) in cron, scripts and man pages
  - in /etc/init.d/sysstat: no option b, test exit
    status of sadc, remove lockfile and be verbose
- Don't start programs in post-install
- Add PreRequiers for insserv and fillup
- another %{_libdir} fix
- update to 4.0.3
- refined scripts sa1 and sa2 to handle lockfile safe
- used macros %{_lib} and %{_libdir}
- update to version 4.0.2
- fixed bug #12664
- added dependecy on gnuplot
- adapted spec to use fillup_and_insserv/insserv_cleanup staff
- update to version 4.0.1
- update patch 
- add file lock for scripts sa1 and sa2 for fix bug #7861 
- use sa.%Y_%m_%d format for sar command
- Use getpagesize() instead of PAGE_SHIFT.
- update on 4.0.0 
- Use getpagesize() instead of PAGE_SHIFT.
- fixed init script
- fixed sa1 and sa2 scripts
- fixed cron files 
- new version 3.3.2
- new version 3.3.1
- fixed clean section
- upgrade to 3.2
- buildroot added
- Initial release (Version 2.2)

OBS-URL: https://build.opensuse.org/package/show/Base:System/sysstat?expand=0&rev=155
2025-06-24 20:12:12 +00:00
4 changed files with 206 additions and 120 deletions

Binary file not shown.

3
sysstat-12.7.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f06ed10ba8ed035078d2a0b9f0669c3641ccb362fc626df1f2f0dfd3be7995d8
size 1560450

View File

@@ -1,3 +1,89 @@
-------------------------------------------------------------------
Mon Oct 20 23:17:48 UTC 2025 - JS <obs.coke518@passinbox.com>
- fix typo: syssstat-rotate -> sysstat-rotate
-------------------------------------------------------------------
Thu Sep 25 23:04:32 UTC 2025 - RN <R_Nik_C@proton.me>
- Update to 12.7.8.
- Changes for 12.7.8:
* sar/sadf: Add new metric kbshmem.
* sar/sadf: Now compute used memory as total memory - available memory.
* sadf: Set availablekb to frmkb during conversion.
* cifsiostat, iostat, mpstat, tapestat: Add new option -U to display
timestamps in seconds since the Epoch.
* Trap SIGTERM with all sysstat commands.
* mpstat: Go to next line when Ctrl/C is pressed.
* Add support for out-of-tree building and testing.
* sar: A_PWR_BAT: Fix wrong size used in memory initialization.
* Makefile.in: Update dependencies for install_man target.
* Makefile.in: Remove unused TFLAGS variable.
* Makefile.in: Remove old references to nfsiostat.
* DTD and XSD documents updated.
* NLS translations updated.
* sar, mpstat, iostat, cifsiostat and tapestat manual pages updated.
* Various cosmetic changes in code and Makefile.
* do_test: Add test target for out-of-tree build.
* systest: Explicitly set signal to SIGINT.
* Non regression tests: Remove root symlink in tests directory.
* Non regression tests updated.
-------------------------------------------------------------------
Tue Jun 24 19:44:35 UTC 2025 - Martin Schreiner <martin.schreiner@suse.com>
- Update to 12.7.7.
- Changes for 12.7.7:
* Rework overflow check function.
* pidstat: Add JSON output format (option "-o JSON").
* [Siddhi Katage]: pidstat: Fix bogus %usr values in pidstat output.
* pidstat: Free structures before exiting.
* pidstat: Make sure interval is specified when option -e is used.
* pidstat: Create separate functions to display data for current task.
* pidstat: Various cosmetic changes.
* cifsiostat: Add JSON output format (option "-o JSON").
* cifsiostat: Display error message when no CIFS fs are found.
* cifsiostat: Add new option -y to tell cifsiostat to omit the first
report with statistics since system restart.
* tapestat: Add JSON output format (option "-o JSON").
* tapestat: Set handler for SIGALRM in rw_tape_stat_loop() function.
* tapestat: Call write_sample_timestamp() to display timestamp.
* mpstat: Properly terminate JSON output when ^C entered on first
interval.
* iostat: Remove extra blank line when omitting first report.
* cifsiostat, tapestat and pidstat manual pages updated.
* Use the binary units (kibibytes, mebibytes...) instead of kilobytes,
megabytes... in all manual pages.
* FAQ updated.
* [Peter Portante]: Slight changes to compile on Mac OS X.
* [Peter Portante]: Add missing "void" parameter to
init_custom_color_palette() function.
* Use xflags variable for options used by multiple commands.
* Move write_sample_timestamp() function to common.c file.
* Update headers files included.
* Add new non regression tests.
- Changes for 12.7.6:
* sar/sadf: [A_NET_ETCP]: Rename retrans/s field to retrseg/s
because it was already used in A_NET_NFS report.
* sadf: SVG: Fix oversized SVG canvas height.
* sadf: Don't cap SVG graph output at 100%.
* sadf: A_NET_SOFT: Don't display graphs for offline CPU.
* sadf: SVG: Don't ignore other views when one has to be skipped.
* sadf: Make sure structures will be alloacated for every installed
CPU.
* sadf: Define MIN_CANVAS_HEIGHT constant.
* sar: Display min/max values only when available.
* Define macros for CPU manipulation.
* SREALLOC() macro: Make sure size is not zero.
* Fix a warning given by gcc v13 with -fanalyzer option.
* [Eli Schwartz]: configure.ac: fix erroneous bashisms.
* sar manual page updated.
* DTD and XSD documents updated.
* Year updated in copyright messages.
* Other cosmetic changes in code.
* FAQ and README files updated.
* Non regression tests updated. New tests added.
-------------------------------------------------------------------
Thu Aug 8 06:07:30 UTC 2024 - Johannes Segitz <jsegitz@suse.com>
@@ -10,121 +96,121 @@ Fri Jun 7 08:58:41 UTC 2024 - pgajdos@suse.com
- version update to 12.7.5
2023/12/17: Version 12.7.5 - Sebastien Godard (sysstat <at> orange.fr)
* [Quan quan Cao]: sar/sadc: Add new metrics pgprom/s and pgdem/s.
* sar: Remove %vmeff metric.
* sadf: Update various output formats to take into account metrics
that have been added or removed.
* Update DTD and XSD documents.
* Update sar manual page.
* sar: Add a cron entry and a new systemd service and timer to rotate
daily data file at midnight.
* Option -V with sysstat commands also displays environment contents.
* [Sam Morris]: Use correct encoding to produce hyphen-minus when
rendering man pages.
* Add UMASK variable definition to sysstat(5) manual page.
* Update non regression tests.
* Add --getenv option to commands that didn't have it.
* Update README file for Debian-based distros.
* Update link to my personal web page in README and manual pages.
* NLS: Translations updated.
* [Quan quan Cao]: sar/sadc: Add new metrics pgprom/s and pgdem/s.
* sar: Remove %vmeff metric.
* sadf: Update various output formats to take into account metrics
that have been added or removed.
* Update DTD and XSD documents.
* Update sar manual page.
* sar: Add a cron entry and a new systemd service and timer to rotate
daily data file at midnight.
* Option -V with sysstat commands also displays environment contents.
* [Sam Morris]: Use correct encoding to produce hyphen-minus when
rendering man pages.
* Add UMASK variable definition to sysstat(5) manual page.
* Update non regression tests.
* Add --getenv option to commands that didn't have it.
* Update README file for Debian-based distros.
* Update link to my personal web page in README and manual pages.
* NLS: Translations updated.
2023/06/18: Version 12.7.4 - Sebastien Godard (sysstat <at> orange.fr)
* Makefile.in: Fix installation error.
* Makefile.in: Remove gcc warning displayed in LTO mode.
* Makefile.in: Fix installation error.
* Makefile.in: Remove gcc warning displayed in LTO mode.
2023/06/16: Version 12.7.3 - Sebastien Godard (sysstat <at> orange.fr)
* sar: Add new option '-x' used to display extended reports.
* [Pavel Kopylov]: Fix an overflow which is still possible for
some values.
* [Jan Kurik]: Fix export of PSI metrics to a PCP archive.
* [Lukáš Zaoral]: Tools that take `--dec=X` option should only accept
digits.
* common.c: Fix an overflow which was still possible for some values.
* iostat: Try to avoid displaying negative values.
* Free pointer if realloc() fails.
* Don't check if unsigned expressions are less than zero.
* Declare parameters with "const" when possible.
* Remove conditions which are always true.
* Reduce variables scope when relevant.
* Don't assign values that are never used.
* Fix types used in format strings.
* Split large functions into smaller ones.
* Specify field width when using sscanf() function.
* search_list_item(): Return position in list instead of a boolean.
* add_list_item(): Also return item position in list.
* svg_stats.c: Ignore negative values for fields position.
* svg_stats.c: Reuse buffers pointers definition.
* svg_stats.c: Reuse intermediate calculations.
* svg_stats.c: Don't repeat test on DISPLAY_CPU_DEF().
* sa_common.c: Don't use (void *) pointer in calculation.
* iostat.c: Clarify calculation precedence for '+' and '?'.
* sar/sadf: Refactor buffer allocation functions.
* sar/sadf: Add a check on file's records header data.
* sar/sadf: Stop when invalid data are read in records header.
* sar/sadf: Check upper bounds of value read from file.
* sadf_misc.c: Fix indentation in code.
* activity.c: Init item_list even for other commands than sadf.
* sa_conv.c: Reallocate buffers only when needed.
* sa_conv.c: Fix untrusted allocation size.
* pr_stats.c: Remove some dead code.
* sar.c: Make sure buffer is null terminated.
* do_test: Add several new options.
* do_test: Don't strip binaries when in TEST mode.
* Update non regression tests.
* simtest: Change default _unix_time value.
* Makefile.in: Simplify dependencies.
* Makefile_in: Small update made to copyyear target.
* sadf: XML: Update DTD and XSD documents.
* sadf: XML: Remove references to my personal web site.
* Restore mode for iconfig file.
* Fix typo in sar's manual page. Sar manual page updated.
* Other manual pages updated.
* sar: Add new option '-x' used to display extended reports.
* [Pavel Kopylov]: Fix an overflow which is still possible for
some values.
* [Jan Kurik]: Fix export of PSI metrics to a PCP archive.
* [Lukáš Zaoral]: Tools that take `--dec=X` option should only accept
digits.
* common.c: Fix an overflow which was still possible for some values.
* iostat: Try to avoid displaying negative values.
* Free pointer if realloc() fails.
* Don't check if unsigned expressions are less than zero.
* Declare parameters with "const" when possible.
* Remove conditions which are always true.
* Reduce variables scope when relevant.
* Don't assign values that are never used.
* Fix types used in format strings.
* Split large functions into smaller ones.
* Specify field width when using sscanf() function.
* search_list_item(): Return position in list instead of a boolean.
* add_list_item(): Also return item position in list.
* svg_stats.c: Ignore negative values for fields position.
* svg_stats.c: Reuse buffers pointers definition.
* svg_stats.c: Reuse intermediate calculations.
* svg_stats.c: Don't repeat test on DISPLAY_CPU_DEF().
* sa_common.c: Don't use (void *) pointer in calculation.
* iostat.c: Clarify calculation precedence for '+' and '?'.
* sar/sadf: Refactor buffer allocation functions.
* sar/sadf: Add a check on file's records header data.
* sar/sadf: Stop when invalid data are read in records header.
* sar/sadf: Check upper bounds of value read from file.
* sadf_misc.c: Fix indentation in code.
* activity.c: Init item_list even for other commands than sadf.
* sa_conv.c: Reallocate buffers only when needed.
* sa_conv.c: Fix untrusted allocation size.
* pr_stats.c: Remove some dead code.
* sar.c: Make sure buffer is null terminated.
* do_test: Add several new options.
* do_test: Don't strip binaries when in TEST mode.
* Update non regression tests.
* simtest: Change default _unix_time value.
* Makefile.in: Simplify dependencies.
* Makefile_in: Small update made to copyyear target.
* sadf: XML: Update DTD and XSD documents.
* sadf: XML: Remove references to my personal web site.
* Restore mode for iconfig file.
* Fix typo in sar's manual page. Sar manual page updated.
* Other manual pages updated.
2023/01/29: Version 12.7.2 - Sebastien Godard (sysstat <at> orange.fr)
* All commands: Avoid displaying healthy metrics values in "red".
* sar/sadf: Add new activity: Battery statistics (A_PWR_BAT).
* [Kevin Stubbings]: Add CodeQL workflow.
* sar: Make sure timestamps are always displayed in local time.
* sar/sadf: Starting and ending times used with options -s/-e can now
be entered as a number of seconds since the epoch.
* sar/sadf: Strengthen tests made on arguments given to options -s/-e.
* sadf: PCP: Fix pmiID used for two USB metrics [12.6.2].
* [Nathanael P Wilson]: sadf: Fix extra space when no TZ printed.
* sadc: Add another overflow check [12.6.2].
* DTD and XSD documents updated.
* Makefile: Fix dependencies.
* NLS translations updated. New Belarusian translation added.
* Remove LGTM links from README file.
* Manual pages updated.
* Non regression tests updated.
* All commands: Avoid displaying healthy metrics values in "red".
* sar/sadf: Add new activity: Battery statistics (A_PWR_BAT).
* [Kevin Stubbings]: Add CodeQL workflow.
* sar: Make sure timestamps are always displayed in local time.
* sar/sadf: Starting and ending times used with options -s/-e can now
be entered as a number of seconds since the epoch.
* sar/sadf: Strengthen tests made on arguments given to options -s/-e.
* sadf: PCP: Fix pmiID used for two USB metrics [12.6.2].
* [Nathanael P Wilson]: sadf: Fix extra space when no TZ printed.
* sadc: Add another overflow check [12.6.2].
* DTD and XSD documents updated.
* Makefile: Fix dependencies.
* NLS translations updated. New Belarusian translation added.
* Remove LGTM links from README file.
* Manual pages updated.
* Non regression tests updated.
2022/11/06: Version 12.7.1 - Sebastien Godard (sysstat <at> orange.fr)
* Fix possible overflow in sa_common.c (GHSL-2022-074) [12.6.1].
* sadf: Add support for option -t with SVG output to make it possible
to display timestamps in the same locale as that of the file creator.
* sadf: Print timezone instead of UTC in true time mode. Timezone is
also displayed in local time.
* sadf: PCP: Fix timestamps written to PCP archive file.
* sar: Add new environment variable S_REPEAT_HEADER.
* pidstat: Return exit code of the process that was monitored with option
-e.
* mpstat: Add option -H to handle vCPU physical hotplug.
* Add local, xlocal and debug targets to iconfig script.
* Turn off gcc's tree-slp-vectorize option which was making sadf crash
in some situations.
* sa_conv.c: Make size of statistics structures from older sysstat
versions immutable [12.6.1].
* [Bernhard M. Wiedemann]: Declare sadc dependency on libsyscom.a
[12.6.1].
* [Steve Kay]: Fix gcc v11.2 warnings [12.6.1].
* [Steve Kay]: Various cosmetic fixes [12.6.1].
* [Jan Christoph Uhde]: sar: Remove `-I int_list` from man-page and
help [12.6.1].
* [Frank Dana]: Consolidate systemctl commands in README file [12.6.1].
* [Rong Tao]: Remove whitespace characters at the end of lines
[12.6.1].
* Update configure file to deal with newer autoconf version. configure.in
file is renamed to configure.ac.
* Update DTD and XSD documents.
* sar and sysstat manual pages updated.
* NLS updated. Add new Georgian translation.
* Non regression tests updated.
* Fix possible overflow in sa_common.c (GHSL-2022-074) [12.6.1].
* sadf: Add support for option -t with SVG output to make it possible
to display timestamps in the same locale as that of the file creator.
* sadf: Print timezone instead of UTC in true time mode. Timezone is
also displayed in local time.
* sadf: PCP: Fix timestamps written to PCP archive file.
* sar: Add new environment variable S_REPEAT_HEADER.
* pidstat: Return exit code of the process that was monitored with option
-e.
* mpstat: Add option -H to handle vCPU physical hotplug.
* Add local, xlocal and debug targets to iconfig script.
* Turn off gcc's tree-slp-vectorize option which was making sadf crash
in some situations.
* sa_conv.c: Make size of statistics structures from older sysstat
versions immutable [12.6.1].
* [Bernhard M. Wiedemann]: Declare sadc dependency on libsyscom.a
[12.6.1].
* [Steve Kay]: Fix gcc v11.2 warnings [12.6.1].
* [Steve Kay]: Various cosmetic fixes [12.6.1].
* [Jan Christoph Uhde]: sar: Remove `-I int_list` from man-page and
help [12.6.1].
* [Frank Dana]: Consolidate systemctl commands in README file [12.6.1].
* [Rong Tao]: Remove whitespace characters at the end of lines
[12.6.1].
* Update configure file to deal with newer autoconf version. configure.in
file is renamed to configure.ac.
* Update DTD and XSD documents.
* sar and sysstat manual pages updated.
* NLS updated. Add new Georgian translation.
* Non regression tests updated.
- modified patches
% sysstat-8.0.4-pagesize.diff (refreshed)
% sysstat-8.1.6-sa1sa2lock.diff (refreshed)

View File

@@ -1,7 +1,7 @@
#
# spec file for package sysstat
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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.7.5
Version: 12.7.8
Release: 0
Summary: Sar and Iostat Commands for Linux
License: GPL-2.0-or-later
@@ -115,19 +115,19 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcsysstat
# make %%{?_smp_mflags} test
%pre
%service_add_pre sysstat.service sysstat-collect.service sysstat-collect.timer sysstat-summary.service sysstat-summary.timer sysstat-rotate.service syssstat-rotate.timer
%service_add_pre sysstat.service sysstat-collect.service sysstat-collect.timer sysstat-summary.service sysstat-summary.timer sysstat-rotate.service sysstat-rotate.timer
%post
%service_add_post sysstat.service sysstat-collect.service sysstat-collect.timer sysstat-summary.service sysstat-summary.timer sysstat-rotate.service syssstat-rotate.timer
%service_add_post sysstat.service sysstat-collect.service sysstat-collect.timer sysstat-summary.service sysstat-summary.timer sysstat-rotate.service sysstat-rotate.timer
# Earlier versions used cron, remove leftover
rm -f /etc/cron.d/sysstat || :
%preun
%service_del_preun sysstat.service sysstat-collect.service sysstat-collect.timer sysstat-summary.service sysstat-summary.timer sysstat-rotate.service syssstat-rotate.timer
%service_del_preun sysstat.service sysstat-collect.service sysstat-collect.timer sysstat-summary.service sysstat-summary.timer sysstat-rotate.service sysstat-rotate.timer
[ "$1" -gt 0 ] || rm -rf %{_localstatedir}/log/sa/*
%postun
%service_del_postun sysstat.service sysstat-collect.service sysstat-collect.timer sysstat-summary.service sysstat-summary.timer sysstat-rotate.service syssstat-rotate.timer
%service_del_postun sysstat.service sysstat-collect.service sysstat-collect.timer sysstat-summary.service sysstat-summary.timer sysstat-rotate.service sysstat-rotate.timer
%files -f "%{name}.lang"
%license COPYING