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 v2 4/5] libmnl: adding new library in version 1.0.3
Date: Fri, 8 Apr 2016 12:57:13 +0200	[thread overview]
Message-ID: <1460113034-633-4-git-send-email-Andreas.Geisenhainer@atsonline.de> (raw)
In-Reply-To: <1460113034-633-1-git-send-email-Andreas.Geisenhainer@atsonline.de>

	- library will be used by nftables

Signed-off-by: Andreas Geisenhainer <Andreas.Geisenhainer@atsonline.de>
---
 rules/libmnl.in   | 11 +++++++++++
 rules/libmnl.make | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 rules/libmnl.in
 create mode 100644 rules/libmnl.make

diff --git a/rules/libmnl.in b/rules/libmnl.in
new file mode 100644
index 0000000..aa71e5d
--- /dev/null
+++ b/rules/libmnl.in
@@ -0,0 +1,11 @@
+## SECTION=networking
+
+config LIBMNL
+	bool
+	prompt "libmnl"
+	help
+		libmnl is a minimalistic user-space library oriented to Netlink
+		developers. There are a lot of common tasks in parsing, validating,
+		constructing of both the Netlink header and TLVs that are repetitive
+		and easy to get wrong. This library aims to provide simple helpers
+		that allows you to re-use code and to avoid re-inventing the wheel.
diff --git a/rules/libmnl.make b/rules/libmnl.make
new file mode 100644
index 0000000..c71f004
--- /dev/null
+++ b/rules/libmnl.make
@@ -0,0 +1,52 @@
+# -*-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_LIBMNL) += libmnl
+
+#
+# Paths and names
+#
+LIBMNL_VERSION	:= 1.0.3
+LIBMNL_MD5	:= 7d95fc3bea3365bc03c48e484224f65f
+LIBMNL		:= libmnl-$(LIBMNL_VERSION)
+LIBMNL_SUFFIX	:= tar.bz2
+LIBMNL_URL		:= http://ftp.netfilter.org/pub/libmnl/$(LIBMNL).$(LIBMNL_SUFFIX)
+LIBMNL_SOURCE	:= $(SRCDIR)/$(LIBMNL).$(LIBMNL_SUFFIX)
+LIBMNL_DIR		:= $(BUILDDIR)/$(LIBMNL)
+LIBMNL_LICENSE	:= GPL-2.0
+
+#
+# autoconf
+#
+LIBMNL_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libmnl.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libmnl)
+	@$(call install_fixup, libmnl,PRIORITY,optional)
+	@$(call install_fixup, libmnl,SECTION,base)
+	@$(call install_fixup, libmnl,AUTHOR,"Andreas Geisenhainer <andreas.geisenhainer@atsonline.de>")
+	@$(call install_fixup, libmnl,DESCRIPTION,missing)
+
+	@$(call install_lib, libmnl, 0, 0, 0644, libmnl)
+
+	@$(call install_finish, libmnl)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.8.0.rc3

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

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2016-04-08 10:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-08 10:57 [ptxdist] [PATCH v2 1/5] libnftnl: add new library package in version 1.0.5 Andreas Geisenhainer
2016-04-08 10:57 ` [ptxdist] [PATCH v2 2/5] libnfnetlink: bump version to 1.0.1 Andreas Geisenhainer
2016-04-08 10:57 ` [ptxdist] [PATCH v2 3/5] iptables: bump version to 1.6.0 and update compile switches Andreas Geisenhainer
2016-04-08 10:57 ` Andreas Geisenhainer [this message]
2016-04-08 10:57 ` [ptxdist] [PATCH v2 5/5] nftables: adds new package nftables in version 0.5 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=1460113034-633-4-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