diff --git a/benchmarks/iperf/Makefile b/benchmarks/iperf/Makefile index d488a0a7fb9a..f15a8dc927d7 100644 --- a/benchmarks/iperf/Makefile +++ b/benchmarks/iperf/Makefile @@ -1,31 +1,31 @@ # Created by: Pete Fritchman PORTNAME= iperf -PORTVERSION= 2.1.4 +PORTVERSION= 2.1.6 CATEGORIES= benchmarks MASTER_SITES= SF/iperf2 \ - LOCAL/sunpoet/iperf/20210818 + LOCAL/sunpoet/iperf/20211210 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tool to measure maximum TCP and UDP bandwidth LICENSE= BSD2CLAUSE USES= cpe GNU_CONFIGURE= yes CPE_VENDOR= iperf_project OPTIONS_DEFINE= DOCS IPV6 THREADS OPTIONS_DEFAULT=THREADS IPV6_CONFIGURE_ENABLE= ipv6 THREADS_CONFIGURE_ENABLE= threads THREADS_LDFLAGS= -lpthread post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} README doc/*.gif doc/*.html ${STAGEDIR}${DOCSDIR}/ .include diff --git a/benchmarks/iperf/distinfo b/benchmarks/iperf/distinfo index c0f6b15a5ca9..3d604aedcd11 100644 --- a/benchmarks/iperf/distinfo +++ b/benchmarks/iperf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1632036844 -SHA256 (iperf-2.1.4.tar.gz) = 062b392e87b8e227aca74fef0a99b04fe0382d4518957041b508a56885b4d4f9 -SIZE (iperf-2.1.4.tar.gz) = 395909 +TIMESTAMP = 1641045782 +SHA256 (iperf-2.1.6.tar.gz) = 4a43e44439b95622aebeee55754a17d1c94076032e90620dfc1ab9908cb9e080 +SIZE (iperf-2.1.6.tar.gz) = 401258 diff --git a/benchmarks/iperf/files/patch-compat-gettcpinfo.c b/benchmarks/iperf/files/patch-compat-gettcpinfo.c new file mode 100644 index 000000000000..4bdfaa118032 --- /dev/null +++ b/benchmarks/iperf/files/patch-compat-gettcpinfo.c @@ -0,0 +1,9 @@ +--- compat/gettcpinfo.c.orig 2021-12-11 04:24:44 UTC ++++ compat/gettcpinfo.c +@@ -97,6 +97,4 @@ inline void gettcpinfo (SOCKET sock, struct ReportStru + sample->tcpstats.rtt = 1; + sample->tcpstats.isValid = false; + }; +-#else +-inline void gettcpinfo (int sock, struct ReportStruct *sample) { + #endif