tcpreplay: add libxdp as dependency
authorAlexandru Ardelean <alex@shruggie.ro>
Tue, 30 Dec 2025 13:38:03 +0000 (15:38 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 31 Dec 2025 07:08:49 +0000 (09:08 +0200)
If libxdp is built before tcpreplay, it will pick it up.
So, might as well just add it as a dependency (for now).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
net/tcpreplay/Makefile

index b394769a0c47d254e0547a8c7719ed6eff7931c6..bb2c71d783ad12f5e460020487c6538499ff0ad9 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tcpreplay
 PKG_VERSION:=4.5.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 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 +libbpf +USE_MUSL:musl-fts
+  DEPENDS:=+librt +libpcap +libdnet +libbpf +libxdp +USE_MUSL:musl-fts
 endef
 
 define Package/tcpbridge
@@ -139,7 +139,6 @@ CONFIGURE_VARS += \
        ac_cv_path_pcncfg=no
 
 CONFIGURE_ARGS += \
-       --enable-force-pf \
        --enable-dynamic-link \
        --with-libdnet="$(STAGING_DIR)/usr" \
        --with-libpcap="$(STAGING_DIR)/usr"