mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Andreas Geisenhainer <Andreas.Geisenhainer@atsonline.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/5] libnftnl: resolves new dependency on libnftnl by iptables
Date: Wed, 6 Apr 2016 17:20:25 +0200	[thread overview]
Message-ID: <1459956027-887-3-git-send-email-Andreas.Geisenhainer@atsonline.de> (raw)
In-Reply-To: <1459956027-887-1-git-send-email-Andreas.Geisenhainer@atsonline.de>

Signed-off-by: Andreas Geisenhainer <Andreas.Geisenhainer@atsonline.de>
---
 rules/libnftnl.in   | 26 +++++++++++++++++++++++++
 rules/libnftnl.make | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)
 create mode 100644 rules/libnftnl.in
 create mode 100644 rules/libnftnl.make

diff --git a/rules/libnftnl.in b/rules/libnftnl.in
new file mode 100644
index 0000000..190e645
--- /dev/null
+++ b/rules/libnftnl.in
@@ -0,0 +1,26 @@
+## SECTION=networking
+
+menuconfig LIBNFTNL
+	tristate
+	select LIBMXML if LIBNFTNL_XML
+	select JANSSON if LIBNFTNL_JSON
+	prompt "libnftnl      "
+	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.
+
+if LIBNFTNL
+
+config LIBNFTNL_XML
+	bool
+    depends on LIBNFTNL
+	prompt "XML parsing support     "
+
+config LIBNFTNL_JSON
+	bool
+    depends on LIBNFTNL
+	prompt "JSON parsing support     "
+
+endif
diff --git a/rules/libnftnl.make b/rules/libnftnl.make
new file mode 100644
index 0000000..614c1ef
--- /dev/null
+++ b/rules/libnftnl.make
@@ -0,0 +1,56 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Andreas Geisenhainer <andreas.geisenhainer@atsonline.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBNFTNL) += libnftnl
+
+#
+# Paths and names
+#
+LIBNFTNL_VERSION	:= 1.0.5
+LIBNFTNL_MD5	:= af0c62ce6bbd7a7d39def0996c1c17c9
+LIBNFTNL		:= libnftnl-$(LIBNFTNL_VERSION)
+LIBNFTNL_SUFFIX	:= tar.bz2
+LIBNFTNL_URL		:= http://ftp.netfilter.org/pub/libnftnl/$(LIBNFTNL).$(LIBNFTNL_SUFFIX)
+LIBNFTNL_SOURCE	:= $(SRCDIR)/$(LIBNFTNL).$(LIBNFTNL_SUFFIX)
+LIBNFTNL_DIR		:= $(BUILDDIR)/$(LIBNFTNL)
+LIBNFTNL_LICENSE	:= GPL2
+
+#
+# autoconf
+#
+LIBNFTNL_CONF_TOOL	:= autoconf
+LIBNFTNL_CONF_OPT	:= \
+	$(CROSS_AUTOCONF_USR) \
+	--$(call ptx/wwo, PTXCONF_LIBNFTNL_XML)-xml-parsing \
+	--$(call ptx/wwo, PTXCONF_LIBNFTNL_JSON)-json-parsing
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libnftnl.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libnftnl)
+	@$(call install_fixup, libnftnl,PRIORITY,optional)
+	@$(call install_fixup, libnftnl,SECTION,base)
+	@$(call install_fixup, libnftnl,AUTHOR,"Andreas Geisenhainer <andreas.geisenhainer@atsonline.de>")
+	@$(call install_fixup, libnftnl,DESCRIPTION,missing)
+
+	@$(call install_lib, libnftnl, 0, 0, 0644, libnftnl)
+
+	@$(call install_finish, libnftnl)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.8.0.rc3

____________
Virus checked by G Data MailSecurity
Version: AVA 25.6071 dated 06.04.2016
Virus news: www.antiviruslab.com.

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2016-04-06 15:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-06 15:20 [ptxdist] [PATCH 1/5] iptables: bump version to 1.6.0 and update compile switches Andreas Geisenhainer
2016-04-06 15:20 ` [ptxdist] [PATCH 2/5] libnfnetlink: bump version to 1.01 Andreas Geisenhainer
2016-04-06 15:20 ` Andreas Geisenhainer [this message]
2016-04-07 10:59   ` [ptxdist] [PATCH 3/5] libnftnl: resolves new dependency on libnftnl by iptables Michael Olbrich
2016-04-06 15:20 ` [ptxdist] [PATCH 4/5] nftables: adds new package nftables in version 0.5 Andreas Geisenhainer
2016-04-07 11:17   ` Michael Olbrich
2016-04-06 15:20 ` [ptxdist] [PATCH 5/5] libmnl: resolvs dependency to libmnl by nftables by adding libmnl-package Andreas Geisenhainer
2016-04-07 10:55 ` [ptxdist] [PATCH 1/5] iptables: bump version to 1.6.0 and update compile switches Michael Olbrich
2016-04-07 14:23   ` [ptxdist] [PATCH 1/5] iptables: bump version to 1.6.0 and updatecompile switches Andreas Geisenhainer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459956027-887-3-git-send-email-Andreas.Geisenhainer@atsonline.de \
    --to=andreas.geisenhainer@atsonline.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox