update to iperf3-3.20

This commit is contained in:
sthen
2026-03-14 10:31:26 +00:00
parent 7a463662a6
commit 4535ff8ffb
4 changed files with 12 additions and 13 deletions
+2 -3
View File
@@ -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
+2 -2
View File
@@ -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
+6 -6
View File
@@ -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;
+2 -2
View File
@@ -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 <setjmp.h>
@@ -33,6 +33,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
+#include <stdarg.h>