[PATCH 0/2] gnu: nftables: small rework

DoneSubmitted by fesoj000.
Details
2 participants
  • fesoj000
  • Ludovic Courtès
Owner
unassigned
Severity
normal
F
F
fesoj000 wrote on 10 Mar 22:17 +0100
(address . guix-patches@gnu.org)
73e35ee1-5e28-70c9-8f0e-bdb097cf060b@gmail.com
This patch series does two simple things.

- build manpages for nftables

- enable json support for nftables
F
F
fesoj000 wrote on 10 Mar 22:20 +0100
[PATCH 1/2] gnu: nftables: Enable build of manpages.
(address . 54332@debbugs.gnu.org)
c951fe20-dd4c-932f-6c99-6c639da98b65@gmail.com
* gnu/packages/linux.scm (nftables)[native-inputs]: Add docbook2x.
---
gnu/packages/linux.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

Toggle diff (20 lines)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index cc0084be8a..99db0a2fbd 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7231,11 +7231,10 @@ (define-public nftables
          (base32 "08x4xw0s5sap3q7jfr91v7mrkxrydi4dvsckw85ims0qb1ibmviw"))))
      (build-system gnu-build-system)
      (arguments `(#:configure-flags
-                 '("--disable-man-doc"  ; FIXME: needs docbook2x
-                   "--disable-static"
+                 '("--disable-static"
                     "--with-cli=readline")))
      (inputs (list gmp libmnl libnftnl readline))
-    (native-inputs (list pkg-config bison flex))
+    (native-inputs (list pkg-config bison flex docbook2x))
      (home-page "https://www.nftables.org")
      (synopsis "Userspace utility for Linux packet filtering")
      (description "nftables is the project that aims to replace the existing
-- 
2.34.0
F
F
fesoj000 wrote on 10 Mar 22:21 +0100
[PATCH 2/2] gnu: nftables: Enable json output.
(address . 54332@debbugs.gnu.org)
b05e0193-4d8d-12e8-7e7b-13e6dfee054d@gmail.com
* gnu/packages/linux.scm (nftables)[inputs]: Add jansson.
---
gnu/packages/linux.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Toggle diff (18 lines)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 99db0a2fbd..1b4b6f33f2 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7232,8 +7232,9 @@ (define-public nftables
      (build-system gnu-build-system)
      (arguments `(#:configure-flags
                   '("--disable-static"
-                   "--with-cli=readline")))
-    (inputs (list gmp libmnl libnftnl readline))
+                   "--with-cli=readline"
+                   "--with-json")))
+    (inputs (list gmp libmnl libnftnl readline jansson))
      (native-inputs (list pkg-config bison flex docbook2x))
      (home-page "https://www.nftables.org")
      (synopsis "Userspace utility for Linux packet filtering")
-- 
2.34.0
L
L
Ludovic Courtès wrote on 25 Mar 12:04 +0100
Re: bug#54332: [PATCH 0/2] gnu: nftables: small rework
(name . fesoj000)(address . fesoj000@gmail.com)(address . 54332-done@debbugs.gnu.org)
87zgle70oo.fsf_-_@gnu.org
Hi,

fesoj000 <fesoj000@gmail.com> skribis:

Toggle quote (2 lines)
> * gnu/packages/linux.scm (nftables)[native-inputs]: Add docbook2x.

[...]

Toggle quote (2 lines)
> * gnu/packages/linux.scm (nftables)[inputs]: Add jansson.

Applied, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 54332@debbugs.gnu.org