From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QEUFDPcHZGBdSgAAgWs5BA (envelope-from ) for ; Wed, 31 Mar 2021 07:26:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id APvHBfcHZGCOOAAA1q6Kng (envelope-from ) for ; Wed, 31 Mar 2021 05:26:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9BEC3FD5D for ; Wed, 31 Mar 2021 07:26:14 +0200 (CEST) Received: from localhost ([::1]:45042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRTMr-00011m-Pm for larch@yhetil.org; Wed, 31 Mar 2021 01:26:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRTLk-0000Qy-27 for guix-patches@gnu.org; Wed, 31 Mar 2021 01:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRTLj-0006OY-RR for guix-patches@gnu.org; Wed, 31 Mar 2021 01:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRTLj-000377-O4 for guix-patches@gnu.org; Wed, 31 Mar 2021 01:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47513] [PATCH 05/12] gnu: opendht: Update to 2.2.0rc4. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Mar 2021 05:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47513 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47513@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 47513-submit@debbugs.gnu.org id=B47513.161716825111832 (code B ref 47513); Wed, 31 Mar 2021 05:25:03 +0000 Received: (at 47513) by debbugs.gnu.org; 31 Mar 2021 05:24:11 +0000 Received: from localhost ([127.0.0.1]:53250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRTKs-00034g-HC for submit@debbugs.gnu.org; Wed, 31 Mar 2021 01:24:10 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:43778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRTKj-00032Q-MH for 47513@debbugs.gnu.org; Wed, 31 Mar 2021 01:24:03 -0400 Received: by mail-qv1-f45.google.com with SMTP id cx5so9373594qvb.10 for <47513@debbugs.gnu.org>; Tue, 30 Mar 2021 22:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XxtzBDE4YOGSqt8t6TPLmEHihxpxfVZqXidK7D6xJnc=; b=ner/MXU4tHiZQc/Oo05jK9b9J+OpVKMXZSqizBconhexRKXVu4QRjbq6lNsmZZHBaU 8G/K3dhM5JTjYOqmix8E89me5NI+ZH5b+CHCc1C3YUEUJkIdkdgOYo+yX6H3+C0qi1Fl fw+dHpneKA9jZpVgV/Cru5fJgn8xWcWGLuoEt9plCJVTIjg2b+Bhy2OyLoukke6PfESX BgD3FI0bOOhrqD3dyFm2fFlud0HR0itQd6wPsUEahxFvsJKungCV5vib0RwwgqFzjWbI r5tPfu2ksAugIjvwyqPgWD/O7FmGGvVmDTQHT/y6ApggQgtgnRkVtRamtpU/IAfHasSK Xlyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XxtzBDE4YOGSqt8t6TPLmEHihxpxfVZqXidK7D6xJnc=; b=g9cPJowBr/YgErXSsCc8qFw0sZYXo0PkCMZpBfxiOQJfyn0GSyHX9yWPj6hUighLAB 7vxgSwsgEp3GTbLGYxCL9Jcgk8+N+niGyPCF61HvKOlBM6ABbgE9sD1JfDxPMWW3tkTH YfSBClD2D2zc9DsBA6OAH1H75wGWdM1PE88vB+jgOm/rB75ZI263kqzsfyj0IxTMIhNR 8bH68jVXmJR66xpTuWfhLvx8gTEBm+mprQFfEDqkHi++oW+uegi3boQ5hpsvYU6bKzdh 4NAPBxRKAYkhrFpv4nf/uUi/qQVilIT/yJuMS5cnOGlH/mJcHKrh/k9i0r2WwuErYU+g eCNg== X-Gm-Message-State: AOAM533FUZsVz6UNakiFCdyuC6+OSGHd7QM02Bb9wQMYCZiJNIuUUgKZ +Yw7WdIUjcQH54Tat9X5RkrOu8KOJTA= X-Google-Smtp-Source: ABdhPJz7JSjwBrkyMY3cDWdyKu0Y/KDeJmpZ3JanexjJhoF/FHsxJNCLXCa6P1frNz16r/5nsQ+lVQ== X-Received: by 2002:ad4:4904:: with SMTP id bh4mr1396280qvb.53.1617168235907; Tue, 30 Mar 2021 22:23:55 -0700 (PDT) Received: from localhost.localdomain ([207.35.95.145]) by smtp.gmail.com with ESMTPSA id q64sm828662qtd.32.2021.03.30.22.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 22:23:55 -0700 (PDT) From: Maxim Cournoyer Date: Wed, 31 Mar 2021 01:23:41 -0400 Message-Id: <20210331052348.5164-5-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210331052348.5164-1-maxim.cournoyer@gmail.com> References: <20210331052348.5164-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617168374; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XxtzBDE4YOGSqt8t6TPLmEHihxpxfVZqXidK7D6xJnc=; b=RY0FuAAYw3tQmFTe02ghS6N4es0BqE1kh4OlI4LGEZ46JPT00snGJkYj/I6UF+bJsI42nt tzXLGNOTqyqkqi+IPNf4LZhv+QLJm4EjUkhZh5RSj2GvLFQf0ix6ls/94dRgF6drj6gv0h fpDxEZUQdGP4xYJLd+k+BivvYxAfTVBSbUtwI1UxqqMgxgpXRDyqSZbmrNK9a8Ew2kGCVq ZIn6VEkc23M22kV4GvYuJh1Y1sAFOaFws/HmydUkKz6JQ/Y/TEYf+9pSCZGmg+X3Mp7RAh Cylse3nhkbf97NjqYikytzOxkM86Wh4/+YoZ+utrcFZ6Qcenbb5XUYcE9UEOTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617168374; a=rsa-sha256; cv=none; b=En3uqfPlNzFg0G6Pj8v3yNTFKwj5YS2JVjGoKgVz+XUKr42J6RUIUlc1H8gL7GIXjymsLz 7T00IEt7eyuGGsyKx+nGICklun1yys5IKoeCiB9ZG/leuArqfxEdXzlXtLnhwQh8vE3HWx 1pB3dk4MSn6ZyYyvPOYXL2B4uu/77VBbiNx65uJKmiGiRsJNapiEG7089NO9OrVXoZGGVL kuVg2drJzN94Fr8PNcVt9tYu7SUb45JEkePe8W64izYpj5laZFlP9DiKjrtXUpX5GAxFPZ YM6F/7lpN2qgsfkkAqfBKUio8ZJhXY5amD3iQSIiUh+0rDM3KZlVGrNHqO+RwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="ner/MXU4"; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="ner/MXU4"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9BEC3FD5D X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ri6BYrsSuGYY * gnu/packages/patches/opendht-fix-jami.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Un-register it. * gnu/packages/networking.scm (opendht): Update to 2.2.0rc4. [patches]: Remove field. [inputs]: Use nettle-3.7. [native-inputs]: Move restinio to... [propagated-inputs]: ... here. --- gnu/local.mk | 1 - gnu/packages/networking.scm | 13 ++++---- gnu/packages/patches/opendht-fix-jami.patch | 33 --------------------- 3 files changed, 6 insertions(+), 41 deletions(-) delete mode 100644 gnu/packages/patches/opendht-fix-jami.patch diff --git a/gnu/local.mk b/gnu/local.mk index deb4ddcede..9bc7ae7564 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1469,7 +1469,6 @@ dist_patch_DATA = \ %D%/packages/patches/opencascade-oce-glibc-2.26.patch \ %D%/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch \ %D%/packages/patches/opencv-rgbd-aarch64-test-fix.patch \ - %D%/packages/patches/opendht-fix-jami.patch \ %D%/packages/patches/openfoam-4.1-cleanup.patch \ %D%/packages/patches/openjdk-10-idlj-reproducibility.patch \ %D%/packages/patches/openmpi-mtl-priorities.patch \ diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 464192ad7e..7a09c48651 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -3428,40 +3428,39 @@ and targeted primarily for asynchronous processing of HTTP-requests.") (define-public opendht (package (name "opendht") - (version "2.1.4") + (version "2.2.0rc4") ;jami requires >= 2.2.0 (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/savoirfairelinux/opendht") (commit version))) (file-name (git-file-name name version)) - (patches (search-patches "opendht-fix-jami.patch")) (sha256 (base32 - "1ax26ri1ifb6s8ppd28jmanka9yf8mw3np65q2h4djhhik0phhal")))) + "1wc0f6cnvnlmhxnx64nxqgsx93k4g7ljdaqjl40ml74jg3nqrzcl")))) ;; Since 2.0, the gnu-build-system does not seem to work anymore, upstream bug? (build-system cmake-build-system) (inputs `(("argon2" ,argon2) - ("nettle" ,nettle) + ("nettle" ,nettle-3.7) ("readline" ,readline) ("jsoncpp" ,jsoncpp) ("openssl" ,openssl) ;required for the DHT proxy ("fmt" ,fmt))) (propagated-inputs `(("gnutls" ,gnutls) ;included in opendht/crypto.h - ("msgpack" ,msgpack))) ;included in several installed headers + ("msgpack" ,msgpack) ;included in several installed headers + ("restinio" ,restinio))) ;included in opendht/http.h (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("pkg-config" ,pkg-config) - ("restinio" ,restinio) ;headers only library ("libtool" ,libtool) ("cppunit" ,cppunit))) (arguments `(#:tests? #f ; Tests require network connection. #:configure-flags - '(;; "-DOPENDHT_TESTS=on" + '(;;"-DOPENDHT_TESTS=on" "-DOPENDHT_TOOLS=off" "-DOPENDHT_PYTHON=off" "-DOPENDHT_PROXY_SERVER=on" diff --git a/gnu/packages/patches/opendht-fix-jami.patch b/gnu/packages/patches/opendht-fix-jami.patch deleted file mode 100644 index 9718a84a41..0000000000 --- a/gnu/packages/patches/opendht-fix-jami.patch +++ /dev/null @@ -1,33 +0,0 @@ -From e2b39dd3a0742853e00f9c3e8c46c911da20bed7 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Adrien=20B=C3=A9raud?= -Date: Tue, 30 Jun 2020 10:42:49 -0400 -Subject: [PATCH 1/4] http/request: make terminate public - ---- - include/opendht/http.h | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/include/opendht/http.h b/include/opendht/http.h -index cc8d5f9..46b722c 100644 ---- a/include/opendht/http.h -+++ b/include/opendht/http.h -@@ -294,6 +294,7 @@ public: - * User action to cancel the Request and call the completion callbacks. - */ - void cancel(); -+ void terminate(const asio::error_code& ec); - - private: - using OnCompleteCb = std::function; -@@ -320,8 +321,6 @@ private: - - void connect(std::vector&& endpoints, HandlerCb cb = {}); - -- void terminate(const asio::error_code& ec); -- - void post(); - - void handle_request(const asio::error_code& ec); --- -2.27.0 - -- 2.31.1