[openwrt/openwrt] trace-cmd: update to 3.3

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 24 12:26:59 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7a7ea98400a80d762e1f6e6d29ceb25a13a997e0

commit 7a7ea98400a80d762e1f6e6d29ceb25a13a997e0
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sun Aug 11 15:38:27 2024 -0700

    trace-cmd: update to 3.3
    
    Use local tarballs instead of upstream generated ones. Smaller.
    
    Fix version to be compatible with apk.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16219
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/devel/trace-cmd/Makefile | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/package/devel/trace-cmd/Makefile b/package/devel/trace-cmd/Makefile
index c1a24dc171..22d37752e6 100644
--- a/package/devel/trace-cmd/Makefile
+++ b/package/devel/trace-cmd/Makefile
@@ -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/




More information about the lede-commits mailing list