aboutsummaryrefslogtreecommitdiffstats
path: root/package/fprobe-ulog
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-07-10 12:05:29 +0000
committerNicolas Thill <nico@openwrt.org>2005-07-10 12:05:29 +0000
commitee30cb12b90366fe25a74b5ae1e1b26ed9d66810 (patch)
treeb525466dfc9f76b7abb969c8e8239eb6dbe4d63b /package/fprobe-ulog
parent2dabcd220c9ca7fcbf7a5b11aa8f0a0bf9ee2911 (diff)
downloadupstream-ee30cb12b90366fe25a74b5ae1e1b26ed9d66810.tar.gz
upstream-ee30cb12b90366fe25a74b5ae1e1b26ed9d66810.tar.bz2
upstream-ee30cb12b90366fe25a74b5ae1e1b26ed9d66810.zip
Add fprobe-ulog package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1392 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/fprobe-ulog')
-rw-r--r--package/fprobe-ulog/Config.in10
-rw-r--r--package/fprobe-ulog/Makefile52
-rw-r--r--package/fprobe-ulog/ipkg/fprobe-ulog.control10
3 files changed, 72 insertions, 0 deletions
diff --git a/package/fprobe-ulog/Config.in b/package/fprobe-ulog/Config.in
new file mode 100644
index 0000000000..f86b9f79dd
--- /dev/null
+++ b/package/fprobe-ulog/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_FPROBE_ULOG
+ tristate "fprobe-ulog - NetFlow probe (ulog-based)"
+ default m if CONFIG_DEVEL
+ select BR2_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 0000000000..f5f3c53f68
--- /dev/null
+++ b/package/fprobe-ulog/Makefile
@@ -0,0 +1,52 @@
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=fprobe-ulog
+PKG_VERSION:=1.1
+PKG_RELEASE:=1
+PKG_MD5SUM:=cdb2e4edc47e8a3d5479eeabfb979ebc
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=@SF/fprobe
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_CAT:=bzcat
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,FPROBE_ULOG,fprobe-ulog,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ (cd $(PKG_BUILD_DIR) ; \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ ./configure \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --prefix=/usr \
+ --exec-prefix=/usr \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --libexecdir=/usr/lib \
+ --datadir=/usr/share \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ --with-piddir=/var \
+ --with-membulk=index8 \
+ --with-hash=xor8 \
+ $(DISABLE_NLS) \
+ )
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(MAKE) -C $(PKG_BUILD_DIR)
+ touch $@
+
+$(IPKG_FPROBE_ULOG):
+ mkdir -p $(IDIR_FPROBE_ULOG)/usr/bin
+ cp $(PKG_BUILD_DIR)/src/fprobe-ulog $(IDIR_FPROBE_ULOG)/usr/bin/
+ $(RSTRIP) $(IDIR_FPROBE_ULOG)
+ $(IPKG_BUILD) $(IDIR_FPROBE_ULOG) $(PACKAGE_DIR)
diff --git a/package/fprobe-ulog/ipkg/fprobe-ulog.control b/package/fprobe-ulog/ipkg/fprobe-ulog.control
new file mode 100644
index 0000000000..5979ecba44
--- /dev/null
+++ b/package/fprobe-ulog/ipkg/fprobe-ulog.control
@@ -0,0 +1,10 @@
+Package: fprobe-ulog
+Priority: optional
+Section: net
+Maintainer: Felix Fietkau <nbd@vd-s.ath.cx>
+Source: buildroot internal
+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