commit atop for openSUSE:Factory

2020-08-29 Thread root
Hello community,

here is the log from the commit of package atop for openSUSE:Factory checked in 
at 2020-08-29 20:33:26

Comparing /work/SRC/openSUSE:Factory/atop (Old)
 and  /work/SRC/openSUSE:Factory/.atop.new.3399 (New)


Package is "atop"

Sat Aug 29 20:33:26 2020 rev:5 rq:829616 version:2.5.0

Changes:

--- /work/SRC/openSUSE:Factory/atop/atop.changes2019-08-22 
10:53:30.705690712 +0200
+++ /work/SRC/openSUSE:Factory/.atop.new.3399/atop.changes  2020-08-29 
20:33:37.929245086 +0200
@@ -1,0 +2,36 @@
+Fri Jul 31 20:26:06 UTC 2020 - Matthias Eliasson 
+
+- Update to version 2.5.0 
+  Modifications for atop:
+  * Avoid using perf counters in VM
+New option 'perfevents' in the atoprc file to define if the Instructions
+   Per Cycle (IPC) should be retrieved via the 'perf' counters. Specify
+   value 'auto' (default), 'enable' or 'disable'. In case of 'auto', the
+   Instructions Per Cycle counter will not be retrieved on VMs due to the
+   overhead of reading this counter in a guest.
+  * Improve daily rotation of logfile for systemd-based systems.
+Exchange the files /etc/cron.d/atop, /etc/logrotate.d/psaccs_atop,
+   /etc/logrotate.d/psaccu_atop, /usr/share/atop/atop.daily,
+   /var/log/atop/dummy_after and /var/log/atop/dummy_before by
+   atop-rotate.service and atop-rotate.timer.
+  * Bug fixes:
+Correction of PSI value 'io full'.
+Use smaps_rollup (if present) instead of smaps for better performance.
+Use writev instead of 3 single writes to avoid logfile corruption.
+Modified handling of error messages (remain visible after window is
+   closed).
+Correct CID for containers created by Kubernetes.
+Allow reading a logfile via a named pipe (non-seekable).
+  Modifications for atopconvert:
+  * Show version of input file (even if only one parameter specified).
+  General:
+  * The format of the raw file is compatible with version 2.4.
+- Run spec-cleaner
+- Remove requires for cron and logrotate now that there is systemd service
+  and timers handling logrotation
+- Remove Requires(post) for permissions since atop does not use cron files 
anymore
+- Refresh patch:
+  * atop-makefile.patch
+- Add atop defaults in /etc/default/atop
+
+---

Old:

  atop-2.4.0.tar.gz

New:

  atop-2.5.0.tar.gz
  atop.default



Other differences:
--
++ atop.spec ++
--- /var/tmp/diff_new_pack.iAAGum/_old  2020-08-29 20:33:38.837245469 +0200
+++ /var/tmp/diff_new_pack.iAAGum/_new  2020-08-29 20:33:38.837245469 +0200
@@ -2,7 +2,7 @@
 #
 # spec file for package atop
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2018 The openSUSE Project.
 # Copyright (c) 2012 Pascal Bleser 
 #
@@ -20,14 +20,14 @@
 
 
 Name:   atop
-Version:2.4.0
+Version:2.5.0
 Release:0
 Summary:Monitor for System Resources and Process Activity
 License:GPL-2.0-only
-Group:  System/Monitoring
-URL:http://www.atoptool.nl/
-Source: http://www.atoptool.nl/download/atop-%{version}.tar.gz
+URL:https://www.atoptool.nl/
+Source0:http://www.atoptool.nl/download/atop-%{version}.tar.gz
 Source1:atop.desktop
+Source2:atop.default
 Source99:   atop-rpmlintrc
 Patch1: atop-makefile.patch
 BuildRequires:  gcc
@@ -54,11 +54,7 @@
 
 %package daemon
 Summary:System Resource and Process Monitoring History Daemon
-Group:  System/Monitoring
 Requires:   %{name} = %{version}-%{release}
-Requires(post): permissions
-Recommends: cron
-Recommends: logrotate
 
 %description daemon
 Atop is an ASCII full-screen performance monitor, similar to the top
@@ -75,25 +71,24 @@
 information about processes and system resources.
 
 %prep
-%setup -q
-%patch1
+%autosetup -p1
 
 %build
