git: 062148f2a2d3 - main - devel/{,py-}opendht: update 4.4.0 → 4.4.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 20 Oct 2026 08:12:10 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=062148f2a2d357f45e1524290d45701f0a156fb2

commit 062148f2a2d357f45e1524290d45701f0a156fb2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-20 06:22:53 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-20 08:11:16 +0000

    devel/{,py-}opendht: update 4.4.0 → 4.4.1
---
 devel/opendht/Makefile                              |  9 ++++-----
 devel/opendht/distinfo                              |  6 +++---
 devel/opendht/pkg-plist                             |  2 +-
 devel/py-opendht/Makefile                           |  4 ++--
 devel/py-opendht/distinfo                           |  6 +++---
 devel/py-opendht/files/patch-CMakeLists.txt         |  2 +-
 devel/py-opendht/files/patch-tests_test__opendht.py | 14 ++++++++++++++
 7 files changed, 28 insertions(+), 15 deletions(-)

diff --git a/devel/opendht/Makefile b/devel/opendht/Makefile
index 19612befe68a..4d982323534a 100644
--- a/devel/opendht/Makefile
+++ b/devel/opendht/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	opendht
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.4.0
-PORTREVISION=	2
+DISTVERSION=	4.4.1
 CATEGORIES=	devel net
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -34,7 +33,7 @@ USE_LDCONFIG=	yes
 LDFLAGS+=	-lcrypto
 
 CMAKE_OFF=	OPENDHT_STATIC BUILD_TESTING OPENDHT_TESTS_NETWORK
-CMAKE_TESTING_ON=	BUILD_TESTING OPENDHT_TESTS_NETWORK # tests Tests assert and crash, see https://github.com/savoirfairelinux/opendht/issues/696
+CMAKE_TESTING_ON=	BUILD_TESTING # network tests (test_http, test_dhtproxy) assert and crash, see https://github.com/savoirfairelinux/opendht/issues/696
 
 OPTIONS_DEFINE=			INDEX PROXY_CLIENT PROXY_SERVER PUSH_NOTIFICATIONS DOCS
 OPTIONS_DEFAULT=		INDEX PROXY_CLIENT PROXY_SERVER PUSH_NOTIFICATIONS DOCS
@@ -58,7 +57,7 @@ DOCS_CMAKE_BOOL=		OPENDHT_DOCUMENTATION
 
 PORTDOCS=	*
 
-# tests as of 4.4.0: 100% tests passed out of 12 (test_http and test_dhtproxy disabled,
-# see files/patch-CMakeLists.txt)
+# tests as of 4.4.1: 91% tests passed, 1 tests failed out of 11 (test_dhtrunner testListen fails on loopback UDP
+# put loss, same as with 4.4.0 on this host; test_http and test_dhtproxy are disabled, see CMAKE_TESTING_ON)
 
 .include <bsd.port.mk>
diff --git a/devel/opendht/distinfo b/devel/opendht/distinfo
index 130a35cca0ad..3b0f60a1e1d2 100644
--- a/devel/opendht/distinfo
+++ b/devel/opendht/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1788811211
-SHA256 (savoirfairelinux-opendht-v4.4.0_GH0.tar.gz) = 6b52bf081f3539536a93f442e0ea56d0a871eb5b7c06619740c5460c5e338a18
-SIZE (savoirfairelinux-opendht-v4.4.0_GH0.tar.gz) = 547214
+TIMESTAMP = 1792337937
+SHA256 (savoirfairelinux-opendht-v4.4.1_GH0.tar.gz) = 2034831200b7ac0eacbbdebb1f06ed990bff37f26c5edda514e76b604fa631a7
+SIZE (savoirfairelinux-opendht-v4.4.1_GH0.tar.gz) = 550330
diff --git a/devel/opendht/pkg-plist b/devel/opendht/pkg-plist
index 1a195260f351..f577ad88c5fd 100644
--- a/devel/opendht/pkg-plist
+++ b/devel/opendht/pkg-plist
@@ -37,6 +37,6 @@ lib/cmake/opendht/opendhtConfig.cmake
 lib/cmake/opendht/opendhtConfigVersion.cmake
 lib/libopendht.so
 lib/libopendht.so.4
