From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-f50.google.com ([74.125.82.50]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SYzIO-00089y-8C for ptxdist@pengutronix.de; Mon, 28 May 2012 14:44:09 +0200 Received: by wgbds11 with SMTP id ds11so2204136wgb.7 for ; Mon, 28 May 2012 05:43:27 -0700 (PDT) From: "Bart vdr. Meulen" Date: Mon, 28 May 2012 14:42:53 +0200 Message-Id: <1338208981-8681-27-git-send-email-bartvdrmeulen@gmail.com> Subject: [ptxdist] [PATCH] libnetfilter_queue: 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" libnetfilter_queue is a userspace library providing an API to packets that have been queued by the kernel packet filter. Signed-off-by: Bart vdr. Meulen --- rules/libnetfilter_queue.in | 13 +++++++++++ rules/libnetfilter_queue.make | 50 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 rules/libnetfilter_queue.in create mode 100644 rules/libnetfilter_queue.make diff --git a/rules/libnetfilter_queue.in b/rules/libnetfilter_queue.in new file mode 100644 index 0000000..ceec316 --- /dev/null +++ b/rules/libnetfilter_queue.in @@ -0,0 +1,13 @@ +## SECTION=networking + +config LIBNETFILTER_QUEUE + tristate + select LIBNFNETLINK + prompt "libnetfilter_queue" + help + libnetfilter_queue is a userspace library providing an API to + packets that have been queued by the kernel packet filter. + It is is part of a system that deprecates the old ip_queue / + libipq mechanism. + This library has been previously known as libnfnetlink_queue. + diff --git a/rules/libnetfilter_queue.make b/rules/libnetfilter_queue.make new file mode 100644 index 0000000..9863e15 --- /dev/null +++ b/rules/libnetfilter_queue.make @@ -0,0 +1,50 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Bart vdr. Meulen +# +# 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_LIBNETFILTER_QUEUE) += libnetfilter_queue + +# +# Paths and names +# +LIBNETFILTER_QUEUE_VERSION := 1.0.0 +LIBNETFILTER_QUEUE_MD5 := af6a9ea350f63a13609bc3b47b5c395c +LIBNETFILTER_QUEUE := libnetfilter_queue-$(LIBNETFILTER_QUEUE_VERSION) +LIBNETFILTER_QUEUE_SUFFIX := tar.bz2 +LIBNETFILTER_QUEUE_URL := http://ftp.netfilter.org/pub/libnetfilter_queue/$(LIBNETFILTER_QUEUE).$(LIBNETFILTER_QUEUE_SUFFIX) +LIBNETFILTER_QUEUE_SOURCE := $(SRCDIR)/$(LIBNETFILTER_QUEUE).$(LIBNETFILTER_QUEUE_SUFFIX) +LIBNETFILTER_QUEUE_DIR := $(BUILDDIR)/$(LIBNETFILTER_QUEUE) +LIBNETFILTER_QUEUE_LICENSE := GPLv2 + +# +# autoconf +# +LIBNETFILTER_QUEUE_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libnetfilter_queue.targetinstall: + @$(call targetinfo) + + @$(call install_init, libnetfilter_queue) + @$(call install_fixup, libnetfilter_queue,PRIORITY,optional) + @$(call install_fixup, libnetfilter_queue,SECTION,base) + @$(call install_fixup, libnetfilter_queue,AUTHOR,"Bart vdr. Meulen ") + @$(call install_fixup, libnetfilter_queue,DESCRIPTION,missing) + + @$(call install_lib, libnetfilter_queue, 0, 0, 0644, libnetfilter_queue) + + @$(call install_finish, libnetfilter_queue) + @$(call touch) + -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de