atop: update to 2.11.0
authorAleksey Vasilenko <redacted>
Tue, 27 Aug 2024 16:14:48 +0000 (19:14 +0300)
committerHannu Nyman <redacted>
Sun, 1 Sep 2024 14:23:25 +0000 (17:23 +0300)
- Remove obsolete patch
- Add newly acquired glib2 dependency

Signed-off-by: Aleksey Vasilenko <redacted>
admin/atop/Makefile
admin/atop/patches/010-makefile-missing-cflags.patch [deleted file]

index 6d0eea2655f5b3675165ebbff355eb61dd5d5ab8..aaa548fa6c7df8c9def53998260d8c1bed636367 100644 (file)
@@ -7,11 +7,11 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=atop
 PKG_RELEASE:=1
-PKG_VERSION:=2.7.1
+PKG_VERSION:=2.11.0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.atoptool.nl/download/
-PKG_HASH:=ca48d2f17e071deead5e6e9cc9e388bf6a3270d695e61976b3794d4d927b5c4e
+PKG_HASH:=9b94c666602efff7bf402ecce706c347f38c39cb63498f9d39626861e5646e20
 
 PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
 PKG_LICENSE:=GPL-2.0-or-later
@@ -24,7 +24,7 @@ define Package/atop
   SECTION:=admin
   CATEGORY:=Administration
   TITLE:=System and process monitor for Linux
-  DEPENDS:=+zlib +libncurses
+  DEPENDS:=+zlib +libncurses +glib2
   URL:=https://www.atoptool.nl/
 endef
 
@@ -44,9 +44,6 @@ define Package/atop/description
   network activity per process/thread.
 endef
 
-MAKE_FLAGS += \
-       CFLAGS+="-Wno-misleading-indentation -Wno-unused-const-variable -Wno-format-truncation"
-
 define Package/atop/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/atop $(1)/usr/bin/
diff --git a/admin/atop/patches/010-makefile-missing-cflags.patch b/admin/atop/patches/010-makefile-missing-cflags.patch
deleted file mode 100644 (file)
index 9d83c48..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -33,7 +33,7 @@ VERS     = $(shell ./atop -V 2>/dev/null
- all:          atop atopsar atopacctd atopconvert atopcat
- atop:         atop.o    $(ALLMODS) Makefile
--              $(CC) atop.o $(ALLMODS) -o atop -lncursesw -lz -lm -lrt $(LDFLAGS)
-+              $(CC) $(CFLAGS) atop.o $(ALLMODS) -o atop -lncursesw -lz -lm -lrt $(LDFLAGS)
- atopsar:      atop
-               ln -sf atop atopsar
git clone https://git.99rst.org/PROJECT