gnu: knot: Support dnstap query logging.
* gnu/packages/dns.scm (knot)[source]: No longer delete dnstap. It appears that dnstap is intended to be bundled and modified. [inputs]: Add fstrm and protobuf-c. [arguments]: Add ‘--with-module-dnstap=yes’ to #:configure-flags.
This commit is contained in:
parent
7e685deeb7
commit
023ef01354
|
@ -494,20 +494,16 @@ Extensions} (DNSSEC).")
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
;; Remove bundled libraries and dependencies on them.
|
;; Delete bundled libraries.
|
||||||
(substitute* "configure"
|
|
||||||
(("src/contrib/dnstap/Makefile") ""))
|
|
||||||
(substitute* "src/Makefile.in"
|
|
||||||
(("contrib/dnstap ") ""))
|
|
||||||
(with-directory-excursion "src/contrib"
|
(with-directory-excursion "src/contrib"
|
||||||
(for-each delete-file-recursively
|
(delete-file-recursively "lmdb"))
|
||||||
(list "dnstap" "lmdb")))
|
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("gnutls" ,gnutls)
|
`(("fstrm" ,fstrm)
|
||||||
|
("gnutls" ,gnutls)
|
||||||
("jansson" ,jansson)
|
("jansson" ,jansson)
|
||||||
("libcap-ng" ,libcap-ng)
|
("libcap-ng" ,libcap-ng)
|
||||||
("libedit" ,libedit)
|
("libedit" ,libedit)
|
||||||
|
@ -516,6 +512,7 @@ Extensions} (DNSSEC).")
|
||||||
("lmdb" ,lmdb)
|
("lmdb" ,lmdb)
|
||||||
("ncurses" ,ncurses)
|
("ncurses" ,ncurses)
|
||||||
("nettle" ,nettle)
|
("nettle" ,nettle)
|
||||||
|
("protobuf-c" ,protobuf-c)
|
||||||
|
|
||||||
;; For ‘pykeymgr’, needed to migrate keys from versions <= 2.4.
|
;; For ‘pykeymgr’, needed to migrate keys from versions <= 2.4.
|
||||||
("python" ,python-2)
|
("python" ,python-2)
|
||||||
|
@ -548,6 +545,7 @@ Extensions} (DNSSEC).")
|
||||||
(list "--sysconfdir=/etc"
|
(list "--sysconfdir=/etc"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
"--with-module-rosedb=yes" ; serve static records from a database
|
"--with-module-rosedb=yes" ; serve static records from a database
|
||||||
|
"--with-module-dnstap=yes" ; allow detailed query logging
|
||||||
(string-append "--with-bash-completions="
|
(string-append "--with-bash-completions="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/etc/bash_completion.d"))))
|
"/etc/bash_completion.d"))))
|
||||||
|
|
Loading…
Reference in New Issue