From e30560572d8d0720a577bded969144e46eeccebadbee40c7b56060ffd9fe5b03 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 2 Nov 2012 19:22:14 +0000 Subject: [PATCH 1/3] Updating link to change in openSUSE:Factory/polkit-default-privs revision 76.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit-default-privs?expand=0&rev=d348ecfeff12dca57aac3faed7fa17ab --- more-systemd.diff | 18 ++++++++++++++++++ polkit-default-privs.spec | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 more-systemd.diff diff --git a/more-systemd.diff b/more-systemd.diff new file mode 100644 index 0000000..62121ea --- /dev/null +++ b/more-systemd.diff @@ -0,0 +1,18 @@ +Index: polkit-default-privs-12.3/polkit-default-privs.standard +=================================================================== +--- polkit-default-privs-12.3.orig/polkit-default-privs.standard ++++ polkit-default-privs-12.3/polkit-default-privs.standard +@@ -347,6 +347,13 @@ org.freedesktop.login1.inhibit-handle-po + org.freedesktop.login1.inhibit-handle-suspend-key auth_admin_keep + org.freedesktop.login1.inhibit-handle-hibernate-key auth_admin_keep + org.freedesktop.login1.inhibit-handle-lid-switch auth_admin_keep ++# even more ++org.freedesktop.login1.inhibit-delay-shutdown auth_admin_keep ++org.freedesktop.login1.inhibit-delay-sleep auth_admin_keep ++org.freedesktop.login1.inhibit-block-idle auth_admin_keep ++org.freedesktop.login1.suspend auth_admin_keep:auth_admin_keep:yes ++org.freedesktop.login1.suspend-multiple-sessions auth_admin_keep:auth_admin_keep:yes ++org.freedesktop.login1.hibernate auth_admin_keep:auth_admin_keep:yes + + + # gnome-control-center diff --git a/polkit-default-privs.spec b/polkit-default-privs.spec index e6013b0..8a3bc68 100644 --- a/polkit-default-privs.spec +++ b/polkit-default-privs.spec @@ -24,6 +24,7 @@ Summary: SUSE PolicyKit default permissions License: GPL-2.0+ Group: Productivity/Security Source: polkit-default-privs-%version.tar.bz2 +Patch0: more-systemd.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Supplements: PolicyKit Supplements: libpolkit0, polkit @@ -42,6 +43,7 @@ Authors: %prep %setup -q +%patch0 -p1 %build From 53841174f235ceff2516eaea1b78ab19ff3dadb16533b7a29ace2b5057ce881d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 2 Nov 2012 19:22:52 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit-default-privs?expand=0&rev=127 --- more-systemd.diff | 18 ------------------ polkit-default-privs.spec | 2 -- 2 files changed, 20 deletions(-) delete mode 100644 more-systemd.diff diff --git a/more-systemd.diff b/more-systemd.diff deleted file mode 100644 index 62121ea..0000000 --- a/more-systemd.diff +++ /dev/null @@ -1,18 +0,0 @@ -Index: polkit-default-privs-12.3/polkit-default-privs.standard -=================================================================== ---- polkit-default-privs-12.3.orig/polkit-default-privs.standard -+++ polkit-default-privs-12.3/polkit-default-privs.standard -@@ -347,6 +347,13 @@ org.freedesktop.login1.inhibit-handle-po - org.freedesktop.login1.inhibit-handle-suspend-key auth_admin_keep - org.freedesktop.login1.inhibit-handle-hibernate-key auth_admin_keep - org.freedesktop.login1.inhibit-handle-lid-switch auth_admin_keep -+# even more -+org.freedesktop.login1.inhibit-delay-shutdown auth_admin_keep -+org.freedesktop.login1.inhibit-delay-sleep auth_admin_keep -+org.freedesktop.login1.inhibit-block-idle auth_admin_keep -+org.freedesktop.login1.suspend auth_admin_keep:auth_admin_keep:yes -+org.freedesktop.login1.suspend-multiple-sessions auth_admin_keep:auth_admin_keep:yes -+org.freedesktop.login1.hibernate auth_admin_keep:auth_admin_keep:yes - - - # gnome-control-center diff --git a/polkit-default-privs.spec b/polkit-default-privs.spec index 8a3bc68..e6013b0 100644 --- a/polkit-default-privs.spec +++ b/polkit-default-privs.spec @@ -24,7 +24,6 @@ Summary: SUSE PolicyKit default permissions License: GPL-2.0+ Group: Productivity/Security Source: polkit-default-privs-%version.tar.bz2 -Patch0: more-systemd.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Supplements: PolicyKit Supplements: libpolkit0, polkit @@ -43,7 +42,6 @@ Authors: %prep %setup -q -%patch0 -p1 %build From 1b3fbd9ec7124bd5f0997e0693834f5424eedf20874fd50ff2c7c5fc6ad51ff7 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 20 Feb 2013 16:59:22 +0000 Subject: [PATCH 3/3] Accepting request 155832 from home:msmeissn:branches:Base:System - whitelist PackageKit / systemd offline update permissions, currently admin only - more systemd allows to make rpmlint happier bnc#783897 OBS-URL: https://build.opensuse.org/request/show/155832 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit-default-privs?expand=0&rev=128 --- polkit-default-privs-12.3.tar.bz2 | 4 ++-- polkit-default-privs.changes | 6 ++++++ polkit-default-privs.spec | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/polkit-default-privs-12.3.tar.bz2 b/polkit-default-privs-12.3.tar.bz2 index c707ac5..d4ed32a 100644 --- a/polkit-default-privs-12.3.tar.bz2 +++ b/polkit-default-privs-12.3.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:10c6f09ea07ae0af0028be7d9ed87c5e9434ec366339f24516858924b434e609 -size 17803 +oid sha256:3e3b186d63111a5d213d6600ba72ec19c7aa70930700cd1089d853626e45f577 +size 17925 diff --git a/polkit-default-privs.changes b/polkit-default-privs.changes index d659be2..fa7b39f 100644 --- a/polkit-default-privs.changes +++ b/polkit-default-privs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 19 16:14:48 UTC 2013 - meissner@suse.com + +- whitelist PackageKit / systemd offline update permissions, currently admin only +- more systemd allows to make rpmlint happier bnc#783897 + ------------------------------------------------------------------- Fri Nov 2 10:08:33 UTC 2012 - meissner@suse.com diff --git a/polkit-default-privs.spec b/polkit-default-privs.spec index e6013b0..561eb7e 100644 --- a/polkit-default-privs.spec +++ b/polkit-default-privs.spec @@ -1,7 +1,7 @@ # # spec file for package polkit-default-privs # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed