gnu: opendht: Update to 2.3.1-0.dbbfdaa.
* gnu/packages/networking.scm (opendht): Update to 2.3.1-0.dbbfdaa. Normalize comments indentation. [inputs]: Add bash-minimal to please 'guix lint'. Move argon2, nettle, jsoncpp and openssl to... [propagated-inputs]: ... here.
parent
20f798f30f
commit
f44003444f
|
@ -26,7 +26,7 @@
|
||||||
;;; Copyright © 2018, 2020, 2021 Marius Bakke <marius@gnu.org>
|
;;; Copyright © 2018, 2020, 2021 Marius Bakke <marius@gnu.org>
|
||||||
;;; Copyright © 2018, 2020, 2021 Oleg Pykhalov <go.wigust@gmail.com>
|
;;; Copyright © 2018, 2020, 2021 Oleg Pykhalov <go.wigust@gmail.com>
|
||||||
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||||
;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2019 Vasile Dumitrascu <va511e@yahoo.com>
|
;;; Copyright © 2019 Vasile Dumitrascu <va511e@yahoo.com>
|
||||||
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
|
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
|
||||||
;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
|
;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
|
||||||
|
@ -3361,11 +3361,14 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public opendht
|
(define-public opendht
|
||||||
(let ((commit "6c58d4f2e9b7f1de15db8d3a736c8cf1ea5f2886")
|
;; The version/commit is kept in sync with what Jami uses in its daemon
|
||||||
(revision "1"))
|
;; contrib build system (see:
|
||||||
|
;; https://review.jami.net/plugins/gitiles/jami-daemon/+/refs/heads/master/contrib/src/opendht/rules.mak).
|
||||||
|
(let ((commit "dbbfdaab0f4119abf79646313e0dbc52881dcd56")
|
||||||
|
(revision "0"))
|
||||||
(package
|
(package
|
||||||
(name "opendht")
|
(name "opendht")
|
||||||
(version (git-version "2.3.0" revision commit))
|
(version (git-version "2.3.1" revision commit))
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -3374,21 +3377,21 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"06l0z1dmxyjh8gdrmxyq4vnfnv3x400bhx0lxm7l90f8zc5r2bim"))))
|
"07x8vw999qpfl6qwj5k5l2mcjy1vp32sd567f6imbsnh9vlx2bdv"))))
|
||||||
;; Since 2.0, the gnu-build-system does not seem to work anymore, upstream bug?
|
;; Since 2.0, the gnu-build-system does not seem to work anymore, upstream bug?
|
||||||
(outputs '("out" "tools" "debug"))
|
(outputs '("out" "tools" "debug"))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(inputs
|
(inputs (list bash-minimal fmt readline))
|
||||||
(list argon2
|
|
||||||
nettle
|
|
||||||
readline
|
|
||||||
jsoncpp
|
|
||||||
openssl ;required for the DHT proxy
|
|
||||||
fmt))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list gnutls ;included in opendht/crypto.h
|
(list msgpack ;included in several installed headers
|
||||||
msgpack ;included in several installed headers
|
restinio ;included in opendht/http.h
|
||||||
restinio)) ;included in opendht/http.h
|
;; The following are listed in the 'Requires.private' field of
|
||||||
|
;; opendht.pc:
|
||||||
|
argon2
|
||||||
|
gnutls
|
||||||
|
jsoncpp
|
||||||
|
nettle
|
||||||
|
openssl)) ;required for the DHT proxy
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf
|
(list autoconf
|
||||||
automake
|
automake
|
||||||
|
@ -3403,7 +3406,7 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||||
#:modules (((guix build python-build-system) #:prefix python:)
|
#:modules (((guix build python-build-system) #:prefix python:)
|
||||||
(guix build cmake-build-system)
|
(guix build cmake-build-system)
|
||||||
(guix build utils))
|
(guix build utils))
|
||||||
#:tests? #f ; Tests require network connection.
|
#:tests? #f ;tests require networking
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
'( ;;"-DOPENDHT_TESTS=on"
|
'( ;;"-DOPENDHT_TESTS=on"
|
||||||
"-DOPENDHT_STATIC=off"
|
"-DOPENDHT_STATIC=off"
|
||||||
|
|
Reference in New Issue