gnu: Add libnfnetlink.

* gnu/packages/linux.scm (libnfnetlink): New variable.
This commit is contained in:
宋文武 2018-06-07 22:01:39 +08:00
parent fc51c11b9d
commit 4dd1fb79f7
No known key found for this signature in database
GPG key ID: 26525665AE727D37

View file

@ -4827,3 +4827,26 @@ (define-public libpfm4
introduced in Linux 2.6.31.")
(home-page "http://perfmon2.sourceforge.net/")
(license license:expat)))
(define-public libnfnetlink
(package
(name "libnfnetlink")
(version "1.0.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://www.netfilter.org/projects/libnfnetlink/files/"
"libnfnetlink-" version ".tar.bz2"))
(sha256
(base32
"06mm2x4b01k3m7wnrxblk9j0mybyr4pfz28ml7944xhjx6fy2w7j"))))
(build-system gnu-build-system)
(home-page "https://www.netfilter.org/projects/libnfnetlink/")
(synopsis "Low-level netfilter netlink communication library")
(description
"@code{libnfnetlink} is the low-level library for netfilter related
kernel/userspace communication. It provides a generic messaging
infrastructure for in-kernel netfilter subsystems (such as nfnetlink_log,
nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or
management tools in userspace.")
(license license:gpl2)))