Skip to contentSkip to conversation

libnftnl: new package

PATCH New yegorslists at googlemail.com 3 participants 3 messages Jan 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 libnftnl: new package

From: Yegor Yefremov <[email protected]>

---
v3: fix toolchain dependecies
v2: add toolchain dependecies (Gustavo Zacarias)

 package/Config.in            |    1 +
 package/libnftnl/Config.in   |   18 ++++++++++++++++++
 package/libnftnl/libnftnl.mk |   15 +++++++++++++++
 3 files changed, 34 insertions(+), 0 deletions(-)
 create mode 100644 package/libnftnl/Config.in
 create mode 100644 package/libnftnl/libnftnl.mk
package/Config.in +1 -0
index 8495cdd..d2e0424 100644
@@ -675,6 +675,7 @@ source "package/libnetfilter_cttimeout/Config.in"
 source "package/libnetfilter_log/Config.in"
 source "package/libnetfilter_queue/Config.in"
 source "package/libnfnetlink/Config.in"
+source "package/libnftnl/Config.in"
 source "package/libnl/Config.in"
 source "package/liboauth/Config.in"
 source "package/liboping/Config.in"
package/libnftnl/Config.in new file +18 -0
new file mode 100644
index 0000000..66d0513
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_LIBNFTNL
+	bool "libnftnl"
+	depends on BR2_INET_IPV6
+	depends on BR2_LARGEFILE
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_LIBMNL
+	help
+	  libnftnl is a userspace library providing a low-level
+	  netlink programming interface (API) to the in-kernel
+	  nf_tables subsystem. The library libnftnl has been
+	  previously known as libnftables. This library is
+	  currently used by nftables.
+
+	  http://netfilter.org/projects/libnftnl/index.html
+
+comment "libnftnl needs a toolchain w/ threads, IPv6, largefile"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INET_IPV6 || \
+		!BR2_LARGEFILE
package/libnftnl/libnftnl.mk new file +15 -0
new file mode 100644
index 0000000..bb8bdb4
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libnftnl
+#
+################################################################################
+
+LIBNFTNL_VERSION = 1.0.0
+LIBNFTNL_SITE = http://netfilter.org/projects/libnftnl/files/
+LIBNFTNL_SOURCE = libnftnl-$(LIBNFTNL_VERSION).tar.bz2
+LIBNFTNL_LICENSE = GPLv2
+LIBNFTNL_LICENSE_FILES = COPYING
+LIBNFTNL_INSTALL_STAGING = YES
+LIBNFTNL_DEPENDENCIES = host-pkgconf libmnl
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.7
#2 lore raw

PATCH v3 1/1 libnftnl: new package

In reply to yegorslists at googlemail.com
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"yegorslists" == yegorslists <[email protected]> writes:

From: Yegor Yefremov <[email protected]>

---
v3: fix toolchain dependecies
v2: add toolchain dependecies (Gustavo Zacarias)

Committed with the license fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard