summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/libmodbus/Makefile2
-rw-r--r--comms/libmodbus/distinfo6
-rw-r--r--comms/libmodbus/files/patch-src_modbus-tcp.c11
-rw-r--r--comms/libmodbus/pkg-plist1
-rw-r--r--comms/py-hid/Makefile13
-rw-r--r--comms/py-hid/distinfo6
6 files changed, 26 insertions, 13 deletions
diff --git a/comms/libmodbus/Makefile b/comms/libmodbus/Makefile
index 9c4c06cb5863..a1675a718bf9 100644
--- a/comms/libmodbus/Makefile
+++ b/comms/libmodbus/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libmodbus
DISTVERSIONPREFIX= v
-DISTVERSION= 3.1.10
+DISTVERSION= 3.1.11
CATEGORIES= comms
MAINTAINER= bofh@FreeBSD.org
diff --git a/comms/libmodbus/distinfo b/comms/libmodbus/distinfo
index 25eccd4a1a25..c2b0667637d2 100644
--- a/comms/libmodbus/distinfo
+++ b/comms/libmodbus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751494982
-SHA256 (stephane-libmodbus-v3.1.10_GH0.tar.gz) = e93503749cd89fda4c8cf1ee6371a3a9cc1f0a921c165afbbc4fd96d4813fa1a
-SIZE (stephane-libmodbus-v3.1.10_GH0.tar.gz) = 204988
+TIMESTAMP = 1751555493
+SHA256 (stephane-libmodbus-v3.1.11_GH0.tar.gz) = 8a750452ef86a53de6cec6fbca67bd5be08d0a1e87278a422fbce3003fd42d99
+SIZE (stephane-libmodbus-v3.1.11_GH0.tar.gz) = 207911
diff --git a/comms/libmodbus/files/patch-src_modbus-tcp.c b/comms/libmodbus/files/patch-src_modbus-tcp.c
new file mode 100644
index 000000000000..1d317dedc173
--- /dev/null
+++ b/comms/libmodbus/files/patch-src_modbus-tcp.c
@@ -0,0 +1,11 @@
+--- src/modbus-tcp.c.orig 2025-07-03 21:07:28 UTC
++++ src/modbus-tcp.c
+@@ -257,7 +257,7 @@ static int _modbus_tcp_set_ipv4_options(int s)
+ #endif
+ #endif
+
+-#ifndef OS_WIN32
++#if !defined(OS_WIN32) && !defined(__FreeBSD__)
+ /**
+ * Cygwin defines IPTOS_LOWDELAY but can't handle that flag so it's
+ * necessary to workaround that problem.
diff --git a/comms/libmodbus/pkg-plist b/comms/libmodbus/pkg-plist
index ed0d32b2ba09..31d6a3334b83 100644
--- a/comms/libmodbus/pkg-plist
+++ b/comms/libmodbus/pkg-plist
@@ -48,6 +48,7 @@ libdata/pkgconfig/libmodbus.pc
%%MANPAGES%%share/man/man3/modbus_rtu_set_rts_delay.3.gz
%%MANPAGES%%share/man/man3/modbus_rtu_set_serial_mode.3.gz
%%MANPAGES%%share/man/man3/modbus_send_raw_request.3.gz
+%%MANPAGES%%share/man/man3/modbus_send_raw_request_tid.3.gz
%%MANPAGES%%share/man/man3/modbus_set_bits_from_byte.3.gz
%%MANPAGES%%share/man/man3/modbus_set_bits_from_bytes.3.gz
%%MANPAGES%%share/man/man3/modbus_set_byte_timeout.3.gz
diff --git a/comms/py-hid/Makefile b/comms/py-hid/Makefile
index 6372b26f871d..57dee80cff33 100644
--- a/comms/py-hid/Makefile
+++ b/comms/py-hid/Makefile
@@ -1,21 +1,22 @@
PORTNAME= hid
-DISTVERSION= 1.0.7
-PORTREVISION= 1
+DISTVERSION= 1.0.8
CATEGORIES= comms python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Ctypes bindings to comms/hidapi
+MAINTAINER= nxjoseph@protonmail.com
+COMMENT= ctypes bindings for hidapi
WWW= https://github.com/apmorton/pyhidapi
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= hidapi>0:comms/hidapi
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= hidapi>=0:comms/hidapi
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/comms/py-hid/distinfo b/comms/py-hid/distinfo
index ddfe3e917e16..80afeaf2e8d9 100644
--- a/comms/py-hid/distinfo
+++ b/comms/py-hid/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739656219
-SHA256 (hid-1.0.7.tar.gz) = 3f809e292ab52c4435ad1442c8ef205be4c9ca4eeb80fb47c7d98e0c75527b2a
-SIZE (hid-1.0.7.tar.gz) = 4897
+TIMESTAMP = 1751375043
+SHA256 (hid-1.0.8.tar.gz) = 5ca129a7b9434ace5e3e429c1092a16792feffaf067a46b666e9c586872cdcfe
+SIZE (hid-1.0.8.tar.gz) = 4967