From 4535ff8ffbb43c27542e0319018b46b48730b2d1 Mon Sep 17 00:00:00 2001 From: sthen Date: Sat, 14 Mar 2026 10:31:26 +0000 Subject: [PATCH] update to iperf3-3.20 --- net/iperf3/Makefile | 5 ++--- net/iperf3/distinfo | 4 ++-- net/iperf3/patches/patch-src_iperf_api_c | 12 ++++++------ net/iperf3/patches/patch-src_iperf_api_h | 4 ++-- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/net/iperf3/Makefile b/net/iperf3/Makefile index 327f5eb8d26..981eb2a08c4 100644 --- a/net/iperf3/Makefile +++ b/net/iperf3/Makefile @@ -1,11 +1,10 @@ COMMENT= tool to measure maximum achievable bandwidth on IP networks -V= 3.19.1 -REVISION= 0 +V= 3.20 DISTNAME= iperf-${V} PKGNAME= iperf3-${V} -SHARED_LIBS += iperf 5.0 # 0.0 +SHARED_LIBS += iperf 6.0 # 0.0 CATEGORIES= net diff --git a/net/iperf3/distinfo b/net/iperf3/distinfo index 3d44f146fb5..c56f2c70c1d 100644 --- a/net/iperf3/distinfo +++ b/net/iperf3/distinfo @@ -1,2 +1,2 @@ -SHA256 (iperf-3.19.1.tar.gz) = 3GP4nsWB6pn4tVjY6zUQneBjgwENtaGQbCCKViugwnA= -SIZE (iperf-3.19.1.tar.gz) = 694807 +SHA256 (iperf-3.20.tar.gz) = OsxXLR7MpOCyA1nHvwEy3cgNmC7+7iDIb2cmqaYJQ4g= +SIZE (iperf-3.20.tar.gz) = 698649 diff --git a/net/iperf3/patches/patch-src_iperf_api_c b/net/iperf3/patches/patch-src_iperf_api_c index 981d8efdaf3..d09be67ccfa 100644 --- a/net/iperf3/patches/patch-src_iperf_api_c +++ b/net/iperf3/patches/patch-src_iperf_api_c @@ -7,7 +7,7 @@ Index: src/iperf_api.c --- src/iperf_api.c.orig +++ src/iperf_api.c -@@ -1261,7 +1261,7 @@ iperf_parse_arguments(struct iperf_test *test, int arg +@@ -1289,7 +1289,7 @@ iperf_parse_arguments(struct iperf_test *test, int arg } iperf_set_test_role(test, 's'); break; @@ -16,7 +16,7 @@ Index: src/iperf_api.c if (test->role == 's') { i_errno = IESERVCLIENT; return -1; -@@ -1269,7 +1269,12 @@ iperf_parse_arguments(struct iperf_test *test, int arg +@@ -1297,7 +1297,12 @@ iperf_parse_arguments(struct iperf_test *test, int arg iperf_set_test_role(test, 'c'); iperf_set_test_server_hostname(test, optarg); @@ -30,7 +30,7 @@ Index: src/iperf_api.c #if defined(HAVE_SO_BINDTODEVICE) /* Get rid of the hostname we saved earlier. */ free(iperf_get_test_server_hostname(test)); -@@ -1280,7 +1285,9 @@ iperf_parse_arguments(struct iperf_test *test, int arg +@@ -1308,7 +1313,9 @@ iperf_parse_arguments(struct iperf_test *test, int arg return -1; #endif /* HAVE_SO_BINDTODEVICE */ } @@ -40,7 +40,7 @@ Index: src/iperf_api.c case 'u': set_protocol(test, Pudp); client_flag = 1; -@@ -1392,10 +1399,15 @@ iperf_parse_arguments(struct iperf_test *test, int arg +@@ -1441,10 +1448,15 @@ iperf_parse_arguments(struct iperf_test *test, int arg client_flag = 1; break; @@ -58,7 +58,7 @@ Index: src/iperf_api.c #if defined(HAVE_SO_BINDTODEVICE) /* Get rid of the hostname we saved earlier. */ free(iperf_get_test_bind_address(test)); -@@ -1406,7 +1418,9 @@ iperf_parse_arguments(struct iperf_test *test, int arg +@@ -1455,7 +1467,9 @@ iperf_parse_arguments(struct iperf_test *test, int arg return -1; #endif /* HAVE_SO_BINDTODEVICE */ } @@ -68,7 +68,7 @@ Index: src/iperf_api.c #if defined (HAVE_SO_BINDTODEVICE) case OPT_BIND_DEV: iperf_set_test_bind_dev(test, optarg); -@@ -3116,7 +3130,7 @@ iperf_defaults(struct iperf_test *testp) +@@ -3221,7 +3235,7 @@ iperf_defaults(struct iperf_test *testp) testp->stats_interval = testp->reporter_interval = 1; testp->num_streams = 1; diff --git a/net/iperf3/patches/patch-src_iperf_api_h b/net/iperf3/patches/patch-src_iperf_api_h index f34a2a35564..d590acf642c 100644 --- a/net/iperf3/patches/patch-src_iperf_api_h +++ b/net/iperf3/patches/patch-src_iperf_api_h @@ -4,8 +4,8 @@ Match include used in .c file to fix Index: src/iperf_api.h --- src/iperf_api.h.orig +++ src/iperf_api.h -@@ -32,6 +32,7 @@ - #include +@@ -33,6 +33,7 @@ + #include #include #include +#include