Initial Commit
- initial default booting image
This commit is contained in:
10
package/tcpreplay/Config.in
Normal file
10
package/tcpreplay/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_TCPREPLAY
|
||||
bool "tcpreplay"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBPCAP
|
||||
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
Tcpreplay is a tool for replaying network traffic from files
|
||||
saved with tcpdump or other tools which write pcap(3) files.
|
||||
|
||||
http://tcpreplay.appneta.com/
|
||||
5
package/tcpreplay/tcpreplay.hash
Normal file
5
package/tcpreplay/tcpreplay.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://github.com/appneta/tcpreplay/releases/download/v4.5.2/tcpreplay-4.5.2.tar.xz.asc
|
||||
# using key 84E4FA215C934A7D97DC76D5E9E2149793BDE17E
|
||||
sha256 2df15bc6d49f96a77617d137049f998193bbae95c1a31b04ca02856a24cbf384 tcpreplay-4.5.2.tar.xz
|
||||
sha256 07cf5e92d475287a7d1663b33097f40cae5adf03ed8920fcd4374e3dfb48c8ad docs/LICENSE
|
||||
43
package/tcpreplay/tcpreplay.mk
Normal file
43
package/tcpreplay/tcpreplay.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# tcpreplay
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TCPREPLAY_VERSION = 4.5.2
|
||||
TCPREPLAY_SITE = https://github.com/appneta/tcpreplay/releases/download/v$(TCPREPLAY_VERSION)
|
||||
TCPREPLAY_SOURCE = tcpreplay-$(TCPREPLAY_VERSION).tar.xz
|
||||
TCPREPLAY_LICENSE = GPL-3.0
|
||||
TCPREPLAY_LICENSE_FILES = docs/LICENSE
|
||||
TCPREPLAY_CPE_ID_VENDOR = broadcom
|
||||
TCPREPLAY_CONF_ENV = \
|
||||
ac_cv_path_ac_pt_PCAP_CONFIG="$(STAGING_DIR)/usr/bin/pcap-config" \
|
||||
LIBS="$(TCPREPLAY_LIBS)"
|
||||
TCPREPLAY_CONF_OPTS = --with-libpcap=$(STAGING_DIR)/usr \
|
||||
--enable-pcapconfig
|
||||
TCPREPLAY_DEPENDENCIES = libpcap
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
|
||||
TCPREPLAY_DEPENDENCIES += musl-fts
|
||||
TCPREPLAY_LIBS += -lfts
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
TCPREPLAY_CONF_OPTS += --enable-dynamic-link=no
|
||||
TCPREPLAY_LIBS += `$(STAGING_DIR)/usr/bin/pcap-config --static --libs`
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDNET),y)
|
||||
TCPREPLAY_DEPENDENCIES += libdnet
|
||||
TCPREPLAY_CONF_OPTS += --with-libdnet=$(STAGING_DIR)/usr
|
||||
else
|
||||
TCPREPLAY_CONF_OPTS += --without-libdnet
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TCPDUMP),y)
|
||||
TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=/usr/sbin/tcpdump
|
||||
else
|
||||
TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user