gnu: knot: Update to 3.0.0.
* gnu/packages/dns.scm (knot): Update to 3.0.0. Order fields more conventionally. [source]: Remove obsolete snippet.
This commit is contained in:
parent
dc5ccd2e4d
commit
84da8f7fee
1 changed files with 25 additions and 32 deletions
|
@ -803,37 +803,25 @@ Extensions} (DNSSEC).")
|
||||||
(define-public knot
|
(define-public knot
|
||||||
(package
|
(package
|
||||||
(name "knot")
|
(name "knot")
|
||||||
(version "2.9.6")
|
(version "3.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://secure.nic.cz/files/knot-dns/"
|
(uri (string-append "https://secure.nic.cz/files/knot-dns/"
|
||||||
"knot-" version ".tar.xz"))
|
"knot-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1rxjjisr6rz1wa4279ghvj5zzhgyjhncmb9dkzqm8nw2qs1jhx5z"))
|
(base32 "1i76zflc49jbsaj3idxx7a6x87c0lzal294c3fdjyfl7dvznmjgi"))))
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
'(begin
|
|
||||||
;; Delete bundled libraries.
|
|
||||||
(with-directory-excursion "src/contrib"
|
|
||||||
(delete-file-recursively "lmdb"))
|
|
||||||
#t))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
|
||||||
`(("pkg-config" ,pkg-config)))
|
|
||||||
(inputs
|
|
||||||
`(("fstrm" ,fstrm)
|
|
||||||
("gnutls" ,gnutls)
|
|
||||||
("jansson" ,jansson)
|
|
||||||
("libcap-ng" ,libcap-ng)
|
|
||||||
("libedit" ,libedit)
|
|
||||||
("libidn" ,libidn)
|
|
||||||
("liburcu" ,liburcu)
|
|
||||||
("lmdb" ,lmdb)
|
|
||||||
("ncurses" ,ncurses)
|
|
||||||
("protobuf-c" ,protobuf-c)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:configure-flags
|
||||||
|
(list "--sysconfdir=/etc"
|
||||||
|
"--localstatedir=/var"
|
||||||
|
"--enable-dnstap" ; let tools read/write capture files
|
||||||
|
"--with-module-dnstap=yes" ; detailed query capturing & logging
|
||||||
|
(string-append "--with-bash-completions="
|
||||||
|
(assoc-ref %outputs "out")
|
||||||
|
"/etc/bash_completion.d"))
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'configure 'disable-directory-pre-creation
|
(add-before 'configure 'disable-directory-pre-creation
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -848,15 +836,20 @@ Extensions} (DNSSEC).")
|
||||||
(etc (string-append doc "/examples/etc")))
|
(etc (string-append doc "/examples/etc")))
|
||||||
(invoke "make"
|
(invoke "make"
|
||||||
(string-append "config_dir=" etc)
|
(string-append "config_dir=" etc)
|
||||||
"install")))))
|
"install")))))))
|
||||||
#:configure-flags
|
(native-inputs
|
||||||
(list "--sysconfdir=/etc"
|
`(("pkg-config" ,pkg-config)))
|
||||||
"--localstatedir=/var"
|
(inputs
|
||||||
"--enable-dnstap" ; let tools read/write capture files
|
`(("fstrm" ,fstrm)
|
||||||
"--with-module-dnstap=yes" ; detailed query capturing & logging
|
("gnutls" ,gnutls)
|
||||||
(string-append "--with-bash-completions="
|
("jansson" ,jansson)
|
||||||
(assoc-ref %outputs "out")
|
("libcap-ng" ,libcap-ng)
|
||||||
"/etc/bash_completion.d"))))
|
("libedit" ,libedit)
|
||||||
|
("libidn" ,libidn)
|
||||||
|
("liburcu" ,liburcu)
|
||||||
|
("lmdb" ,lmdb)
|
||||||
|
("ncurses" ,ncurses)
|
||||||
|
("protobuf-c" ,protobuf-c)))
|
||||||
(home-page "https://www.knot-dns.cz/")
|
(home-page "https://www.knot-dns.cz/")
|
||||||
(synopsis "Authoritative DNS name server")
|
(synopsis "Authoritative DNS name server")
|
||||||
(description "Knot DNS is an authoritative name server for the @dfn{Domain
|
(description "Knot DNS is an authoritative name server for the @dfn{Domain
|
||||||
|
|
Reference in a new issue