trace-cmd: update to 3.3
authorRosen Penev <rosenp@gmail.com>
Sun, 11 Aug 2024 22:38:27 +0000 (15:38 -0700)
committerRobert Marko <robimarko@gmail.com>
Sat, 24 Aug 2024 19:26:55 +0000 (21:26 +0200)
Use local tarballs instead of upstream generated ones. Smaller.

Fix version to be compatible with apk.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16219
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/devel/trace-cmd/Makefile

index c1a24dc17198ddaec1d79d1994f99f9c723b4af5..22d37752e69862c11b23b6bb028f7737867b9f7d 100644 (file)
@@ -1,12 +1,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=trace-cmd
-PKG_VERSION:=v3.2
+PKG_VERSION:=3.3
 PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/
-PKG_HASH:=62af2c6062eeb434925921bb5936774b0a0e17a5f86671fa2ea2f40704a080cd
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_VERSION:=$(PKG_NAME)-v$(PKG_VERSION)
+PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd
+PKG_MIRROR_HASH:=7a4f9c3a18a01012cd76ab9a0a2c4447aed8293d005679d5228ef2aef243445c
 
 PKG_LICENSE:=GPL-2.0-only
 PKG_LICENSE_FILES:=COPYING
@@ -37,8 +38,6 @@ MAKE_FLAGS += \
        NO_LIBZSTD=1 \
        prefix=/usr
 
-TARGET_CFLAGS += --std=gnu99 -D_GNU_SOURCE
-
 define Package/trace-cmd/install
        $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/traceevent/plugins
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/trace-cmd $(1)/usr/bin/