mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
ndpi: add new recipe
nDPI is an open source LGPLv3 library for deep-packet inspection. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From d482bcc8fca90afc95ac3cbe848a3c9d7ad81ddc Mon Sep 17 00:00:00 2001
|
||||
From: Mingli Yu <mingli.yu@windriver.com>
|
||||
Date: Wed, 4 Nov 2020 23:37:44 -0800
|
||||
Subject: [PATCH] autogen.sh: not generate configure
|
||||
|
||||
Only use autogen.sh to generate configure.ac.
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
||||
---
|
||||
autogen.sh | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/autogen.sh b/autogen.sh
|
||||
index df734ce9..d7bbf8cb 100755
|
||||
--- a/autogen.sh
|
||||
+++ b/autogen.sh
|
||||
@@ -52,11 +52,3 @@ cat configure.seed | sed \
|
||||
-e "s/@NDPI_VERSION_SHORT@/$NDPI_VERSION_SHORT/g" \
|
||||
-e "s/@FUZZY@/$FUZZY/g" \
|
||||
> configure.ac
|
||||
-
|
||||
-autoreconf -ivf
|
||||
-cat configure | sed "s/#define PACKAGE/#define NDPI_PACKAGE/g" | sed "s/#define VERSION/#define NDPI_VERSION/g" > configure.tmp
|
||||
-cat configure.tmp > configure
|
||||
-
|
||||
-chmod +x configure
|
||||
-./configure $@
|
||||
-
|
||||
--
|
||||
2.17.1
|
||||
|
||||
26
meta-networking/recipes-support/ntopng/ndpi_3.4.bb
Normal file
26
meta-networking/recipes-support/ntopng/ndpi_3.4.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
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"
|
||||
RDEPENDS_${PN} += " libpcap"
|
||||
LICENSE = "GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
|
||||
|
||||
SRCREV = "64929a75e0a7a60d864bd25a9fd97fdf9ac892a2"
|
||||
SRC_URI = "git://github.com/ntop/nDPI.git;branch=3.4-stable \
|
||||
file://0001-autogen.sh-not-generate-configure.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools-brokensep pkgconfig
|
||||
|
||||
do_configure_prepend() {
|
||||
${S}/autogen.sh
|
||||
}
|
||||
|
||||
EXTRA_OEMAKE = " \
|
||||
libdir=${libdir} \
|
||||
"
|
||||
Reference in New Issue
Block a user