1
0
forked from cockpit/cockpit
Commit Graph

174 Commits

Author SHA256 Message Date
7d21726f66 patch in 0009-packagekit-reboot-notification.patch 2025-07-15 13:24:15 +03:00
7a16bdc57d Support SUSE_PRETTY_NAME for SLE micro 16.2
This adds 3 patches to support the new SUSE_PRETTY_NAME keys in the os-release.
We can't depend on the NAME/PRETTY_NAME and need to use VARIANT/VARIANT_ID
to determine to os we're on and SUSE_PRETTY_NAME to display the correct pretty name.
0001-cockpit-overview-support-SUSE_SUPPORT_PRODUCT-keys.patch should be dropped
when systemd starts reporting the os name correctly.
2025-07-15 11:17:53 +02:00
bbc60700ee Show reboot nofication after updates in packagekit 2025-07-15 10:51:54 +03:00
124ad7108d Add libzypp-plugin-appdata as /apps depends on swcatalog being generated 2025-07-02 14:09:03 +01:00
b8985dff0b Backport the fix for bsc#1241949 so it's included in the next release 2025-06-23 13:22:16 +01:00
1083c47b5e Upgrade to 340 2025-06-16 07:32:54 +01:00
d59a8816a4 Move cockpit-ws-selinux to posttrans since it's replacing
cockpit-selinux-policies

This prevents a major issue where cockpit-selinux-policies would have
postun trigger *after* cockpit-ws-selinux was installed, meaning that
the policy would then be removed, breaking cockpit
2025-05-23 07:32:36 +01:00
9aaaceb542 Properly update packaging to 338 2025-05-23 07:32:36 +01:00
6606da887e cleanup left over files and actually update to 338 2025-05-12 14:54:12 +05:30
68506a8f33 update to 338 2025-05-09 10:56:11 +05:30
48c58da214 Feat: Check if dynamic users exist before cockpit starts
Cockpit expects all its users to be dynamic, if we aren't creating them
manually and instead using them as dynamic users as upstream expects we
need to ensure they don't exist. This adds a preexec script that does
that.
2025-05-08 13:06:57 +05:30
52a05c55c9 Update to 337
Updates cockpit to version 337. This version includes breaking changes
related to usage of patternfly 6. 3 patches were updated to be used with
the new cockpit release
2025-04-29 14:13:28 +05:30
96c15c040c Fix: Update patch 108 and only apply on leap 15
Patch 108(0007-Remove-DynamicUser-setting-as-these-conflict-with-re.patch)
sets DynamicUser to no,This should have also set PrivateTmp and
ProtectHome to yes. This patch should have also only been applied on
Leap 15 as tumbleweed does have dynamic users.

