summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntopng
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2021-09-10 09:59:04 +0800
committerKhem Raj <raj.khem@gmail.com>2021-09-09 20:25:10 -0700
commit12dba784f65b50cdbfec6618967b9bdaa37e0e78 (patch)
tree4c011ced034a8260cad6af084ffc87371d02daba /meta-networking/recipes-support/ntopng
parent8359cf87458d185011831a8132b8af17bcbc9605 (diff)
downloadmeta-openembedded-12dba784f65b50cdbfec6618967b9bdaa37e0e78.tar.gz
ntopng: upgrade 4.2 -> 5.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')
-rw-r--r--meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch16
-rw-r--r--meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-host-contamination.patch16
-rw-r--r--meta-networking/recipes-support/ntopng/files/0001-configure.seed-not-check-clang-on-host.patch25
-rw-r--r--meta-networking/recipes-support/ntopng/ntopng_5.0.bb (renamed from meta-networking/recipes-support/ntopng/ntopng_4.2.bb)4
4 files changed, 29 insertions, 32 deletions
diff --git a/meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch b/meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch
index 46724558c..0f1ca8d32 100644
--- a/meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch
+++ b/meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch
@@ -1,4 +1,4 @@
1From 65c15247d268566b79e4595b8e734b7e40679d75 Mon Sep 17 00:00:00 2001 1From 52953ab99c727a19e88243dda2702d6814f7974d Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 4 Nov 2020 08:55:10 +0000 3Date: Wed, 4 Nov 2020 08:55:10 +0000
4Subject: [PATCH] Makefile.in: don't use the internal lua 4Subject: [PATCH] Makefile.in: don't use the internal lua
@@ -15,18 +15,18 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
15 1 file changed, 2 deletions(-) 15 1 file changed, 2 deletions(-)
16 16
17diff --git a/Makefile.in b/Makefile.in 17diff --git a/Makefile.in b/Makefile.in
18index 143535746..fc06a5341 100755 18index e67623bec..99cb9f06e 100755
19--- a/Makefile.in 19--- a/Makefile.in
20+++ b/Makefile.in 20+++ b/Makefile.in
21@@ -40,7 +40,6 @@ endif 21@@ -31,7 +31,6 @@ MONGOOSE_INC=-I$(MONGOOSE_HOME)
22 22 LUA_PLATFORM=generi
23 LUA_HOME=${PWD}/third-party/lua-5.3.5 23 LUA_HOME=${PWD}/third-party/lua-5.3.5
24 LUA_INC=-I$(LUA_HOME)/src 24 LUA_INC=-I$(LUA_HOME)/src
25-LUA_LIB=$(LUA_HOME)/src/liblua.a 25-LUA_LIB=$(LUA_HOME)/src/liblua.a
26 26
27 ###### 27 ifeq ($(OS),Linux)
28 LIBRRDTOOL_HOME=${PWD}/third-party/rrdtool-1.4.8 28 LUA_PLATFORM=linux
29@@ -118,7 +117,6 @@ RPM_PKG = $(TARGET)-$(NTOPNG_VERSION)-@REVISION@.$(PLATFORM).rpm 29@@ -123,7 +122,6 @@ RPM_PKG = $(TARGET)-$(NTOPNG_VERSION)-@REVISION@.$(PLATFORM).rpm
30 RPM_DATA_PKG = $(TARGET)-data-$(NTOPNG_VERSION)-@REVISION@.noarch.rpm 30 RPM_DATA_PKG = $(TARGET)-data-$(NTOPNG_VERSION)-@REVISION@.noarch.rpm
31 ###### 31 ######
32 32
@@ -35,5 +35,5 @@ index 143535746..fc06a5341 100755
35 ifneq ($(HAS_ZEROMQ), 0) 35 ifneq ($(HAS_ZEROMQ), 0)
36 LIB_TARGETS += $(ZEROMQ_LIB) 36 LIB_TARGETS += $(ZEROMQ_LIB)
37-- 37--
382.26.2 382.17.1
39 39
diff --git a/meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-host-contamination.patch b/meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-host-contamination.patch
index a5ac59fb3..02cd94a06 100644
--- a/meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-host-contamination.patch
+++ b/meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-host-contamination.patch
@@ -1,4 +1,4 @@
1From 81e3512718f80965c26ccb1f9d694c91b121fea0 Mon Sep 17 00:00:00 2001 1From d9458227ddb4bbb8c63c607202a6854886d66090 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 4 Nov 2020 06:28:28 +0000 3Date: Wed, 4 Nov 2020 06:28:28 +0000
4Subject: [PATCH] configure.seed: fix host contamination 4Subject: [PATCH] configure.seed: fix host contamination
@@ -11,14 +11,14 @@ Upstream-Status: Inappropriate [OE specific]
11 11
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13--- 13---
14 configure.seed | 47 +++++------------------------------------------ 14 configure.seed | 43 +++----------------------------------------
15 1 file changed, 5 insertions(+), 42 deletions(-) 15 1 file changed, 3 insertions(+), 40 deletions(-)
16 16
17diff --git a/configure.seed b/configure.seed 17diff --git a/configure.seed b/configure.seed
18index 03f9a31b0..58aebb5b8 100644 18index a148c530a..55bd49678 100644
19--- a/configure.seed 19--- a/configure.seed
20+++ b/configure.seed 20+++ b/configure.seed
21@@ -79,31 +79,6 @@ fi 21@@ -144,31 +144,6 @@ fi
22 # 22 #
23 REVISION=`git log --pretty=oneline | wc -l` 23 REVISION=`git log --pretty=oneline | wc -l`
24 24
@@ -50,7 +50,7 @@ index 03f9a31b0..58aebb5b8 100644
50 SHORT_MACHINE=`uname -m | cut -b1-3` 50 SHORT_MACHINE=`uname -m | cut -b1-3`
51 51
52 GIT_RELEASE="@GIT_RELEASE@" 52 GIT_RELEASE="@GIT_RELEASE@"
53@@ -214,23 +189,11 @@ dnl> fi 53@@ -293,23 +268,11 @@ fi
54 pkg-config --exists libssl 54 pkg-config --exists libssl
55 if test "$?" -ne 1; then 55 if test "$?" -ne 1; then
56 AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl]) 56 AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl])
@@ -62,7 +62,7 @@ index 03f9a31b0..58aebb5b8 100644
62- if test -d "/usr/local/opt/openssl/lib"; then 62- if test -d "/usr/local/opt/openssl/lib"; then
63- AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl]) 63- AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl])
64- SSL_INC="-I/usr/local/opt/openssl/include" 64- SSL_INC="-I/usr/local/opt/openssl/include"
65- SSL_LIB="-L/usr/local/opt/openssl/lib -lssl" 65- SSL_LIB="-L/usr/local/opt/openssl/lib -lssl -lcrypto"
66- dnl Workaround for FreeBSD 66- dnl Workaround for FreeBSD
67- elif test -f "/usr/lib/libssl.so"; then 67- elif test -f "/usr/lib/libssl.so"; then
68- AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl]) 68- AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl])
@@ -78,5 +78,5 @@ index 03f9a31b0..58aebb5b8 100644
78 78
79 AC_CHECK_LIB([gcrypt], [gcry_cipher_checktag], [LDFLAGS="${LDFLAGS} -lgcrypt"]) 79 AC_CHECK_LIB([gcrypt], [gcry_cipher_checktag], [LDFLAGS="${LDFLAGS} -lgcrypt"])
80-- 80--
812.26.2 812.17.1
82 82
diff --git a/meta-networking/recipes-support/ntopng/files/0001-configure.seed-not-check-clang-on-host.patch b/meta-networking/recipes-support/ntopng/files/0001-configure.seed-not-check-clang-on-host.patch
index 95d1f9948..80761abd5 100644
--- a/meta-networking/recipes-support/ntopng/files/0001-configure.seed-not-check-clang-on-host.patch
+++ b/meta-networking/recipes-support/ntopng/files/0001-configure.seed-not-check-clang-on-host.patch
@@ -1,4 +1,4 @@
1From eead0c589b71d4256bf9f16492164786b0ee07e4 Mon Sep 17 00:00:00 2001 1From 5867be19e53a3cc09730b83282c83bdd26147cc3 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 9 Nov 2020 04:05:25 +0000 3Date: Mon, 9 Nov 2020 04:05:25 +0000
4Subject: [PATCH] configure.seed: not check clang on host 4Subject: [PATCH] configure.seed: not check clang on host
@@ -9,14 +9,14 @@ Upstream-Status: Inappropriate [OE specific]
9 9
10Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 10Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
11--- 11---
12 configure.seed | 19 ------------------- 12 configure.seed | 16 ----------------
13 1 file changed, 19 deletions(-) 13 1 file changed, 16 deletions(-)
14 14
15diff --git a/configure.seed b/configure.seed 15diff --git a/configure.seed b/configure.seed
16index d0335b599..cb97adca2 100644 16index 55bd49678..94bc0bc48 100644
17--- a/configure.seed 17--- a/configure.seed
18+++ b/configure.seed 18+++ b/configure.seed
19@@ -509,25 +509,6 @@ if test $SYSTEM = "Darwin"; then 19@@ -90,22 +90,6 @@ if test $SYSTEM = "FreeBSD" || test $SYSTEM = "Darwin"; then
20 CFLAGS="-fno-color-diagnostics $CFLAGS" 20 CFLAGS="-fno-color-diagnostics $CFLAGS"
21 fi 21 fi
22 fi 22 fi
@@ -27,21 +27,18 @@ index d0335b599..cb97adca2 100644
27- CXX=clang++ 27- CXX=clang++
28- AC_MSG_RESULT(Using clang++ compiler) 28- AC_MSG_RESULT(Using clang++ compiler)
29- fi 29- fi
30- 30-
31- if [ test -f /etc/redhat-release ]; then 31- if [ test -f /etc/redhat-release ]; then
32- if [ test -f /usr/bin/lsb_release ]; then 32- OS=`cat /etc/redhat-release`
33- dnl> CentOS 7
34- CENTOS_N2N_DEP=", n2n"
35- fi
36- else 33- else
37- if [ test -f /usr/bin/lsb_release ]; then 34- if [ test -f /usr/bin/lsb_release ]; then
38- OS=`/usr/bin/lsb_release -d|cut -d ':' -f 2` 35- OS=`/usr/bin/lsb_release -d|cut -d ':' -f 2`
39- fi 36- fi
40- fi 37- fi
41- fi 38- fi
42 fi 39 fi
43 40
44 dnl> Remove spaces 41 dnl> Remove spaces
45-- 42--
462.26.2 432.17.1
47 44
diff --git a/meta-networking/recipes-support/ntopng/ntopng_4.2.bb b/meta-networking/recipes-support/ntopng/ntopng_5.0.bb
index cc2320788..89107430e 100644
--- a/meta-networking/recipes-support/ntopng/ntopng_4.2.bb
+++ b/meta-networking/recipes-support/ntopng/ntopng_5.0.bb
@@ -11,8 +11,8 @@ RDEPENDS:${PN} = "bash redis"
11LICENSE = "GPLv3" 11LICENSE = "GPLv3"
12LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 12LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
13 13
14SRCREV = "5e649a2d1130b4a3ab0c5bb673d615172cc0bdbb" 14SRCREV = "85867090d92df4365c0af8d47f54ab3106117e59"
15SRC_URI = "git://github.com/ntop/ntopng.git;protocol=git;branch=4.2-stable \ 15SRC_URI = "git://github.com/ntop/ntopng.git;protocol=git;branch=5.0-stable \
16 file://0001-configure.seed-fix-configure-error.patch \ 16 file://0001-configure.seed-fix-configure-error.patch \
17 file://0001-configure.seed-fix-host-contamination.patch \ 17 file://0001-configure.seed-fix-host-contamination.patch \
18 file://0001-Makefile.in-don-t-use-the-internal-lua.patch \ 18 file://0001-Makefile.in-don-t-use-the-internal-lua.patch \