Wednesday, October 26, 2022

Re: UPDATE: iperf3 3.12

On Fri, Oct 07, 2022 at 05:50:22PM -0400, Brad Smith wrote:
> Here is an update to iperf3.
>
>
> https://raw.githubusercontent.com/esnet/iperf/master/RELNOTES.md

An updated diff. My diff was tested and commited upstream.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/iperf3/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile 11 Mar 2022 19:46:08 -0000 1.9
+++ Makefile 7 Oct 2022 21:39:50 -0000
@@ -1,6 +1,6 @@
COMMENT= tool to measure maximum achievable bandwidth on IP networks

-V= 3.10.1
+V= 3.12
PKGNAME= iperf3-${V}
DISTNAME= iperf-${V}

@@ -19,7 +19,9 @@ WANTLIB += c m

MASTER_SITES= https://downloads.es.net/pub/iperf/

-CONFIGURE_STYLE= gnu
+AUTOCONF_VERSION= 2.71
+
+CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --with-openssl=no

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/net/iperf3/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo 13 Jul 2021 02:02:09 -0000 1.6
+++ distinfo 3 Oct 2022 05:54:03 -0000
@@ -1,2 +1,2 @@
-SHA256 (iperf-3.10.1.tar.gz) = A7yXYMxUokUZHUa/yO2vikdQ8Oh6vKZ2RIaXIETWcVo=
-SIZE (iperf-3.10.1.tar.gz) = 633304
+SHA256 (iperf-3.12.tar.gz) = cgNOz7an1tZ+OE4Z+27/8yNspPftTFGNfbZJxEfh/9Y=
+SIZE (iperf-3.12.tar.gz) = 644807
Index: patches/patch-configure_ac
===================================================================
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure_ac 26 Oct 2022 06:32:27 -0000
@@ -0,0 +1,14 @@
+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 <linux/tcp.h>
+ #else
++#include <sys/types.h>
+ #include <netinet/tcp.h>
+

No comments:

Post a Comment