mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 15:49:21 +02:00
Add fprobe-ulog package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1392 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
be5bb05c0c
commit
fe5e3e7527
@ -44,6 +44,7 @@ source "package/ebtables/Config.in"
|
||||
source "package/ez-ipupdate/Config.in"
|
||||
source "package/fping/Config.in"
|
||||
source "package/fprobe/Config.in"
|
||||
source "package/fprobe-ulog/Config.in"
|
||||
source "package/freeradius/Config.in"
|
||||
source "package/frickin/Config.in"
|
||||
source "package/howl/Config.in"
|
||||
|
@ -25,6 +25,7 @@ package-$(BR2_PACKAGE_EBTABLES) += ebtables
|
||||
package-$(BR2_PACKAGE_EZIPUPDATE) += ez-ipupdate
|
||||
package-$(BR2_PACKAGE_FPING) += fping
|
||||
package-$(BR2_PACKAGE_FPROBE) += fprobe
|
||||
package-$(BR2_PACKAGE_FPROBE_ULOG) += fprobe-ulog
|
||||
package-$(BR2_PACKAGE_FREERADIUS) += freeradius
|
||||
package-$(BR2_PACKAGE_FRICKIN) += frickin
|
||||
package-$(BR2_PACKAGE_FUSE) += fuse
|
||||
|
10
openwrt/package/fprobe-ulog/Config.in
Normal file
10
openwrt/package/fprobe-ulog/Config.in
Normal file
@ -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/
|
||||
|
52
openwrt/package/fprobe-ulog/Makefile
Normal file
52
openwrt/package/fprobe-ulog/Makefile
Normal file
@ -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)
|
10
openwrt/package/fprobe-ulog/ipkg/fprobe-ulog.control
Normal file
10
openwrt/package/fprobe-ulog/ipkg/fprobe-ulog.control
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user