update to 123

This commit is contained in:
qsw333 2024-01-08 16:15:32 +08:00
parent aadbaf237a
commit c9de17ce50
4 changed files with 11 additions and 28 deletions

View File

@ -1,25 +0,0 @@
From 7a3d37507332ee57993ab0822dc111c448cd2401 Mon Sep 17 00:00:00 2001
From: shenxiangwei <shenxiangwei1@huawei.com>
Date: Thu, 8 Dec 2022 09:07:43 +0800
Subject: [PATCH] fix core dump problem
---
src/programs/pkcheck.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/programs/pkcheck.c b/src/programs/pkcheck.c
index 768525c..ea811b1 100644
--- a/src/programs/pkcheck.c
+++ b/src/programs/pkcheck.c
@@ -554,7 +554,7 @@ main (int argc, char *argv[])
{
g_printerr ("Error checking for authorization %s: %s\n",
action_id,
- error->message);
+ error ? error->message : "");
ret = 127;
goto out;
}
--
2.33.0

Binary file not shown.

BIN
polkit-123.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: polkit
Version: 122
Release: 2
Version: 123
Release: 1
Summary: Define and Handle authorizations tool
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/polkit
Source0: https://gitlab.freedesktop.org/polkit/polkit/-/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: modify-admin-authorization-from-wheel-group-to-root.patch
Patch1: fix-core-dump-problem.patch
BuildRequires: gcc-c++ glib2-devel >= 2.30.0 expat-devel pam-devel gtk-doc gettext-devel
BuildRequires: gobject-introspection-devel systemd systemd-devel dbus-devel
@ -123,6 +122,15 @@ exit 0
%{_datadir}/man/man8/*
%changelog
* Tue Jan 30 2024 wangyu <wangqingsan@huawei.com> - 123-1
- update to 123
- duktape:prevent wrongful termination of runway thread
- harden the security features of the systemd service
- add packit build tool
- systemd:set User/Group and don't change uid/gid if already set
- stop installing /usr/share/polkit-1/rules.d as 700/polkitd
- moving the 50-default.rules file location
* Fri Feb 17 2023 wangyu <wangyu283@huawei.com> - 122-2
- revert: delete the expired polkit-pkla-compat