cd5191efd9
- heap buffer overflow in tcpreplay fast_edit_packet
- heap buffer overflow in tcpreplay get_next_packet
- CVE-2020-24266 heap buffer overflow in tcpprep get_l2len
- CVE-2020-24265 heap buffer overflow in tcpprep
- Drop patch (already in version) and so autoreconf
- Update hash of license file (http -> https with
ad8a180053
)
https://github.com/appneta/tcpreplay/releases/tag/v4.3.4
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# tcpreplay
|
|
#
|
|
################################################################################
|
|
|
|
TCPREPLAY_VERSION = 4.3.4
|
|
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 = tcpreplay
|
|
TCPREPLAY_CONF_ENV = \
|
|
ac_cv_path_ac_pt_PCAP_CONFIG="$(STAGING_DIR)/usr/bin/pcap-config"
|
|
TCPREPLAY_CONF_OPTS = --with-libpcap=$(STAGING_DIR)/usr \
|
|
--enable-pcapconfig
|
|
TCPREPLAY_DEPENDENCIES = libpcap
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
TCPREPLAY_CONF_OPTS += --enable-dynamic-link=no
|
|
TCPREPLAY_CONF_ENV += 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))
|