* [Buildroot] [PATCH v3] libnftnl: new package
@ 2014-01-22 14:37 yegorslists at googlemail.com
2014-01-22 14:49 ` Gustavo Zacarias
2014-01-22 20:44 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: yegorslists at googlemail.com @ 2014-01-22 14:37 UTC (permalink / raw)
To: buildroot
From: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index 8495cdd..d2e0424 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/libnftnl/Config.in b/package/libnftnl/Config.in
new file mode 100644
index 0000000..66d0513
--- /dev/null
+++ b/package/libnftnl/Config.in
@@ -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
diff --git a/package/libnftnl/libnftnl.mk b/package/libnftnl/libnftnl.mk
new file mode 100644
index 0000000..bb8bdb4
--- /dev/null
+++ b/package/libnftnl/libnftnl.mk
@@ -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))
--
1.7.7
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v3] libnftnl: new package
2014-01-22 14:37 [Buildroot] [PATCH v3] libnftnl: new package yegorslists at googlemail.com
@ 2014-01-22 14:49 ` Gustavo Zacarias
2014-01-22 20:44 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2014-01-22 14:49 UTC (permalink / raw)
To: buildroot
On 01/22/2014 11:37 AM, yegorslists at googlemail.com wrote:
> +LIBNFTNL_LICENSE = GPLv2
Looks like GPLv2+ according to the source.
Other than that:
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v3] libnftnl: new package
2014-01-22 14:37 [Buildroot] [PATCH v3] libnftnl: new package yegorslists at googlemail.com
2014-01-22 14:49 ` Gustavo Zacarias
@ 2014-01-22 20:44 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2014-01-22 20:44 UTC (permalink / raw)
To: buildroot
>>>>> "yegorslists" == yegorslists <yegorslists@googlemail.com> writes:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> v3: fix toolchain dependecies
> v2: add toolchain dependecies (Gustavo Zacarias)
Committed with the license fixed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-22 20:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-22 14:37 [Buildroot] [PATCH v3] libnftnl: new package yegorslists at googlemail.com
2014-01-22 14:49 ` Gustavo Zacarias
2014-01-22 20:44 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox