Updated OpenWRT instructions
This commit is contained in:
@@ -1,22 +1,22 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018 - ntop.org
|
# Copyright (C) 2018-20 - ntop.org
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libndpi
|
PKG_NAME:=libndpi
|
||||||
PKG_VERSION:=1333.ab2f3ce
|
PKG_VERSION:=17022020
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/ntop/nDPI.git
|
PKG_SOURCE_URL:=https://github.com/ntop/nDPI.git
|
||||||
PKG_SOURCE_VERSION:=ebf89f46e3f69d0bb8aa4c836c52ee4964431f6c
|
PKG_SOURCE_VERSION:=1f921562d1d7962f1d23ca5b59c25f9b65073460
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
|
|
||||||
PKG_MAINTAINER:=Luca Deri <deri@ntop.org>
|
PKG_MAINTAINER:=Luca Deri <deri@ntop.org>
|
||||||
PKG_LICENSE:=GPL3
|
PKG_LICENSE:=GPL3
|
||||||
PKG_BUILD_DEPENDS:=+libpcap
|
PKG_BUILD_DEPENDS:=
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
# autogen fix
|
# autogen fix
|
||||||
@@ -27,7 +27,6 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/libndpi
|
define Package/libndpi
|
||||||
SECTION:=network
|
SECTION:=network
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
#DEPENDS:=+libc +libjson-c +libpthread
|
|
||||||
TITLE:=nDPI Deep Packet Inspection Library
|
TITLE:=nDPI Deep Packet Inspection Library
|
||||||
URL:=https://www.ntop.org
|
URL:=https://www.ntop.org
|
||||||
endef
|
endef
|
||||||
@@ -37,8 +36,7 @@ define Package/libndpi/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-pic \
|
--with-only-libndpi
|
||||||
--disable-json-c \
|
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
|
|||||||
@@ -13,6 +13,13 @@ Go under network and select
|
|||||||
<M> libndpi.............................. nDPI Deep Packet Inspection Library
|
<M> libndpi.............................. nDPI Deep Packet Inspection Library
|
||||||
|
|
||||||
|
|
||||||
|
Build Commands
|
||||||
|
--------------
|
||||||
|
|
||||||
|
If you want to build just libndpi do:
|
||||||
|
make -j1 V=s package/network/services/libndpi/clean
|
||||||
|
make -j1 V=s package/network/services/libndpi/compile
|
||||||
|
|
||||||
Other Documents
|
Other Documents
|
||||||
---------------
|
---------------
|
||||||
https://openwrt.org/packages/pkgdata/libndpi
|
https://openwrt.org/packages/pkgdata/libndpi
|
||||||
Reference in New Issue
Block a user