guix-patches
[Top][All Lists]
Advanced

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

[bug#54457] [PATCHv3 7/9] gnu: Add nfacct


From: fesoj000
Subject: [bug#54457] [PATCHv3 7/9] gnu: Add nfacct
Date: Sun, 27 Mar 2022 00:34:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

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

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4956f9dc6c..74c088fa0d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7459,6 +7459,39 @@ (define-public libnetfilter-acct
    (supported-systems (filter target-linux? %supported-systems))
    (license license:lgpl2.1+)))
+(define-public nfacct
+  (package
+   (name "nfacct")
+   (version "1.0.2")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append "https://netfilter.org/projects/"; name "/files/" name
+                         "-" version ".tar.bz2"))
+     (sha256
+      (base32
+       "0sdxbxjyapbqcp2ami5jd10vz4xbbdvx39f3wfy1iqsbflc25zzc"))))
+   (build-system gnu-build-system)
+   (native-inputs (list pkg-config))
+   (inputs (list libmnl libnetfilter-acct))
+   (synopsis "Command line tool to create/retrieve/delete accounting objects")
+   (description "nfacct is the command line tool to create/retrieve/delete
+accounting objects
+@enumerate
+@item
+listing the objects of the nfacct table in plain text/XML
+@item
+atomically get and reset objects of the nfacct table
+@item
+adding new objects to the nfacct table
+@item
+deleting objects from the nfacct table
+@end enumerate
+")
+   (home-page "https://netfilter.org/projects/nfacct/index.html";)
+   (supported-systems (filter target-linux? %supported-systems))
+   (license license:gpl2+)))
+
 (define-public proot
   (package
     (name "proot")
--
2.34.0






reply via email to

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