From: Rosen Penev Date: Sun, 11 Aug 2024 22:38:27 +0000 (-0700) Subject: trace-cmd: update to 3.3 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7a7ea98400a80d762e1f6e6d29ceb25a13a997e0;p=openwrt%2Fstaging%2Fwigyori.git 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 Link: https://github.com/openwrt/openwrt/pull/16219 Signed-off-by: Robert Marko --- 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/