From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from cl-420.ede-01.nl.sixxs.net ([2001:7b8:2ff:1a3::2] helo=fischmarkt.penguin.de ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SYzfW-0002vc-Hv for ptxdist@pengutronix.de; Mon, 28 May 2012 15:07:38 +0200 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by fischmarkt.penguin.de with esmtp (Exim 4.72) (envelope-from ) id 1SYzIL-000104-Cg for ptxdist@pengutronix.de; Mon, 28 May 2012 14:43:55 +0200 Received: by wibhn6 with SMTP id hn6so1222306wib.7 for ; Mon, 28 May 2012 05:43:28 -0700 (PDT) From: "Bart vdr. Meulen" Date: Mon, 28 May 2012 14:42:48 +0200 Message-Id: <1338208981-8681-22-git-send-email-bartvdrmeulen@gmail.com> Subject: [ptxdist] [PATCH] libnfnetlink: Add new package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de From: "Bart vdr. Meulen" libngnetlink provides a generic messaging infrastructure for in-kernel netfilter subsystemsor redirecting network packets into userspace Signed-off-by: Bart vdr. Meulen --- rules/iptables.in | 7 +++++++ rules/libnfnetlink.in | 15 ++++++++++++++ rules/libnfnetlink.make | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 rules/libnfnetlink.in create mode 100644 rules/libnfnetlink.make diff --git a/rules/iptables.in b/rules/iptables.in index b7bc478..fadcc31 100644 --- a/rules/iptables.in +++ b/rules/iptables.in @@ -7,6 +7,7 @@ menuconfig IPTABLES select LIBC_M select LIBC_DL select GCCLIBS_GCC_S + select LIBNFNETLINK if IPTABLES_LIBNFNETLINK help Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. @@ -47,4 +48,10 @@ config IPTABLES_INSTALL_IPTABLES_APPLY existing connection, the user will not be able to answer affirmatively. +config IPTABLES_LIBNFNETLINK + bool + prompt "configure libnfnetlink" + help + Select if iptables should be build against libnfnetlink + endif diff --git a/rules/libnfnetlink.in b/rules/libnfnetlink.in new file mode 100644 index 0000000..8684131 --- /dev/null +++ b/rules/libnfnetlink.in @@ -0,0 +1,15 @@ +## SECTION=networking + +config LIBNFNETLINK + tristate + prompt "libnfnetlink" + help + libnfnetlink is the low-level library for netfilter + related kernel/userspace communication. It provides a generic + messaging infrastructure for in-kernel netfilter subsystems + (such as nfnetlink_log) and their respective users and/or + management tools in userspace. + This library is not meant as a public API for application + developers. It is only used by other netfilter.org projects, + such as libnetfilter_log, + diff --git a/rules/libnfnetlink.make b/rules/libnfnetlink.make new file mode 100644 index 0000000..bde7316 --- /dev/null +++ b/rules/libnfnetlink.make @@ -0,0 +1,51 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Hans Kortenoeven +# +# 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_LIBNFNETLINK) += libnfnetlink + +# +# Paths and names +# +LIBNFNETLINK_VERSION := 1.0.0 +LIBNFNETLINK_MD5 := 016fdec8389242615024c529acc1adb8 +LIBNFNETLINK := libnfnetlink-$(LIBNFNETLINK_VERSION) +LIBNFNETLINK_SUFFIX := tar.bz2 +LIBNFNETLINK_URL := http://ftp.netfilter.org/pub/libnfnetlink/$(LIBNFNETLINK).$(LIBNFNETLINK_SUFFIX) +LIBNFNETLINK_SOURCE := $(SRCDIR)/$(LIBNFNETLINK).$(LIBNFNETLINK_SUFFIX) +LIBNFNETLINK_DIR := $(BUILDDIR)/$(LIBNFNETLINK) +LIBNFNETLINK_LICENSE := GPL2 + +# +# autoconf +# +LIBNFNETLINK_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libnfnetlink.targetinstall: + @$(call targetinfo) + + @$(call install_init, libnfnetlink) + @$(call install_fixup, libnfnetlink,PRIORITY,optional) + @$(call install_fixup, libnfnetlink,SECTION,base) + @$(call install_fixup, libnfnetlink,AUTHOR,"Hans Kortenoeven ") + @$(call install_fixup, libnfnetlink,DESCRIPTION,missing) + + @$(call install_lib, libnfnetlink, 0, 0, 0644, libnfnetlink) + + @$(call install_finish, libnfnetlink) + + @$(call touch) + -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de