Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package polkit for openSUSE:Factory checked in at 2025-09-11 14:38:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/polkit (Old) and /work/SRC/openSUSE:Factory/.polkit.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "polkit" Thu Sep 11 14:38:14 2025 rev:93 rq:1303595 version:126 Changes: -------- --- /work/SRC/openSUSE:Factory/polkit/polkit.changes 2024-08-15 09:57:47.693639348 +0200 +++ /work/SRC/openSUSE:Factory/.polkit.new.1977/polkit.changes 2025-09-11 14:39:28.432134937 +0200 @@ -1,0 +2,35 @@ +Tue Jul 15 14:30:09 UTC 2025 - Marcus Meissner <[email protected]> + +- Updated to version 126: + + Highlights: + - many code fixes detected either by CI or the author himself (Frantisek Sumsal) + - shellcheck and dependabot integration (Jan Macku) + - search for rules in /usr/local/share rather than /usr/local/lib (Luca Boccassi) + - Implement LogControl1 protocol for dynamic log level changes (Luca Boccassi) + - read actions also from /etc/, /run/ and /usr/local/share/ (Luca Boccassi) + - mozjs dropped in favor of duktape (Xi Ruoyao) + - many other fixes in build system and polkit code (Many thanks to all the authors.) +- Updated to version 125: + + Highlights: + - introduction of CodeQL and a new integration test suite (Frantisek Sumsal) + - dropped mocklibc (Frantisek Sumsal) + - syslog-style log-levels introduction (Jan Rybar) + - LogControl integration (Luca Boccassi) + - pkexec: "No session for cookie" finally fixed (huxiaodong) + - resources optimizations: only instances affected by sessions-change recalculate authorizations (Jan Rybar, thanks to Michal Sekletar and Milan Crha) + - meson tweaks (Alyssa Ross, Luca Boccassi, Michael Biebl, Michael Olbrich) + - build warnings cleanup (peelz) + - Packit service configuration for the new upstream platform (Vincent Mihalkovic) + - systemd-tmpfiles.d integration (Vincent Mihalkovic) + - other fixes and changes (Gleb Popov, heather7283, Tianyu Chen, Tobias Stoeckmann) + - internationalization: Slovenian (filmsi), Hindi (Scrambled777) +- Updated to version 124: + + Highlights: + - PIDFDs are used if available to track processes + - pidfd parameter available for CheckAuthorization() + - systemd-sysuser enabled for polkit +- polkit-actions-in-etc.patch: done upstream in commit 9958c259f82b066f613d171d2934c1bd829e31a4 +- polkit-fix-implicit.patch: not needed anymore +- revert upstream change to have /etc/polkit-1/rules.d as tempdir + +------------------------------------------------------------------- @@ -12,0 +48,5 @@ + +------------------------------------------------------------------- +Tue Jun 4 11:54:16 UTC 2024 - Marcus Meissner <[email protected]> + +- polkit-fix-implicit.patch: fixed implicit to make it build with gcc14. Old: ---- polkit-123.tar.bz2 polkit-actions-in-etc.patch system-user-polkitd.conf New: ---- 126.tar.gz ----------(Old B)---------- Old: - systemd-sysuser enabled for polkit - polkit-actions-in-etc.patch: done upstream in commit 9958c259f82b066f613d171d2934c1bd829e31a4 - polkit-fix-implicit.patch: not needed anymore ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ polkit.spec ++++++ --- /var/tmp/diff_new_pack.dMbyAt/_old 2025-09-11 14:39:29.284170969 +0200 +++ /var/tmp/diff_new_pack.dMbyAt/_new 2025-09-11 14:39:29.284170969 +0200 @@ -1,7 +1,7 @@ # # spec file for package polkit # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,14 +21,13 @@ %define run_tests 1 Name: polkit -Version: 123 +Version: 126 Release: 0 Summary: PolicyKit Authorization Framework License: LGPL-2.1-or-later Group: System/Libraries -URL: https://gitlab.freedesktop.org/polkit/polkit/ -Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 -Source3: system-user-polkitd.conf +URL: https://github.com/polkit-org/polkit +Source0: %{url}/archive/refs/tags/%{version}.tar.gz Source4: 50-default.rules Source99: baselibs.conf @@ -44,8 +43,6 @@ Patch3: polkit-keyinit.patch # PATCH-FIX-OPENSUSE polkit-adjust-libexec-path.patch -- Adjust path to polkit-agent-helper-1 (bsc#1180474) Patch4: polkit-adjust-libexec-path.patch -# Read actions also from /etc/polkit-1/actions -Patch6: polkit-actions-in-etc.patch BuildRequires: gcc-c++ BuildRequires: gettext-devel @@ -163,7 +160,7 @@ %global optflags %{optflags} -Wno-error=implicit-function-declaration %meson \ - -D session_tracking=libsystemd-login \ + -D session_tracking=logind \ -D systemdsystemunitdir="%{_unitdir}" \ -D os_type=suse \ -D pam_module_dir="%{_pam_moduledir}" \ @@ -172,8 +169,8 @@ -D tests=true \ -D gtk_doc=true \ -D man=true \ - -D js_engine=duktape \ %{nil} + %meson_build %sysusers_generate_pre %{SOURCE3} polkit system-user-polkitd.conf @@ -197,12 +194,10 @@ # create $HOME for polkit user install -d %{buildroot}%{_localstatedir}/lib/polkit -rm -v %{buildroot}%{_polkit_rulesdir}/50-default.rules -install -m0644 %{SOURCE4} %{buildroot}%{_polkit_rulesdir}/50-default.rules +install -m0644 %{SOURCE4} %{buildroot}/%{_polkit_rulesdir}/50-default.rules -# Install the polkitd user creation file: -mkdir -p %{buildroot}%{_sysusersdir} -install -m0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/ +# delete tmpfiles.d file for now +rm %{buildroot}/usr/lib/tmpfiles.d/polkit-tmpfiles.conf # create actions dir in /etc mkdir %{buildroot}/%{_sysconfdir}/polkit-1/actions @@ -263,10 +258,10 @@ %dir %{_datadir}/polkit-1/actions %{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy %attr(0555,root,root) %dir %{_polkit_rulesdir} - %{_polkit_rulesdir}/50-default.rules +%{_polkit_rulesdir}/50-default.rules %{_pam_vendordir}/polkit-1 %dir %{_sysconfdir}/polkit-1 -%attr(0750,root,polkitd) %dir %{_sysconfdir}/polkit-1/rules.d +%attr(0750,root,root) %dir %{_sysconfdir}/polkit-1/rules.d %dir %{_sysconfdir}/polkit-1/actions %{_bindir}/pkaction %{_bindir}/pkcheck @@ -276,7 +271,7 @@ %verify(not mode) %attr(4755,root,root) %{_libexecdir}/polkit-1/polkit-agent-helper-1 # $HOME for polkit user %dir %{_localstatedir}/lib/polkit -%{_sysusersdir}/system-user-polkitd.conf +%{_sysusersdir}/polkit.conf %{_unitdir}/polkit.service %files devel ++++++ polkit-gettext.patch ++++++ --- /var/tmp/diff_new_pack.dMbyAt/_old 2025-09-11 14:39:29.340173338 +0200 +++ /var/tmp/diff_new_pack.dMbyAt/_new 2025-09-11 14:39:29.344173506 +0200 @@ -17,19 +17,19 @@ src/polkitbackend/polkitbackendactionpool.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) -diff --git a/src/polkitbackend/polkitbackendactionpool.c b/src/polkitbackend/polkitbackendactionpool.c -index 3894fe9..9252788 100644 ---- a/src/polkitbackend/polkitbackendactionpool.c -+++ b/src/polkitbackend/polkitbackendactionpool.c -@@ -24,6 +24,7 @@ +Index: polkit-126/src/polkitbackend/polkitbackendactionpool.c +=================================================================== +--- polkit-126.orig/src/polkitbackend/polkitbackendactionpool.c ++++ polkit-126/src/polkitbackend/polkitbackendactionpool.c +@@ -23,6 +23,7 @@ #include <pwd.h> #include <string.h> #include <expat.h> +#include <locale.h> - #include <polkit/polkit.h> - #include <polkit/polkitprivate.h> -@@ -1132,8 +1133,20 @@ _localize (GHashTable *translations, + #ifdef ENABLE_GETTEXT + #include <locale.h> +@@ -1232,8 +1233,20 @@ _localize (GHashTable *translations, if (result != NULL) goto out; @@ -52,7 +52,4 @@ out: return result; --- -2.12.2 -