-make %{?_smp_mflags} \
+%make_build \
  OPTFLAGS="%{optflags} -fstack-protector" \
  CC="gcc"
 
 %install
 install -d "%{buildroot}%{_sbindir}"
+install -d "%{buildroot}%{_sysconfdir}/default"
+install -Dp -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/default/atop
+
 make systemdinstall DESTDIR=%{buildroot}
 
 rm -f "%{buildroot}%{_localstatedir}/log/atop"/*
 
 install -D -m0644 "atop.service" 
"%{buildroot}%{_usr}/lib/systemd/system/%{name}.service"
 install -D -m0644 "atopgpu.service" 
"%{buildroot}%{_usr}/lib/systemd/system/atopgpu.service"
-
-install -D -m 0644 atop.cronsystemd "%{buildroot}%{_sysconfdir}/cron.d/%{name}"
-
 install -D -m 0644 "%{SOURCE1}" 
"%{buildroot}%{_datadir}/applications/%{name}.desktop"
 %if 0%{?suse_update_desktop_file:1}
 %suse_update_desktop_file -r "%{name}" 

commit atop for openSUSE:Factory

2019-08-22 Thread root
Hello community,

here is the log from the commit of package atop for openSUSE:Factory checked in 
at 2019-08-22 10:53:29

Comparing /work/SRC/openSUSE:Factory/atop (Old)
 and  /work/SRC/openSUSE:Factory/.atop.new.22127 (New)


Package is "atop"

Thu Aug 22 10:53:29 2019 rev:4 rq:724885 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/atop/atop.changes2019-04-04 
12:07:47.289418734 +0200
+++ /work/SRC/openSUSE:Factory/.atop.new.22127/atop.changes 2019-08-22 
10:53:30.705690712 +0200
@@ -1,0 +2,6 @@
+Tue Aug 20 11:32:08 CEST 2019 - ku...@suse.de
+
+- Package /etc/cron.d, as this is now part of cron which we don't
+  want to require
+
+---



Other differences:
--
++ atop.spec ++
--- /var/tmp/diff_new_pack.DaoVlM/_old  2019-08-22 10:53:31.193690646 +0200
+++ /var/tmp/diff_new_pack.DaoVlM/_new  2019-08-22 10:53:31.197690645 +0200
@@ -56,6 +56,7 @@
 Summary:System Resource and Process Monitoring History Daemon
 Group:  System/Monitoring
 Requires:   %{name} = %{version}-%{release}
+Requires(post): permissions
 Recommends: cron
 Recommends: logrotate
 
@@ -107,6 +108,7 @@
 
 %post daemon
 %service_add_post atop.service atopgpu.service atopacct.service
+%set_permissions /etc/cron.d
 
 %postun daemon
 %service_del_postun atop.service atopgpu.service atopacct.service
@@ -114,6 +116,9 @@
 %preun daemon
 %service_del_preun atop.service atopgpu.service atopacct.service
 
+%verifyscript daemon
+%verify_permissions -e /etc/cron.d
+
 %files
 %license COPYING
 %doc README
@@ -134,6 +139,7 @@
 %doc README
 %config(noreplace) %{_sysconfdir}/logrotate.d/psaccs_atop
 %config(noreplace) %{_sysconfdir}/logrotate.d/psaccu_atop
+%dir %{_sysconfdir}/cron.d
 %config(noreplace) %{_sysconfdir}/cron.d/%{name}
 %{_datadir}/%{name}/atop.daily
 %{_localstatedir}/log/atop




commit atop for openSUSE:Factory

2019-04-04 Thread root
Hello community,

here is the log from the commit of package atop for openSUSE:Factory checked in 
at 2019-04-04 12:07:44

Comparing /work/SRC/openSUSE:Factory/atop (Old)
 and  /work/SRC/openSUSE:Factory/.atop.new.3908 (New)


Package is "atop"

Thu Apr  4 12:07:44 2019 rev:3 rq:691020 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/atop/atop.changes2018-06-27 
10:21:57.514862282 +0200
+++ /work/SRC/openSUSE:Factory/.atop.new.3908/atop.changes  2019-04-04 
12:07:47.289418734 +0200
@@ -1,0 +2,50 @@
+Sun Feb 17 20:14:07 UTC 2019 - Matthias Eliasson 
+
+- Update to 2.4.0
+  * Modifications for atop:
++ Support for Nvidia GPU statistics:
+  A separate daemon atopgpud has been developed to maintain statistics of
+ Nvidia GPUs in the system. When this daemon is running, atop will
+ connect to this daemon and will get/show the GPU statistics with every
+ interval on system level and process level (key 'e').
+  The atopgpud daemon will only be active when it is explicitly enabled 
+ (see man pages for more info).
++ Support for Infiniband statistics:
+  Counters showing the bandwidth utilization of Infiniband ports
+ (system level) are added.
++ Support for Pressure Stall Information (PSI):
+  The average pressure percentages of CPU, memory and I/O are reported
+ for the last 10, 60 and 300 seconds. These percentage are provided 
from
+ kernel 4.20 onwards.
++ Faster startup of atop:
+  The allocation strategy for processes and threads has been improved,
+ which will specifically be noticable on larger systems with lots of
+ multi-threaded processes.
++ Configurable options for atop running in the background:
+  Default options of script atop.daily can be overruled by
+ /etc/default/atop file.
++ CPU Instructions Per Cycle (IPC):
+  For every CPU, the average number of instructions per CPU cycle is
+ shown as 'ipc'. Besides, a column is shown with the number of cycles
+ executed per second as `cycl` (shown as effective Hz frequency).
++ Various fixes:
+  Various NFS counters corrected.
+  Recognition of nvme and nbd disks.
+  Recognition of DEADLINE scheduling policy.
+  Proper handling of memory locking (improper handling caused malloc
+ failures in previous versions).
+  * New program atopconvert:
++ This program can be used to convert the layout of older raw files to
+ newer raw files. Raw files from atop 2.0 onwards can be converted to
+ the newest version (now: 2.4).
+  * Modifications for atopsar:
++ Reports can be printed now about the utilization of GPUs and Infiniband,
+ and about the PSI percentages.
+  * General:
++ The format of the raw file is incompatible with earlier versions.
+ However, old raw files can be converted now by the program atopconvert
+ to be read or extended by newer atop versions.
+- Clean with spec-cleaner
+- Refresh atop-makefile.patch
+
+---

Old:

  atop-2.3.0.tar.gz

New:

  atop-2.4.0.tar.gz



Other differences:
--
++ atop.spec ++
--- /var/tmp/diff_new_pack.c1GAGd/_old  2019-04-04 12:07:48.393417688 +0200
+++ /var/tmp/diff_new_pack.c1GAGd/_new  2019-04-04 12:07:48.393417688 +0200
@@ -2,7 +2,7 @@
 #
 # spec file for package atop
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2018 The openSUSE Project.
 # Copyright (c) 2012 Pascal Bleser 
 #
@@ -15,12 +15,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:   atop
-Version:2.3.0
+Version:2.4.0
 Release:0
 Summary:Monitor for System Resources and Process Activity
 License:GPL-2.0-only
@@ -89,6 +89,7 @@
 rm -f "%{buildroot}%{_localstatedir}/log/atop"/*
 
 install -D -m0644 "atop.service" 
"%{buildroot}%{_usr}/lib/systemd/system/%{name}.service"
+install -D -m0644 "atopgpu.service" 
"%{buildroot}%{_usr}/lib/systemd/system/atopgpu.service"
 
 install -D -m 0644 atop.cronsystemd "%{buildroot}%{_sysconfdir}/cron.d/%{name}"
 
@@ -99,18 +100,19 @@
 
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcatopacct
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcatopgpu
 
 %pre daemon
-%service_add_pre atop.service atopacct.service
+%service_add_pre atop.service 

commit atop for openSUSE:Factory

2018-06-27 Thread root
Hello community,

here is the log from the commit of package atop for openSUSE:Factory checked in 
at 2018-06-27 10:21:54

Comparing /work/SRC/openSUSE:Factory/atop (Old)
 and  /work/SRC/openSUSE:Factory/.atop.new (New)


Package is "atop"

Wed Jun 27 10:21:54 2018 rev:2 rq:619041 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/atop/atop.changes2017-02-03 
17:31:44.967244059 +0100
+++ /work/SRC/openSUSE:Factory/.atop.new/atop.changes   2018-06-27 
10:21:57.514862282 +0200
@@ -1,0 +2,32 @@
+Mon Jun 25 09:49:45 UTC 2018 - rbr...@suse.com
+
+- Correct copyright attribution 
+
+---
+Sun Jun 10 11:22:35 UTC 2018 - antoine.belv...@opensuse.org
+
+- Update to 2.3:
+  * Modifications for atop:
++ Support for Docker containers.
++ Improved gathering of process data.
++ Improved memory figures for processes.
++ Variable width for PID column.
++ Better handling when started via sudo (not entering stopped
++ state).
++ Handling of disk drives starting with 'xvd...'.
+  * Modifications for atopacct:
++ Better error handling of Netlink interface.
++ Immediate reaction when receiving SIGTERM signal.
++ Bypass for kernel bug 190711 (Netlink interface not
+  available).
++ Bypass for kernel bug 190271 (process accounting does not
+  always start).
+  * Modifications for atopsar:
++ Top-3 of resource consuming processes only shows active
+  processes now.
+  * General:
++ The format of the raw file is upward compatible with version
+  2.2-3.
+- Clean with spec-cleaner.
+
+---

Old:

  atop-2.2-3.tar.gz

New:

  atop-2.3.0.tar.gz



Other differences:
--
++ atop.spec ++
--- /var/tmp/diff_new_pack.jGaNes/_old  2018-06-27 10:21:58.322832815 +0200
+++ /var/tmp/diff_new_pack.jGaNes/_new  2018-06-27 10:21:58.326832669 +0200
@@ -1,5 +1,9 @@
 # vim: set ts=4 sw=4 et:
-
+#
+# spec file for package atop
+#
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 The openSUSE Project.
 # Copyright (c) 2012 Pascal Bleser 
 #
 # All modifications and additions to the file contributed by third parties
@@ -12,27 +16,30 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 
 Name:   atop
-Version:2.2
-%define pkg_version %{version}-3
+Version:2.3.0
 Release:0
 Summary:Monitor for System Resources and Process Activity
-Source: http://www.atoptool.nl/download/atop-%{pkg_version}.tar.gz
+License:GPL-2.0-only
+Group:  System/Monitoring
+URL:http://www.atoptool.nl/
+Source: http://www.atoptool.nl/download/atop-%{version}.tar.gz
 Source1:atop.desktop
 Source99:   atop-rpmlintrc
 Patch1: atop-makefile.patch
-URL:http://www.atoptool.nl/
-Group:  System/Monitoring
-License:GPL-2.0
-BuildRoot:  %{_tmppath}/build-%{name}-%{version}
-BuildRequires:  ncurses-devel make glibc-devel gcc
-BuildRequires:  zlib-devel
+BuildRequires:  gcc
+BuildRequires:  glibc-devel
+BuildRequires:  make
+BuildRequires:  ncurses-devel
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  zlib-devel
+%{?systemd_requires}
 %if 0%{?suse_version:1}
 BuildRequires:  update-desktop-files
 %endif
-%{?systemd_requires}
 
 %description
 Atop is an ASCII full-screen performance monitor, similar to the top
@@ -49,8 +56,8 @@
 Summary:System Resource and Process Monitoring History Daemon
 Group:  System/Monitoring
 Requires:   %{name} = %{version}-%{release}
-Recommends: logrotate
 Recommends: cron
+Recommends: logrotate
 
 %description daemon
 Atop is an ASCII full-screen performance monitor, similar to the top
@@ -67,32 +74,31 @@
 information about processes and system resources.
 
 %prep
-%setup -q -n "%{name}-%{pkg_version}"
+%setup -q
 %patch1
 
 %build
-%__make %{?_smp_mflags} \
+make %{?_smp_mflags} \
  OPTFLAGS="%{optflags} -fstack-protector" \
- CC="%__cc" \
- INIPATH=/etc/init.d
+ CC="gcc"
 
 %install
-%__install -d "%{buildroot}%{_sbindir}"
+install -d "%{buildroot}%{_sbindir}"
 make systemdinstall DESTDIR=%{buildroot}
 
-%__rm -f "%{buildroot}%{_localstatedir}/log/atop"/*
+rm -f "%{buildroot}%{_localstatedir}/log/atop"/*
 
-%__install -D -m0644 "atop.service" 
"%{buildroot}%{_usr}/lib/systemd/system/%{name}.service"
+install -D -m0644 "atop.service" 
"%{buildroot}%{_usr}/lib/systemd/system/%{name}.service"
 
-%__install -D -m 0644 atop.cronsystemd "%{buildroot}/etc/cron.d/%{name}"
+install -D -m 0644 atop.cronsystemd