<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/admin/netdata/Makefile, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-11-18T07:19:47Z</updated>
<entry>
<title>netdata: use the system SQLite</title>
<updated>2026-11-18T07:19:47Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-11-15T11:30:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1073e61fb3928dc7b6d30d60bd58c1ca3cf41659'/>
<id>urn:sha1:1073e61fb3928dc7b6d30d60bd58c1ca3cf41659</id>
<content type='text'>
netdata compiles its own copy of SQLite 3.36.0 from June 2021 into the
daemon. Link the daemon against libsqlite3 instead, so that SQLite gets
its updates from the sqlite3 package.

On aarch64_generic the daemon shrinks from 2386355 to 1365700 bytes.
libsqlite3 has 1110402 bytes there, so an installation without it grows
by about 90 kB in total and one that already has it saves 1 MB.

The OpenWrt library is built without UPDATE and DELETE with LIMIT. The
only statement that needs it is in the cloud code, which the package
does not build, and the unit test skips its two LIMIT statements when
the library lacks the option.

Tested on aarch64 with libsqlite3 3.54.1: upgrade from the previous
release over an existing database, health log written and read back
after a restart, a streaming parent with one child and the built-in
unit tests.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>netdata: drop the unused libmnl dependency</title>
<updated>2026-11-18T07:19:47Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-11-15T10:55:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=e38cd49e0438d5182b102907edf4d3ad2e562f41'/>
<id>urn:sha1:e38cd49e0438d5182b102907edf4d3ad2e562f41</id>
<content type='text'>
libmnl was added to DEPENDS with the update to 1.9.0. Its only user in
netdata is the nfacct plugin, which the package turns off with
--disable-plugin-nfacct since the update to 1.11.0.

None of the installed binaries link against libmnl. A build with libmnl
removed from the staging directory produces the same 445 files as
before, byte for byte.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>netdata: do not install the dashboard source maps</title>
<updated>2026-11-17T09:43:28Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-11-15T03:03:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=dca0b8b404228b63a8f91b38f2a7d792e026096f'/>
<id>urn:sha1:dca0b8b404228b63a8f91b38f2a7d792e026096f</id>
<content type='text'>
The dashboard comes with 14 source map files that take 13.4 MB, which
is half of the installed size of the package. Only the developer tools
of a browser read them, the dashboard works without them.

On aarch64_generic the package shrinks from 8.0 MB to 4.5 MB and its
installed size from 26.9 MB to 13.4 MB.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>netdata: backport fixes for CVE-2023-22496 and CVE-2023-22497</title>
<updated>2026-11-17T09:43:28Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-11-15T03:03:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=9b5c822c7f50cfdeb101ede22134d0dec662f56c'/>
<id>urn:sha1:9b5c822c7f50cfdeb101ede22134d0dec662f56c</id>
<content type='text'>
Both issues are in the streaming receiver, which is disabled by default,
and both were fixed upstream in 1.37.0.

CVE-2023-22497 [1]: a parent accepted the MACHINE GUID of a child that
had connected before as an API key. Backport the upstream fix [2],
which gives every section of stream.conf a type. The GUID of a
connected child is now refused as an API key without any change to the
configuration. Sections that stream.conf holds for single machines
should get the new "type = machine" line. Without it such a section
still works as an API key as long as its machine has not connected.

CVE-2023-22496 [3]: the arguments of the alert notification command
were not sanitized, so a streaming child was able to change the command
that the parent runs. It also needs health to be enabled, which this
package turns off by default. Backport the upstream fix [4]. health.c
is ported by hand to the argument list of 1.33.1, and the sanitizing
function is taken from upstream master, where it was hardened later [5].

As in upstream, a leading dash is removed from every argument, '$' is
replaced by '_', and the script named by "exec" is quoted, so it can no
longer carry arguments of its own. An argument that contains an
apostrophe now reaches the notification script in one piece.

[1] https://nvd.nist.gov/vuln/detail/CVE-2023-22497
[2] https://github.com/netdata/netdata/commit/811028aea2
[3] https://nvd.nist.gov/vuln/detail/CVE-2023-22496
[4] https://github.com/netdata/netdata/commit/4de2ce54d5
[5] https://github.com/netdata/netdata/commit/3e508c8f95

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>admin/netdata: fix PKG_CPE_ID</title>
<updated>2026-03-18T08:06:47Z</updated>
<author>
<name>Fabrice Fontaine</name>
</author>
<published>2026-03-13T23:10:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=f388b1120464fe5ce064d4ce39aa3ab1a3d1cc2e'/>
<id>urn:sha1:f388b1120464fe5ce064d4ce39aa3ab1a3d1cc2e</id>
<content type='text'>
cpe:/a:netdata:netdata is the correct CPE ID for netdata:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:netdata:netdata

Fixes: cbfc396ca6ab24d7607741fd63e27bd705ca1ede (netdata: update to version 1.14.0)

Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: remove AUTORELEASE</title>
<updated>2023-04-21T20:46:58Z</updated>
<author>
<name>Paul Fertser</name>
</author>
<published>2023-04-21T16:32:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=0c10c224be81f9221dabfab449855ab6718d2a0c'/>
<id>urn:sha1:0c10c224be81f9221dabfab449855ab6718d2a0c</id>
<content type='text'>
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections</title>
<updated>2023-04-08T06:38:54Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2023-03-23T08:09:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=35f4ef76e0c88b690ec55f26aed072c4c5989eff'/>
<id>urn:sha1:35f4ef76e0c88b690ec55f26aed072c4c5989eff</id>
<content type='text'>
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16</title>
<updated>2023-04-08T06:38:54Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2023-03-23T07:39:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=565866a47210c9711c29173052063779b6d3bcfc'/>
<id>urn:sha1:565866a47210c9711c29173052063779b6d3bcfc</id>
<content type='text'>
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>netdata: disable LZ4 compression support</title>
<updated>2022-03-15T09:52:56Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2022-03-15T09:51:42Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=ceca87b25bf743c215a6ebbdfeb6d38e53e25c02'/>
<id>urn:sha1:ceca87b25bf743c215a6ebbdfeb6d38e53e25c02</id>
<content type='text'>
To avoid unnecessary dependency, let's disable it for now.
LZ4 can be also used for DB engine and HTTPS

Fixes:
Package netdata is missing dependencies for the following libraries:
liblz4.so.1

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>netdata: update to version 1.33.1</title>
<updated>2022-03-09T23:13:02Z</updated>
<author>
<name>Michal Vasilek</name>
</author>
<published>2022-03-03T15:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1278eec776e86659b3e812148796a53d0f865edc'/>
<id>urn:sha1:1278eec776e86659b3e812148796a53d0f865edc</id>
<content type='text'>
- Switch to upstream's release tarball
  Requires to add PKG_BUILD_DIR since netdata is extracted to the folder
  netdata-v1.33.1 instead of the previous solution where there was
missing v

- Disable anomaly detection by default
This avoids adding a new dependencies to netdata

Fixes:
Package netdata is missing dependencies for the following libraries:
libatomic.so.1
libstdc++.so.6

- Add FreeBSD patch to have smaller package and to avoid clutter in
  WebUI

Signed-off-by: Michal Vasilek &lt;michal.vasilek@nic.cz&gt;
[add commit message, add FreeBSD patch]
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
</feed>
