Commit Graph

112 Commits

Author SHA1 Message Date
Jason Schonberg
a5f72a7f7e
cockpit: upgrade 349 -> 352
352
    Shown a warning if the last shutdown/reboot was unclean
    Bug fixes and translation updates

351
    Firewall ports can be deleted individually

350
    networking: fix renaming of bridges and other groups (RHEL-117883)
    bridge: fix OpenSSH_10.2p1 host key detection

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-11 15:29:44 -08:00
Jason Schonberg
350e4a7c62
webmin: upgrade 2.402 -> 2.501
Changelog: https://github.com/webmin/webmin/releases/tag/2.501
Changelog: https://github.com/webmin/webmin/releases/tag/2.500

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-02 15:54:06 -08:00
Gyorgy Sarvari
af4df551ee
cockpit: set correct CVE_PRODUCT
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-24 21:54:47 -08:00
Jason Schonberg
71a022d143 webmin: upgrade 2.303 -> 2.402
Changelog: https://github.com/webmin/webmin/releases/tag/2.402
Changelog: https://github.com/webmin/webmin/releases/tag/2.401
Changelog: https://github.com/webmin/webmin/releases/tag/2.400

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-30 11:38:13 -07:00
Jason Schonberg
2278f23482 webmin: upgrade 2.300 -> 2.303
net-generic.patch : lines changed order in the new version

disable-version-check.patch : additional code to be removed from the
  function which is being deleted.

Changelog: https://github.com/webmin/webmin/releases/tag/2.303
Changelog: https://github.com/webmin/webmin/releases/tag/2.302
Changelog: https://github.com/webmin/webmin/releases/tag/2.301

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 09:06:24 -07:00
Daniel Semkowicz
6a5ffc3466
cockpit: Upgrade to 349
Remove the patch with the fix that is already present in the new
version.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-16 08:48:35 -07:00
Daniel Semkowicz
d8d4b7ab88
cockpit: Add runtime dependency on GNU Coreutils
The BusyBox version of mv does not have the -Z flag for setting SELinux
security context. This results in failure
when the cockpit-certificate-helper script is executed.

Depend the package on GNU Coreutils to make sure that the proper version
of mv is installed.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-16 08:48:34 -07:00
Daniel Semkowicz
35fafdb342
cockpit: Remove old-bridge leftovers
The old-bridge package config option was removed from the recipe,
but the usage of this option was left in some places.

Remove any reference to old-bridge. Only the Python bridge is currently
supported by Cockpit.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-16 08:48:34 -07:00
Jason Schonberg
9e2040c10b
webmin: upgrade 2.202 -> 2.300
Modified net-generic.patch to update a hardcoded version number to avoid
patch fuzz.

Changelog: https://github.com/webmin/webmin/releases/tag/2.300

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-19 12:22:00 -07:00
Khem Raj
09d3af94b0
netdata: Enable network during do_compile only when go support is enabled
Makes the hammer a bit smaller, since we do not enable go by default
in packageconfig's it helps with yocto check layer with default config.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-14 08:37:28 -07:00
Khem Raj
90e2f77ce1
cockpit: Fix a build race generating fail-html.c
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-09 16:23:04 -07:00
Khem Raj
6b720074c4
cockpit: Upgrade to 337
Get rid of remoeved configure options

ERROR: QA Issue: cockpit: configure was passed unrecognised options: --disable-pcp --enable-old-bridge --with-cockpit-ws-instance-user --disable-ssh --disable-polkit --with-cockpit-ws-instance-group --with-cockpit-group --with-cockpit-user [unknown-configure-option]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-09 00:10:51 -07:00
Paul Le Guen de Kerneizon
a495fd2a54
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>
2025-02-25 09:48:06 -08:00
Yi Zhao
9198508373
cockpit: set pam module path to ${base_libdir}/security
Set pam module path to ${base_libdir}/security as this is the default
path in libpam.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-06 07:22:29 -08:00
Jan Vermaete
fa7ee06bd6
netdata: WebUI choice between all (default), v0, v1 or v2
Added a PACKAGECONFIG to select the version of the WebUI to be installed.
When not set, all versions (v0, v1 and v2) will be installed.  What is the
default of Netdata.

Enabling only the v1 version makes the package 25% smaller.

