git: 06fe229ffab0 - main - benchmarks/netperfmeter: Update to 2.0.0

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sat, 27 Dec 2025 06:16:01 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=06fe229ffab005baeb555074eac4ce82d033ec2d

commit 06fe229ffab005baeb555074eac4ce82d033ec2d
Author:     Thomas Dreibholz <thomas.dreibholz@gmail.com>
AuthorDate: 2025-12-27 06:09:38 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-12-27 06:15:10 +0000

    benchmarks/netperfmeter: Update to 2.0.0
    
    Improved data processing examples and plotting scripts so introduce R/CRAN
    dependencies.
    Proper registration of file type for NetPerfMeter output files,
    including desktop icons so need for GraphicsMagick, pdf2svg, and
    GhostScript during the build, as well as usage of desktop-file-utils.
    Update maintainer's email.
    
    Changelog: https://www.nntb.no/~dreibh/netperfmeter/index.html#latest-news
    
    PR:             291927
    Approved by:    submitter is maintainer
---
 benchmarks/netperfmeter/Makefile  | 23 +++++++++++-----
 benchmarks/netperfmeter/distinfo  |  6 ++---
 benchmarks/netperfmeter/pkg-descr | 22 +++++++++++-----
 benchmarks/netperfmeter/pkg-plist | 55 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 90 insertions(+), 16 deletions(-)

diff --git a/benchmarks/netperfmeter/Makefile b/benchmarks/netperfmeter/Makefile
index 13154254832e..d70ceb63021c 100644
--- a/benchmarks/netperfmeter/Makefile
+++ b/benchmarks/netperfmeter/Makefile
@@ -1,20 +1,29 @@
 PORTNAME=	netperfmeter
-DISTVERSION=	1.9.7
+DISTVERSION=	2.0.0
 CATEGORIES=	benchmarks
-MASTER_SITES=	https://www.nntb.no/~dreibh/${PORTNAME}/download/
+MASTER_SITES=	https://www.nntb.no/~dreibh/netperfmeter/download/
 
-MAINTAINER=	thomas.dreibholz@gmail.com
+MAINTAINER=	dreibh@simula.no
 COMMENT=	Network Performance Meter
 WWW=		https://www.nntb.no/~dreibh/netperfmeter/
 
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake shebangfix tar:xz
+BUILD_DEPENDS=	gm:graphics/GraphicsMagick \
+		pdf2svg:graphics/pdf2svg
+RUN_DEPENDS=	R-cran-bit64>0:devel/R-cran-bit64 \
+		R-cran-data.table>0:devel/R-cran-data.table \
+		R-cran-dplyr>0:math/R-cran-dplyr \
+		R-cran-ggplot2>0:graphics/R-cran-ggplot2 \
+		R-cran-R.utils>0:devel/R-cran-R.utils
 
-SHEBANG_FILES=	src/pdfembedfonts src/setpdfmetadata src/plot-netperfmeter-results
+USES=		cmake desktop-file-utils ghostscript shebangfix tar:xz
 
-CMAKE_OFF=	WITH_NEAT BUILD_TEST_PROGRAMS
-CMAKE_ON=	BUILD_PLOT_PROGRAMS
+SHEBANG_FILES=	src/pdfembedfonts src/plot-netperfmeter-results \
+		src/setpdfmetadata
+
+CMAKE_OFF=	WITH_TEST_PROGRAMS
+CMAKE_ON=	WITH_ICONS WITH_PLOT_PROGRAMS
 
 .include <bsd.port.mk>
