git: 5815f2f191de - main - benchmarks/iperf3: Update to 3.17.1

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Tue, 14 May 2024 17:49:57 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5815f2f191de1e0fde005ad62cdfe6e47a60b51f

commit 5815f2f191de1e0fde005ad62cdfe6e47a60b51f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-14 17:43:05 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-05-14 17:43:45 +0000

    benchmarks/iperf3: Update to 3.17.1
    
    - Use GitHub is primary site for MASTER_SITES and es.net as fallback
    - Use variables in MASTER_SITES
    - Minor adjustments to Makefile
    
    Changelog: https://github.com/esnet/iperf/releases/tag/3.17.1
    
    PR:             278918
    Reviewed by:    bmah (maintainer)
---
 benchmarks/iperf3/Makefile | 16 +++++++---------
 benchmarks/iperf3/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/benchmarks/iperf3/Makefile b/benchmarks/iperf3/Makefile
index dd4294504da3..adf55ff2a8f4 100644
--- a/benchmarks/iperf3/Makefile
+++ b/benchmarks/iperf3/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	iperf
-DISTVERSION=	3.16
-PORTREVISION=	1
+DISTVERSION=	3.17.1
 CATEGORIES=	benchmarks
-MASTER_SITES=	https://downloads.es.net/pub/iperf/
+MASTER_SITES=	https://github.com/esnet/${PORTNAME}/releases/download/${DISTVERSION}/ \
+		https://downloads.es.net/pub/${PORTNAME}/
 PKGNAMESUFFIX=	3
 
 MAINTAINER=	bmah@FreeBSD.org
@@ -13,16 +13,14 @@ LICENSE=	BSD3CLAUSE MIT
 LICENSE_COMB=	multi
 
 USES=		cpe libtool ssl
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
-USE_LDCONFIG=	yes
-
 CPE_VENDOR=	iperf_project
+USE_LDCONFIG=	yes
 
+GNU_CONFIGURE=	yes
 PORTDOCS=	README.md RELNOTES.md
 
-# Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR}
-DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+# Set ${DOCSDIR} to avoid conflict with benchmarks/iperf
+DOCSDIR=	${PREFIX}/share/doc/${PKGBASE}
 
 OPTIONS_DEFINE=	DOCS STATIC
 OPTIONS_SUB=	yes
diff --git a/benchmarks/iperf3/distinfo b/benchmarks/iperf3/distinfo
index 557e6b5adccf..4bf7c130c6e3 100644
--- a/benchmarks/iperf3/distinfo
+++ b/benchmarks/iperf3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701467248
-SHA256 (iperf-3.16.tar.gz) = cc740c6bbea104398cc3e466befc515a25896ec85e44a662d5f4a767b9cf713e
-SIZE (iperf-3.16.tar.gz) = 664751
+TIMESTAMP = 1715628449
+SHA256 (iperf-3.17.1.tar.gz) = 84404ca8431b595e86c473d8f23d8bb102810001f15feaf610effd3b318788aa
+SIZE (iperf-3.17.1.tar.gz) = 670547