From ca12638c98bab3aa588806b1840347c6175946332abfdd606f3915342529a305 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 8 Oct 2019 12:46:03 +0000 Subject: [PATCH] Accepting request 736147 from home:msmeissn:branches:Base:System - polkit-keyinit.patch: add pam_keyinit to the polkit configuration (bsc#1144053) OBS-URL: https://build.opensuse.org/request/show/736147 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=135 --- polkit-keyinit.patch | 9 +++++++++ polkit.changes | 5 +++++ polkit.spec | 4 +++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 polkit-keyinit.patch diff --git a/polkit-keyinit.patch b/polkit-keyinit.patch new file mode 100644 index 0000000..db00553 --- /dev/null +++ b/polkit-keyinit.patch @@ -0,0 +1,9 @@ +Index: polkit-0.116/data/polkit-1.in +=================================================================== +--- polkit-0.116.orig/data/polkit-1.in ++++ polkit-0.116/data/polkit-1.in +@@ -4,3 +4,4 @@ auth include @PAM_FILE_INCLUD + account include @PAM_FILE_INCLUDE_ACCOUNT@ + password include @PAM_FILE_INCLUDE_PASSWORD@ + session include @PAM_FILE_INCLUDE_SESSION@ ++session optional pam_keyinit.so revoke [force] diff --git a/polkit.changes b/polkit.changes index f1e174e..9cc8a71 100644 --- a/polkit.changes +++ b/polkit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 8 12:41:44 UTC 2019 - Marcus Meissner + +- polkit-keyinit.patch: add pam_keyinit to the polkit configuration (bsc#1144053) + ------------------------------------------------------------------- Wed May 29 07:57:26 UTC 2019 - Bjørn Lie diff --git a/polkit.spec b/polkit.spec index a4c32cb..e4a6f04 100644 --- a/polkit.spec +++ b/polkit.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -34,6 +34,8 @@ Patch0: polkit-no-wheel-group.patch Patch1: polkit-gettext.patch # PATCH-FIX-UPSTREAM pkexec.patch schwab@suse.de -- pkexec: allow --version and --help even if not setuid Patch2: pkexec.patch +# PATCH-FIX-OPENSUSE polkit-keyinit.patch meissner@ -- bsc#1144053 Please add "pam_keyinit.so" to the /etc/pam.d/polkit-1 configuration file +Patch3: polkit-keyinit.patch BuildRequires: gcc-c++ BuildRequires: gtk-doc