From: "Bart vdr. Meulen" <[email protected]>

libnetfilter_log is a userspace library providing interface
to packets that have been logged by the kernel packet filter.

Signed-off-by: Bart vdr. Meulen <[email protected]>
---
 rules/libnetfilter_log.in   |   12 ++++++++++
 rules/libnetfilter_log.make |   51 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 rules/libnetfilter_log.in
 create mode 100644 rules/libnetfilter_log.make

diff --git a/rules/libnetfilter_log.in b/rules/libnetfilter_log.in
new file mode 100644
index 0000000..c1083d1
--- /dev/null
+++ b/rules/libnetfilter_log.in
@@ -0,0 +1,12 @@
+## SECTION=networking
+
+config LIBNETFILTER_LOG
+       tristate
+       select LIBNFNETLINK
+       prompt "libnetfilter_log"
+       help
+         libnetfilter_log is a userspace library providing interface
+         to packets that have been logged by the kernel packet filter.
+         It is is part of a system that deprecates the old syslog/dmesg
+         based packet logging.
+         This library has been previously known as libnfnetlink_log.
diff --git a/rules/libnetfilter_log.make b/rules/libnetfilter_log.make
new file mode 100644
index 0000000..c775cbe
--- /dev/null
+++ b/rules/libnetfilter_log.make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Hans Kortenoeven <[email protected]>
+#
+# 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_LOG) += libnetfilter_log
+
+#
+# Paths and names
+#
+LIBNETFILTER_LOG_VERSION       := 1.0.0
+LIBNETFILTER_LOG_MD5           := acdb188a1e7504e95636d0770ade393c
+LIBNETFILTER_LOG               := libnetfilter_log-$(LIBNETFILTER_LOG_VERSION)
+LIBNETFILTER_LOG_SUFFIX        := tar.bz2
+LIBNETFILTER_LOG_URL           := 
http://ftp.netfilter.org/pub/libnetfilter_log/$(LIBNETFILTER_LOG).$(LIBNETFILTER_LOG_SUFFIX)
+LIBNETFILTER_LOG_SOURCE        := 
$(SRCDIR)/$(LIBNETFILTER_LOG).$(LIBNETFILTER_LOG_SUFFIX)
+LIBNETFILTER_LOG_DIR           := $(BUILDDIR)/$(LIBNETFILTER_LOG)
+LIBNETFILTER_LOG_LICENSE       := GPL2
+
+#
+# autoconf
+#
+LIBNETFILTER_LOG_CONF_TOOL     := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libnetfilter_log.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, libnetfilter_log)
+       @$(call install_fixup, libnetfilter_log,PRIORITY,optional)
+       @$(call install_fixup, libnetfilter_log,SECTION,base)
+       @$(call install_fixup, libnetfilter_log,AUTHOR,"Hans Kortenoeven 
<[email protected]>")
+       @$(call install_fixup, libnetfilter_log,DESCRIPTION,missing)
+
+       @$(call install_lib, libnetfilter_log, 0, 0, 0644, libnetfilter_log)
+       @$(call install_lib, libnetfilter_log, 0, 0, 0644, 
libnetfilter_log_libipulog)
+
+       @$(call install_finish, libnetfilter_log)
+       @$(call touch)
+
-- 
1.7.9.5


-- 
ptxdist mailing list
[email protected]

Reply via email to