91 Commits

Author SHA1 Message Date
Gyorgy Sarvari
a56aafa0a6
netdata: ignore CVE-2024-32019
Details: https://nvd.nist.gov/vuln/detail/CVE-2024-32019

The vulnerability affects the ndsudo binary, part of netdata.
This binary was introduced in version 1.45.0[1], and the recipe
contains v1.34.1 - which is not vulnerable yet.

Ignore the CVE due to this.

[1]: 0c8b46cbfd

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2026-02-09 09:35:57 +05:30
Gyorgy Sarvari
89a01c3d9a
cockpit: set correct CVE_PRODUCT
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit af4df551eec582844a8b56154117915ace1596cd)
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2025-11-28 11:27:05 -08:00
Gyorgy Sarvari
7435780bbe webmin: patch CVE-2022-0829
Details: https://nvd.nist.gov/vuln/detail/CVE-2022-0829

Pick the patch from the nvd report details.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
(cherry picked from commit 80b536578028e4f6d0e5d13d133d1d88764f7445)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2025-11-19 08:46:56 +05:30
Gyorgy Sarvari
0c7d961f95 webmin: patch CVE-2022-0824
Details: https://nvd.nist.gov/vuln/detail/CVE-2022-0824

Pick the patch mentioned in the nvd report.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
(cherry picked from commit b4c4f0c52537afd097c967850267e4e29e4a620f)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2025-11-19 08:46:56 +05:30
Gyorgy Sarvari
3601d99c9e webmin: patch CVE-2019-15642
Details: https://nvd.nist.gov/vuln/detail/CVE-2019-15642

Pick the patch mentioned in the nvm report.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
(cherry picked from commit 241abdec1282b65eab79923434a059e6d6f869f6)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2025-11-19 08:46:56 +05:30
Gyorgy Sarvari
e64c857b02 webmin: patch CVE-2017-17089
Details: https://nvd.nist.gov/vuln/detail/CVE-2017-17089

Pick the patch referenced in the nvd report.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
(cherry picked from commit 85933945fba1096bfcb1d3e723dc50bac3416867)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2025-11-19 08:46:56 +05:30
Gyorgy Sarvari
9655a3d880 webmin: patch CVE-2017-15644, CVE-2017-15645 and CVE-2017-15646
Details: https://nvd.nist.gov/vuln/detail/CVE-2017-15644
https://nvd.nist.gov/vuln/detail/CVE-2017-15645
https://nvd.nist.gov/vuln/detail/CVE-2017-15646

Pick the patch mentioned in the nvd report (same patch is marked to
fix all three vulnerabilities).

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
(cherry picked from commit 4c602e88b9b2f4babb367d5b6ae7099933976b15)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2025-11-19 08:46:56 +05:30
Paul Le Guen de Kerneizon
f1f248262d cockpit: remove deprecated packages
This commit removes from the recipe the following deprecated packages:
- `cockpit-docker`: cockpit project no longer supports Docker since version 228
  [1]
- `cockpit-machines`: cockpit-machines is now provided in a dedicated
  repository [2], and code base has been removed since version 242 [3]

[1]: https://cockpit-project.org/blog/cockpit-228.html
[2]: https://github.com/cockpit-project/cockpit-machines
[3]: https://cockpit-project.org/blog/cockpit-242.html

Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a495fd2a54614ab238e4e87355cc850c68d56fd1)
Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2025-11-12 11:38:29 +05:30
Leonard Anderweit
855498c938 cockpit: fix build error
Fix a build error caused by a missing build directory. This is already
fixed in cockpit 344 and newer so backport the fix.

Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2025-11-12 11:38:29 +05:30
Jan Vermaete
c2c01199d7
netdata: version bump 1.43.2 -> 1.44.3
* fixed a few minor oelint-adv warnings in the recipe
* placed all SRC_URI lines in one block

Tested on Raspberry PI 4

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-21 19:59:52 -08:00
Alexander Kanavin
628a8d011f
cockpit: add setuptools dependency to bring in distutils copy
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:49 -08:00
Jan Vermaete
33245220ad
netdata: added Python as rdepends
Netdata has plugins.  Some of the written in Python.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-22 06:39:32 -08:00
Jan Vermaete
0f87d09d11
netdata: version bump 1.43.0 -> 1.43.2
And fixed the upstream check for new versions.

