From: Tony Ambardar Date: Fri, 24 Nov 2023 01:51:38 +0000 (-0800) Subject: bpftool: Update to v7.3.0 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1020ac6f4739fdd3934bfc0ae8a9c36738323eb7;p=openwrt%2Fstaging%2Fthess.git bpftool: Update to v7.3.0 Update to the latest upstream release to include recent improvements and bugfixes. Also refresh local patches. Link: https://github.com/libbpf/bpftool/releases/tag/v7.3.0 Signed-off-by: Tony Ambardar --- diff --git a/package/network/utils/bpftool/Makefile b/package/network/utils/bpftool/Makefile index cbbba2dba5..2782a30735 100644 --- a/package/network/utils/bpftool/Makefile +++ b/package/network/utils/bpftool/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bpftools -PKG_VERSION:=7.2.0 +PKG_VERSION:=7.3.0 PKG_RELEASE:=1 PKG_SOURCE_URL:=https://github.com/libbpf/bpftool +PKG_MIRROR_HASH:=c8fe336005019fee4d4fd416ce68a749fb479786dead69d6a0b3b04bcd903b98 PKG_SOURCE_PROTO:=git -PKG_SOURCE_VERSION:=19ff0564980a7429e730f6987a0b0bf418b3c676 -PKG_MIRROR_HASH:=f9b9871f64986dd2e5dab7060bb919398256ba93964da49c62efaf0e6bc9bbc4 +PKG_SOURCE_VERSION:=v7.3.0 PKG_MAINTAINER:=Tony Ambardar diff --git a/package/network/utils/bpftool/patches/001-cflags.patch b/package/network/utils/bpftool/patches/001-cflags.patch index b06842a0be..39cef10c72 100644 --- a/package/network/utils/bpftool/patches/001-cflags.patch +++ b/package/network/utils/bpftool/patches/001-cflags.patch @@ -6,5 +6,5 @@ +CFLAGS = $(EXTRA_CFLAGS) CFLAGS ?= -g -O2 -Werror -Wall -std=gnu89 - ALL_CFLAGS += $(CFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $(EXTRA_CFLAGS) - ALL_LDFLAGS += $(LDFLAGS) $(EXTRA_LDFLAGS) + ALL_CFLAGS += $(CFLAGS) \ + -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \