summaryrefslogtreecommitdiff
path: root/package/fprobe-ulog
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/fprobe-ulog
Initial import
Diffstat (limited to 'package/fprobe-ulog')
-rw-r--r--package/fprobe-ulog/Config.in10
-rw-r--r--package/fprobe-ulog/Makefile31
-rw-r--r--package/fprobe-ulog/ipkg/fprobe-ulog.control8
3 files changed, 49 insertions, 0 deletions
diff --git a/package/fprobe-ulog/Config.in b/package/fprobe-ulog/Config.in
new file mode 100644
index 000000000..990bf17bd
--- /dev/null
+++ b/package/fprobe-ulog/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_FPROBE_ULOG
+ prompt "fprobe-ulog....................... NetFlow probe (ulog-based)"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBPTHREAD
+ help
+ A NetFlow probe obtaining packets through linux netfilter code
+ (iptables ULOG target).
+
+ http://fprobe.sourceforge.net/
diff --git a/package/fprobe-ulog/Makefile b/package/fprobe-ulog/Makefile
new file mode 100644
index 000000000..f553204ef
--- /dev/null
+++ b/package/fprobe-ulog/Makefile
@@ -0,0 +1,31 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= fprobe-ulog
+PKG_VERSION:= 1.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= cdb2e4edc47e8a3d5479eeabfb979ebc
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=fprobe/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,FPROBE_ULOG,fprobe-ulog,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --with-piddir=/var \
+ --with-membulk=index8 \
+ --with-hash=xor8
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_FPROBE_ULOG}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/fprobe-ulog \
+ ${IDIR_FPROBE_ULOG}/usr/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fprobe-ulog/ipkg/fprobe-ulog.control b/package/fprobe-ulog/ipkg/fprobe-ulog.control
new file mode 100644
index 000000000..ac1b35ed8
--- /dev/null
+++ b/package/fprobe-ulog/ipkg/fprobe-ulog.control
@@ -0,0 +1,8 @@
+Package: fprobe-ulog
+Priority: optional
+Section: net
+Depends: libpthread
+Description: NetFlow probe
+ networking tool obtaining packets through linux netfilter code
+ (iptables ULOG target) and emit it as NetFlow flows towards the
+ specified collector