Changelog: https://github.com/netdata/netdata/blob/master/CHANGELOG.md

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-17 11:38:26 -08:00
Jan Vermaete
3d3bbc2ac3
netdata: chown in systemd service with ':' iso '.'
There was a warning in the systemd journaling about it.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-17 11:38:26 -08:00
Daniel Semkowicz
9281dbcc21 cockpit: Bump to version 304
In version 301, the default bridge implementation was changed to Python.
Adjust recipe to build and install new Python bridge.

Old bridge implementation is still available and can be enabled using
'--enable-old-bridge' flag. Add PACKAGECONFIG option for old bridge.

New bridge shows minor regressions like networking graph not generated
correctly. Probably additional dependencies are missing.
For this reason, keep the old bridge enabled by default.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-09 20:47:44 -08:00
Daniel Semkowicz
5f514bf4c7 cockpit: Fix cockpit-askpass path
Non-existing variable was used as a prefix for 'cockpit-askpass'.
Fix the path, so the binary will be correctly installed
in 'cockpit-bridge' package.

Fortunately, even with incorrect path, this binary was "caught"
by the main 'cockpit' package, so it was always installed in the final
image.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-09 20:47:44 -08:00
Sam Van Den Berge
2dda30d3a4 netdata: Upgrade 1.36.1 -> 1.43.0
libyaml dependency now required. See:
6ee42875c: Bundle libyaml

json-c also seems required now. If I don't enable it, I get compile errors.

compression and https options got renamed upstream to lz4 and openssl. See:
c74bf56ee: Code reorg and cleanup - enrichment of /api/v2

Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-19 07:58:51 -07:00
Daniel Semkowicz
a8f28915f5 cockpit: Move apps to a separate package
Apps (Applications tab) is an optional Cockpit Project package.
Make it also an optional package in recipe.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:02 -07:00
Daniel Semkowicz
2277eaf809 cockpit: Move packagekit to a separate package
Packagekit (Software Updates tab) is an optional Cockpit Project
package. Make it also an optional package in recipe.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:02 -07:00
Khem Raj
ce208790e5 cockpit: Upgrade to 298 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-13 10:38:14 -07:00
Petr Gotthard
e64fda2f96 cockpit: upgrade 276 -> 289
Changes are described for each release in the blog:
https://cockpit-project.org/blog/cockpit-277.html
https://cockpit-project.org/blog/cockpit-278.html
https://cockpit-project.org/blog/cockpit-279.html
https://cockpit-project.org/blog/cockpit-280.html
https://cockpit-project.org/blog/cockpit-281.html
https://cockpit-project.org/blog/cockpit-282.html
https://cockpit-project.org/blog/cockpit-283.html
https://cockpit-project.org/blog/cockpit-284.html
https://cockpit-project.org/blog/cockpit-285.html
https://cockpit-project.org/blog/cockpit-286.html
https://cockpit-project.org/blog/cockpit-287.html
https://cockpit-project.org/blog/cockpit-288.html
https://cockpit-project.org/blog/cockpit-289.html

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-14 08:44:20 -07:00
Khem Raj
3a8e18f038 monkey,webmin: Fix upstream patch status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-07 16:58:15 -07:00
Khem Raj
cb125e2bef meta-webserver: Fix missing upstream status on patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 20:41:10 -07:00
Martin Jansa
e99f187966 .patch: fix Upstream-Status formatting issues reported by patchreview tool from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-27 17:06:52 -08:00
Khem Raj
7be1573217 cockpit: Update to 276
Specify --with-admin-group and no error on xsltproc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-07 16:44:54 -07:00
Wang Mingyu
c51c91ba35 netdata: upgrade 1.36.0 -> 1.36.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-23 19:12:52 -07:00
Wang Mingyu
0b751c8dc5 netdata: upgrade 1.35.1 -> 1.36.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-15 16:27:53 -07:00
wangmy
b521d55432 netdata: upgrade 1.35.0 -> 1.35.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-07 08:24:26 -07:00
Jan Vermaete
be63afc4ec netdata: version bump 1.34.1 -> 1.35.0
Do note that some collectors (a.k.a. plugins) moved from Python to
Go.  And Go is not (yet) part of this recipe.
More info at https://github.com/netdata/netdata/releases/tag/v1.35.0
under 'Deprecated in this release'

