Merge pull request #14449 from neheb/tcpre
tcpreplay: add libdnet support
This commit is contained in:
commit
7495ab114c
1 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=tcpreplay
|
PKG_NAME:=tcpreplay
|
||||||
PKG_VERSION:=4.3.3
|
PKG_VERSION:=4.3.3
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
|
||||||
|
@ -20,6 +20,7 @@ PKG_LICENSE_FILES:=docs/LICENSE
|
||||||
PKG_CPE_ID:=cpe:/a:appneta:tcpreplay
|
PKG_CPE_ID:=cpe:/a:appneta:tcpreplay
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
@ -34,7 +35,7 @@ define Package/tcpreplay/default
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
URL:=http://tcpreplay.appneta.com/
|
URL:=http://tcpreplay.appneta.com/
|
||||||
MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||||
DEPENDS:=+librt +libpcap
|
DEPENDS:=+librt +libpcap +libdnet
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/tcpbridge
|
define Package/tcpbridge
|
||||||
|
@ -135,6 +136,7 @@ CONFIGURE_VARS += \
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-force-pf \
|
--enable-force-pf \
|
||||||
--enable-dynamic-link \
|
--enable-dynamic-link \
|
||||||
|
--with-libdnet="$(STAGING_DIR)/usr" \
|
||||||
--with-libpcap="$(STAGING_DIR)/usr"
|
--with-libpcap="$(STAGING_DIR)/usr"
|
||||||
|
|
||||||
define tcpreplayTemplate
|
define tcpreplayTemplate
|
||||||
|
|
Loading…
Reference in a new issue