summaryrefslogtreecommitdiff
path: root/package/fprobe
diff options
context:
space:
mode:
Diffstat (limited to 'package/fprobe')
-rw-r--r--package/fprobe/Config.in10
-rw-r--r--package/fprobe/Makefile32
-rw-r--r--package/fprobe/ipkg/fprobe.control7
3 files changed, 49 insertions, 0 deletions
diff --git a/package/fprobe/Config.in b/package/fprobe/Config.in
new file mode 100644
index 000000000..708f66d51
--- /dev/null
+++ b/package/fprobe/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_FPROBE
+ prompt "fprobe............................ NetFlow probe (libpcap-based)"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBPCAP
+ select ADK_PACKAGE_LIBPTHREAD
+ help
+ A NetFlow probe using libpcap
+
+ http://fprobe.sourceforge.net/
diff --git a/package/fprobe/Makefile b/package/fprobe/Makefile
new file mode 100644
index 000000000..a2cb19b28
--- /dev/null
+++ b/package/fprobe/Makefile
@@ -0,0 +1,32 @@
+# $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
+PKG_VERSION:= 1.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 65850d0470078269b33eee58cba77ac2
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=fprobe/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,FPROBE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --with-piddir=/var \
+ --with-pcap=${STAGING_DIR}/usr/include \
+ --with-libpcap=${STAGING_DIR}/usr/lib \
+ --with-membulk=index8 \
+ --with-hash=xor8 \
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_FPROBE}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/fprobe ${IDIR_FPROBE}/usr/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fprobe/ipkg/fprobe.control b/package/fprobe/ipkg/fprobe.control
new file mode 100644
index 000000000..97763667c
--- /dev/null
+++ b/package/fprobe/ipkg/fprobe.control
@@ -0,0 +1,7 @@
+Package: fprobe
+Priority: optional
+Section: net
+Depends: libpcap, libpthread
+Description: NetFlow probe
+ libpcap-based tool that collect network traffic data
+ and emit it as NetFlow flows towards the specified collector