The patch should be handled by recoding upstream.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:27 -04:00
Khem Raj
1f56482ecf netdata: Fix build errors with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-25 10:44:14 -07:00
Jan Vermaete
4c6b0afe56 netdata: version bump 1.33.1 -> 1.34.1
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-21 07:14:38 -07:00
Khem Raj
ca1cfc9a73 netdata: Fix override separator syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-25 08:28:48 -07:00
Khem Raj
c83505542f cockpit: Package missing nonarch_libdir
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-21 08:25:11 -07:00
Khem Raj
312832a3c5 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Kas User
ba34834fdd netdata: added enable/disable cloud config.
The json-c dependancy is only needed when cloud is enabled.

Almost no inpact on the size of the package.

Default disabled.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-28 08:39:26 -08:00
Jan Vermaete
5c379cf625 netdata: version bump 1.33.0 -> 1.33.1
https can now be enabled (default) or disabled.
The lz4 patch is now in this release.

Package size increase of 2%

Tested on RaspberryPi4-64

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-17 11:12:44 -08:00
Jan Vermaete
32dd133a6b netdata: upgrade 1.32.1 -> 1.33.0
Added the packageconfig to compress the data with lz4.
But disabled it by default.

Patch added to have it working without compression enabled.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-03 08:41:05 -08:00
Jan Vermaete
d68d340d8c netdata: fix for commit 8554624cc7f84e6b63b2ea4b94ee5fd2821021ca
The previous commit was using a PACKAGECONFIG to enable or disable
the sending of anonymous data to Google Analytics.
This was giving QA issues.

Now the variable 'NETDATA_ANONYMOUS' is used to enable or disable
the opt-out.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-23 23:05:27 -08:00
Jan Vermaete
2bf65c1d86 netdata: do not send anonymous statistics by default.
Netdata is sending anonymous statics data to Google by default.

Disabling this by default in the recipe by adding the
 .opt-out-from-anonymous-statistics file in the netdata config
directory.
@see: https://learn.netdata.cloud/docs/agent/anonymous-statistics#opt-out

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-23 23:05:27 -08:00
Jan Vermaete
3b883ba6d5 netdata: fixed some oelint-adv issues in the recipe.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-23 23:05:27 -08:00
Jan Vermaete
b62d0a9d82 netdata: version bump from 1.32.0 to 1.32.1
Changelog: https://github.com/netdata/netdata/releases/tag/1.32.1

test: raspberrypi4-64

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-23 23:05:27 -08:00
Khem Raj
1057495c63 netdata: Link libatomic on mips
This is for providing the atomics which is available as intrinsics on
other arches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-13 21:20:02 -08:00
Jan Vermaete
f01427e362 netdata: from 1.22.1 to 1.32.0
* 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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-13 08:09:25 -08:00
Jan Vermaete
2cf01edb69 netdata: Using the github.com release + upstream_check.
* Moved to the release archives instead of git.
* Added the UPSTREAM_CHECK_URI.

Note that the latest version of netdata is 1.31.0.
But this one doesn't compile on Linux in cross compilation.
The next version should have the fix.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-01 05:45:17 -07:00
Peter Kjellerstedt
b70bb9b43c netdata: Move the version to the file name and correct the SRC_URI
The HOMEPAGE was updated in commit 371adeaa (netdata: Fixed the recipe),
but not the SRC_URI.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-27 11:34:55 -07:00
jan
371adeaade netdata: Fixed the recipe.
The netdata website was not accessable due to some (changed) permissions.
The systemd service file will start netdata deamon with the netdata user.
The netdata group as existing, but the netdata user was missing.

I moved some directory creations from systemd to the bitbake recipe.

The project website address changed too.

Removed the creation of the pid file in the service of systemd.
Netdata itself has an option to create the pid file.  Because it's an
options, it's probably also not needed in systemd.

Tested with meta-raspberrypi on rpi4-32.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:35 -07:00
Khem Raj
fb95946eb5 emacs,libgpiod,cockpit: Fix override syntax in using FILES_${PN}
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-06 20:38:40 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Andreas Müller
09e925dd7b netdata: upgrade 1.17.0 -> 1.22.1
* 0001-Correct-timeout-issue.patch: timeout is build by coreutils
* 0002-Makefiles-does-not-build-contrib-dir.patch: Upstream added identical

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-19 10:17:50 -07:00
Michael Haener
870dda4a91 cockpit: 219 -> 220
Signed-off-by: Michael Haener <michael.haener@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-30 11:27:49 -07:00