[Buildroot] [PATCH 1/1] package/netdata: bump to version 1.33.1

Fabrice Fontaine fontaine.fabrice at gmail.com
Thu Apr 7 21:20:19 UTC 2022


- Use official tarball (and so drop autoreconf)
- Disable ebpf, enabled by default since its addition in version 1.25.0:
  https://github.com/netdata/netdata/commit/c857c880f31a89b7857bf01f1f48227c41bf8a93
- disable ml, enabled by default since its addition in version 1.32.1:
  https://github.com/netdata/netdata/commit/9ed4cea59042aa5e5053c4b4b3529e9d70ab83f9
- lz4 is an optional dependency (enabled by default) since version
  1.33.0 and
  https://github.com/netdata/netdata/commit/b003e5fd40c3b42dfacc87db5a7730b76eff0e92
- This bump will fix a build failure with libressl thanks to
  https://github.com/netdata/netdata/commit/6b091fafd9c3b0197325b3ef751dbdb317048e2b
- Update indentation in hash file (two spaces)

https://github.com/netdata/netdata/blob/v1.33.1/CHANGELOG.md

Fixes:
 - http://autobuild.buildroot.org/results/897d6f1425a645667b884739b2ee6f588fd06972

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/netdata/netdata.hash |  6 ++++--
 package/netdata/netdata.mk   | 17 +++++++++++++----
 2 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/package/netdata/netdata.hash b/package/netdata/netdata.hash
index 8d5ce51fca..bc33a8b8a1 100644
--- a/package/netdata/netdata.hash
+++ b/package/netdata/netdata.hash
@@ -1,3 +1,5 @@
+# From https://github.com/netdata/netdata/releases/download/v1.33.1/sha256sums.txt
+sha256  20ba8695d87187787b27128ac3aab9b09aa29ca6b508c48542e0f7d50ec9322b  netdata-v1.33.1.tar.gz
+
 # Locally calculated
-sha256 60cdde3f1f8bd9035fef6a566053c0a7195d1714b5da6814473263e85382b4a8  netdata-1.21.1.tar.gz
-sha256 0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6  LICENSE
+sha256  0e5fd9d833efe9b79f784d1903281554af82d1b4261af67d35455728e5572aa6  LICENSE
diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk
index 6def59764a..da6f8eb18b 100644
--- a/package/netdata/netdata.mk
+++ b/package/netdata/netdata.mk
@@ -4,15 +4,17 @@
 #
 ################################################################################
 
-NETDATA_VERSION = 1.21.1
-NETDATA_SITE = $(call github,netdata,netdata,v$(NETDATA_VERSION))
+NETDATA_VERSION = 1.33.1
+NETDATA_SOURCE = netdata-v$(NETDATA_VERSION).tar.gz
+NETDATA_SITE = \
+	https://github.com/netdata/netdata/releases/download/v$(NETDATA_VERSION)
 NETDATA_LICENSE = GPL-3.0+
 NETDATA_LICENSE_FILES = LICENSE
 NETDATA_CPE_ID_VENDOR = netdata
-# netdata's source code is released without a generated configure script
-NETDATA_AUTORECONF = YES
 NETDATA_CONF_OPTS = \
 	--disable-dbengine \
+	--disable-ebpf \
+	--disable-ml \
 	--disable-unit-tests
 NETDATA_DEPENDENCIES = libuv util-linux zlib
 
@@ -43,6 +45,13 @@ else
 NETDATA_CONF_OPTS += --without-libcap
 endif
 
+ifeq ($(BR2_PACKAGE_LZ4),y)
+NETDATA_CONF_OPTS += --enable-compression
+NETDATA_DEPENDENCIES += lz4
+else
+NETDATA_CONF_OPTS += --disable-compression
+endif
+
 ifeq ($(BR2_PACKAGE_NFACCT),y)
 NETDATA_CONF_OPTS += --enable-plugin-nfacct
 NETDATA_DEPENDENCIES += nfacct
-- 
2.35.1




More information about the buildroot mailing list