diff --git a/benchmarks/netperfmeter/distinfo b/benchmarks/netperfmeter/distinfo
index 98d38cf63267..49567b90d3d6 100644
--- a/benchmarks/netperfmeter/distinfo
+++ b/benchmarks/netperfmeter/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707817494
-SHA256 (netperfmeter-1.9.7.tar.xz) = c0b4ba56f569fbf8b7a99a7da392e44216635f3ef82dca6a0ed47cb994af560c
-SIZE (netperfmeter-1.9.7.tar.xz) = 283532
+TIMESTAMP = 1766054609
+SHA256 (netperfmeter-2.0.0.tar.xz) = 5c02a08ac5749351bb7243f56137547aeffcd0abaa84d40cc2fd4088a0bf8c6e
+SIZE (netperfmeter-2.0.0.tar.xz) = 1981088
diff --git a/benchmarks/netperfmeter/pkg-descr b/benchmarks/netperfmeter/pkg-descr
index 0279ce5aedf4..056d02ebba22 100644
--- a/benchmarks/netperfmeter/pkg-descr
+++ b/benchmarks/netperfmeter/pkg-descr
@@ -1,6 +1,16 @@
-NetPerfMeter is a network performance meter for the UDP,
-TCP, SCTP and DCCP transport protocols over IPv4 and IPv6.
-It simultaneously transmits bidirectional flows to an endpoint
-and measures the resulting flow bandwidths and QoS. The
-results are written as vector and scalar files. The vector
-files can e.g. be used to create plots of the results.
+NetPerfMeter is a network performance meter for the TCP, MPTCP, SCTP, UDP,
+DCCP, and QUIC transport protocols over IPv4 and IPv6. It simultaneously
+transmits bidirectional flows to an endpoint and measures the resulting flow
+bandwidths and QoS. Flows can be saturated (i.e. "send as much as possible"
+or non-saturated with frame rate and frame sizes (like a multimedia
+transmission). Non-saturated flows can be configured with constant or
+variable frame rate/frame size, i.e. to realise Constant Bit Rate (CBR) or
+Variable Bit Rate (VBR) traffic. For both, frame rate and frame size, it is
+not only possible to set constant values but to also to use random
+distributions. Furthermore, flows can be set up as on/off flows. Of course,
+the flow parameters can be configured individually per flow and flow
+direction. The measurement results can be recorded as scalar files (summary
+of the run) and vector files (time series). These files can be processed
+further, e.g. for detailed analysis and plotting of the results. The
+Wireshark network protocol analyser provides out-of-the-box support for
+analysing NetPerfMeter packet traffic.
diff --git a/benchmarks/netperfmeter/pkg-plist b/benchmarks/netperfmeter/pkg-plist
index e374262b323b..afd2ca64f7a8 100644
--- a/benchmarks/netperfmeter/pkg-plist
+++ b/benchmarks/netperfmeter/pkg-plist
@@ -7,6 +7,28 @@ bin/pdfembedfonts
 bin/plot-netperfmeter-results
 bin/runtimeestimator
 bin/setpdfmetadata
+share/bash-completion/completions/netperfmeter
+share/icons/hicolor/128x128/apps/netperfmeter.png
+share/icons/hicolor/150x150/apps/netperfmeter.png
+share/icons/hicolor/16x16/apps/netperfmeter.png
+share/icons/hicolor/192x192/apps/netperfmeter.png
+share/icons/hicolor/20x20/apps/netperfmeter.png
+share/icons/hicolor/22x22/apps/netperfmeter.png
+share/icons/hicolor/24x24/apps/netperfmeter.png
+share/icons/hicolor/256x256/apps/netperfmeter.png
+share/icons/hicolor/310x310/apps/netperfmeter.png
+share/icons/hicolor/32x32/apps/netperfmeter.png
+share/icons/hicolor/36x36/apps/netperfmeter.png
+share/icons/hicolor/40x40/apps/netperfmeter.png
+share/icons/hicolor/42x42/apps/netperfmeter.png
+share/icons/hicolor/44x44/apps/netperfmeter.png
+share/icons/hicolor/48x48/apps/netperfmeter.png
+share/icons/hicolor/512x512/apps/netperfmeter.png
+share/icons/hicolor/64x64/apps/netperfmeter.png
+share/icons/hicolor/72x72/apps/netperfmeter.png
+share/icons/hicolor/8x8/apps/netperfmeter.png
+share/icons/hicolor/96x96/apps/netperfmeter.png
+share/icons/hicolor/scalable/apps/netperfmeter.svg
 share/man/man1/combinesummaries.1.gz
 share/man/man1/createsummary.1.gz
 share/man/man1/extractvectors.1.gz
@@ -16,5 +38,38 @@ share/man/man1/pdfembedfonts.1.gz
 share/man/man1/plot-netperfmeter-results.1.gz
 share/man/man1/runtimeestimator.1.gz
 share/man/man1/setpdfmetadata.1.gz
+share/mime/packages/netperfmeter.xml
+%%DATADIR%%/netperfmeter.bib
+%%DATADIR%%/netperfmeter.pdf
+%%DATADIR%%/netperfmeter.png
+%%DATADIR%%/plot-experiment
 %%DATADIR%%/plot-netperfmeter-results.R
 %%DATADIR%%/plotter.R
+%%DATADIR%%/results-examples/1411722408-skoeyen.simula.nornet-hafslund-baldeneysee.ude.nornet-dfn-default-mptcp-default-16-ipv4--active.sca.bz2
+%%DATADIR%%/results-examples/1411722408-skoeyen.simula.nornet-hafslund-baldeneysee.ude.nornet-dfn-default-mptcp-default-16-ipv4--passive.sca.bz2
+%%DATADIR%%/results-examples/1411722408-skoeyen.simula.nornet-hafslund-baldeneysee.ude.nornet-dfn-default-mptcp-default-16-ipv6--active.sca.bz2
+%%DATADIR%%/results-examples/1411722408-skoeyen.simula.nornet-hafslund-baldeneysee.ude.nornet-dfn-default-mptcp-default-16-ipv6--passive.sca.bz2
+%%DATADIR%%/results-examples/multi-active-00000000-0000.vec
+%%DATADIR%%/results-examples/multi-active-00000001-0000.vec
+%%DATADIR%%/results-examples/multi-active-00000002-0000.vec
+%%DATADIR%%/results-examples/multi-active-00000003-0000.vec
+%%DATADIR%%/results-examples/multi-active-00000004-0000.vec
+%%DATADIR%%/results-examples/multi-active-00000005-0001.vec
+%%DATADIR%%/results-examples/multi-active-00000006-0002.vec
+%%DATADIR%%/results-examples/multi-active-00000007-0003.vec
+%%DATADIR%%/results-examples/multi-active-00000008-0004.vec
+%%DATADIR%%/results-examples/multi-active.sca
+%%DATADIR%%/results-examples/multi-active.vec
+%%DATADIR%%/results-examples/multi-passive-00000000-0000.vec
+%%DATADIR%%/results-examples/multi-passive-00000001-0000.vec
+%%DATADIR%%/results-examples/multi-passive-00000002-0000.vec
+%%DATADIR%%/results-examples/multi-passive-00000003-0000.vec
+%%DATADIR%%/results-examples/multi-passive-00000004-0000.vec
+%%DATADIR%%/results-examples/multi-passive-00000005-0001.vec
+%%DATADIR%%/results-examples/multi-passive-00000006-0002.vec
+%%DATADIR%%/results-examples/multi-passive-00000007-0003.vec
+%%DATADIR%%/results-examples/multi-passive-00000008-0004.vec
+%%DATADIR%%/results-examples/multi-passive.sca
+%%DATADIR%%/results-examples/multi-passive.vec
+%%DATADIR%%/results-examples/multi.pcap.gz
+%%DATADIR%%/run-experiment1