[meta-webserver] netdata: from 1.22.1 to 1.32.0

Message ID 20211212170740.3085705-1-jan.vermaete@gmail.com
State New
Headers show
Series [meta-webserver] netdata: from 1.22.1 to 1.32.0 | expand

Commit Message

Jan Vermaete Dec. 12, 2021, 5:07 p.m. UTC
* Added openssl so it can compile with default configuration.

* ebpf I had to disable.  It seems to have issues with cross-compiling.
And the libbpf isn't available at all platforms.

Tested on raspberrypy4-64

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
---
 .../netdata/{netdata_1.22.1.bb => netdata_1.32.0.bb}       | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
 rename meta-webserver/recipes-webadmin/netdata/{netdata_1.22.1.bb => netdata_1.32.0.bb} (91%)

Patch

diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb b/meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb
similarity index 91%
rename from meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb
rename to meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb
index fb643be61..d06eb8762 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb
@@ -6,7 +6,7 @@  LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24"
 
 SRC_URI = "https://github.com/netdata/netdata/releases/download/v${PV}/netdata-v${PV}.tar.gz"
-SRC_URI[sha256sum] = "f169c8615a6823448c2f1923c87c286d798132ea29d26f366e96d26e0aec3697"
+SRC_URI[sha256sum] = "5e066d322f88013cea78eb9bb42bca64599278b9db8d46593777e4258743fefd"
 
 # default netdata.conf for netdata configuration
 SRC_URI += "file://netdata.conf"
@@ -18,7 +18,7 @@  UPSTREAM_CHECK_URI = "https://github.com/netdata/netdata/releases"
 
 S = "${WORKDIR}/netdata-v${PV}"
 
-DEPENDS += "zlib util-linux libuv"
+DEPENDS += "libuv openssl util-linux zlib "
 
 inherit pkgconfig autotools-brokensep useradd systemd
 
@@ -36,6 +36,9 @@  SYSTEMD_AUTO_ENABLE:${PN} = "enable"
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM:${PN} = "--system --no-create-home --home-dir ${localstatedir}/run/netdata --user-group netdata"
 
+# ebpf doesn't compile (or detect) the cross compilation well
+EXTRA_OECONF += "--disable-ebpf"
+
 do_install:append() {
     #set S UID for plugins
     chmod 4755 ${D}${libexecdir}/netdata/plugins.d/apps.plugin