!62 update to 123
From: @qsw333 Reviewed-by: @houmingyong, @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
1836283017
@ -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
BIN
polkit-123.tar.gz
Normal file
Binary file not shown.
14
polkit.spec
14
polkit.spec
@ -1,13 +1,12 @@
|
|||||||
Name: polkit
|
Name: polkit
|
||||||
Version: 122
|
Version: 123
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Define and Handle authorizations tool
|
Summary: Define and Handle authorizations tool
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.freedesktop.org/wiki/Software/polkit
|
URL: http://www.freedesktop.org/wiki/Software/polkit
|
||||||
Source0: https://gitlab.freedesktop.org/polkit/polkit/-/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://gitlab.freedesktop.org/polkit/polkit/-/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: modify-admin-authorization-from-wheel-group-to-root.patch
|
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: gcc-c++ glib2-devel >= 2.30.0 expat-devel pam-devel gtk-doc gettext-devel
|
||||||
BuildRequires: gobject-introspection-devel systemd systemd-devel dbus-devel
|
BuildRequires: gobject-introspection-devel systemd systemd-devel dbus-devel
|
||||||
@ -123,6 +122,15 @@ exit 0
|
|||||||
%{_datadir}/man/man8/*
|
%{_datadir}/man/man8/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 17 2023 wangyu <wangyu283@huawei.com> - 122-2
|
||||||
- revert: delete the expired polkit-pkla-compat
|
- revert: delete the expired polkit-pkla-compat
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user