Fixes CVE-2024-53580. https://github.com/advisories/GHSA-2w89-5px3-fvx6 Release notes: https://github.com/esnet/iperf/releases/tag/3.18 Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com> [Julien: - fix CVE ID typo - fixed "make check-package" error in iperf3.hash ] Signed-off-by: Julien Olivain <ju.o@free.fr>
26 lines
762 B
Makefile
26 lines
762 B
Makefile
################################################################################
|
|
#
|
|
# iperf3
|
|
#
|
|
################################################################################
|
|
|
|
IPERF3_VERSION = 3.18
|
|
IPERF3_SITE = https://downloads.es.net/pub/iperf
|
|
IPERF3_SOURCE = iperf-$(IPERF3_VERSION).tar.gz
|
|
IPERF3_LICENSE = BSD-3-Clause, BSD-2-Clause, MIT
|
|
IPERF3_LICENSE_FILES = LICENSE
|
|
IPERF3_CPE_ID_VENDOR = es
|
|
|
|
IPERF3_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
# We intentionally don't pass --with-openssl, otherwise pkg-config is
|
|
# not used, and indirect libraries are not picked up when static
|
|
# linking.
|
|
IPERF3_DEPENDENCIES += host-pkgconf openssl
|
|
else
|
|
IPERF3_CONF_OPTS += --without-openssl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|