unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27285: [PATCH] gnu: linux: Add nftables
@ 2017-06-08  8:46 Rutger Helling
  2017-06-08 13:49 ` Kei Kebreau
  0 siblings, 1 reply; 2+ messages in thread
From: Rutger Helling @ 2017-06-08  8:46 UTC (permalink / raw)
  To: 27285


[-- Attachment #1.1: Type: text/plain, Size: 37 bytes --]

Hey Guix, 

this patch adds nftables.

[-- Attachment #1.2: Type: text/html, Size: 247 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-linux-Add-nftables.patch --]
[-- Type: text/x-diff; name=0001-gnu-linux-Add-nftables.patch, Size: 2272 bytes --]

From aa26a208df3417e0df17b76a51977e37e93c2e89 Mon Sep 17 00:00:00 2001
From: Rutger Helling <rhelling@mykolab.com>
Date: Thu, 8 Jun 2017 10:33:36 +0200
Subject: [PATCH] gnu: linux: Add nftables

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

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 217647e07..dfb077844 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -72,6 +72,7 @@
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
+  #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages ninja)
@@ -3854,7 +3855,36 @@ libnftnl has been previously known as libnftables.  This library is currently
 used by nftables.")
     (license license:gpl2+)))
 
+(define-public nftables
+  (package
+    (name "nftables")
+    (version "0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://www.nftables.org/projects/nftables"
+                           "/files/nftables-" version ".tar.bz2"))
+       (sha256
+        (base32
+         "0hzdqigdx4i6jbpxbdyq4zy4p4waqn8l6vvz7685ikh1v0wr4qzy"))))
+    (build-system gnu-build-system)
+    (inputs `(("bison", bison)
+              ("flex", flex)
+              ("gmp", gmp)
+              ("libmnl", libmnl)
+              ("libnftnl", libnftnl)
+              ("readline", readline)))
+    (native-inputs `(("pkg-config", pkg-config)))
+    (home-page "http://www.nftables.org")
+    (synopsis "Userspace utility for Linux packet filtering")
+    (description "nftables is the project that aims to replace the existing
+{ip,ip6,arp,eb}tables framework.  Basically, this project provides a new packet
+filtering framework, a new userspace utility and also a compatibility layer for
+{ip,ip6}tables.  nftables is built upon the building blocks of the Netfilter
+infrastructure such as the existing hooks, the connection tracking system, the
+userspace queueing component and the logging subsystem.")
+    (license license:gpl2)))
+
 (define-public proot
   (package
     (name "proot")
-- 
2.13.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#27285: [PATCH] gnu: linux: Add nftables
  2017-06-08  8:46 bug#27285: [PATCH] gnu: linux: Add nftables Rutger Helling
@ 2017-06-08 13:49 ` Kei Kebreau
  0 siblings, 0 replies; 2+ messages in thread
From: Kei Kebreau @ 2017-06-08 13:49 UTC (permalink / raw)
  To: Rutger Helling; +Cc: 27285-done

[-- Attachment #1: Type: text/plain, Size: 160 bytes --]

Rutger Helling <rhelling@mykolab.com> writes:

> Hey Guix,
>
> this patch adds nftables.

Thanks! Pushed to master as dfe93c9ac0578b624f952d0bf98142f8f1c20775.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-08 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-08  8:46 bug#27285: [PATCH] gnu: linux: Add nftables Rutger Helling
2017-06-08 13:49 ` Kei Kebreau

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).