From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/fprobe/Config.in | 10 ++++++++++ package/fprobe/Makefile | 32 ++++++++++++++++++++++++++++++++ package/fprobe/ipkg/fprobe.control | 7 +++++++ 3 files changed, 49 insertions(+) create mode 100644 package/fprobe/Config.in create mode 100644 package/fprobe/Makefile create mode 100644 package/fprobe/ipkg/fprobe.control (limited to 'package/fprobe') 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 -- cgit v1.2.3