Bug 299338 - net/mbtget: [NEW PORT] Modbus/TCP client CLI tool
Summary: net/mbtget: [NEW PORT] Modbus/TCP client CLI tool
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Älven
URL: https://github.com/sourceperl/mbtget/
Keywords:
Depends on:
Blocks:
 
Reported: 2026-10-12 17:19 UTC by Luis Castellanos
Modified: 2026-10-13 08:02 UTC (History)
2 users (show)

See Also:


Attachments
shar for net/mbtget port (1.92 KB, text/plain)
2026-10-12 17:19 UTC, Luis Castellanos
no flags Details
[PATCH] net/modbus: [NEW PORT] Simple Modbus/TCP client CLI tool (2.44 KB, patch)
2026-10-12 19:18 UTC, Älven
ing.castellanosdz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Castellanos 2026-10-12 17:19:07 UTC
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.
Comment 1 Älven freebsd_committer freebsd_triage 2026-10-12 18:42:27 UTC
May help with this too :)
Comment 2 Älven freebsd_committer freebsd_triage 2026-10-12 19:15:47 UTC
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
Comment 3 Älven freebsd_committer freebsd_triage 2026-10-12 19:18:12 UTC
Created attachment 275634 [details]
[PATCH] net/modbus: [NEW PORT] Simple Modbus/TCP client CLI tool
Comment 4 Luis Castellanos 2026-10-12 22:34:28 UTC
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”.
Comment 5 Älven freebsd_committer freebsd_triage 2026-10-13 07:56:23 UTC
(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. :)
Comment 6 commit-hook freebsd_committer freebsd_triage 2026-10-13 07:59:55 UTC
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(+)
Comment 7 Älven freebsd_committer freebsd_triage 2026-10-13 08:02:37 UTC
Committed! Hope, at least this time you would have your first own port...