See https://github.com/cockpit-project/bots/issues/7699 for motivation
2025-04-29 12:54:06 +05:30
543c8ccf1e Add extra requirements to cockpit-selinux-policies 2025-04-17 07:17:45 +01:00
e7789e26d4 Add a requires for either sudo or polkit for assuming admin rights 2025-04-11 14:28:17 +01:00
e638b3db10 Always install selinux modules regardless of selinuxenabled status 2025-04-07 11:42:57 +01:00
d6b27ece7e Patch python bridge to handle dbus message endianness correctly 2025-03-19 09:02:34 +02:00
306c18c4ae Move selinux policies to cockpit-selinux-policies bsc#1236057
This resolves bsc#1236057 by moving the selinux policies in cockpit-ws
to cockpit-selinux-policies allowing them to be conditionally installed
when selinux-policy-base is installed.
2025-03-12 09:58:26 +05:30
24042d05bf Update to 334.1 2025-03-10 11:55:42 +00:00
60f3c749b0 package-lock.json to satisfy upstreamk build scripts 2025-02-24 17:12:25 +01:00
de4b8becd9 Always apply 108 regardless of build target 2025-02-21 09:16:33 +00:00
783d2e3bb1 Added packagekit-single-install.patch functionality 2025-02-21 00:24:59 +02:00
d67dfe997f Update spec file from upstream 2025-02-11 08:32:56 +00:00
3f4caddcfb Update provides users and groups to match the dynamic user changes 2025-02-10 16:32:42 +00:00
fb3e20de48 Update cockpit to 332 2025-02-10 16:32:40 +00:00
c82cf86531 Properly fix autoconf build issue on leap
This was due to a macro issue in autoconf, that lead to it
generating an invalid configure
2025-02-10 16:31:45 +00:00
a3f99f45a5 Revert "build without checking for pidfd_getpid on Leap 15.6"
This reverts commit 8a6c640ec4.
2025-02-10 16:30:30 +00:00
3a4a663a28 Don't include pam_oath motd when we don't ship pam_oath 2025-02-10 16:29:34 +00:00
960cb1e375 Ship a new pam file, this is the same except it's pam_oath-less 2025-02-10 16:29:34 +00:00
49b4cd327d Dynamic users are completely different on this version of cockpit
We need to do various changes to get these fixed since we don't
ship systemd in nsswitch.conf
2025-02-10 16:29:21 +00:00
23892eda9a don't move cockpit-session to tests. 2025-01-08 15:44:18 +05:30
3133ff6892 don't depend on pam_oauth on 15.6 2025-01-08 15:44:18 +05:30
8a6c640ec4 build without checking for pidfd_getpid on Leap 15.6 2024-12-13 13:14:51 +05:30
d26d5019d5 update to 330, fix suse_docs.patch 2024-12-09 13:38:45 +05:30
0f2e128911 update to 329.1 2024-12-03 12:14:18 +05:30
416aa9163d Add various patches for slfo-1.1
- suse_docs.patch: update documentation to point at new links (bsc#1226050)
- remove_rh_links.patch: remove additional hardcoded RH refs (bsc#1221336)
- hide-pcp.patch: correct patch to properly disable pcp on micro
  (bsc#1226049)
- suse-microos-branding.patch: use suse ID as branding instead of sle-micro
  (bsc#1227441)
2024-10-09 13:18:59 +01:00
Adam Majer
17cc1c2b4c Merge branch 'motd-otp' of https://src.opensuse.org/abrooks/cockpit
Fixed .changes
2024-10-09 12:46:08 +02:00
cb83e616ae Add motd guidance for setting up otp 2024-10-01 10:52:34 +01:00
Jan Zerebecki
95f291257b support optional TOTP for authentication
It requires a pam_oath in a version that implements the
no_usersfile_okay argument. Provisionally using 2.6.11.12 as a version
to indicate it, the patch is not yet merged upstream, but this is likely
a version upstream will not assign. Patch:
https://gitlab.com/oath-toolkit/oath-toolkit/-/merge_requests/42

Upstream: https://github.com/openSUSE/cockpit/pull/27
2024-09-18 17:18:43 +02:00
14257e4afc Remove Requires on pam_oath
Sync with github spec file
2024-08-20 15:25:05 +02:00
f835006e9a Add 0005-cockpit-ws-user-remove-default-deps.patch (bsc#1229146) 2024-08-20 12:16:56 +01:00
c3c4cf7dbd update spec file to latest from github and update suse_docs.patch to point to live urls 2024-08-16 11:13:14 +05:30
1d20b4fe9c update spec file to latest from github and update suse_docs.patch to point to live urls 2024-08-13 16:30:11 +05:30
4764a1f351 update to cockpit 322 2024-08-13 11:37:43 +05:30
e1de0007dd OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=195 2024-08-08 11:05:27 +00:00
515e11446a temporary remove pam_oath, so we can update factory/15.6
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=194
2024-08-08 11:04:59 +00:00
c9f440fd0a Accepting request 1192526 from home:pallaswept:branches:systemsmanagement:cockpit
- Recommend cockpit-packagekit if zypper is installed

OBS-URL: https://build.opensuse.org/request/show/1192526
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=193
2024-08-08 10:51:03 +00:00
08a644cfac - Fix libexecdir for leap and sle (bsc#1223533)
- Fix systemd units folder for leap and sle (bsc#1226541)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=192
2024-08-08 10:48:31 +00:00
3d9fd349c1 Accepting request 1192177 from home:jzerebecki:branches:systemsmanagement:cockpit
- load pam_oath for optional TOTP for authentication

OBS-URL: https://build.opensuse.org/request/show/1192177
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=190
2024-08-07 09:47:04 +00:00
177e09963d OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=188 2024-07-31 11:49:42 +00:00