mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add tracebox
This commit is contained in:
parent
bd646c5b69
commit
67f9b018cf
8 changed files with 201 additions and 0 deletions
51
tracebox/Makefile
Normal file
51
tracebox/Makefile
Normal file
|
@ -0,0 +1,51 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tracebox
|
||||
PKG_VERSION:=0.4.4
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=git@github.com:tracebox/tracebox.git
|
||||
PKG_MAINTAINER:=Gregory Detal <gregory.detal@uclouvain.be>
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=v0.4.4
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
|
||||
#include $(INCLUDE_DIR)/uclibc++.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
#include $(INCLUDE_DIR)/autotools.mk
|
||||
|
||||
define Package/tracebox
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=tracebox
|
||||
DEPENDS:=+liblua +libpcap +libpthread +librt +curl +libjson-c +libnetfilter-queue +libstdcpp
|
||||
endef
|
||||
|
||||
define Package/tracebox/description
|
||||
Tracebox is a tool that allows to detect middleboxes on any paths, i.e.,
|
||||
between a source and any destination. Tracebox can be viewed as a tool similar
|
||||
to traceroute as it uses ICMP replies to identify changes in the packets.
|
||||
endef
|
||||
|
||||
CONFIGURE_VARS += \
|
||||
ac_cv_header_lua_h=no \
|
||||
ax_header_version_match=yes
|
||||
|
||||
CONFIGURE_ARGS += --enable-sniffer --enable-curl --with-libpcap="$(STAGING_DIR)/usr/include/"
|
||||
#CONFIGURE_ARGS += --enable-sniffer --enable-curl
|
||||
#CONFIGURE_ARGS += --disable-shared --enable-static
|
||||
|
||||
EXTRA_CPPFLAGS += -fpermissive -Wno-variadic-macros
|
||||
|
||||
TARGET_CFLAGS += -D_GNU_SOURCE
|
||||
|
||||
define Package/tracebox/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tracebox/tracebox $(1)/usr/sbin/tracebox
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,tracebox))
|
Loading…
Add table
Add a link
Reference in a new issue