atop: upgrade 2.11.0 -> 2.12.0

0001-Redefine-function-prototypes-solves-issue-322.patch
removed since it's included in 2.12.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu 2025-07-30 17:54:19 +08:00 committed by Khem Raj
parent f3723244d7
commit 01bdd493e8
No known key found for this signature in database
GPG Key ID: BB053355919D3314
3 changed files with 7 additions and 1162 deletions

View File

@ -1,4 +1,4 @@
From d9498d10d0e8241749835dbc9fa229465d4fdfd7 Mon Sep 17 00:00:00 2001
From 3684fcf7679d5d5f7adc5a4a7e53f498aa0c45c2 Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Wed, 6 Feb 2019 13:58:04 +0000
Subject: [PATCH] Fix permissions
@ -14,10 +14,10 @@ Signed-off-by: Tho Dat Nguyen <tho3.nguyen@lge.com>
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index a6f196b..7786f93 100644
index 3a73bd2..1388b65 100644
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,7 @@ install: genericinstall
@@ -86,7 +86,7 @@ install: genericinstall
cp atopacct.service $(DESTDIR)$(SYSDPATH)
chmod 0644 $(DESTDIR)$(SYSDPATH)/atopacct.service
cp atop-pm.sh $(DESTDIR)$(PMPATHD)
@ -26,7 +26,7 @@ index a6f196b..7786f93 100644
#
# only when making on target system:
#
@@ -107,17 +107,17 @@ sysvinstall: genericinstall
@@ -116,17 +116,17 @@ sysvinstall: genericinstall
cp atopacct.init $(DESTDIR)$(INIPATH)/atopacct
cp atop.cronsysv $(DESTDIR)$(CRNPATH)/atop
cp atop.daily $(DESTDIR)$(SCRPATH)
@ -47,7 +47,7 @@ index a6f196b..7786f93 100644
fi
#
#
@@ -160,7 +160,7 @@ genericinstall: atop atopacctd atopconvert atopcat atophide
@@ -169,7 +169,7 @@ genericinstall: atop atopacctd atopconvert atopcat atophide
chmod 644 $(DESTDIR)$(DEFPATH)/atop
#
cp atop $(DESTDIR)$(BINPATH)/atop
@ -56,7 +56,7 @@ index a6f196b..7786f93 100644
ln -sf atop $(DESTDIR)$(BINPATH)/atopsar
cp atopacctd $(DESTDIR)$(SBINPATH)/atopacctd
chmod 0700 $(DESTDIR)$(SBINPATH)/atopacctd
@@ -169,11 +169,11 @@ genericinstall: atop atopacctd atopconvert atopcat atophide
@@ -178,11 +178,11 @@ genericinstall: atop atopacctd atopconvert atopcat atophide
cp atop $(DESTDIR)$(BINPATH)/atop-$(VERS)
ln -sf atop-$(VERS) $(DESTDIR)$(BINPATH)/atopsar-$(VERS)
cp atopconvert $(DESTDIR)$(BINPATH)/atopconvert

View File

@ -21,9 +21,8 @@ SRC_URI = "http://www.atoptool.nl/download/${BP}.tar.gz \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'file://volatiles.atop.conf', 'file://volatiles.99_atop', d)} \
file://fix-permissions.patch \
file://sysvinit-implement-status.patch \
file://0001-Redefine-function-prototypes-solves-issue-322.patch \
"
SRC_URI[sha256sum] = "9b94c666602efff7bf402ecce706c347f38c39cb63498f9d39626861e5646e20"
SRC_URI[sha256sum] = "0d09ecc90c14e6ef41c22e3c57c142c3e4fb9cf3c94379077a33c961d5343086"
UPSTREAM_CHECK_URI = "https://atoptool.nl/downloadatop.php"
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+).tar"