guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/09: gnu: knot: Support dnstap query logging.


From: Tobias Geerinckx-Rice
Subject: 08/09: gnu: knot: Support dnstap query logging.
Date: Mon, 20 Nov 2017 20:50:58 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 023ef01354671f28e88b1dd3e6f4cf9fefb6f6d9
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Thu Nov 16 07:57:55 2017 +0100

    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.
---
 gnu/packages/dns.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index b06cde7..c1cdb61 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -494,20 +494,16 @@ Extensions} (DNSSEC).")
               (modules '((guix build utils)))
               (snippet
                '(begin
-                  ;; Remove bundled libraries and dependencies on them.
-                  (substitute* "configure"
-                    (("src/contrib/dnstap/Makefile") ""))
-                  (substitute* "src/Makefile.in"
-                    (("contrib/dnstap ") ""))
+                  ;; Delete bundled libraries.
                   (with-directory-excursion "src/contrib"
-                    (for-each delete-file-recursively
-                              (list "dnstap" "lmdb")))
+                    (delete-file-recursively "lmdb"))
                   #t))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs
-     `(("gnutls" ,gnutls)
+     `(("fstrm" ,fstrm)
+       ("gnutls" ,gnutls)
        ("jansson" ,jansson)
        ("libcap-ng" ,libcap-ng)
        ("libedit" ,libedit)
@@ -516,6 +512,7 @@ Extensions} (DNSSEC).")
        ("lmdb" ,lmdb)
        ("ncurses" ,ncurses)
        ("nettle" ,nettle)
+       ("protobuf-c" ,protobuf-c)
 
        ;; For ‘pykeymgr’, needed to migrate keys from versions <= 2.4.
        ("python" ,python-2)
@@ -548,6 +545,7 @@ Extensions} (DNSSEC).")
        (list "--sysconfdir=/etc"
              "--localstatedir=/var"
              "--with-module-rosedb=yes" ; serve static records from a database
+             "--with-module-dnstap=yes" ; allow detailed query logging
              (string-append "--with-bash-completions="
                             (assoc-ref %outputs "out")
                             "/etc/bash_completion.d"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]