notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Port details
libmodbus Modbus library for GNU/Linux, Mac OS, FreeBSD and Windows
3.2.0 net Deleted new! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: ing.castellanosdz@gmail.com search for ports maintained by this maintainer
Port Added: 2026-10-12 16:09:07
Last Update: 2026-10-12 19:50:51
Commit Hash: 0282721
License: LGPL21+
WWW:
https://libmodbus.org/
Description:
libmodbus is a free software library to send/receive data according to the Modbus protocol. This library is written in C and supports RTU (serial) and TCP (Ethernet) communications. The functions included in the library have been designed with the following properties in mind: easy to use, portable (GNU/Linux, Mac OS, FreeBSD, QNX and Windows), high performance, and low memory footprint. The library provides functions to communicate with Modbus devices such as PLCs, HMIs, sensors, and other industrial equipment commonly found in SCADA and OT/ICS environments.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (15 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libmodbus-3.2.0/catalog.mk
  3. /usr/local/share/licenses/libmodbus-3.2.0/LICENSE
  4. /usr/local/share/licenses/libmodbus-3.2.0/LGPL21+
  5. include/modbus/modbus-rtu.h
  6. include/modbus/modbus-tcp.h
  7. include/modbus/modbus-version.h
  8. include/modbus/modbus.h
  9. lib/libmodbus.so
  10. lib/libmodbus.so.5
  11. lib/libmodbus.so.5.1.0
  12. libdata/pkgconfig/libmodbus.pc
  13. @owner
  14. @group
  15. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libmodbus>0:net/libmodbus
No installation instructions:
This port has been deleted.
PKGNAME: libmodbus
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1791327133 SHA256 (libmodbus-3.2.0.tar.gz) = 72239f319b9b8483e3d393c5a60865d734fcff18a8abbb2486e389834a2f6ef1 SIZE (libmodbus-3.2.0.tar.gz) = 491480

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for libmodbus-3.2.0: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
net_libmodbus
USES:
gmake libtool pathfix pkgconfig
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/stephane/libmodbus/releases/download/v3.2.0/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.2.0
12 Oct 2026 19:50:51
commit hash: 0282721d5b1a085b0c20096b2e077a43186e1e49commit hash: 0282721d5b1a085b0c20096b2e077a43186e1e49commit hash: 0282721d5b1a085b0c20096b2e077a43186e1e49commit hash: 0282721d5b1a085b0c20096b2e077a43186e1e49 files touched by this commit
Älven (alven) search for other commits by this committer
Revert "net/libmodbus: [NEW PORT] Modbus TCP/RTU library for industrial
communications"

* This is the duplicate of comms/libmodbus

This reverts commit 6479175b5c5c80fd1b9912cc30d925ec16b76af7.

PR:  	     299193
3.2.0
12 Oct 2026 16:07:45
commit hash: 6479175b5c5c80fd1b9912cc30d925ec16b76af7commit hash: 6479175b5c5c80fd1b9912cc30d925ec16b76af7commit hash: 6479175b5c5c80fd1b9912cc30d925ec16b76af7commit hash: 6479175b5c5c80fd1b9912cc30d925ec16b76af7 files touched by this commit
Älven (alven) search for other commits by this committer
Author: Luis Castellanos
net/libmodbus: [NEW PORT] Modbus TCP/RTU library for industrial communications

PR:		299193
Reviewed by:	diizzy@
Co-authored by:	alven@

Number of commits found: 2