Created attachment 275631 [details] shar for net/mbtget port net/mbtget: [NEW PORT] Modbus/TCP client CLI tool mbtget is a simple Modbus/TCP client CLI tool written in pure Perl. It provides read and write access to Modbus registers over TCP, useful for testing, debugging, and auditing industrial devices (PLCs, HMIs, sensors) in OT/ICS environments. Homepage: https://github.com/sourceperl/mbtget Version: 1.5.0 License: MIT Build and functional tests verified on FreeBSD 14.5-RELEASE (amd64). Tested against libmodbus unit-test-server on port 1502. Shar attached.
May help with this too :)
May we have it strictly at v1.5.0 [0] for simple DISTVERSION? As the only meaning change to the scripts/mbtget is [1], removing old URL. With GH_TAGNAME we may end with DISTVERSION=1.5.0.20240426 [0] https://github.com/sourceperl/mbtget/commit/c8009fe5999204a4342b3ce99d3ca1f309a141ee [1] https://github.com/sourceperl/mbtget/commit/01acda038de9c3b45042d160afdaf43e97acd7f3 [2] https://docs.freebsd.org/en/books/porters-handbook/makefiles/#makefile-master_sites-github
Created attachment 275634 [details] [PATCH] net/modbus: [NEW PORT] Simple Modbus/TCP client CLI tool
Comment on attachment 275634 [details] [PATCH] net/modbus: [NEW PORT] Simple Modbus/TCP client CLI tool Patch looks good — thank you for the cleanup, Älven! Minor note: the commit subject says “net/modbus” instead of “net/mbtget”.
(In reply to Luis Castellanos from comment #4) > Patch looks good — thank you for the cleanup, Älven! Glad you like it. > Minor note: the commit subject says “net/modbus” instead of “net/mbtget”. Fixed. Thank you. :)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2ac7d48a43187f018d77d7d036ed97b50491973d commit 2ac7d48a43187f018d77d7d036ed97b50491973d Author: Luis Castellanos <ing.castellanosdz@gmail.com> AuthorDate: 2026-10-12 18:53:49 +0000 Commit: Älven <alven@FreeBSD.org> CommitDate: 2026-10-13 07:52:16 +0000 net/mbtget: [NEW PORT] Simple Modbus/TCP client CLI tool PR: 299338 net/Makefile | 1 + net/mbtget/Makefile (new) | 28 ++++++++++++++++++++++++++++ net/mbtget/distinfo (new) | 3 +++ net/mbtget/pkg-descr (new) | 7 +++++++ 4 files changed, 39 insertions(+)
Committed! Hope, at least this time you would have your first own port...