Here is an update to iperf3 3.13.
iperf-3.13 2023-02-16
-
* Notable user-visible changes
* fq-rate (PR #1461, Issue #1366), and bidirectional flag (Issue #1428,
PR #1429) were added to the JSON output.
* Added support for OpenBSD including cleaning up endian handling (PR #1396)
and support for TCP_INFO on systems where it was implemented (PR #1397).
* Fixed bug in how TOS is set in mapped v4 (PR #1427).
* Corrected documentation, such as updating binary download links and text
(Issue #1459), updating version on iperf3 websites, and fixing an
incorrect error message (Issue #1441).
* Fixed crash on rcv-timeout with JSON logfile (#1463, #1460, issue #1360,
PR #1369).
* Fixed a bug that prevented TOS/DSCP from getting set correctly for reverse
tests (PR #1427, Issue #638).
* Developer-visible changes
* Getter and setter are now available for bind_dev (PR #1419).
* Added missing getter for bidirectional tests (PR #1453).
* Added minor changes to clean up .gitignore and error messages (#1408).
* Made sure configure scripts are runnable with /bin/sh (PR #1398).
* Cleaned up RPM spec, such as adding missing RPM build dependencies, dropping
EL5 and removing outdated %changelog (PR #1401) to make.
* Added a fix for a resource leak bug in function iperf_create_pidfile(#1443).
Index: Makefile
===
RCS file: /home/cvs/ports/net/iperf3/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile17 Nov 2022 09:08:36 - 1.11
+++ Makefile25 Feb 2023 11:01:26 -
@@ -1,6 +1,6 @@
COMMENT= tool to measure maximum achievable bandwidth on IP networks
-V= 3.12
+V= 3.13
PKGNAME= iperf3-${V}
DISTNAME= iperf-${V}
@@ -19,9 +19,7 @@ WANTLIB += c m
MASTER_SITES= https://downloads.es.net/pub/iperf/
-AUTOCONF_VERSION= 2.71
-
-CONFIGURE_STYLE= autoconf
+CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-openssl=no
.include
Index: distinfo
===
RCS file: /home/cvs/ports/net/iperf3/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo17 Nov 2022 09:08:36 - 1.7
+++ distinfo25 Feb 2023 10:59:34 -
@@ -1,2 +1,2 @@
-SHA256 (iperf-3.12.tar.gz) = cgNOz7an1tZ+OE4Z+27/8yNspPftTFGNfbZJxEfh/9Y=
-SIZE (iperf-3.12.tar.gz) = 644807
+SHA256 (iperf-3.13.tar.gz) = vuQnrrE9ai7iIHPyMmH2NxLYK++qg6yMtNtdpMK9yGU=
+SIZE (iperf-3.13.tar.gz) = 646508
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- patches/patch-configure_ac 17 Nov 2022 09:08:36 - 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-Add support for OpenBSD systems which have TCP_INFO implemented.
-463571f25e8bcb49ae37fec77d63c3fe65dd0638
-
-Index: configure.ac
configure.ac.orig
-+++ configure.ac
-@@ -305,6 +305,7 @@ AC_CHECK_MEMBER([struct tcp_info.tcpi_snd_wnd],
- [#ifdef HAVE_LINUX_TCP_H
- #include
- #else
-+#include
- #include
- #endif
- ])
Index: patches/patch-src_iperf_api_c
===
RCS file: /home/cvs/ports/net/iperf3/patches/patch-src_iperf_api_c,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-src_iperf_api_c
--- patches/patch-src_iperf_api_c 17 Nov 2022 09:08:36 - 1.6
+++ patches/patch-src_iperf_api_c 25 Feb 2023 11:00:47 -
@@ -3,7 +3,7 @@ Default to IPv4.
Index: src/iperf_api.c
--- src/iperf_api.c.orig
+++ src/iperf_api.c
-@@ -2787,7 +2787,7 @@ iperf_defaults(struct iperf_test *testp)
+@@ -2813,7 +2813,7 @@ iperf_defaults(struct iperf_test *testp)
testp->stats_interval = testp->reporter_interval = 1;
testp->num_streams = 1;
Index: patches/patch-src_iperf_h
===
RCS file: patches/patch-src_iperf_h
diff -N patches/patch-src_iperf_h
--- patches/patch-src_iperf_h 17 Nov 2022 09:08:36 - 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
-Add support for OpenBSD systems which have TCP_INFO implemented.
-463571f25e8bcb49ae37fec77d63c3fe65dd0638
-
-Index: src/iperf.h
src/iperf.h.orig
-+++ src/iperf.h
-@@ -94,9 +94,9 @@ struct iperf_interval_results
- int cnt_error;
-
- int omitted;
--#if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__)) && \
-+#if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) ||
defined(__OpenBSD__)) && \
- defined(TCP_INFO)
--struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, {Free,Net}BSD
*/
-+struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux,
{Free,Net,Open}BSD */
- #else
- /* Just placeholders, never accessed. */
- char *tcpInfo;
Index: patches/patch-src_iperf_locale_c