diff --git a/benchmarks/iperf3/Makefile b/benchmarks/iperf3/Makefile index 08fab7c54f64..b799b1b3f118 100644 --- a/benchmarks/iperf3/Makefile +++ b/benchmarks/iperf3/Makefile @@ -1,40 +1,41 @@ PORTNAME= iperf DISTVERSION= 3.20 +PORTREVISION= 1 CATEGORIES= benchmarks MASTER_SITES= https://github.com/esnet/${PORTNAME}/releases/download/${DISTVERSION}/ \ https://downloads.es.net/pub/${PORTNAME}/ PKGNAMESUFFIX= 3 MAINTAINER= bmah@FreeBSD.org COMMENT= Improved tool to measure TCP and UDP bandwidth WWW= https://software.es.net/iperf/ LICENSE= BSD3CLAUSE MIT LICENSE_COMB= multi USES= cpe libtool ssl CPE_VENDOR= iperf_project USE_LDCONFIG= yes GNU_CONFIGURE= yes PORTDOCS= README.md RELNOTES.md # Set ${DOCSDIR} to avoid conflict with benchmarks/iperf DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} OPTIONS_DEFINE= DOCS STATIC OPTIONS_SUB= yes STATIC_CONFIGURE_ENABLE= static post-patch: # Don't build stuff that we're not going to install. Among other # things this means we're not going to try to build profiled objects # and/or executables. @${REINPLACE_CMD} -e '/^PROGRAMS /s/\$$(noinst_PROGRAMS)//' ${WRKSRC}/src/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/benchmarks/iperf3/files/patch-RELNOTES.md b/benchmarks/iperf3/files/patch-RELNOTES.md new file mode 100644 index 000000000000..cb9a7c97d6ba --- /dev/null +++ b/benchmarks/iperf3/files/patch-RELNOTES.md @@ -0,0 +1,18 @@ +diff --git a/RELNOTES.md b/RELNOTES.md +index cf5bd19..5bb89a5 100644 +--- RELNOTES.md.orig ++++ RELNOTES.md +@@ -30,10 +30,10 @@ releases, including iperf-3.19.1. + flag (PR #1903) + + * Sends with `--zerocopy` are now properly seeded with data +- instead of being all-zeroes. (PR #1909) ++ instead of being all-zeroes. (PR #1949) + +- * The `--time` flag is now allowed on the iperf3 server to impose +- a maximum duration on timed tests. (PR #1684, PR #1931) ++ * The `--server-max-duration` flag is now allowed on the iperf3 server to impose ++ a maximum duration on timed tests. (PR #1684) + + * The `--rcv-timeout` flag is now ignored for `--bidir` + tests. This change prevents premature termination of