git: 845495b7e85e - main - benchmarks/hipercontracer: Update to 2.0.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Feb 2025 20:23:40 UTC
The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=845495b7e85ea1cac0d7774f8b6a472d253d2c26 commit 845495b7e85ea1cac0d7774f8b6a472d253d2c26 Author: Thomas Dreibholz <thomas.dreibholz@gmail.com> AuthorDate: 2025-02-27 20:18:34 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2025-02-27 20:23:19 +0000 benchmarks/hipercontracer: Update to 2.0.5 Remove BROKEN, builds fine with boost-1.86+. Introduce OPTIONS. Improve pkg-descr. Change maintainer's email. PR: 283444 Approved by: submitter is maintainer --- benchmarks/hipercontracer/Makefile | 73 +++++++++++-- benchmarks/hipercontracer/distinfo | 6 +- benchmarks/hipercontracer/pkg-descr | 35 ++++++- benchmarks/hipercontracer/pkg-plist | 199 +++++++++++++++++++++++++++++++----- 4 files changed, 272 insertions(+), 41 deletions(-) diff --git a/benchmarks/hipercontracer/Makefile b/benchmarks/hipercontracer/Makefile index 5b04b9d9c6fc..23c0d1ff92dc 100644 --- a/benchmarks/hipercontracer/Makefile +++ b/benchmarks/hipercontracer/Makefile @@ -1,25 +1,80 @@ PORTNAME= hipercontracer -PORTVERSION= 1.6.10 -PORTREVISION= 3 +DISTVERSION= 2.0.5 CATEGORIES= benchmarks MASTER_SITES= https://www.nntb.no/~dreibh/hipercontracer/download/ -MAINTAINER= thomas.dreibholz@gmail.com +MAINTAINER= dreibh@simula.no COMMENT= High-Performance Connectivity Tracer (HiPerConTracer) WWW= https://www.nntb.no/~dreibh/hipercontracer/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= fails to build with boost-1.86+ +LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ + libboost_filesystem.so:devel/boost-libs \ + libboost_iostreams.so:devel/boost-libs \ + libboost_log.so:devel/boost-libs \ + libboost_program_options.so:devel/boost-libs \ + libboost_system.so:devel/boost-libs \ + libboost_thread.so:devel/boost-libs \ + libinotify.so:devel/libinotify -LIB_DEPENDS= libboost_atomic.so:devel/boost-libs - -USES= cmake compiler:c++14-lang python shebangfix tar:xz +USES= cmake compiler:c++20-lang desktop-file-utils python \ + shared-mime-info shebangfix ssl tar:xz USE_LDCONFIG= yes -SHEBANG_FILES= src/addressinfogenerator src/get-default-ips src/tracedataimporter +SHEBANG_FILES= src/results-examples/r-install-dependencies \ + src/results-examples/r-ping-example \ + src/results-examples/r-traceroute-example \ + src/TestDB/generate-test-certificates + +PLIST_SUB= DISTVERSION=${DISTVERSION} + +OPTIONS_DEFINE= COLLECTOR DBEAVERTOOLS DBSHELL ICONS IMPMARIADB \ + IMPMONGO IMPORTER IMPPGSQL NODE QUERYTOOL RESULTSTOOL \ + RTUNNEL SYNC TRIGGER UDPECHO VIEWERTOOL +OPTIONS_DEFAULT= COLLECTOR DBEAVERTOOLS DBSHELL ICONS IMPMARIADB \ + IMPMONGO IMPORTER IMPPGSQL NODE QUERYTOOL RESULTSTOOL \ + RTUNNEL SYNC TRIGGER UDPECHO VIEWERTOOL +COLLECTOR_DESC= Build HiPerConTracer Collector Tools" +DBEAVERTOOLS_DESC= Build DBeaver Tools +DBSHELL_DESC= Build DBShell +ICONS_DESC= Build Icons and Logo Files +IMPMARIADB_DESC= Enable MariaDB/MySQL support for HiPerConTracer Importer Tool +IMPMONGO_DESC= Enable MongoDB support for HiPerConTracer Importer Tool +IMPORTER_DESC= Build HiPerConTracer Importer Tool +IMPPGSQL_DESC= Enable PostgreSQL support for HiPerConTracer Importer Tool +NODE_DESC= Build HiPerConTracer Node Tools" +QUERYTOOL_DESC= Build HiPerConTracer Query Tool +RESULTSTOOL_DESC= Build HiPerConTracer Results Tool +RTUNNEL_DESC= Build HiPerConTracer Reverse Tunnel Tool" +SYNC_DESC= Build HiPerConTracer Synchronisation Tool +TRIGGER_DESC= Build HiPerConTracer Trigger Tool +UDPECHO_DESC= Build UDP Echo Server +VIEWERTOOL_DESC= Build HiPerConTracer Viewer Tool -PLIST_SUB= PORTVERSION=${PORTVERSION} +COLLECTOR_CMAKE_BOOL= WITH_COLLECTOR +DBEAVERTOOLS_CMAKE_BOOL= WITH_DBEAVER_TOOLS +DBSHELL_CMAKE_BOOL= WITH_DBSHELL +ICONS_BUILD_DEPENDS= gm:graphics/GraphicsMagick \ + gs:print/ghostscript10 \ + pdf2svg:graphics/pdf2svg +ICONS_CMAKE_BOOL= WITH_ICONS +IMPMARIADB_LIB_DEPENDS= libmariadb.so:databases/mariadb106-client +IMPMARIADB_CMAKE_BOOL= ENABLE_BACKEND_MARIADB +IMPMONGO_LIB_DEPENDS= libbson-1.0.so:devel/libbson \ + libmongoc-1.0.so:devel/mongo-c-driver +IMPMONGO_CMAKE_BOOL= ENABLE_BACKEND_MONGODB +IMPORTER_CMAKE_BOOL= WITH_IMPORTER +IMPPGSQL_LIB_DEPENDS= libpqxx.so:databases/postgresql-libpqxx +IMPPGSQL_CMAKE_BOOL= ENABLE_BACKEND_POSTGRESQL +NODE_CMAKE_BOOL= WITH_NODE +QUERYTOOL_CMAKE_BOOL= WITH_QUERY +RESULTSTOOL_CMAKE_BOOL= WITH_RESULTS +RTUNNEL_CMAKE_BOOL= WITH_RTUNNEL +SYNC_CMAKE_BOOL= WITH_SYNC +TRIGGER_CMAKE_BOOL= WITH_TRIGGER +UDPECHO_CMAKE_BOOL= WITH_UDP_ECHO_SERVER +VIEWERTOOL_CMAKE_BOOL= WITH_VIEWER .include <bsd.port.mk> diff --git a/benchmarks/hipercontracer/distinfo b/benchmarks/hipercontracer/distinfo index 21ac9ddecec0..cc1302eb8afc 100644 --- a/benchmarks/hipercontracer/distinfo +++ b/benchmarks/hipercontracer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1701949463 -SHA256 (hipercontracer-1.6.10.tar.xz) = 5af4497a1fe78b93050673a5a519be1d98e1e2c59532407193717b863b94f564 -SIZE (hipercontracer-1.6.10.tar.xz) = 181536 +TIMESTAMP = 1739816416 +SHA256 (hipercontracer-2.0.5.tar.xz) = 1b6e97e8abfeeb1c2f1c78d348640fc18caa95b8da8d7a221b247f5ff080cc5b +SIZE (hipercontracer-2.0.5.tar.xz) = 2511704 diff --git a/benchmarks/hipercontracer/pkg-descr b/benchmarks/hipercontracer/pkg-descr index 08787649bdab..3373e688c358 100644 --- a/benchmarks/hipercontracer/pkg-descr +++ b/benchmarks/hipercontracer/pkg-descr @@ -1,4 +1,31 @@ -High-Performance Connectivity Tracer (HiPerConTracer) is -a ping/traceroute service. It performs regular ping and -traceroute runs among sites and can export the results -into an SQL database. +High-Performance Connectivity Tracer (HiPerConTracer) is a Ping/Traceroute +measurement framework. HiPerConTracer denotes the actual measurement +tool. It performs regular Ping and Traceroute runs among sites, featuring: +multi-transport-protocol support (ICMP, UDP); multi-homing and parallelism +support; handling of load balancing in the network; multi-platform +support (currently Linux and FreeBSD); high-precision (nanoseconds) +timing support (Linux timestamping, both software and hardware); a +library (shared/static) to integrate measurement functionality into other +software (libhipercontracer); open source and written in a performance- +and portability-focused programming language (C++) with only limited +dependencies. + +Furthermore, the HiPerConTracer Framework furthermore provides additional +tools for helping to obtain, process, collect, store, and retrieve +measurement data: HiPerConTracer Viewer Tool for displaying the contents +of results files; Results Tool for merging and converting results files, +e.g. to create a Comma-Separated Value (CSV) file; Sync Tool for copying data +from a measurement node (vantage point) to a remote HiPerConTracer Collector +server (via RSync/SSH); Reverse Tunnel Tool for maintaining a reverse SSH +tunnel from a remote measurement node to a HiPerConTracer Collector server; +Collector/Node Tools for simplifying the setup of HiPerConTracer Nodes and a +HiPerConTracer Collector server; Trigger Tool for triggering HiPerConTracer +measurements in the reverse direction; Importer Tool for storing measurement +data from results files into SQL or NoSQL databases. Currently, database +backends for MariaDB/MySQL PostgreSQL, MongoDB) are provided; Query +Tool for querying data from a database and storing it into a results +file; Database Shell as simple command-line front-end for the underlying +database backends; Database Tools with some helper scripts to e.g. to join +HiPerConTracer database configurations into an existing DBeaver (a popular +SQL database GUI application) configuration; UDP Echo Server as UDP Echo +(RFC 862) protocol endpoint; Wireshark dissector for HiPerConTracer packets. diff --git a/benchmarks/hipercontracer/pkg-plist b/benchmarks/hipercontracer/pkg-plist index 9219328cf01b..daf791fa96ad 100644 --- a/benchmarks/hipercontracer/pkg-plist +++ b/benchmarks/hipercontracer/pkg-plist @@ -1,9 +1,27 @@ -bin/addressinfogenerator +bin/dbshell +bin/decrypt-dbeaver-configuration +bin/encrypt-dbeaver-configuration bin/get-default-ips bin/hipercontracer -bin/hpcttrigger -bin/tracedataimporter +bin/hpct-importer +bin/hpct-node-removal +bin/hpct-node-setup +bin/hpct-nodes-list +bin/hpct-query +bin/hpct-results +bin/hpct-rtunnel +bin/hpct-ssh +bin/hpct-sync +bin/hpct-trigger +bin/hpct-viewer +bin/make-dbeaver-configuration +bin/pipe-checksum +bin/udp-echo-server +include/hipercontracer/check.h include/hipercontracer/destinationinfo.h +include/hipercontracer/iomodule-base.h +include/hipercontracer/iomodule-icmp.h +include/hipercontracer/iomodule-udp.h include/hipercontracer/logger.h include/hipercontracer/ping.h include/hipercontracer/resultentry.h @@ -11,28 +29,159 @@ include/hipercontracer/resultswriter.h include/hipercontracer/service.h include/hipercontracer/tools.h include/hipercontracer/traceroute.h -lib/libhipercontracer.a +include/universalimporter/database-configuration.h +include/universalimporter/database-statement.h +include/universalimporter/databaseclient-base.h +include/universalimporter/databaseclient-debug.h +include/universalimporter/databaseclient-mariadb.h +include/universalimporter/databaseclient-mongodb.h +include/universalimporter/databaseclient-postgresql.h +include/universalimporter/importer-configuration.h +include/universalimporter/logger.h +include/universalimporter/reader-base.h +include/universalimporter/results-exception.h +include/universalimporter/tools.h +include/universalimporter/universal-importer.h +include/universalimporter/worker.h lib/libhipercontracer.so -lib/libhipercontracer.so.1 -lib/libhipercontracer.so.%%PORTVERSION%% -share/man/man1/addressinfogenerator.1.gz +lib/libhipercontracer.so.2 +lib/libhipercontracer.so.%%DISTVERSION%% +lib/libuniversalimporter.so +lib/libuniversalimporter.so.2 +lib/libuniversalimporter.so.%%DISTVERSION%% +share/applications/hpct-viewer.desktop +share/bash-completion/completions/dbshell +share/bash-completion/completions/hipercontracer +share/bash-completion/completions/hpct-importer +share/bash-completion/completions/hpct-query +share/bash-completion/completions/hpct-results +share/bash-completion/completions/hpct-rtunnel +share/bash-completion/completions/hpct-ssh +share/bash-completion/completions/hpct-sync +share/bash-completion/completions/hpct-trigger +share/bash-completion/completions/hpct-viewer +share/bash-completion/completions/pipe-checksum +share/bash-completion/completions/udp-echo-server +%%DATADIR%%/NoSQL/R-query-example.R +%%DATADIR%%/NoSQL/README-MongoDB.md +%%DATADIR%%/NoSQL/mongodb-database.ms +%%DATADIR%%/NoSQL/mongodb-schema.ms +%%DATADIR%%/NoSQL/mongodb-test.ms +%%DATADIR%%/NoSQL/mongodb-users.ms +%%DATADIR%%/NoSQL/nornet-tools.R +%%DATADIR%%/SQL/README-MySQL+MariaDB.md +%%DATADIR%%/SQL/README-PostgreSQL.md +%%DATADIR%%/SQL/mariadb-database.sql +%%DATADIR%%/SQL/mariadb-delete-all-rows.sql +%%DATADIR%%/SQL/mariadb-schema.sql +%%DATADIR%%/SQL/mariadb-test.sql +%%DATADIR%%/SQL/mariadb-users.sql +%%DATADIR%%/SQL/postgresql-database.sql +%%DATADIR%%/SQL/postgresql-delete-all-rows.sql +%%DATADIR%%/SQL/postgresql-schema.sql +%%DATADIR%%/SQL/postgresql-test.sql +%%DATADIR%%/SQL/postgresql-users.sql +%%DATADIR%%/TestDB/0-make-configurations +%%DATADIR%%/TestDB/1-install-database +%%DATADIR%%/TestDB/2-initialise-database +%%DATADIR%%/TestDB/3-test-database +%%DATADIR%%/TestDB/4-clean-database +%%DATADIR%%/TestDB/5-perform-hpct-importer-test +%%DATADIR%%/TestDB/6-perform-hpct-query-test +%%DATADIR%%/TestDB/9-uninstall-database +%%DATADIR%%/TestDB/CertificateHelper.py +%%DATADIR%%/TestDB/README.md +%%DATADIR%%/TestDB/generate-test-certificates +%%DATADIR%%/TestDB/hpct-users.conf.example +%%DATADIR%%/TestDB/name-in-etc-hosts +%%DATADIR%%/TestDB/run-full-test +%%DATADIR%%/TestDB/test-tls-connection +%%DATADIR%%/hipercontracer-database.conf +%%DATADIR%%/hipercontracer-importer.conf +%%DATADIR%%/hipercontracer.bib +%%DATADIR%%/hipercontracer.pdf +%%DATADIR%%/hipercontracer.png +%%DATADIR%%/results-examples/HiPerConTracer.R +%%DATADIR%%/results-examples/Jitter-ICMP-#12345678-0.0.0.0-20231201T095247.519807-000000008.results.xz +%%DATADIR%%/results-examples/Jitter-ICMP-#12345678-::-20231201T095248.178124-000000007.results.xz +%%DATADIR%%/results-examples/Ping-ICMP-#1000001-0.0.0.0-20241219T090830.364329-000000001.hpct +%%DATADIR%%/results-examples/Ping-ICMP-#1000001-::-20241219T090830.364464-000000001.hpct +%%DATADIR%%/results-examples/Ping-ICMP-#12345678-0.0.0.0-202%%PYTHON_SUFFIX%%08T134228.249420-000000001.results.gz +%%DATADIR%%/results-examples/Ping-ICMP-#12345678-0.0.0.0-202%%PYTHON_SUFFIX%%13T114601.843675-000000001.results.xz +%%DATADIR%%/results-examples/Ping-ICMP-#12345678-0.0.0.0-20241018T071423.125696-000000001.hpct.xz +%%DATADIR%%/results-examples/Ping-ICMP-#12345678-0.0.0.0-20241018T071423.125696-000000002.hpct.xz +%%DATADIR%%/results-examples/Ping-ICMP-#12345678-::-202%%PYTHON_SUFFIX%%08T134229.127910-000000001.results.gz +%%DATADIR%%/results-examples/Ping-ICMP-#12345678-::-202%%PYTHON_SUFFIX%%13T114602.100641-000000001.results.xz +%%DATADIR%%/results-examples/Ping-ICMP-#12345678-::-20241018T071423.126352-000000001.hpct.xz +%%DATADIR%%/results-examples/Ping-ICMP-#12345678-::-20241018T071423.126352-000000002.hpct.xz +%%DATADIR%%/results-examples/Ping-ICMP-#88888888-10.193.4.168-20231018T102656.809336-000000001.results.xz +%%DATADIR%%/results-examples/Ping-ICMP-#88888888-fdb6:6d27:be73:4::50-20231018T102656.817258-000000001.results.xz +%%DATADIR%%/results-examples/Ping-P13735-158.39.4.2-20221012T142120.681066-000003330.results.bz2 +%%DATADIR%%/results-examples/Ping-P13735-2001:700:4100:4::2-20221012T142120.713761-000003330.results.bz2 +%%DATADIR%%/results-examples/Ping-P256751-0.0.0.0-20211212T125352.632431-000000001.results.bz2 +%%DATADIR%%/results-examples/Ping-P79025-0.0.0.0-20221115T161345.273650-000000001.results.bz2 +%%DATADIR%%/results-examples/Ping-UDP-#88888888-10.193.4.168-20231018T102656.812007-000000001.results.xz +%%DATADIR%%/results-examples/Ping-UDP-#88888888-fdb6:6d27:be73:4::50-20231018T102656.819372-000000001.results.xz +%%DATADIR%%/results-examples/README.md +%%DATADIR%%/results-examples/Traceroute-ICMP-#1000001-0.0.0.0-20241219T090830.364422-000000001.hpct +%%DATADIR%%/results-examples/Traceroute-ICMP-#1000001-::-20241219T090830.364515-000000001.hpct +%%DATADIR%%/results-examples/Traceroute-ICMP-#12345678-0.0.0.0-202%%PYTHON_SUFFIX%%08T134228.409798-000000001.results.gz +%%DATADIR%%/results-examples/Traceroute-ICMP-#12345678-0.0.0.0-202%%PYTHON_SUFFIX%%13T114601.920490-000000001.results.xz +%%DATADIR%%/results-examples/Traceroute-ICMP-#12345678-0.0.0.0-20241018T071423.126183-000000001.hpct.xz +%%DATADIR%%/results-examples/Traceroute-ICMP-#12345678-0.0.0.0-20241018T071423.126183-000000002.hpct.xz +%%DATADIR%%/results-examples/Traceroute-ICMP-#12345678-::-202%%PYTHON_SUFFIX%%08T134229.533947-000000001.results.gz +%%DATADIR%%/results-examples/Traceroute-ICMP-#12345678-::-202%%PYTHON_SUFFIX%%13T114602.350837-000000001.results.xz +%%DATADIR%%/results-examples/Traceroute-ICMP-#12345678-::-20241018T071423.126474-000000001.hpct.xz +%%DATADIR%%/results-examples/Traceroute-ICMP-#12345678-::-20241018T071423.126474-000000002.hpct.xz +%%DATADIR%%/results-examples/Traceroute-ICMP-#88888888-10.193.4.168-20231018T102656.810953-000000001.results.xz +%%DATADIR%%/results-examples/Traceroute-ICMP-#88888888-fdb6:6d27:be73:4::50-20231018T102656.818346-000000001.results.xz +%%DATADIR%%/results-examples/Traceroute-P13735-158.39.4.2-20221012T142120.713464-000002601.results.bz2 +%%DATADIR%%/results-examples/Traceroute-P13735-2001:700:4100:4::2-20221012T142120.713994-000002722.results.bz2 +%%DATADIR%%/results-examples/Traceroute-P258235-0.0.0.0-20211212T132253.414640-000000001.results.bz2 +%%DATADIR%%/results-examples/Traceroute-P79025-0.0.0.0-20221115T161345.274003-000000001.results.bz2 +%%DATADIR%%/results-examples/Traceroute-UDP-#88888888-10.193.4.168-20231018T102656.814657-000000001.results.xz +%%DATADIR%%/results-examples/Traceroute-UDP-#88888888-fdb6:6d27:be73:4::50-20231018T102656.821891-000000001.results.xz +%%DATADIR%%/results-examples/r-install-dependencies +%%DATADIR%%/results-examples/r-ping-example +%%DATADIR%%/results-examples/r-traceroute-example +share/icons/hicolor/128x128/apps/hipercontracer.png +share/icons/hicolor/150x150/apps/hipercontracer.png +share/icons/hicolor/16x16/apps/hipercontracer.png +share/icons/hicolor/192x192/apps/hipercontracer.png +share/icons/hicolor/20x20/apps/hipercontracer.png +share/icons/hicolor/22x22/apps/hipercontracer.png +share/icons/hicolor/24x24/apps/hipercontracer.png +share/icons/hicolor/256x256/apps/hipercontracer.png +share/icons/hicolor/310x310/apps/hipercontracer.png +share/icons/hicolor/32x32/apps/hipercontracer.png +share/icons/hicolor/36x36/apps/hipercontracer.png +share/icons/hicolor/40x40/apps/hipercontracer.png +share/icons/hicolor/42x42/apps/hipercontracer.png +share/icons/hicolor/44x44/apps/hipercontracer.png +share/icons/hicolor/48x48/apps/hipercontracer.png +share/icons/hicolor/512x512/apps/hipercontracer.png +share/icons/hicolor/64x64/apps/hipercontracer.png +share/icons/hicolor/72x72/apps/hipercontracer.png +share/icons/hicolor/8x8/apps/hipercontracer.png +share/icons/hicolor/96x96/apps/hipercontracer.png +share/icons/hicolor/scalable/apps/hipercontracer.svg +share/man/man1/dbshell.1.gz +share/man/man1/decrypt-dbeaver-configuration.1.gz +share/man/man1/encrypt-dbeaver-configuration.1.gz share/man/man1/get-default-ips.1.gz share/man/man1/hipercontracer.1.gz -share/man/man1/hpcttrigger.1.gz -share/man/man1/tracedataimporter.1.gz -%%DOCSDIR%%/examples/NoSQL/R-query-example.R -%%DOCSDIR%%/examples/NoSQL/README -%%DOCSDIR%%/examples/NoSQL/admin.ms -%%DOCSDIR%%/examples/NoSQL/database.ms -%%DOCSDIR%%/examples/NoSQL/install-database-and-users -%%DOCSDIR%%/examples/NoSQL/schema.ms -%%DOCSDIR%%/examples/NoSQL/users.ms -%%DOCSDIR%%/examples/SQL/README -%%DOCSDIR%%/examples/SQL/database.sql -%%DOCSDIR%%/examples/SQL/install-database-and-users -%%DOCSDIR%%/examples/SQL/login-as-importer -%%DOCSDIR%%/examples/SQL/login-as-researcher -%%DOCSDIR%%/examples/SQL/procedures.sql -%%DOCSDIR%%/examples/SQL/schema.sql -%%DOCSDIR%%/examples/SQL/users.sql -%%DOCSDIR%%/examples/hipercontracer-database-configuration +share/man/man1/hpct-importer.1.gz +share/man/man1/hpct-node-removal.1.gz +share/man/man1/hpct-node-setup.1.gz +share/man/man1/hpct-nodes-list.1.gz +share/man/man1/hpct-query.1.gz +share/man/man1/hpct-results.1.gz +share/man/man1/hpct-rtunnel.1.gz +share/man/man1/hpct-ssh.1.gz +share/man/man1/hpct-sync.1.gz +share/man/man1/hpct-trigger.1.gz +share/man/man1/hpct-viewer.1.gz +share/man/man1/make-dbeaver-configuration.1.gz +share/man/man1/pipe-checksum.1.gz +share/man/man1/udp-echo-server.1.gz +share/mime/packages/hipercontracer.xml