summary refs log tree commit diff
path: root/gnu/packages/networking.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-26 22:48:00 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-29 21:15:39 -0400
commitdef8733e035dd08300df3894b38f828dd9b6cc2e (patch)
tree392d75a48e2d0aad8e9a4c86c3a31599cc84cef3 /gnu/packages/networking.scm
parentd368c802840e1dd880975962ee0bd0ec560b6a95 (diff)
downloadguix-def8733e035dd08300df3894b38f828dd9b6cc2e.tar.gz
gnu: dhtnet: Update to 0.0.1-3.7733109.
* gnu/packages/networking.scm (dhtnet): Update to 0.0.1-3.7733109.
[arguments] <delete-problematic-tests>: Update comment for disabling
connectionManager.  Also disable the new turnCache and peerDiscovery tests.

Change-Id: I68ca66283e9b7b79411b1735f7bbec68eb41f77e
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r--gnu/packages/networking.scm24
1 files changed, 14 insertions, 10 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 35779460a3..4e8723dba7 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3989,11 +3989,12 @@ A very simple IM client working over the DHT.
 
 (define-public dhtnet
   ;; There is no tag nor release; use the latest available commit.
-  (let ((revision "2")
-        (commit "024c46fb1f14276d4adf15764ed97b733890826e"))
+  (let ((revision "3")
+        (commit "77331098ff663a5ac54fae7d0bedafe076c575a1"))
     (package
       (name "dhtnet")
-      ;; The base version is taken from the CMakeLists.txt file.
+      ;; The base version is taken from the CMakeLists.txt file (see:
+      ;; https://review.jami.net/plugins/gitiles/dhtnet/+/master/CMakeLists.txt#3).
       (version (git-version "0.0.1" revision commit))
       (source (origin
                 (method git-fetch)
@@ -4003,7 +4004,7 @@ A very simple IM client working over the DHT.
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "191gmfdg22hkmxvzh5i19lr512q4bhgajhlg9mxxgb7jq0842mc6"))))
+                  "1ch736misnlv2aqalj3n62gnz5xlhmip9xfv1aimp0aqinfc94p7"))))
       (outputs (list "out" "debug"))
       (build-system cmake-build-system)
       (arguments
@@ -4016,13 +4017,16 @@ A very simple IM client working over the DHT.
             (add-after 'unpack 'delete-problematic-tests
               (lambda _
                 (substitute* "CMakeLists.txt"
-                  ;; The connectionManager test currently segfaults (see:
-                  ;; https://git.jami.net/savoirfairelinux/dhtnet/-/issues/18).
-                  ((".*tests_connectionManager.*") "")
-                  ;; The ICE tests fail inside the containerized build
-                  ;; environment, perhaps relying on a name resolver (see:
+                  ;; The connectionaMnager, the ICE and turnCache tests fail
+                  ;; inside the containerized build environment, due to
+                  ;; relying on a name resolver (see:
                   ;; https://git.jami.net/savoirfairelinux/dhtnet/-/issues/25).
-                  ((".*tests_ice.*") "")))))))
+                  ((".*tests_connectionManager.*") "")
+                  ((".*tests_ice.*") "")
+                  ((".*tests_turnCache.*") "")
+                  ;; The peerDiscovery test fails for unknown reasons, on an
+                  ;; assertion that checks the value of 'isBobRecvChanlReq'.
+                  ((".*tests_peerDiscovery.*") "")))))))
       (native-inputs (list cppunit pkg-config))
       ;; This library depends on the Jami fork of pjproject that adds ICE
       ;; support.