git: 7947384e8452 - main - benchmarks/iperf: Update to 2.1.7

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:00:28 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7947384e8452f3f81a71e31cf897fb41bd9aa235

commit 7947384e8452f3f81a71e31cf897fb41bd9aa235
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:42:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:54:03 +0000

    benchmarks/iperf: Update to 2.1.7
    
    Changes:        https://sourceforge.net/p/iperf2/code/ci/master/tree/doc/RELEASE_NOTES
                    https://sourceforge.net/p/iperf2/code/ci/master/log/
---
 benchmarks/iperf/Makefile                        | 4 ++--
 benchmarks/iperf/distinfo                        | 6 +++---
 benchmarks/iperf/files/patch-compat-gettcpinfo.c | 9 ---------
 3 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/benchmarks/iperf/Makefile b/benchmarks/iperf/Makefile
index f15a8dc927d7..44703003eee6 100644
--- a/benchmarks/iperf/Makefile
+++ b/benchmarks/iperf/Makefile
@@ -1,10 +1,10 @@
 # Created by: Pete Fritchman <petef@databits.net>
 
 PORTNAME=	iperf
-PORTVERSION=	2.1.6
+PORTVERSION=	2.1.7
 CATEGORIES=	benchmarks
 MASTER_SITES=	SF/iperf2 \
-		LOCAL/sunpoet/iperf/20211210
+		LOCAL/sunpoet
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Tool to measure maximum TCP and UDP bandwidth
diff --git a/benchmarks/iperf/distinfo b/benchmarks/iperf/distinfo
index 3d604aedcd11..d244ece135ec 100644
--- a/benchmarks/iperf/distinfo
+++ b/benchmarks/iperf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641045782
-SHA256 (iperf-2.1.6.tar.gz) = 4a43e44439b95622aebeee55754a17d1c94076032e90620dfc1ab9908cb9e080
-SIZE (iperf-2.1.6.tar.gz) = 401258
+TIMESTAMP = 1650228664
+SHA256 (iperf-2.1.7.tar.gz) = 1aba2e1d7aa43641ef841951ed88e16cffba898460e0c51e6b2806f3ff20e9d4
+SIZE (iperf-2.1.7.tar.gz) = 408216
diff --git a/benchmarks/iperf/files/patch-compat-gettcpinfo.c b/benchmarks/iperf/files/patch-compat-gettcpinfo.c
deleted file mode 100644
index 4bdfaa118032..000000000000
--- a/benchmarks/iperf/files/patch-compat-gettcpinfo.c
+++ /dev/null
@@ -1,9 +0,0 @@
---- 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