diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2022-02-08 23:12:07 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-02-08 08:59:08 -0800 |
commit | 586b0b3f2c8a1513cb00e34ed69e7d405fd21974 (patch) | |
tree | 384acb18a742d6b84a81abb86f169e90597bc18a /meta-networking | |
parent | 5668251a49839b6faece2387d9692886172f436e (diff) | |
download | meta-openembedded-586b0b3f2c8a1513cb00e34ed69e7d405fd21974.tar.gz |
ntopng: upgrade 5.0 -> 5.2.1
change configure.seed to configure.ac.in
refresh 0001-Makefile.in-don-t-use-the-internal-lua.patch
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch | 12 | ||||
-rw-r--r-- | meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-configure-error.patch (renamed from meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-configure-error.patch) | 10 | ||||
-rw-r--r-- | meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-host-contamination.patch (renamed from meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-host-contamination.patch) | 24 | ||||
-rw-r--r-- | meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-not-check-clang-on-host.patch (renamed from meta-networking/recipes-support/ntopng/files/0001-configure.seed-not-check-clang-on-host.patch) | 10 | ||||
-rw-r--r-- | meta-networking/recipes-support/ntopng/ntopng_5.2.1.bb (renamed from meta-networking/recipes-support/ntopng/ntopng_5.0.bb) | 12 |
5 files changed, 34 insertions, 34 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 0f1ca8d32..bb5bcfbd6 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 | |||
@@ -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 | ||
17 | diff --git a/Makefile.in b/Makefile.in | 17 | diff --git a/Makefile.in b/Makefile.in |
18 | index e67623bec..99cb9f06e 100755 | 18 | index d737e74..a611b16 100755 |
19 | --- a/Makefile.in | 19 | --- a/Makefile.in |
20 | +++ b/Makefile.in | 20 | +++ b/Makefile.in |
21 | @@ -31,7 +31,6 @@ MONGOOSE_INC=-I$(MONGOOSE_HOME) | 21 | @@ -36,7 +36,6 @@ MONGOOSE_INC=-I$(MONGOOSE_HOME) |
22 | LUA_PLATFORM=generi | 22 | LUA_PLATFORM=generic |
23 | LUA_HOME=${PWD}/third-party/lua-5.3.5 | 23 | LUA_HOME=${PWD}/third-party/lua-5.4.3 |
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 | ifeq ($(OS),Linux) | 27 | ifeq ($(OS),Linux) |
28 | LUA_PLATFORM=linux | 28 | LUA_PLATFORM=linux |
29 | @@ -123,7 +122,6 @@ RPM_PKG = $(TARGET)-$(NTOPNG_VERSION)-@REVISION@.$(PLATFORM).rpm | 29 | @@ -102,7 +101,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 e67623bec..99cb9f06e 100755 | |||
35 | ifneq ($(HAS_ZEROMQ), 0) | 35 | ifneq ($(HAS_ZEROMQ), 0) |
36 | LIB_TARGETS += $(ZEROMQ_LIB) | 36 | LIB_TARGETS += $(ZEROMQ_LIB) |
37 | -- | 37 | -- |
38 | 2.17.1 | 38 | 2.25.1 |
39 | 39 | ||
diff --git a/meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-configure-error.patch b/meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-configure-error.patch index dffab24ca..d4908e322 100644 --- a/meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-configure-error.patch +++ b/meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-configure-error.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 29797dd037009d38e4976249ed21b2076240751e Mon Sep 17 00:00:00 2001 | 1 | From 29797dd037009d38e4976249ed21b2076240751e Mon Sep 17 00:00:00 2001 |
2 | From: Mingli Yu <mingli.yu@windriver.com> | 2 | From: Mingli Yu <mingli.yu@windriver.com> |
3 | Date: Wed, 4 Nov 2020 04:36:46 +0000 | 3 | Date: Wed, 4 Nov 2020 04:36:46 +0000 |
4 | Subject: [PATCH] configure.seed: fix configure error | 4 | Subject: [PATCH] configure.ac.in: fix configure error |
5 | 5 | ||
6 | fix the below error: | 6 | fix the below error: |
7 | configure: error: cannot run test program while cross compiling | 7 | configure: error: cannot run test program while cross compiling |
@@ -10,13 +10,13 @@ Upstream-Status: Inappropriate [embedded specific] | |||
10 | 10 | ||
11 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | 11 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
12 | --- | 12 | --- |
13 | configure.seed | 13 +------------ | 13 | configure.ac.in | 13 +------------ |
14 | 1 file changed, 1 insertion(+), 12 deletions(-) | 14 | 1 file changed, 1 insertion(+), 12 deletions(-) |
15 | 15 | ||
16 | diff --git a/configure.seed b/configure.seed | 16 | diff --git a/configure.ac.in b/configure.ac.in |
17 | index a321f9bbf..03f9a31b0 100644 | 17 | index a321f9bbf..03f9a31b0 100644 |
18 | --- a/configure.seed | 18 | --- a/configure.ac.in |
19 | +++ b/configure.seed | 19 | +++ b/configure.ac.in |
20 | @@ -642,18 +642,7 @@ if test x$radcli = xtrue; then | 20 | @@ -642,18 +642,7 @@ if test x$radcli = xtrue; then |
21 | fi | 21 | fi |
22 | fi | 22 | fi |
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.ac.in-fix-host-contamination.patch index 02cd94a06..5e1440b3d 100644 --- a/meta-networking/recipes-support/ntopng/files/0001-configure.seed-fix-host-contamination.patch +++ b/meta-networking/recipes-support/ntopng/files/0001-configure.ac.in-fix-host-contamination.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d9458227ddb4bbb8c63c607202a6854886d66090 Mon Sep 17 00:00:00 2001 | 1 | From d9458227ddb4bbb8c63c607202a6854886d66090 Mon Sep 17 00:00:00 2001 |
2 | From: Mingli Yu <mingli.yu@windriver.com> | 2 | From: Mingli Yu <mingli.yu@windriver.com> |
3 | Date: Wed, 4 Nov 2020 06:28:28 +0000 | 3 | Date: Wed, 4 Nov 2020 06:28:28 +0000 |
4 | Subject: [PATCH] configure.seed: fix host contamination | 4 | Subject: [PATCH] configure.ac.in: fix host contamination |
5 | 5 | ||
6 | Fix below error: | 6 | Fix below error: |
7 | This autoconf log indicates errors, it looked at host include and/or | 7 | This autoconf log indicates errors, it looked at host include and/or |
@@ -11,14 +11,14 @@ Upstream-Status: Inappropriate [OE specific] | |||
11 | 11 | ||
12 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | 12 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
13 | --- | 13 | --- |
14 | configure.seed | 43 +++---------------------------------------- | 14 | configure.ac.in | 43 +++---------------------------------------- |
15 | 1 file changed, 3 insertions(+), 40 deletions(-) | 15 | 1 file changed, 3 insertions(+), 40 deletions(-) |
16 | 16 | ||
17 | diff --git a/configure.seed b/configure.seed | 17 | diff --git a/configure.ac.in b/configure.ac.in |
18 | index a148c530a..55bd49678 100644 | 18 | index 1d6380c..beffc6c 100644 |
19 | --- a/configure.seed | 19 | --- a/configure.ac.in |
20 | +++ b/configure.seed | 20 | +++ b/configure.ac.in |
21 | @@ -144,31 +144,6 @@ fi | 21 | @@ -167,31 +167,6 @@ fi |
22 | # | 22 | # |
23 | REVISION=`git log --pretty=oneline | wc -l` | 23 | REVISION=`git log --pretty=oneline | wc -l` |
24 | 24 | ||
@@ -28,7 +28,7 @@ index a148c530a..55bd49678 100644 | |||
28 | -fi | 28 | -fi |
29 | - | 29 | - |
30 | -if test -d "/usr/local/lib"; then | 30 | -if test -d "/usr/local/lib"; then |
31 | - LDFLAGS="${LDFLAGS} -L/usr/local/lib" | 31 | - LIBS="${LIBS} -L/usr/local/lib" |
32 | -fi | 32 | -fi |
33 | - | 33 | - |
34 | -if test -d /opt/local/include; then : | 34 | -if test -d /opt/local/include; then : |
@@ -37,7 +37,7 @@ index a148c530a..55bd49678 100644 | |||
37 | -fi | 37 | -fi |
38 | - | 38 | - |
39 | -if test -d /opt/local/lib; then : | 39 | -if test -d /opt/local/lib; then : |
40 | - LDFLAGS="${LDFLAGS} -L/opt/local/lib" | 40 | - LIBS="${LIBS} -L/opt/local/lib" |
41 | -fi | 41 | -fi |
42 | - | 42 | - |
43 | -if [ test -f /usr/bin/lsb_release ]; then | 43 | -if [ test -f /usr/bin/lsb_release ]; then |
@@ -50,7 +50,7 @@ index a148c530a..55bd49678 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 | @@ -293,23 +268,11 @@ fi | 53 | @@ -300,23 +275,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]) |
@@ -76,7 +76,7 @@ index a148c530a..55bd49678 100644 | |||
76 | + exit -1 | 76 | + exit -1 |
77 | fi | 77 | fi |
78 | 78 | ||
79 | AC_CHECK_LIB([gcrypt], [gcry_cipher_checktag], [LDFLAGS="${LDFLAGS} -lgcrypt"]) | 79 | AC_CHECK_LIB([gcrypt], [gcry_cipher_checktag], [LIBS="${LIBS} -lgcrypt"]) |
80 | -- | 80 | -- |
81 | 2.17.1 | 81 | 2.25.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.ac.in-not-check-clang-on-host.patch index 80761abd5..ffb106723 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.ac.in-not-check-clang-on-host.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 5867be19e53a3cc09730b83282c83bdd26147cc3 Mon Sep 17 00:00:00 2001 | 1 | From 5867be19e53a3cc09730b83282c83bdd26147cc3 Mon Sep 17 00:00:00 2001 |
2 | From: Mingli Yu <mingli.yu@windriver.com> | 2 | From: Mingli Yu <mingli.yu@windriver.com> |
3 | Date: Mon, 9 Nov 2020 04:05:25 +0000 | 3 | Date: Mon, 9 Nov 2020 04:05:25 +0000 |
4 | Subject: [PATCH] configure.seed: not check clang on host | 4 | Subject: [PATCH] configure.ac.in: not check clang on host |
5 | 5 | ||
6 | Don't check clang on host to avoid host contamination. | 6 | Don't check clang on host to avoid host contamination. |
7 | 7 | ||
@@ -9,13 +9,13 @@ Upstream-Status: Inappropriate [OE specific] | |||
9 | 9 | ||
10 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | 10 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
11 | --- | 11 | --- |
12 | configure.seed | 16 ---------------- | 12 | configure.ac.in | 16 ---------------- |
13 | 1 file changed, 16 deletions(-) | 13 | 1 file changed, 16 deletions(-) |
14 | 14 | ||
15 | diff --git a/configure.seed b/configure.seed | 15 | diff --git a/configure.ac.in b/configure.ac.in |
16 | index 55bd49678..94bc0bc48 100644 | 16 | index 55bd49678..94bc0bc48 100644 |
17 | --- a/configure.seed | 17 | --- a/configure.ac.in |
18 | +++ b/configure.seed | 18 | +++ b/configure.ac.in |
19 | @@ -90,22 +90,6 @@ if test $SYSTEM = "FreeBSD" || 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 |
diff --git a/meta-networking/recipes-support/ntopng/ntopng_5.0.bb b/meta-networking/recipes-support/ntopng/ntopng_5.2.1.bb index c4b8db388..63046e730 100644 --- a/meta-networking/recipes-support/ntopng/ntopng_5.0.bb +++ b/meta-networking/recipes-support/ntopng/ntopng_5.2.1.bb | |||
@@ -11,15 +11,15 @@ RDEPENDS:${PN} = "bash redis" | |||
11 | LICENSE = "GPLv3" | 11 | LICENSE = "GPLv3" |
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
13 | 13 | ||
14 | SRCREV = "85867090d92df4365c0af8d47f54ab3106117e59" | 14 | SRCREV = "d3ce78948e8d81dc1e2c5298ce556f9f2247aac1" |
15 | SRC_URI = "git://github.com/ntop/ntopng.git;protocol=https;branch=5.0-stable \ | 15 | SRC_URI = "git://github.com/ntop/ntopng.git;protocol=https;branch=5.2-stable \ |
16 | file://0001-configure.seed-fix-configure-error.patch \ | 16 | file://0001-configure.ac.in-fix-configure-error.patch \ |
17 | file://0001-configure.seed-fix-host-contamination.patch \ | 17 | file://0001-configure.ac.in-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 \ |
19 | file://0001-autogen.sh-generate-configure.ac-only.patch \ | 19 | file://0001-autogen.sh-generate-configure.ac-only.patch \ |
20 | file://0001-configure.seed-not-check-clang-on-host.patch \ | 20 | file://0001-configure.ac.in-not-check-clang-on-host.patch \ |
21 | file://ntopng.service \ | 21 | file://ntopng.service \ |
22 | " | 22 | " |
23 | 23 | ||
24 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |
25 | 25 | ||