-lib/libopendht.so.4.4.0
+lib/libopendht.so.4.4.1
 libdata/pkgconfig/opendht.pc
 share/man/man1/dhtnode.1.gz
diff --git a/devel/py-opendht/Makefile b/devel/py-opendht/Makefile
index 05ac3cc638d4..6b11ad558299 100644
--- a/devel/py-opendht/Makefile
+++ b/devel/py-opendht/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	opendht
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.4.0
+DISTVERSION=	4.4.1
 CATEGORIES=	devel net
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -32,6 +32,6 @@ post-extract:
 post-stage:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/opendht/_core*.so
 
-# tests as of 4.4.0: 4 tests passed, 1 skipped in 2.031s (test_bootstrap skipped, network ping fails in sandbox; see https://github.com/savoirfairelinux/opendht/issues/683)
+# tests as of 4.4.1: 5 tests, OK (skipped=1) in 6.865s (test_bootstrap skipped, network ping fails in sandbox; see https://github.com/savoirfairelinux/opendht/issues/683)
 
 .include <bsd.port.mk>
diff --git a/devel/py-opendht/distinfo b/devel/py-opendht/distinfo
index c274bebbcb2d..7002b5313488 100644
--- a/devel/py-opendht/distinfo
+++ b/devel/py-opendht/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1788811894
-SHA256 (savoirfairelinux-opendht-v4.4.0_GH0.tar.gz) = 6b52bf081f3539536a93f442e0ea56d0a871eb5b7c06619740c5460c5e338a18
-SIZE (savoirfairelinux-opendht-v4.4.0_GH0.tar.gz) = 547214
+TIMESTAMP = 1792337938
+SHA256 (savoirfairelinux-opendht-v4.4.1_GH0.tar.gz) = 2034831200b7ac0eacbbdebb1f06ed990bff37f26c5edda514e76b604fa631a7
+SIZE (savoirfairelinux-opendht-v4.4.1_GH0.tar.gz) = 550330
diff --git a/devel/py-opendht/files/patch-CMakeLists.txt b/devel/py-opendht/files/patch-CMakeLists.txt
index 39459b838fc2..8aee62133d52 100644
--- a/devel/py-opendht/files/patch-CMakeLists.txt
+++ b/devel/py-opendht/files/patch-CMakeLists.txt
@@ -10,7 +10,7 @@
  set(CURRENT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
  set(CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
  
-+set(PACKAGE_VERSION "4.4.0")
++set(PACKAGE_VERSION "4.4.1")
 +
  configure_file(setup.py.in setup.py)
  configure_file(pyproject.toml pyproject.toml COPYONLY)
diff --git a/devel/py-opendht/files/patch-tests_test__opendht.py b/devel/py-opendht/files/patch-tests_test__opendht.py
new file mode 100644
index 000000000000..bcfb8566d379
--- /dev/null
+++ b/devel/py-opendht/files/patch-tests_test__opendht.py
@@ -0,0 +1,14 @@
+-- Skip test_bootstrap: it pings between two local nodes over the network and
+-- fails in the build/test environment.
+-- See https://github.com/savoirfairelinux/opendht/issues/683
+
+--- tests/test_opendht.py.orig	2026-10-18 17:23:44 UTC
++++ tests/test_opendht.py
+@@ -11,6 +11,7 @@ class OpenDhtTester(unittest.TestCase):
+             del r
+ 
+     # test that bootstraping works (raw address)
++    @unittest.skip("network ping fails in the build sandbox")
+     def test_bootstrap(self):
+         a = dht.DhtRunner()
+         a.run()