File: README

package info (click to toggle)
ndpi 4.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 164,552 kB
  • sloc: ansic: 58,816; cpp: 14,558; python: 2,079; makefile: 683; sh: 287; objc: 70; ruby: 28; exp: 4
file content (32 lines) | stat: -rw-r--r-- 701 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Howto Compile libndpi on OpenWRT
-------------------------------

cd myopenwrt_directory
mkdir package/network/services/libndpi
cd package/network/services/libndpi

# (a) Stable version
ln -s ~/nDPI/packages/openwrt/Makefile .

# (b) Dev version
cp ~/nDPI/packages/openwrt/Makefile.dev Makefile

cd myopenwrt_directory
make menuconfig

Go under libraries and select

<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
---------------
https://openwrt.org/packages/pkgdata/libndpi