Archived
1
0
Fork 0

gnu: unbound: Enable DoH support.

* gnu/packages/dns.scm (unbound)[inputs]: Add NGHTTP2:LIB.
[arguments]: Add "--with-libnghttp2" to #:configure-flags.
This commit is contained in:
Marius Bakke 2021-06-01 18:18:17 +02:00
parent 304895d5e0
commit 8d14d602ea
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -625,12 +625,15 @@ to result in system-wide compromise.")
(inputs (inputs
`(("expat" ,expat) `(("expat" ,expat)
("libevent" ,libevent) ("libevent" ,libevent)
("nghttp2" ,nghttp2 "lib")
("protobuf" ,protobuf) ("protobuf" ,protobuf)
("python-wrapper" ,python-wrapper) ("python-wrapper" ,python-wrapper)
("openssl" ,openssl))) ("openssl" ,openssl)))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list "--disable-static" ; save space and non-determinism in libunbound.a (list "--disable-static" ; save space and non-determinism in libunbound.a
(string-append
"--with-libnghttp2=" (assoc-ref %build-inputs "nghttp2"))
(string-append (string-append
"--with-ssl=" (assoc-ref %build-inputs "openssl")) "--with-ssl=" (assoc-ref %build-inputs "openssl"))
(string-append (string-append