Source-Makefile: feeds/packages/libs/libndpi/Makefile
Build-Depends: libpcap

Package: libndpi
Version: 4.8-r1
Depends: +libc +LIBNDPI_GCRYPT:libgcrypt +LIBNDPI_PCRE:libpcre2 +LIBNDPI_MAXMINDDB:libmaxminddb +LIBNDPI_NDPIREADER:libpcap
Conflicts: 
Menu-Depends: 
Provides: 
Section: libs
Category: Libraries
Repository: base
Title: Library for deep-packet inspection
Maintainer: Banglang Huang <banglang.huang@foxmail.com>, Toni Uhlig <matzeton@googlemail.com>
Source: libndpi-4.8.tar.gz
License: LGPL-3.0-or-later
LicenseFiles: COPYING
URL: https://github.com/ntop/nDPI
Type: ipkg
Description:   nDPI is an open source LGPLv3 library for deep-packet inspection.
  Based on OpenDPI it includes ntop extensions.
@@
Config:
config LIBNDPI_NDPIREADER
	bool "Enable ndpiReader"
	depends on PACKAGE_libndpi
	default n
	help
	  This option builds and installs ndpiReader,
	  an example application that show some nDPI features.

config LIBNDPI_GCRYPT
	bool "Use host GCrypt"
	depends on PACKAGE_libndpi
	default n
	help
	  This option enables the use of libgcrypt to decrypt QUIC client hello's.
	  If disabled, nDPI will use a builtin lightweight libgcrypt version to
	  decrypt QUIC client hello's.
	  Disabled by default.

config LIBNDPI_PCRE
	bool "pcre support"
	depends on PACKAGE_libndpi
	default n
	help
	  This option enables the use of regular expressions.
	  Used by nDPI to detect RCE injection.
	  Disabled by default.

config LIBNDPI_MAXMINDDB
	bool "Maxmind GeoIP support"
	depends on PACKAGE_libndpi
	default n
	help
	  This options enables geographical information processing
	  and serialization based on IP addresses.
	  Disabled by default.
@@


