Hello community,

here is the log from the commit of package atop for openSUSE:Leap:15.2 checked 
in at 2020-02-21 10:53:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/atop (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.atop.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "atop"

Fri Feb 21 10:53:14 2020 rev:10 rq:777694 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/atop/atop.changes      2020-01-15 
14:47:40.741308751 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.atop.new.26092/atop.changes   2020-02-21 
10:54:16.263541158 +0100
@@ -1,0 +2,88 @@
+Tue Aug 20 11:32:08 CEST 2019 - [email protected]
+
+- Package /etc/cron.d, as this is now part of cron which we don't
+  want to require
+
+-------------------------------------------------------------------
+Sun Feb 17 20:14:07 UTC 2019 - Matthias Eliasson <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
+Mon Jun 25 09:49:45 UTC 2018 - [email protected]
+
+- Correct copyright attribution 
+
+-------------------------------------------------------------------
+Sun Jun 10 11:22:35 UTC 2018 - [email protected]
+
+- 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.4.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ atop.spec ++++++
--- /var/tmp/diff_new_pack.ZGlD85/_old  2020-02-21 10:54:16.811542361 +0100
+++ /var/tmp/diff_new_pack.ZGlD85/_new  2020-02-21 10:54:16.815542370 +0100
@@ -1,5 +1,9 @@
 # vim: set ts=4 sw=4 et:
-
+#
+# spec file for package atop
+#
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 The openSUSE Project.
 # Copyright (c) 2012 Pascal Bleser <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -11,28 +15,31 @@
 # 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.2
-%define pkg_version %{version}-3
+Version:        2.4.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,9 @@
 Summary:        System Resource and Process Monitoring History Daemon
 Group:          System/Monitoring
 Requires:       %{name} = %{version}-%{release}
-Recommends:     logrotate
+Requires(post): permissions
 Recommends:     cron
+Recommends:     logrotate
 
 %description daemon
 Atop is an ASCII full-screen performance monitor, similar to the top
@@ -67,73 +75,85 @@
 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 -m0644 "atopgpu.service" 
"%{buildroot}%{_usr}/lib/systemd/system/atopgpu.service"
 
-%__install -D -m 0644 atop.cronsystemd "%{buildroot}/etc/cron.d/%{name}"
+install -D -m 0644 atop.cronsystemd "%{buildroot}%{_sysconfdir}/cron.d/%{name}"
 
-%__install -D -m 0644 "%{SOURCE1}" 
"%{buildroot}%{_datadir}/applications/%{name}.desktop"
+install -D -m 0644 "%{SOURCE1}" 
"%{buildroot}%{_datadir}/applications/%{name}.desktop"
 %if 0%{?suse_update_desktop_file:1}
 %suse_update_desktop_file -r "%{name}" System Monitor
 %endif
 
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcatopacct
+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 atopgpu.service atopacct.service
 
 %post daemon
-%service_add_post atop.service atopacct.service
+%service_add_post atop.service atopgpu.service atopacct.service
+%set_permissions /etc/cron.d
 
 %postun daemon
-%service_del_postun atop.service atopacct.service
+%service_del_postun atop.service atopgpu.service atopacct.service
 
 %preun daemon
-%service_del_preun atop.service atopacct.service
+%service_del_preun atop.service atopgpu.service atopacct.service
+
+%verifyscript daemon
+%verify_permissions -e /etc/cron.d
 
 %files
-%defattr(-,root,root)
-%doc COPYING README
+%license COPYING
+%doc README
 %attr(0755,root,root) %{_bindir}/atop
+%dir %{_datadir}/%{name}
 %{_bindir}/atopsar
-%{_bindir}/atop-%{pkg_version}
-%{_bindir}/atopsar-%{pkg_version}
-%doc %{_mandir}/man1/atop.1*
-%doc %{_mandir}/man1/atopsar.1*
-%doc %{_mandir}/man5/atoprc.5*
+%{_bindir}/atopconvert
+%{_bindir}/atop-%{version}
+%{_bindir}/atopsar-%{version}
+%{_mandir}/man1/atop.1%{?ext_man}
+%{_mandir}/man1/atopconvert.1%{?ext_man}
+%{_mandir}/man1/atopsar.1%{?ext_man}
+%{_mandir}/man5/atoprc.5%{?ext_man}
 %{_datadir}/applications/%{name}.desktop
 
 %files daemon
-%defattr(-,root,root)
-%doc COPYING README
-%attr(0700,root,root) %dir %{_sysconfdir}/atop
-%attr(0700,root,root) %{_sysconfdir}/atop/atop.daily
-%config(noreplace) /etc/logrotate.d/psaccs_atop
-%config(noreplace) /etc/logrotate.d/psaccu_atop
-%config(noreplace) /etc/cron.d/%{name}
+%license COPYING
+%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
 %{_usr}/lib/systemd/system/%{name}.service
-%doc %{_mandir}/man8/atopacctd.8*
+%{_mandir}/man8/atopacctd.8%{?ext_man}
+%{_mandir}/man8/atopgpud.8%{?ext_man}
 %{_usr}/lib/systemd/system/atopacct.service
+%{_usr}/lib/systemd/system/atopgpu.service
 %dir %{_usr}/lib/systemd/system-sleep
 %{_usr}/lib/systemd/system-sleep/atop-pm.sh
 %{_sbindir}/atopacctd
+%{_sbindir}/atopgpud
 %{_sbindir}/rcatopacct
 %{_sbindir}/rc%{name}
+%{_sbindir}/rcatopgpu
 
 %changelog

++++++ atop-2.2-3.tar.gz -> atop-2.4.0.tar.gz ++++++
++++ 14931 lines of diff (skipped)

++++++ atop-makefile.patch ++++++
--- /var/tmp/diff_new_pack.ZGlD85/_old  2020-02-21 10:54:16.899542554 +0100
+++ /var/tmp/diff_new_pack.ZGlD85/_new  2020-02-21 10:54:16.899542554 +0100
@@ -1,26 +1,24 @@
-Index: Makefile
-===================================================================
---- Makefile.orig
-+++ Makefile
-@@ -19,7 +19,7 @@ PMPATH1  = /usr/lib/pm-utils/sleep.d
+--- Makefile.orig      2019-02-17 20:50:16.874724096 +0100
++++ Makefile   2019-02-17 20:53:40.400556018 +0100
+@@ -19,7 +19,7 @@
  PMPATH2  = /usr/lib64/pm-utils/sleep.d
  PMPATHD  = /usr/lib/systemd/system-sleep
  
--CFLAGS  += -O2 -I. -Wall       # -DHTTPSTATS
-+CFLAGS  += $(OPTFLAGS) -I.  # -DHTTPSTATS
+-CFLAGS  += -O2 -I. -Wall  # -DNOPERFEVENT   # -DHTTPSTATS
++CFLAGS  += $(OPTFLAGS) -I. -Wall  # -DHTTPSTATS
  OBJMOD0  = version.o
  OBJMOD1  = various.o  deviate.o   procdbase.o
  OBJMOD2  = acctproc.o photoproc.o photosyst.o  rawlog.o ifprop.o parseable.o
-@@ -41,7 +41,7 @@ atopacctd:   atopacctd.o netlink.o
-               $(CC) atopacctd.o netlink.o -o atopacctd $(LDFLAGS)
+@@ -45,7 +45,7 @@
+               $(CC) atopconvert.o -o atopconvert -lz $(LDFLAGS)
  
  netlink.o:    netlink.c
 -              $(CC) -I. -Wall -c netlink.c
 +              $(CC) -I. -Wall $(OPTFLAGS) -c netlink.c
  
  clean:
-               rm -f *.o
-@@ -138,11 +138,11 @@ genericinstall:  atop atopacctd
+               rm -f *.o atop atopacctd atopconvert
+@@ -144,19 +144,19 @@
                then    mkdir -p $(DESTDIR)$(ROTPATH);  fi
                #
                cp atop                 $(DESTDIR)$(BINPATH)/atop
@@ -32,5 +30,15 @@
 -              chown root              $(DESTDIR)$(SBINPATH)/atopacctd
 +              #chown root             $(DESTDIR)$(SBINPATH)/atopacctd
                chmod 0700              $(DESTDIR)$(SBINPATH)/atopacctd
+               cp atopgpud             $(DESTDIR)$(SBINPATH)/atopgpud
+-              chown root              $(DESTDIR)$(SBINPATH)/atopgpud
++              #chown root             $(DESTDIR)$(SBINPATH)/atopgpud
+               chmod 0700              $(DESTDIR)$(SBINPATH)/atopgpud
                cp atop                 $(DESTDIR)$(BINPATH)/atop-$(VERS)
                ln -sf atop-$(VERS)     $(DESTDIR)$(BINPATH)/atopsar-$(VERS)
+               cp atopconvert          $(DESTDIR)$(BINPATH)/atopconvert
+-              chown root              $(DESTDIR)$(BINPATH)/atopconvert
++              #chown root             $(DESTDIR)$(BINPATH)/atopconvert
+               chmod 0711              $(DESTDIR)$(BINPATH)/atopconvert
+               cp atop.daily           $(DESTDIR)$(SCRPATH)
+               chmod 0711              $(DESTDIR)$(SCRPATH)/atop.daily


Reply via email to