From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43954) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVJXJ-0004Au-NO for guix-patches@gnu.org; Thu, 14 Nov 2019 13:08:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVJXI-0001yW-FJ for guix-patches@gnu.org; Thu, 14 Nov 2019 13:08:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVJXI-0001yO-Bk for guix-patches@gnu.org; Thu, 14 Nov 2019 13:08:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iVJXI-000775-4e for guix-patches@gnu.org; Thu, 14 Nov 2019 13:08:04 -0500 Subject: [bug#38211] [PATCH 4/9] gnu: opendht: Update to 2.0.0beta2. Resent-Message-ID: From: Pierre Neidhardt Date: Thu, 14 Nov 2019 19:07:03 +0100 Message-Id: <20191114180708.6942-2-mail@ambrevar.xyz> In-Reply-To: <20191114180708.6942-1-mail@ambrevar.xyz> References: <20191114180708.6942-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38211@debbugs.gnu.org From: Jan Wielkiewicz * gnu/packages/networking.scm (opendht): Update to 2.0.0beta2. --- gnu/packages/networking.scm | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 53822c427e..ba48b8c6a6 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -2574,7 +2574,7 @@ and targeted primarily for asynchronous processing of HTTP-requests.") (define-public opendht (package (name "opendht") - (version "1.8.1") + (version "2.0.0beta2") (source (origin (method git-fetch) (uri (git-reference @@ -2583,26 +2583,36 @@ and targeted primarily for asynchronous processing of HTTP-requests.") (file-name (git-file-name name version)) (sha256 (base32 - "0vninb5mak27wigajslyvr05vq7wbrwqhbr4wzl2nmqcb20wmlq2")))) - (build-system gnu-build-system) + "02ix0rvvyhq22gd5djcq84qz08ji7ln93faf23b27zjzni2klzv5")))) + ;; Since 2.0, the gnu-build-system does not seem to work anymore, upstream bug? + (build-system cmake-build-system) (inputs `(("gnutls" ,gnutls) ("nettle" ,nettle) ("readline" ,readline) ("jsoncpp" ,jsoncpp) - ("restbed" ,restbed))) + ("openssl" ,openssl) + ("fmt" ,fmt-restinio))) (propagated-inputs - `(("argon2" ,argon2) ; TODO: Needed for the pkg-config .pc file to work? + `(("argon2" ,argon2) ; TODO: Needed for the pkg-config .pc file to work? ("msgpack" ,msgpack))) ;included in several installed headers (native-inputs `(("autoconf" ,autoconf) ("pkg-config" ,pkg-config) + ("restinio" ,restinio) ("automake" ,automake) - ("libtool" ,libtool))) + ("libtool" ,libtool) + ("cppunit" ,cppunit))) (arguments - `(#:configure-flags '("--disable-tools" - "--disable-python" - "--with-argon2"))) + `(#:tests? #f ; Tests require network connection. + #:configure-flags + '(;; "-DOPENDHT_TESTS=on" + "-DOPENDHT_TOOLS=off" + "-DOPENDHT_PYTHON=off" + "-DOPENDHT_PROXY_SERVER=on" + "-DOPENDHT_PUSH_NOTIFICATIONS=on" + "-DOPENDHT_PROXY_SERVER_IDENTITY=on" + "-DOPENDHT_PROXY_CLIENT=on"))) (home-page "https://github.com/savoirfairelinux/opendht/") (synopsis "Distributed Hash Table (DHT) library") (description "OpenDHT is a Distributed Hash Table (DHT) library. It may -- 2.23.0