summary refs log tree commit diff
diff options
context:
space:
mode:
authorfesoj000 <fesoj000@gmail.com>2022-03-27 00:34:21 +0100
committerLudovic Courtès <ludo@gnu.org>2022-04-11 13:48:30 +0200
commit6d9cfb91aaeb8a2f3bb4db223c440a6cc396ea32 (patch)
treeb7bfc70d561f60083315548af8cc46f1c83127c5
parent0f31129e4e9864938fadf7ac1b33290c377e579b (diff)
downloadguix-6d9cfb91aaeb8a2f3bb4db223c440a6cc396ea32.tar.gz
gnu: Add libnetfilter-cthelper
* gnu/packages/linux.scm (libnetfilter-cthelper): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/linux.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 778a757d8b..90940912a8 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7348,6 +7348,37 @@ by conntrack-tools.")
     (supported-systems (filter target-linux? %supported-systems))
     (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 pkg-config))
+    (inputs (list libmnl))
+    (synopsis "Library for user-space connection tracking helpers")
+    (description "libnetfilter_cthelper is a userspace library that provides a
+programming interface to user-space connection tracking helpers.
+@enumerate
+@item
+register new user-space connection tracking helpers
+@item
+unregister user-space connection tracking helpers
+@item
+list existing registered user-space connection tracking helpers
+@end enumerate")
+    (home-page "https://netfilter.org/projects/libnetfilter_cthelper/index.html")
+    (supported-systems (filter target-linux? %supported-systems))
+    (license license:gpl2+)))
+
 (define-public proot
   (package
     (name "proot")