aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntopng/ndpi_4.0.bb
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2021-09-10 09:59:03 +0800
committerKhem Raj <raj.khem@gmail.com>2021-09-09 20:25:10 -0700
commit8359cf87458d185011831a8132b8af17bcbc9605 (patch)
tree739e28360e4f736efdf0ccf379e430a058096c77 /meta-networking/recipes-support/ntopng/ndpi_4.0.bb
parentaca0b06856314aa7ff244d363923e2bbf94e6369 (diff)
downloadmeta-openembedded-8359cf87458d185011831a8132b8af17bcbc9605.tar.gz
ndpi: upgrade 3.4 -> 4.0
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/ntopng/ndpi_4.0.bb')
-rw-r--r--meta-networking/recipes-support/ntopng/ndpi_4.0.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ntopng/ndpi_4.0.bb b/meta-networking/recipes-support/ntopng/ndpi_4.0.bb
new file mode 100644
index 0000000000..aee2d8c6fd
--- /dev/null
+++ b/meta-networking/recipes-support/ntopng/ndpi_4.0.bb
@@ -0,0 +1,28 @@
+SUMMARY = "A library for deep-packet inspection."
+DESCRIPTION = "nDPI is an open source LGPLv3 library for deep-packet \
+inspection. Based on OpenDPI it includes ntop extensions"
+
+SECTION = "libdevel"
+DEPENDS = "libpcap json-c"
+RDEPENDS:${PN} += " libpcap"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
+
+SRCREV = "dabab0e9515c2e6a71a91bdc807453e416f831ca"
+SRC_URI = "git://github.com/ntop/nDPI.git;branch=4.0-stable \
+ file://0001-autogen.sh-not-generate-configure.patch \
+"
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep pkgconfig
+
+CPPFLAGS += "${SELECTED_OPTIMIZATION}"
+
+do_configure:prepend() {
+ ${S}/autogen.sh
+}
+
+EXTRA_OEMAKE = " \
+ libdir=${libdir} \
+"