tcpreplay: add libbpf dependency
authorTeleostNaCl Dai <teleostnacl@gmail.com>
Sun, 16 Nov 2025 04:05:11 +0000 (12:05 +0800)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 29 Dec 2025 14:30:24 +0000 (16:30 +0200)
Since compiling tcpbridge requires linking libbpf.so.1, compiling tcpbridge first may result in compilation failure, like:
Package tcpbridge is missing dependencies for the following libraries: libbpf.so.1

The simplest way to solve it is to add libbpf dependency in Makefile

Signed-off-by: TeleostNaCl Dai <teleostnacl@gmail.com>
net/tcpreplay/Makefile

index 415365ae927fed44bf0edfc8d7e53529e6cda227..b394769a0c47d254e0547a8c7719ed6eff7931c6 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tcpreplay
 PKG_VERSION:=4.5.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
@@ -35,7 +35,7 @@ define Package/tcpreplay/default
   CATEGORY:=Network
   URL:=http://tcpreplay.appneta.com/
   MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
-  DEPENDS:=+librt +libpcap +libdnet +USE_MUSL:musl-fts
+  DEPENDS:=+librt +libpcap +libdnet +libbpf +USE_MUSL:musl-fts
 endef
 
 define Package/tcpbridge