aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-08-17 17:17:09 +0200
committerLuca Deri <deri@ntop.org>2020-08-17 17:17:09 +0200
commitb501239d3f20fae84cd82b1945a6fc05de32bfe7 (patch)
tree9969fe2c433342fd3cde68131d1a404f6c4e0871 /packages
parentebf89f46e3f69d0bb8aa4c836c52ee4964431f6c (diff)
Added README for building libndpi under OpenWRT
Diffstat (limited to 'packages')
-rw-r--r--packages/openwrt/Makefile4
-rw-r--r--packages/openwrt/README18
2 files changed, 20 insertions, 2 deletions
diff --git a/packages/openwrt/Makefile b/packages/openwrt/Makefile
index 4b8429b59..ce0b410cf 100644
--- a/packages/openwrt/Makefile
+++ b/packages/openwrt/Makefile
@@ -10,11 +10,11 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/ntop/nDPI.git
-PKG_SOURCE_VERSION:=ab2f3cefc89017d73e67faa4eb4011e7e3f2044d
+PKG_SOURCE_VERSION:=ebf89f46e3f69d0bb8aa4c836c52ee4964431f6c
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_PROTO:=git
-PKG_MAINTAINER:=Emanuele Faranda <faranda@ntop.org>
+PKG_MAINTAINER:=Luca Deri <deri@ntop.org>
PKG_LICENSE:=GPL3
PKG_BUILD_DEPENDS:=+libpcap
PKG_BUILD_PARALLEL:=1
diff --git a/packages/openwrt/README b/packages/openwrt/README
new file mode 100644
index 000000000..89ae5a8f1
--- /dev/null
+++ b/packages/openwrt/README
@@ -0,0 +1,18 @@
+Howto Compile lindpi on OpenWRT
+-------------------------------
+
+cd myopenwrt_directory
+mkdir package/network/services/libndpi
+cd package/network/services/libndpi
+cp ~/nDPI/packages/openwrt/Makefile .
+cd myopenwrt_directory
+make menuconfig
+
+Go under network and select
+
+<M> libndpi.............................. nDPI Deep Packet Inspection Library
+
+
+Other Documents
+---------------
+https://openwrt.org/packages/pkgdata/libndpi \ No newline at end of file