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 <tchva...@suse.com> + +- 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.000000000 +0200 +++ new/sysstat-12.0.2/CHANGES 2018-10-13 09:29:36.000000000 +0200 @@ -1,5 +1,14 @@ Changes: +2018/10/13: Version 12.0.2 - Sebastien Godard (sysstat <at> 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 <at> 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.000000000 +0200 +++ new/sysstat-12.0.2/Makefile.in 2018-10-13 09:28:34.000000000 +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/configure 2018-08-06 17:59:43.000000000 +0200 +++ new/sysstat-12.0.2/configure 2018-10-13 09:28:34.000000000 +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 of systems. +\`configure' configures sysstat 12.0.2 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 ) echo "Configuration of sysstat 12.0.1:";; + short | recursive ) echo "Configuration of sysstat 12.0.2:";; esac cat <<\_ACEOF @@ -1482,7 +1482,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -sysstat configure 12.0.1 +sysstat configure 12.0.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1901,7 +1901,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by sysstat $as_me 12.0.1, which was +It was created by sysstat $as_me 12.0.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -5959,7 +5959,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by sysstat $as_me 12.0.1, which was +This file was extended by sysstat $as_me 12.0.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -6012,7 +6012,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -sysstat config.status 12.0.1 +sysstat config.status 12.0.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/configure.in new/sysstat-12.0.2/configure.in --- old/sysstat-12.0.1/configure.in 2018-08-06 17:59:43.000000000 +0200 +++ new/sysstat-12.0.2/configure.in 2018-10-13 09:28:34.000000000 +0200 @@ -4,7 +4,7 @@ # Modified by Sebastien Godard (sysstat <at> orange.fr) # Initialization of $PACKAGE_VERSION and $PACKAGE_NAME variables -AC_INIT(sysstat, 12.0.1) +AC_INIT(sysstat, 12.0.2) # Ensure that a recent enough version of Autoconf is being used AC_PREREQ(2.53) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/man/sar.in new/sysstat-12.0.2/man/sar.in --- old/sysstat-12.0.1/man/sar.in 2018-08-03 08:18:09.000000000 +0200 +++ new/sysstat-12.0.2/man/sar.in 2018-10-13 09:28:35.000000000 +0200 @@ -1,4 +1,4 @@ -.TH SAR 1 "JULY 2018" Linux "Linux User's Manual" -*- nroff -*- +.TH SAR 1 "OCTOBER 2018" Linux "Linux User's Manual" -*- nroff -*- .SH NAME sar \- Collect, report, or save system activity information. .SH SYNOPSIS @@ -393,7 +393,7 @@ .B MBfsfree .RS .RS -Total amount a free space in megabytes (including space available only to privileged user). +Total amount of free space in megabytes (including space available only to privileged user). .RE .B MBfsused diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/nls/sysstat.pot new/sysstat-12.0.2/nls/sysstat.pot --- old/sysstat-12.0.1/nls/sysstat.pot 2018-08-06 17:50:16.000000000 +0200 +++ new/sysstat-12.0.2/nls/sysstat.pot 2018-10-13 09:28:45.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: sysstat <at> orange.fr\n" -"POT-Creation-Date: 2018-08-03 08:23+0200\n" +"POT-Creation-Date: 2018-10-13 09:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" @@ -55,7 +55,7 @@ msgid "Cannot find disk data\n" msgstr "" -#: iostat.c:1832 sa_common.c:2100 +#: iostat.c:1832 sa_common.c:2110 #, c-format msgid "Invalid type of persistent device name\n" msgstr "" @@ -91,7 +91,7 @@ msgstr "" #: sadc.c:692 sadc.c:755 count.c:118 ioconf.c:506 rd_stats.c:75 -#: sa_common.c:1656 +#: sa_common.c:1664 #, c-format msgid "Cannot open %s: %s\n" msgstr "" @@ -321,22 +321,22 @@ msgid "Inconsistent input data\n" msgstr "" -#: sar.c:874 +#: sar.c:876 #, c-format msgid "Using a wrong data collector from a different sysstat version\n" msgstr "" -#: sar.c:1481 +#: sar.c:1483 #, c-format msgid "-f and -o options are mutually exclusive\n" msgstr "" -#: sar.c:1487 +#: sar.c:1489 #, c-format msgid "Not reading from a system activity file (use -f option)\n" msgstr "" -#: sar.c:1630 +#: sar.c:1636 #, c-format msgid "Cannot find the data collector (%s)\n" msgstr "" @@ -486,22 +486,22 @@ msgid "Current sysstat version cannot read the format of this file (%#x)\n" msgstr "" -#: sa_common.c:1361 +#: sa_common.c:1367 #, c-format msgid "Error while reading system activity file: %s\n" msgstr "" -#: sa_common.c:1371 +#: sa_common.c:1377 #, c-format msgid "End of system activity file unexpected\n" msgstr "" -#: sa_common.c:1659 +#: sa_common.c:1667 #, c-format msgid "Please check if data collecting is enabled\n" msgstr "" -#: sa_common.c:1979 +#: sa_common.c:1989 #, c-format msgid "Requested activities not available in file %s\n" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/sa.h new/sysstat-12.0.2/sa.h --- old/sysstat-12.0.1/sa.h 2018-08-03 08:18:09.000000000 +0200 +++ new/sysstat-12.0.2/sa.h 2018-10-13 09:28:35.000000000 +0200 @@ -1359,7 +1359,7 @@ void reallocate_all_buffers (struct activity *, __nr_t); void remap_struct - (unsigned int [], unsigned int [], void *, unsigned int); + (unsigned int [], unsigned int [], void *, unsigned int, unsigned int); void replace_nonprintable_char (int, char *); int sa_fread diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/sa_common.c new/sysstat-12.0.2/sa_common.c --- old/sysstat-12.0.1/sa_common.c 2018-08-06 17:45:48.000000000 +0200 +++ new/sysstat-12.0.2/sa_common.c 2018-10-13 09:28:35.000000000 +0200 @@ -1267,7 +1267,7 @@ * Map the fields of a structure containing statistics read from a file to * those of the structure known by current sysstat version. * Each structure (either read from file or from current sysstat version) - * are described by 3 values: The number of [unsigned] long long integers, + * is described by 3 values: The number of [unsigned] long long integers, * the number of [unsigned] long integers following in the structure, and * last the number of [unsigned] integers. * We assume that those numbers will *never* decrease with newer sysstat @@ -1277,18 +1277,18 @@ * @gtypes_nr Structure description as expected for current sysstat version. * @ftypes_nr Structure description as read from file. * @ps Pointer on structure containing statistics. - * @st_size Size of the structure containing statistics. This is the size - * of the structure *read from file* (not the size of the - * structure expected by current sysstat version). + * @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. *************************************************************************** */ void remap_struct(unsigned int gtypes_nr[], unsigned int ftypes_nr[], - void *ps, unsigned int st_size) + void *ps, unsigned int f_size, unsigned int g_size) { int d; /* Sanity check */ - if (MAP_SIZE(ftypes_nr) > st_size) + if (MAP_SIZE(ftypes_nr) > f_size) return; /* Remap [unsigned] long fields */ @@ -1296,7 +1296,8 @@ if (d) { memmove(((char *) ps) + gtypes_nr[0] * ULL_ALIGNMENT_WIDTH, ((char *) ps) + ftypes_nr[0] * ULL_ALIGNMENT_WIDTH, - st_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH); + MINIMUM(f_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH, + g_size - gtypes_nr[0] * ULL_ALIGNMENT_WIDTH)); if (d > 0) { memset(((char *) ps) + ftypes_nr[0] * ULL_ALIGNMENT_WIDTH, 0, d * ULL_ALIGNMENT_WIDTH); @@ -1309,8 +1310,10 @@ + gtypes_nr[1] * UL_ALIGNMENT_WIDTH, ((char *) ps) + gtypes_nr[0] * ULL_ALIGNMENT_WIDTH + ftypes_nr[1] * UL_ALIGNMENT_WIDTH, - st_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH - - ftypes_nr[1] * UL_ALIGNMENT_WIDTH); + MINIMUM(f_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH + - ftypes_nr[1] * UL_ALIGNMENT_WIDTH, + g_size - gtypes_nr[0] * ULL_ALIGNMENT_WIDTH + - gtypes_nr[1] * UL_ALIGNMENT_WIDTH)); if (d > 0) { memset(((char *) ps) + gtypes_nr[0] * ULL_ALIGNMENT_WIDTH + ftypes_nr[1] * UL_ALIGNMENT_WIDTH, @@ -1326,9 +1329,12 @@ ((char *) ps) + gtypes_nr[0] * ULL_ALIGNMENT_WIDTH + gtypes_nr[1] * UL_ALIGNMENT_WIDTH + ftypes_nr[2] * U_ALIGNMENT_WIDTH, - st_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH - - ftypes_nr[1] * UL_ALIGNMENT_WIDTH - - ftypes_nr[2] * U_ALIGNMENT_WIDTH); + MINIMUM(f_size - ftypes_nr[0] * ULL_ALIGNMENT_WIDTH + - ftypes_nr[1] * UL_ALIGNMENT_WIDTH + - ftypes_nr[2] * U_ALIGNMENT_WIDTH, + g_size - gtypes_nr[0] * ULL_ALIGNMENT_WIDTH + - gtypes_nr[1] * UL_ALIGNMENT_WIDTH + - gtypes_nr[2] * U_ALIGNMENT_WIDTH)); if (d > 0) { memset(((char *) ps) + gtypes_nr[0] * ULL_ALIGNMENT_WIDTH + gtypes_nr[1] * UL_ALIGNMENT_WIDTH @@ -1406,7 +1412,8 @@ return 1; /* Remap record header structure to that expected by current version */ - remap_struct(rec_types_nr, file_hdr->rec_types_nr, buffer, file_hdr->rec_size); + remap_struct(rec_types_nr, file_hdr->rec_types_nr, buffer, + file_hdr->rec_size, RECORD_HEADER_SIZE); memcpy(record_hdr, buffer, RECORD_HEADER_SIZE); /* Normalize endianness */ @@ -1614,7 +1621,8 @@ /* Remap structure's fields to those known by current sysstat version */ for (j = 0; j < (nr_value * act[p]->nr2); j++) { remap_struct(act[p]->gtypes_nr, act[p]->ftypes_nr, - (char *) act[p]->buf[curr] + j * act[p]->msize, act[p]->fsize); + (char *) act[p]->buf[curr] + j * act[p]->msize, + act[p]->fsize, act[p]->msize); } } } @@ -1795,7 +1803,8 @@ * smaller than FILE_HEADER_SIZE. Remap the fields of the file header * then copy its contents to the expected structure. */ - remap_struct(hdr_types_nr, file_magic->hdr_types_nr, buffer, file_magic->header_size); + remap_struct(hdr_types_nr, file_magic->hdr_types_nr, buffer, + file_magic->header_size, FILE_HEADER_SIZE); memcpy(file_hdr, buffer, FILE_HEADER_SIZE); free(buffer); buffer = NULL; @@ -1843,7 +1852,8 @@ * smaller than FILE_ACTIVITY_SIZE. Remap the fields of the file's structure * then copy its contents to the expected structure. */ - remap_struct(act_types_nr, file_hdr->act_types_nr, buffer, file_hdr->act_size); + remap_struct(act_types_nr, file_hdr->act_types_nr, buffer, + file_hdr->act_size, FILE_ACTIVITY_SIZE); memcpy(fal, buffer, FILE_ACTIVITY_SIZE); /* Normalize endianness for file_activity structures */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/sa_conv.c new/sysstat-12.0.2/sa_conv.c --- old/sysstat-12.0.1/sa_conv.c 2018-08-03 08:18:09.000000000 +0200 +++ new/sysstat-12.0.2/sa_conv.c 2018-10-13 09:28:35.000000000 +0200 @@ -404,7 +404,7 @@ * Note: Consider the value 0x01020304 read on a 32-bit machine. * Big-endian, saved as: 01 02 03 04 * Lille-endian, saved as: 04 03 02 01 - * The value should be saved as an 64-bit value and endianness should be + * The value should be saved as a 64-bit value and endianness should be * preserved: * Big-endian: 00 00 00 00 01 02 03 04 * Little-endian: 04 03 02 01 00 00 00 00 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/sar.c new/sysstat-12.0.2/sar.c --- old/sysstat-12.0.1/sar.c 2018-08-06 17:40:41.000000000 +0200 +++ new/sysstat-12.0.2/sar.c 2018-10-13 09:28:35.000000000 +0200 @@ -449,9 +449,6 @@ return 0; } - if (!is_iso_time_fmt()) - flags |= S_F_PREFD_TIME_OUTPUT; - /* Get then set previous timestamp */ if (sa_get_record_timestamp_struct(flags + S_F_LOCAL_TIME, &record_hdr[!curr], &rectime, NULL)) @@ -802,8 +799,13 @@ &rectime, NULL, file, 0, file_magic, &file_hdr, act, &sar_fmt, endian_mismatch, arch_64); - if (next) { - /* A line of comment was actually displayed */ + if (next && lines) { + /* + * A line of comment was actually displayed: Count it in the + * total number of displayed lines. + * If no lines of stats had been previously displayed, ignore it + * to make sure the header line will be displayed. + */ lines++; } continue; @@ -1512,6 +1514,10 @@ /* Default is CPU activity... */ select_default_activity(act); + /* Check S_TIME_FORMAT variable contents */ + if (!is_iso_time_fmt()) + flags |= S_F_PREFD_TIME_OUTPUT; + /* Reading stats from file: */ if (from_file[0]) { if (interval < 0) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/svg_stats.c new/sysstat-12.0.2/svg_stats.c --- old/sysstat-12.0.1/svg_stats.c 2018-08-06 15:41:55.000000000 +0200 +++ new/sysstat-12.0.2/svg_stats.c 2018-10-13 09:28:35.000000000 +0200 @@ -4546,7 +4546,7 @@ char *g_title[] = {"~kbhugfree", "~kbhugused", "%hugused"}; int g_fields[] = {0}; - unsigned int local_types_nr[] = {0, 1, 0}; + unsigned int local_types_nr[] = {1, 0, 0}; static double *spmin, *spmax; static char **out; static int *outsize; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/sysstat-12.0.1.lsm new/sysstat-12.0.2/sysstat-12.0.1.lsm --- old/sysstat-12.0.1/sysstat-12.0.1.lsm 2018-08-06 17:52:32.000000000 +0200 +++ new/sysstat-12.0.2/sysstat-12.0.1.lsm 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ -Begin4 -Title: sysstat - the sar, sadf, mpstat, iostat, tapestat, pidstat and cifsiostat commands for Linux -Version: 12.0.1 -Entered-date: 2018-08-06 -Description: The sysstat package contains the sar, sadf, mpstat, iostat, tapestat, - pidstat, cifsiostat and sa tools for Linux. - The sar command collects and reports system activity - information. - The information collected by sar can be saved in a file - in a binary format for future inspection. - The statistics reported by sar concern I/O transfer rates, - paging activity, process-related activities, interrupts, - network activity, memory and swap space utilization, CPU - utilization, kernel activities and TTY statistics, among - others. Both UP and SMP machines are fully supported. - The sadf command is used to display data collected by sar in various - formats (XML, database-friendly, etc.) and to draw graphs (SVG). - The mpstat command reports global and per-processor statistics. - The iostat command reports CPU utilization and I/O statistics - for disks. - The tapestat command reports statistics for tape drives connected - to the system. - The pidstat command reports statistics for Linux tasks (processes). - The cifsiostat command reports I/O statistics for CIFS filesystems. - NB: Send bugs, patches, suggestions and/or questions to - (sysstat [at] orange.fr). - URL: http://pagesperso-orange.fr/sebastien.godard/ -Keywords: system administration, system monitoring, sar, sadf, iostat, mpstat, tapestat, pidstat, system accounting, performance, tuning -Author: syss...@nospam.orange.fr (Sebastien Godard) -Maintained-by: syss...@nospam.orange.fr (Sebastien Godard) -Primary-site: http://pagesperso-orange.fr/sebastien.godard/ - 589kiB sysstat-12.0.1.tar.xz -Alternate-site: -Copying-policy: GPL -End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/sysstat-12.0.1.spec new/sysstat-12.0.2/sysstat-12.0.1.spec --- old/sysstat-12.0.1/sysstat-12.0.1.spec 2018-08-06 17:50:51.000000000 +0200 +++ new/sysstat-12.0.2/sysstat-12.0.1.spec 1970-01-01 01:00:00.000000000 +0100 @@ -1,83 +0,0 @@ -Summary: SAR, SADF, MPSTAT, IOSTAT, TAPESTAT, PIDSTAT and CIFSIOSTAT for Linux -Name: sysstat -Version: 12.0.1 -Release: 1 -License: GPL -Group: Applications/System -Source0: %{name}-%{version}.tar.gz -URL: http://pagesperso-orange.fr/sebastien.godard/ -Packager: Sebastien Godard <sysstat _at_ orange.fr> -BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n) -Requires: gettext - -%description -The sysstat package contains the sar, sadf, mpstat, iostat, tapestat, -pidstat, cifsiostat and sa tools for Linux. -The sar command collects and reports system activity information. -The information collected by sar can be saved in a file in a binary -format for future inspection. The statistics reported by sar concern -I/O transfer rates, paging activity, process-related activities, -interrupts, network activity, memory and swap space utilization, CPU -utilization, kernel activities and TTY statistics, among others. Both -UP and SMP machines are fully supported. -The sadf command may be used to display data collected by sar in -various formats (CSV, XML, etc.) and to draw graphs (SVG). -The iostat command reports CPU utilization and I/O statistics for disks. -The tapestat command reports statistics for tapes connected to the system. -The mpstat command reports global and per-processor statistics. -The pidstat command reports statistics for Linux tasks (processes). -The cifsiostat command reports I/O statistics for CIFS filesystems. - -%define debug_package %{nil} - -%prep -%setup - -%build -# To include cron installation, add options --enable-install-cron and --enable-copy-only -./configure --prefix=%{_prefix} \ - --disable-file-attr \ - sa_lib_dir=%{_libdir}/sa \ - --mandir=%{_mandir} \ - DESTDIR=$RPM_BUILD_ROOT -make - -%install -rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/var/log/sa - -make install - -mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d -install -m 755 sysstat $RPM_BUILD_ROOT/etc/rc.d/init.d/sysstat -mkdir -p $RPM_BUILD_ROOT/etc/sysconfig -install -m 644 sysstat.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/sysstat -install -m 644 sysstat.ioconf $RPM_BUILD_ROOT/etc/sysconfig/sysstat.ioconf -mkdir -p $RPM_BUILD_ROOT/etc/cron.d -install -m 644 cron/sysstat.crond.sample $RPM_BUILD_ROOT/etc/cron.d/sysstat -mkdir -p $RPM_BUILD_ROOT/etc/rc2.d -cd $RPM_BUILD_ROOT/etc/rc2.d && ln -sf ../init.d/sysstat S01sysstat -mkdir -p $RPM_BUILD_ROOT/etc/rc3.d -cd $RPM_BUILD_ROOT/etc/rc3.d && ln -sf ../init.d/sysstat S01sysstat -mkdir -p $RPM_BUILD_ROOT/etc/rc5.d -cd $RPM_BUILD_ROOT/etc/rc5.d && ln -sf ../init.d/sysstat S01sysstat - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(644,root,root,755) -%doc %{_datadir}/doc/sysstat-%{version}/* -%attr(755,root,root) %{_bindir}/* -%attr(755,root,root) %{_libdir}/sa/* -%attr(644,root,root) %{_mandir}/man*/* -%attr(644,root,root) %{_datadir}/locale/*/LC_MESSAGES/sysstat.mo -%attr(755,root,root) %dir /var/log/sa -%attr(755,root,root) /etc/rc.d/init.d/sysstat -%attr(644,root,root) /etc/sysconfig/sysstat -%attr(644,root,root) /etc/sysconfig/sysstat.ioconf -/etc/rc2.d/S01sysstat -/etc/rc3.d/S01sysstat -/etc/rc5.d/S01sysstat -%config(noreplace) %attr(0644,root,root) /etc/cron.d/sysstat - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/sysstat-12.0.2.lsm new/sysstat-12.0.2/sysstat-12.0.2.lsm --- old/sysstat-12.0.1/sysstat-12.0.2.lsm 1970-01-01 01:00:00.000000000 +0100 +++ new/sysstat-12.0.2/sysstat-12.0.2.lsm 2018-10-13 09:32:23.000000000 +0200 @@ -0,0 +1,35 @@ +Begin4 +Title: sysstat - the sar, sadf, mpstat, iostat, tapestat, pidstat and cifsiostat commands for Linux +Version: 12.0.2 +Entered-date: 2018-10-13 +Description: The sysstat package contains the sar, sadf, mpstat, iostat, tapestat, + pidstat, cifsiostat and sa tools for Linux. + The sar command collects and reports system activity + information. + The information collected by sar can be saved in a file + in a binary format for future inspection. + The statistics reported by sar concern I/O transfer rates, + paging activity, process-related activities, interrupts, + network activity, memory and swap space utilization, CPU + utilization, kernel activities and TTY statistics, among + others. Both UP and SMP machines are fully supported. + The sadf command is used to display data collected by sar in various + formats (XML, database-friendly, etc.) and to draw graphs (SVG). + The mpstat command reports global and per-processor statistics. + The iostat command reports CPU utilization and I/O statistics + for disks. + The tapestat command reports statistics for tape drives connected + to the system. + The pidstat command reports statistics for Linux tasks (processes). + The cifsiostat command reports I/O statistics for CIFS filesystems. + NB: Send bugs, patches, suggestions and/or questions to + (sysstat [at] orange.fr). + URL: http://pagesperso-orange.fr/sebastien.godard/ +Keywords: system administration, system monitoring, sar, sadf, iostat, mpstat, tapestat, pidstat, system accounting, performance, tuning +Author: syss...@nospam.orange.fr (Sebastien Godard) +Maintained-by: syss...@nospam.orange.fr (Sebastien Godard) +Primary-site: http://pagesperso-orange.fr/sebastien.godard/ + 589kiB sysstat-12.0.2.tar.xz +Alternate-site: +Copying-policy: GPL +End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysstat-12.0.1/sysstat-12.0.2.spec new/sysstat-12.0.2/sysstat-12.0.2.spec --- old/sysstat-12.0.1/sysstat-12.0.2.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/sysstat-12.0.2/sysstat-12.0.2.spec 2018-10-13 09:30:09.000000000 +0200 @@ -0,0 +1,83 @@ +Summary: SAR, SADF, MPSTAT, IOSTAT, TAPESTAT, PIDSTAT and CIFSIOSTAT for Linux +Name: sysstat +Version: 12.0.2 +Release: 1 +License: GPL +Group: Applications/System +Source0: %{name}-%{version}.tar.gz +URL: http://pagesperso-orange.fr/sebastien.godard/ +Packager: Sebastien Godard <sysstat _at_ orange.fr> +BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n) +Requires: gettext + +%description +The sysstat package contains the sar, sadf, mpstat, iostat, tapestat, +pidstat, cifsiostat and sa tools for Linux. +The sar command collects and reports system activity information. +The information collected by sar can be saved in a file in a binary +format for future inspection. The statistics reported by sar concern +I/O transfer rates, paging activity, process-related activities, +interrupts, network activity, memory and swap space utilization, CPU +utilization, kernel activities and TTY statistics, among others. Both +UP and SMP machines are fully supported. +The sadf command may be used to display data collected by sar in +various formats (CSV, XML, etc.) and to draw graphs (SVG). +The iostat command reports CPU utilization and I/O statistics for disks. +The tapestat command reports statistics for tapes connected to the system. +The mpstat command reports global and per-processor statistics. +The pidstat command reports statistics for Linux tasks (processes). +The cifsiostat command reports I/O statistics for CIFS filesystems. + +%define debug_package %{nil} + +%prep +%setup + +%build +# To include cron installation, add options --enable-install-cron and --enable-copy-only +./configure --prefix=%{_prefix} \ + --disable-file-attr \ + sa_lib_dir=%{_libdir}/sa \ + --mandir=%{_mandir} \ + DESTDIR=$RPM_BUILD_ROOT +make + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/var/log/sa + +make install + +mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d +install -m 755 sysstat $RPM_BUILD_ROOT/etc/rc.d/init.d/sysstat +mkdir -p $RPM_BUILD_ROOT/etc/sysconfig +install -m 644 sysstat.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/sysstat +install -m 644 sysstat.ioconf $RPM_BUILD_ROOT/etc/sysconfig/sysstat.ioconf +mkdir -p $RPM_BUILD_ROOT/etc/cron.d +install -m 644 cron/sysstat.crond.sample $RPM_BUILD_ROOT/etc/cron.d/sysstat +mkdir -p $RPM_BUILD_ROOT/etc/rc2.d +cd $RPM_BUILD_ROOT/etc/rc2.d && ln -sf ../init.d/sysstat S01sysstat +mkdir -p $RPM_BUILD_ROOT/etc/rc3.d +cd $RPM_BUILD_ROOT/etc/rc3.d && ln -sf ../init.d/sysstat S01sysstat +mkdir -p $RPM_BUILD_ROOT/etc/rc5.d +cd $RPM_BUILD_ROOT/etc/rc5.d && ln -sf ../init.d/sysstat S01sysstat + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc %{_datadir}/doc/sysstat-%{version}/* +%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/sa/* +%attr(644,root,root) %{_mandir}/man*/* +%attr(644,root,root) %{_datadir}/locale/*/LC_MESSAGES/sysstat.mo +%attr(755,root,root) %dir /var/log/sa +%attr(755,root,root) /etc/rc.d/init.d/sysstat +%attr(644,root,root) /etc/sysconfig/sysstat +%attr(644,root,root) /etc/sysconfig/sysstat.ioconf +/etc/rc2.d/S01sysstat +/etc/rc3.d/S01sysstat +/etc/rc5.d/S01sysstat +%config(noreplace) %attr(0644,root,root) /etc/cron.d/sysstat +