git: 0282721d5b1a - main - Revert "net/libmodbus: [NEW PORT] Modbus TCP/RTU library for industrial communications"

From: Älven <alven_at_FreeBSD.org>
Date: Mon, 12 Oct 2026 19:52:45 UTC
The branch main has been updated by alven:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0282721d5b1a085b0c20096b2e077a43186e1e49

commit 0282721d5b1a085b0c20096b2e077a43186e1e49
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2026-10-12 19:49:23 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2026-10-12 19:50:51 +0000

    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
---
 net/Makefile            |  1 -
 net/libmodbus/Makefile  | 28 ----------------------------
 net/libmodbus/distinfo  |  3 ---
 net/libmodbus/pkg-descr | 10 ----------
 net/libmodbus/pkg-plist |  8 --------
 5 files changed, 50 deletions(-)

diff --git a/net/Makefile b/net/Makefile
index fcdddcc18d4e..ec7d7d0b9daa 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -404,7 +404,6 @@
     SUBDIR += libmateweather
     SUBDIR += libmaxminddb
     SUBDIR += libmdf
-    SUBDIR += libmodbus
     SUBDIR += libnatpmp
     SUBDIR += libndp
     SUBDIR += libnet
diff --git a/net/libmodbus/Makefile b/net/libmodbus/Makefile
deleted file mode 100644
index c6b6003054fa..000000000000
--- a/net/libmodbus/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-PORTNAME=	libmodbus
-DISTVERSION=	3.2.0
-CATEGORIES=	net
-MASTER_SITES=	https://github.com/stephane/libmodbus/releases/download/v${DISTVERSION}/
-
-MAINTAINER=	ing.castellanosdz@gmail.com
-COMMENT=	Modbus library for GNU/Linux, Mac OS, FreeBSD and Windows
-WWW=		https://libmodbus.org/
-
-LICENSE=	LGPL21+
-LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
-
-USES=		gmake libtool pathfix pkgconfig
-USE_LDCONFIG=	yes
-
-GNU_CONFIGURE=	yes
-
-INSTALL_TARGET=	install-strip
-TEST_TARGET=	check
-
-PORTDOCS=	AUTHORS NEWS.md README.md
-
-OPTIONS_DEFINE=	DOCS
-
-post-install-DOCS-off:
-	${RM} -r ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/net/libmodbus/distinfo b/net/libmodbus/distinfo
deleted file mode 100644
index 613547e17027..000000000000
--- a/net/libmodbus/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1791327133
-SHA256 (libmodbus-3.2.0.tar.gz) = 72239f319b9b8483e3d393c5a60865d734fcff18a8abbb2486e389834a2f6ef1
-SIZE (libmodbus-3.2.0.tar.gz) = 491480
diff --git a/net/libmodbus/pkg-descr b/net/libmodbus/pkg-descr
deleted file mode 100644
index 24217946be42..000000000000
--- a/net/libmodbus/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-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.
diff --git a/net/libmodbus/pkg-plist b/net/libmodbus/pkg-plist
deleted file mode 100644
index d3a8805137e7..000000000000
--- a/net/libmodbus/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-include/modbus/modbus-rtu.h
-include/modbus/modbus-tcp.h
-include/modbus/modbus-version.h
-include/modbus/modbus.h
-lib/libmodbus.so
-lib/libmodbus.so.5
-lib/libmodbus.so.5.1.0
-libdata/pkgconfig/libmodbus.pc