<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/admin/netdata/patches, 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: 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>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>
<entry>
<title>netdata: update to version 1.28.0</title>
<updated>2020-12-26T00:53:11Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2020-12-26T00:51:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=6c5e3e5cca86d983008daddf22b639dbc5da8398'/>
<id>urn:sha1:6c5e3e5cca86d983008daddf22b639dbc5da8398</id>
<content type='text'>
Refreshed patches and removed one backported patch

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>netdata: update to version 1.26.0</title>
<updated>2020-10-16T15:14:06Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2020-10-16T15:10:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=5ba339b49affba15afc2ab109265cc80e26233c4'/>
<id>urn:sha1:5ba339b49affba15afc2ab109265cc80e26233c4</id>
<content type='text'>
Disable ebpf plugin as in OpenWrt there is no package libbpf.
- With that, I need to introduce patch, which is not merged into netdata,
yet. Without it, I still got during cross-compilation this error:
checking for externaldeps/libbpf/libbpf.a... configure: error: cannot check for file existence when cross compiling

- And yes, the flag was there.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>admin/netdata: Update to 1.22.1</title>
<updated>2020-05-14T09:02:49Z</updated>
<author>
<name>Daniel Engberg</name>
</author>
<published>2020-05-14T08:45:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=626c304d67fa92d1eb87e34bbfa9a55a191387c5'/>
<id>urn:sha1:626c304d67fa92d1eb87e34bbfa9a55a191387c5</id>
<content type='text'>
Update netdata to 1.22.1
Disable cloud functionality
Shoehorn patches from FreeBSD's ports repo
Remove cloud notifications and netdata's self-update feature
json-c is no longer optional

Signed-off-by: Daniel Engberg &lt;daniel.engberg.lists@pyret.net&gt;
</content>
</entry>
<entry>
<title>netdata: Update to version 1.17.1</title>
<updated>2019-09-26T16:41:58Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2019-09-26T16:41:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=5e898166e768fac40f1740a7c767f937352741c5'/>
<id>urn:sha1:5e898166e768fac40f1740a7c767f937352741c5</id>
<content type='text'>
Patch 002 - Force Python3 is no longer applying, let's try to throw it
away to see if it is still necessary

Patch 003 - Was backported from the master branch and it was included in
Netdata version 1.17.0

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>netdata: Add patch to disable optional libraries</title>
<updated>2019-08-23T00:57:48Z</updated>
<author>
<name>Daniel Engberg</name>
</author>
<published>2019-08-23T00:45:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=35a7f8721ab86fc0f2c5bb8274418de7e1a82a84'/>
<id>urn:sha1:35a7f8721ab86fc0f2c5bb8274418de7e1a82a84</id>
<content type='text'>
Netdata adds optional libraries if found, add patch (PR#6658) to avoid pulling in unnecessary libraries.

Signed-off-by: Daniel Engberg &lt;daniel.engberg.lists@pyret.net&gt;
</content>
</entry>
<entry>
<title>netdata: update to version 1.16.0</title>
<updated>2019-07-21T15:37:56Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2019-07-21T15:33:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=b64558b1badbb6e043b2d16abd93f38687fde381'/>
<id>urn:sha1:b64558b1badbb6e043b2d16abd93f38687fde381</id>
<content type='text'>
- Add dependencies: libopenssl, liblz4
- Correct SPDX License Identifier
- Change URL of the website

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>netdata: update to version 1.14.0</title>
<updated>2019-04-27T07:46:40Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2019-04-26T15:36:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=cbfc396ca6ab24d7607741fd63e27bd705ca1ede'/>
<id>urn:sha1:cbfc396ca6ab24d7607741fd63e27bd705ca1ede</id>
<content type='text'>
- Add @BKPepe and @diizzyy as maintainers
- Add PKG_CPE_ID
- Modify 2nd patch

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
</feed>