More info: https://github.com/netdata/netdata/issues/15640#issuecomment-1946041083

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:49 -08:00
Jan Vermaete
c00b1fcc7c
netdata: Upgrade from 1.47.3 to 1.47.5 release
* 0001-Add-check-for-64bit-builtin-atomics.patch applied upstream
* removed not longer used systemd service file
  The service of the netdata is used in previous commit(s)
* oelint_adv issues solved

Changlog: https://github.com/netdata/netdata/blob/master/CHANGELOG.md#v1475-2024-10-24

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-02 14:17:26 -07:00
Tanguy Raufflet
8a34c94412
netdata: add RDEPENDS to the docker PACKAGECONFIG
Add the runtime dependency Virtual/docker need when the package config
Docker is enabled. This avoids do_rootfs installs issues.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-24 05:52:19 -07:00
Tanguy Raufflet
9527f00467
netdata: add setuid to the xenstat plugin file
As mentioned in the Netdata documentation [1], The xenstat plugin
requires elevated privileges to be executed. The xenstat.plugin
permissions are modified to only allow users belonging to the netdata
group to execute the plugin with root privileges.

[1] https://learn.netdata.cloud/docs/collecting-metrics/containers-and-vms/xen-xcp-ng

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-24 05:52:19 -07:00
Tanguy Raufflet
6f6aa30602
netdata: modify apps.plugin permissions
Modification of the group for the apps.plugin file (from root to
netdata) and removal of execution authorization for the “others”.

This modification improves security by limiting the netdata group to
execute the plugin as root.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-24 05:52:19 -07:00
Khem Raj
fb566b0d09
netdata: Upgrade to 1.47.3 release
Update the atomics patch to v2 of upstream submission

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-04 22:45:35 -07:00
Enguerrand de Ribaucourt
d5a24aa9ba
netdata: add go plugin PACKAGECONFIG
Many netdata plugins are written in go, add a PACKAGECONFIG to enable
them.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-02 19:54:53 -07:00
Enguerrand de Ribaucourt
5c497aa92e
netdata: refresh netdata.conf
Our provided netdata.conf contained a lot of keys which are no longer
supported by netdata. Netdata allows to regenerate the configuration
file and present all possible keys with their default values. This
refreshed file will be more easy to configure by our users.

To generate this file, I basically ran the documented command and
replaced the file paths with our variables when applicable.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-02 19:54:53 -07:00
Enguerrand de Ribaucourt
d801dfaa24
netdata: use builtin packaging service files
Netdata now provides its own systemd service files. They provide better
hardening than the one we were defining in the recipe.

Unfortunately, the CMakeLists.txt file wants to install them into /lib
rather than /usr/lib. I added mv commands to put them in the expected
location depending on usrmerge.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-02 19:54:53 -07:00
Enguerrand de Ribaucourt
5ac897fae9
netdata: add docker PACKAGECONFIG
Some netdata plugins like cgroups or docker require permissions to
access the docker socket in order to label data properly.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-02 19:54:53 -07:00
Khem Raj
a2010f12fd
netdata: Add checks for 64-bit atomic builtins
This helps in passing correct flags to h2o module compilation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-17 07:50:23 -07:00
Jan Vermaete
e9c9bfb1bc
netdata: version bump 1.47.0 -> 1.47.1
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-14 08:43:55 -07:00
Khem Raj
37b2dac8de
netdata: Upgrade to 1.47.0
Disable go plugins as we need some work to enable them.
Convert to cmake build system

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-09 18:22:57 -07:00
J. S.
38f44e742a
webmin: upgrade 2.111 -> 2.202
commit f6d27810b4f48562a06ce5006b1559378f30c99c
Author: Jason Schonberg <schonm@gmail.com>
Date:   Mon Aug 19 00:26:48 2024 -0400

    Changelog:
    https://webmin.com/changelog/webmin-2.202-released/

    Modified net-generic.patch to update a hardcoded version number to avoid
    patch fuzz.

webmin: upgrade 2.111 -> 2.202
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-21 08:45:47 -07:00
Khem Raj
294c0251f8
webmin: Upgrade to 2.111 release
Drop remove-python2.3.patch since corresponding script is gone

License-Update: Formatting changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-14 12:06:20 -07:00
Khem Raj
ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
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