mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 02:45:13 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
@@ -0,0 +1,61 @@
|
||||
#
|
||||
# Copyright (C) 2018-2020 Ycarus (Yannick Chabanois) <ycarus@zugaina.org> for OpenMPTCProuter project
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
|
||||
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:=https://github.com/dreibh/tracebox.git
|
||||
#https://github.com/tracebox/tracebox.git
|
||||
PKG_MAINTAINER:=Ycarus <ycarus@zugaina.org>
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=4ad40ea43354038a04ad90aedae5874801c223e8
|
||||
#v0.4.4
|
||||
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
|
||||
include $(INCLUDE_DIR)/package.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/" --disable-tests
|
||||
|
||||
EXTRA_CPPFLAGS += -fpermissive -Wno-variadic-macros -std=c++14
|
||||
|
||||
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
|
||||
$(CP) ./files/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,tracebox))
|
||||
Reference in new issue
Block a user