summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-09-01 03:37:41 +0000
committerCoprDistGit <infra@openeuler.org>2025-09-01 03:37:41 +0000
commit9277230d563667e3f0dcf643f8d8b6340b283959 (patch)
tree364b839c96fa63c0d28878b2b54cdd7796c61412
parentebea0bc511d8dea186a6a197da59354787b4ea1f (diff)
-rw-r--r--.gitignore1
-rw-r--r--atop-sysconfig.patch11
-rw-r--r--atop.d41
-rw-r--r--atop.spec441
-rw-r--r--sources2
5 files changed, 409 insertions, 87 deletions
diff --git a/.gitignore b/.gitignore
index 14d6007..07b0909 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/atop-2.7.1.tar.gz
+/atop-2.11.1.tar.gz
diff --git a/atop-sysconfig.patch b/atop-sysconfig.patch
new file mode 100644
index 0000000..6253b04
--- /dev/null
+++ b/atop-sysconfig.patch
@@ -0,0 +1,11 @@
+--- atop.daily~ 2019-01-12 16:37:19.000000000 -0600
++++ atop.daily 2019-02-25 15:33:13.243363452 -0600
+@@ -7,7 +7,7 @@
+ # allow administrator to overrule the variables
+ # defined above
+ #
+-DEFAULTSFILE=/etc/default/atop # possibility to overrule vars
++DEFAULTSFILE=/etc/sysconfig/atop # possibility to overrule vars
+
+ if [ -e "$DEFAULTSFILE" ]
+ then
diff --git a/atop.d b/atop.d
new file mode 100644
index 0000000..0195ad1
--- /dev/null
+++ b/atop.d
@@ -0,0 +1,41 @@
+#!/bin/bash
+
+# load sysconfig atop
+
+[ -f /etc/sysconfig/atop ] && . /etc/sysconfig/atop
+# Current Day format
+[ -z $CURDAY ] && CURDAY=`date +%Y%m%d`
+# Log files path
+[ -z $LOGPATH ] && LOGPATH=/var/log/atop
+# Binaries path
+[ -z $BINPATH ] && BINPATH=/usr/bin
+# PID File
+[ -z $PIDFILE ] && PIDFILE=/var/run/atop.pid
+# interval (default 10 minutes)
+[ -z $INTERVAL ] && INTERVAL=600
+
+
+start_atop() {
+# start atop for all processes with interval of $INTERVAL
+# (by default 10) minutes
+$BINPATH/atop -a -w $LOGPATH/atop_$CURDAY $INTERVAL > $LOGPATH/atop.log 2>&1 &
+echo $! > $PIDFILE
+}
+
+# verify if atop still runs for daily logging
+#
+if [ -f $PIDFILE ]; then
+ PID=`cat $PIDFILE`
+ if [ -s $PIDFILE ] && ps -p $PID | grep 'atop$' > /dev/null
+ then
+ kill -USR1 $PID # take final sample
+ sleep 3
+ kill -TERM $PID
+ rm $PIDFILE
+ sleep 1
+ else
+ exit 1
+ fi
+fi
+start_atop
+exit 0
diff --git a/atop.spec b/atop.spec
index 1c76c44..2473220 100644
--- a/atop.spec
+++ b/atop.spec
@@ -1,108 +1,377 @@
+%define _hardened_build 1
+
Name: atop
-Version: 2.7.1
-Release: 2
-Summary: Advanced System and Process Monitor
+Version: 2.11.1
+Release: 1%{?dist}
+Summary: An advanced interactive monitor to view the load on system and process level
+
+License: GPL-2.0-or-later
URL: https://www.atoptool.nl
-Source0: %{url}/download/%{name}-%{version}.tar.gz
-License: GPL-2.0-only
-Requires: zlib, ncurses
-BuildRequires: zlib-devel, ncurses-devel
+Source0: https://www.atoptool.nl/download/%{name}-%{version}.tar.gz
+Source1: atop.d
+
+Patch0: atop-sysconfig.patch
+
+BuildRequires: gcc
+BuildRequires: zlib-devel
+BuildRequires: ncurses-devel
+BuildRequires: glib2-devel
+BuildRequires: systemd
+BuildRequires: make
+
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
-%description
-Atop is an ASCII full-screen performance monitor for Linux that is
-capable of reporting the activity of all processes (even if processes
-have finished during the interval), daily logging of system and process
-activity for long-term analysis, highlighting overloaded system resources
-by using colors, etc. At regular intervals, it shows system-level
-activity related to the CPU, memory, swap, disks (including LVM) and
-network layers, and for every process (and thread) it shows e.g. the CPU
-utilization, memory growth, disk utilization, priority, username, state,
-and exit code.
-In combination with the optional kernel module netatop, it even shows
-network activity per process/thread.
+%description
+An advanced interactive monitor for Linux-systems to view the load on
+system-level and process-level.
+The command atop has some major advantages compared to other
+performance-monitors:
+ - Resource consumption by all processes
+ - Utilization of all relevant resources
+ - Permanent logging of resource utilization
+ - Highlight critical resources
+ - Watch activity only
+ - Watch deviations only
+ - Accumulated process activity per user
+ - Accumulated process activity per program
+
%prep
%setup -q
+%patch -P 0 -p0 -b .sysconfig
+
+# Correct unit file path
+sed -i "s|/etc/default/atop|/etc/sysconfig/atop|g" atop.service
%build
-export CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="-Wl,-z,now"
-%make_build
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS $(pkg-config --cflags glib-2.0) -I. -std=gnu17"
%install
-# generic build
-install -Dp -m 0755 atop $RPM_BUILD_ROOT/usr/bin/atop
-ln -s atop $RPM_BUILD_ROOT/usr/bin/atopsar
-install -Dp -m 0755 atopconvert $RPM_BUILD_ROOT/usr/bin/atopconvert
-install -Dp -m 0755 atopacctd $RPM_BUILD_ROOT/usr/sbin/atopacctd
-install -Dp -m 0755 atopgpud $RPM_BUILD_ROOT/usr/sbin/atopgpud
-install -Dp -m 0644 atop.default $RPM_BUILD_ROOT/etc/default/atop
-
-install -Dp -m 0644 man/atop.1 $RPM_BUILD_ROOT/usr/share/man/man1/atop.1
-install -Dp -m 0644 man/atopsar.1 $RPM_BUILD_ROOT/usr/share/man/man1/atopsar.1
-install -Dp -m 0644 man/atopconvert.1 $RPM_BUILD_ROOT/usr/share/man/man1/atopconvert.1
-install -Dp -m 0644 man/atoprc.5 $RPM_BUILD_ROOT/usr/share/man/man5/atoprc.5
-install -Dp -m 0644 man/atopacctd.8 $RPM_BUILD_ROOT/usr/share/man/man8/atopacctd.8
-install -Dp -m 0644 man/atopgpud.8 $RPM_BUILD_ROOT/usr/share/man/man8/atopgpud.8
-
-install -d -m 0755 $RPM_BUILD_ROOT/var/log/atop
-
-# systemd-specific build
-install -Dp -m 0644 atop.service $RPM_BUILD_ROOT/usr/lib/systemd/system/atop.service
-install -Dp -m 0644 atop-rotate.service $RPM_BUILD_ROOT/usr/lib/systemd/system/atop-rotate.service
-install -Dp -m 0644 atop-rotate.timer $RPM_BUILD_ROOT/usr/lib/systemd/system/atop-rotate.timer
-install -Dp -m 0644 atopacct.service $RPM_BUILD_ROOT/usr/lib/systemd/system/atopacct.service
-install -Dp -m 0644 atopgpu.service $RPM_BUILD_ROOT/usr/lib/systemd/system/atopgpu.service
-install -Dp -m 0755 atop-pm.sh $RPM_BUILD_ROOT/usr/lib/systemd/system-sleep/atop-pm.sh
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+install -Dp -m 0755 atop $RPM_BUILD_ROOT%{_bindir}/atop
+install -Dp -m 0755 atopconvert $RPM_BUILD_ROOT%{_bindir}/atopconvert
+ln -s atop $RPM_BUILD_ROOT%{_bindir}/atopsar
+install -Dp -m 0644 man/atop.1 $RPM_BUILD_ROOT%{_mandir}/man1/atop.1
+install -Dp -m 0644 man/atopsar.1 $RPM_BUILD_ROOT%{_mandir}/man1/atopsar.1
+install -Dp -m 0644 man/atopacctd.8 $RPM_BUILD_ROOT%{_mandir}/man8/atopacctd.8
+install -Dp -m 0755 atop.daily $RPM_BUILD_ROOT%{_datadir}/atop/atop.daily
+install -Dp -m 0644 atop.default $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/atop
+install -Dp -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/atopd
+install -Dp -m 0644 atop.service $RPM_BUILD_ROOT%{_unitdir}/atop.service
+install -d $RPM_BUILD_ROOT%{_localstatedir}/log/atop
+install -Dp -m 0755 atopacctd $RPM_BUILD_ROOT%{_sbindir}/atopacctd
+install -Dp -m 0644 atopacct.service $RPM_BUILD_ROOT%{_unitdir}/atopacct.service
+#%%if 0%%{?rhel} >= 8 || 0%%{?fedora}
+#install -Dp -m 0755 atopgpud $RPM_BUILD_ROOT%%{_sbindir}/atopgpud
+#install -Dp -m 0644 atopgpu.service $RPM_BUILD_ROOT%%{_unitdir}/atopgpu.service
+#%%endif
+install -Dp -m 0644 atop-rotate.* $RPM_BUILD_ROOT%{_unitdir}/
%post
-/bin/systemctl daemon-reload
-/bin/systemctl enable --now atopacct
-/bin/systemctl enable --now atop
-/bin/systemctl enable --now atop-rotate.timer
+%systemd_post atop.service atopacct.service atop-rotate.timer
+#%%if 0%%{?rhel} >= 8 || 0%%{?fedora}
+#%%systemd_post atopgpu.service
+#%%endif
%preun
-if [ $1 -eq 0 ]
-then
- /bin/systemctl disable --now atop
- /bin/systemctl disable --now atopacct
- /bin/systemctl disable --now atopgpu
-fi
+%systemd_preun atop.service atopacct.service atop-rotate.timer
+#%%if 0%%{?rhel} >= 8 || 0%%{?fedora}
+#%%systemd_preun atopgpu.service
+#%%endif
+
+%postun
+%systemd_postun_with_restart atop.service atopacct.service atop-rotate.timer
+#%%if 0%%{?rhel} >= 8 || 0%%{?fedora}
+#%%systemd_postun_with_restart atopgpu.service
+#%%endif
+
%files
-%defattr(-,root,root)
-%doc README COPYING AUTHOR ChangeLog
-/usr/bin/atop
-/usr/bin/atopconvert
-/usr/bin/atopsar
-/usr/sbin/atopacctd
-/usr/sbin/atopgpud
-/usr/share/man/man1/atop.1*
-/usr/share/man/man1/atopsar.1*
-/usr/share/man/man1/atopconvert.1*
-/usr/share/man/man5/atoprc.5*
-/usr/share/man/man8/atopacctd.8*
-/usr/share/man/man8/atopgpud.8*
-/usr/lib/systemd/system/atop.service
-/usr/lib/systemd/system/atop-rotate.service
-/usr/lib/systemd/system/atop-rotate.timer
-/usr/lib/systemd/system/atopacct.service
-/usr/lib/systemd/system/atopgpu.service
-/usr/lib/systemd/system-sleep/atop-pm.sh
-/etc/default/atop
-%dir /var/log/atop/
+%if 0%{?rhel}
+%doc COPYING
+%else
+%license COPYING
+%endif
+%doc README*
+%config(noreplace) %{_sysconfdir}/sysconfig/atop
+%{_bindir}/atopsar
+%{_bindir}/atop
+%{_bindir}/atopd
+%{_bindir}/atopconvert
+%{_mandir}/man1/atop.1.gz
+%{_mandir}/man1/atopsar.1.gz
+%{_mandir}/man8/atopacctd.8.gz
+%attr(0755,root,root) %dir %{_localstatedir}/log/atop
+%{_unitdir}/atop*.service
+%{_unitdir}/atop*.timer
+%{_datadir}/atop/atop.daily
+%{_sbindir}/atopacctd
+#%%if 0%%{?rhel} >= 8 || 0%%{?fedora}
+#%%{_sbindir}/atopgpud
+#%%endif
%changelog
-* Mon Jul 18 2022 wangkai <wangkai385@h-partners.com> - 2.7.1-2
-- License compliance rectification
+* Mon Mar 31 2025 Gwyn Ciesla <gwync@protonmail.com> - 2.11.1-1
+- 2.11.1
+
+* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
+
+* Mon Jul 29 2024 Gwyn Ciesla <gwync@protonmail.com> - 2.11.0-1
+- 2.11.0
+
+* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
+
+* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Thu Jan 04 2024 Gwyn Ciesla <gwync@protonmail.com> - 2.10.0-1
+- 2.10.0
+
+* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Mon May 15 2023 Gwyn Ciesla <gwync@protonmail.com> - 2.9.0-1
+- 2.9.0
+
+* Sun Mar 05 2023 Gwyn Ciesla <gwync@protonmail.com> - 2.8.1-3
+- migrated to SPDX license
+
+* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Mon Jan 09 2023 Gwyn Ciesla <gwync@protonmail.com> - 2.8.1-1
+- 2.8.1
+
+* Tue Jan 03 2023 Gwyn Ciesla <gwync@protonmail.com> - 2.8.0-1
+- 2.8.0
+
+* Wed Dec 07 2022 Gwyn Ciesla <gwync@protonmail.com> - 2.7.1-4
+- Include atopacctd man page
+
+* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Tue Jan 11 2022 Gwyn Ciesla <gwync@protonmail.com> - 2.7.1-1
+- 2.7.1
+- Drop atopgpud as it requires proprietary NVIDIA drivers.
+
+* Mon Dec 20 2021 Gwyn Ciesla <gwync@protonmail.com> - 2.7.0-1
+- 2.7.0
+
+* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Apr 13 2021 Gwyn Ciesla <gwync@protonmail.com> - 2.6.0-6
+- Upstream patch to fix service file.
+
+* Tue Mar 23 2021 Gwyn Ciesla <gwync@protonmail.com> - 2.6.0-5
+- Use upstream sysconfig file.
+
+* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.6.0-4
+- Rebuilt for updated systemd-rpm-macros
+ See https://pagure.io/fesco/issue/2583.
+
+* Mon Feb 22 2021 Gwyn Ciesla <gwync@protonmail.com> - 2.6.0-3
+- Don't ship atopgpud on EL-7
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Mon Dec 21 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.6.0-1
+- 2.6.0
+
+* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Fri May 29 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.5.1-1
+- Fix unit file path.
+
+* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Sun Nov 03 2019 Gwyn Ciesla <gwync@protonmail.com> - 2.5.0-1
+- 2.5.0
+
+* Thu Sep 05 2019 Gwyn Ciesla <gwync@protonmail.com> - 2.4.0-4
+- Package atopacctd.
+
+* Wed Aug 28 2019 Gwyn Ciesla <gwync@protonmail.com> - 2.4.0-3
+- Fix LOGINTERVAL in sysconfig.
+
+* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Mon Feb 25 2019 Gwyn Ciesla <gwync@protonmail.com> - 2.4.0-1
+- 2.4.0: omitting atopgpud until nvidia-ml-py is in Fedora.
+
+* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Fri Sep 14 2018 Filipe Rosset <rosset.filipe@gmail.com> - 2.3.0-12
+- Fix FTBFS rhbz #1603433
+
+* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.3.0-10
+- Escape macros in %%changelog
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Fri Dec 29 2017 Gwyn Ciesla <limburgher@gmail.com> - 2.3.0-8
+- Apply the patch from the previous ENVR.
+
+* Mon Dec 11 2017 Gwyn Ciesla <limburgher@gmail.com> - 2.3.0-7
+- try-restart in cron, not restart, BZ 1524436.
+
+* Fri Dec 08 2017 Gwyn Ciesla <limburgher@gmail.com> - 2.3.0-6
+- Drop obsolete README.fedora.
+
+* Fri Dec 08 2017 Gwyn Ciesla <limburgher@gmail.com> - 2.3.0-5
+- Patch to support nvme disks, BZ 1523419.
+- Patch to support /etc/sysconfig/atop, BZ 1520475.
+
+* Tue Nov 07 2017 Gwyn Ciesla <limburgher@gmail.com> - 2.3.0-4
+- Move from logrotate to upstream script.
+
+* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Wed Mar 29 2017 Gwyn Ciesla <limburgher@gmail.com> - 2.3.0-1
+- 2.3.0, BZ 1436833.
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Wed Dec 21 2016 Jon Ciesla <limburgher@gmail.com> - 2.2-1
+- Fix logrotate, 1247869
+- 2.2
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu May 7 2015 Richard Shaw <hobbes1069@gmail.com> - 2.1-1
+- Update to latest upstream release.
+- Fixes segmentation faults (BZ#1147145).
+- Update spec file to use licence macro where appropriate.
+- Modernize spec file and convert to new systemd scriptlets.
+
+* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Fri Mar 01 2013 Jon Ciesla <limburgher@gmail.com> - 2.0.2-1
+- Latest upstream, BZ 916908.
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Tue Jul 24 2012 Jon Ciesla <limburgher@gmail.com> - 1.26-8
+- Unit file fix, BZ 840942.
+
+* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Mon May 14 2012 Jon Ciesla <limburgher@gmail.com> - 1.26-6
+- Fix cron patch for systemd, BZ 821104.
+
+* Fri May 11 2012 Jon Ciesla <limburgher@gmail.com> - 1.26-5
+- Re-add atop.log logrotate section.
+- Modify cron setup per BZ 445174 comment #6.
+
+* Wed May 09 2012 Jon Ciesla <limburgher@gmail.com> - 1.26-4
+- Dropped logrotate, conflicts with atop's logging, BZ 542598.
+- Corrected cron config, BZ 819523.
+
+* Fri Apr 13 2012 Jon Ciesla <limburgher@gmail.com> - 1.26-3
+- Add hardened build.
+
+* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Jun 21 2011 Jon Ciesla <limb@jcomserv.net> - 1.26-1
+- New upstream, BZ 657207.
+- Migrated from sysv to systemd, BZ 659629.
+- Modified to respect sysconfig settings, BZ 609124.
+- Dropped explicit Requires for ncurses.
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Jul 21 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.23-8
+- add bug fixes for #455223 and #455375
+ logrotate output error:
+ error: atop:prerotate or postrotate without endscript
+
+* Mon May 5 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.23-7
+- add bug fixes for #445174
+
+* Thu Apr 3 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.23-6
+- removed variable DATALIFE from atop.d and atop.crondaily
+
+* Wed Apr 2 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.23-5
+- improved atop.d and atop.crondaily (Manuel Wolfshant)
+
+* Mon Mar 31 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.23-4
+- logical bash bug on atop.d and atop.crondaily
+- implemented security on atop.d and atop.crondaily
+- common script for init and cron.daily
+
+* Sat Mar 29 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.23-3
+- deleted duplicate "-p" on spec file (install)
+- modified comment about interval on atop.d and atop.crondaily
+- removed check atop.log on atop.d and atop.crondaily
+- created new section on atop.crondaily
+
+* Thu Mar 27 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.23-2
+- removed atop start on %%post
+- atop.crondaily with exit after checking
+- created atop.sysconfig with variables
+- created atop.d (removed atop.crondaily call from cron.init)
+
+* Thu Mar 27 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.23-1
+- update 1.23
+- bug on source2 (init file)
-* Wed Jun 22 2022 yangzhao <yangzhao1@kylinos.com> - 2.7.1-1
-- Upgrade to 2.7.1
+* Sun Jan 27 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.22-3
+- removed minimal version from requires/build-requires
+- corrected variable in atop.crondaily
+- corrected comentary in atop.crondaily
-* Fri Dec 25 2020 licihua <licihua@hawei.com> - 2.6.0-1
-- Upgrade to 2.6.0
+* Sun Jan 27 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.22-2
+- corrected license tag to GPLv2+
+- replaced references to atop (init file)
+- rebuild with Fedora mandatory flags (make %%{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS")
+- chkconfig and service added at pre/post scriptlets
+- improved name in logrotate file configuration
+- corrected english description
-* Fri Jul 24 2020 ethan848 <mingfangsen@huawei.com> - 2.5.0-1
+* Sat Jan 26 2008 Kairo Araujo <kairoaraujo@gmail.com> - 1.22-1
- Initial RPM release
diff --git a/sources b/sources
index 840c2d2..20b4a2f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-25b41209435da224e4509dcc12bba328 atop-2.7.1.tar.gz
+fc69cbbbaed377ed57291a5f49961d81 atop-2.11.1.tar.gz