Subject: [PATCH 3/9] gnu: Add libnetfilter-cthelper

From: fesoj000 <[email-masked]>
Date: Sat, 19 Mar 2022 01:47:33 +0100

* gnu/packages/linux.scm (libnetfilter-cthelper): New variable.
---
  gnu/packages/linux.scm | 25 +++++++++++++++++++++++++
  1 file changed, 25 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 6dbec31064..8ddd495441 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7298,6 +7298,31 @@ (define-public libnetfilter-cttimeout
                               "libnetfilter_cttimeout/index.html"))
     (license license:gpl2)))
  
+(define-public libnetfilter-cthelper
+  (package
+   (name "libnetfilter_cthelper")
+   (version "1.0.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append "https://netfilter.org/projects/"
+                         "libnetfilter_cthelper/files/"
+                         "libnetfilter_cthelper-"
+                         version ".tar.bz2"))
+     (sha256
+      (base32
+       "0gfgzkc1fjniqwk4jxds72c0lcgfhq2591hrvjrvd9nrqiqqwq87"))))
+   (build-system gnu-build-system)
+   (native-inputs (list libmnl pkg-config))
+   (synopsis "Library for kernel user-space helper infrastructure.")
+   (description "libnetfilter_cthelper is the userspace library that provides
+the programming interface to the user-space helper infrastructure available
+since Linux kernel 3.6. With this library, you register, configure, enable and
+disable user-space helpers. This library is used by conntrack-tools.")
+   (home-page (string-append "https://netfilter.org/projects/"
+                             "libnetfilter_cthelper/index.html"))
+   (license license:gpl2)))
+
  (define-public proot
    (package
      (name "proot")
-- 
2.34.0