mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Update ndpi-netfilter2
This commit is contained in:
parent
3a6a77c4db
commit
3571203aef
1 changed files with 16 additions and 6 deletions
|
@ -10,11 +10,9 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=ndpi-netfilter2
|
PKG_NAME:=ndpi-netfilter2
|
||||||
PKG_VERSION:=56d8788
|
|
||||||
#PKG_VERSION:=b353209
|
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=2
|
||||||
PKG_REV:=56d8788
|
PKG_REV:=8a19d7e3b18bfdbd3062d1d3e36c471639344634
|
||||||
#PKG_REV:=b353209
|
PKG_VERSION:=3.2-$(PKG_REV)
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
@ -41,8 +39,8 @@ define Package/iptables-mod-ndpi/description
|
||||||
nDPI is a ntop-maintained superset of the popular OpenDPI library
|
nDPI is a ntop-maintained superset of the popular OpenDPI library
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_CMD = ./autogen.sh
|
#CONFIGURE_CMD = ./autogen.sh
|
||||||
CONFIGURE_ARGS += --with-pic
|
#CONFIGURE_ARGS += --with-pic
|
||||||
MAKE_PATH := ndpi-netfilter
|
MAKE_PATH := ndpi-netfilter
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
|
@ -52,6 +50,18 @@ MAKE_FLAGS += \
|
||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
NDPI_PATH=$(PKG_BUILD_DIR)/ndpi-netfilter
|
NDPI_PATH=$(PKG_BUILD_DIR)/ndpi-netfilter
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
cd $(PKG_BUILD_DIR) && \
|
||||||
|
CC="" ./autogen.sh \
|
||||||
|
--host="$(GNU_TARGET_NAME)"
|
||||||
|
# --with-pic \
|
||||||
|
# CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
# HOST_CFLAGS="$(BUILD_CFLAGS)" \
|
||||||
|
# BUILD_CPPFLAGS="$(TARGET_CPPLAGS)" \
|
||||||
|
# BUILD_CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
# BUILD_LDFLAGS="$(TARGET_LDFLAGS)"
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
(cd $(PKG_BUILD_DIR)/src/lib &&\
|
(cd $(PKG_BUILD_DIR)/src/lib &&\
|
||||||
gcc -g -O2 -fPIC -DPIC -DNDPI_LIB_COMPILATION -I../../src/include/ -I../../src/lib/third_party/include/ ndpi_network_list_compile.c -o ndpi_network_list_compile &&\
|
gcc -g -O2 -fPIC -DPIC -DNDPI_LIB_COMPILATION -I../../src/include/ -I../../src/lib/third_party/include/ ndpi_network_list_compile.c -o ndpi_network_list_compile &&\
|
||||||
|
|
Loading…
Reference in a new issue