gnu: knot-resolver: Update to 5.4.3.

* gnu/packages/dns.scm (knot-resolver): Update to 5.4.3.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-17 21:10:43 +01:00
parent ad1cd31155
commit 8d973a5a9b
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1045,14 +1045,14 @@ (define-public knot
(define-public knot-resolver (define-public knot-resolver
(package (package
(name "knot-resolver") (name "knot-resolver")
(version "5.4.2") (version "5.4.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://secure.nic.cz/files/knot-resolver/" (uri (string-append "https://secure.nic.cz/files/knot-resolver/"
"knot-resolver-" version ".tar.xz")) "knot-resolver-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"12x5cd09rv530pak5f2smxcfq2zdqg0g5qxsd5k0alm7f6aj2spa")))) "01m5s2kllr0apkg0bcfagzvijyfbivby03d1pjv3c0qrjgmjk1s8"))))
(build-system meson-build-system) (build-system meson-build-system)
(outputs '("out" "doc")) (outputs '("out" "doc"))
(arguments (arguments
@ -1064,8 +1064,7 @@ (define-public knot-resolver
;; Disable the default managed root TA, since we don't have ;; Disable the default managed root TA, since we don't have
;; write access to the keyfile and its directory in store. ;; write access to the keyfile and its directory in store.
(substitute* "daemon/lua/sandbox.lua.in" (substitute* "daemon/lua/sandbox.lua.in"
(("^trust_anchors\\.add_file.*") "")) (("^trust_anchors\\.add_file.*") ""))))
#t))
(add-after 'build 'build-doc (add-after 'build 'build-doc
(lambda _ (lambda _
(invoke "ninja" "doc"))) (invoke "ninja" "doc")))
@ -1096,8 +1095,7 @@ (define-public knot-resolver
(string-append p "/lib/lua/5.1/?.so")))) (string-append p "/lib/lua/5.1/?.so"))))
(wrap-program (string-append out "/sbin/kresd") (wrap-program (string-append out "/sbin/kresd")
`("LUA_PATH" ";" prefix ,(map lua-path lua-*)) `("LUA_PATH" ";" prefix ,(map lua-path lua-*))
`("LUA_CPATH" ";" prefix ,(map lua-cpath lua-*))) `("LUA_CPATH" ";" prefix ,(map lua-cpath lua-*)))))))))
#t))))))
(native-inputs (native-inputs
(list cmocka ; for unit tests (list cmocka ; for unit tests
doxygen doxygen