commit:     e36c978f32f2ffccf02d23d68960347dca761d48
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 15 11:11:21 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Mar 15 11:11:31 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=e36c978f

kde-plasma/powerdevil: remove obsolete pkla files

Bug: https://bugs.gentoo.org/649866
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 kde-plasma/powerdevil/files/10-org.freedesktop.upower.pkla | 14 --------------
 ....freedesktop.consolekit.system.stop-multiple-users.pkla | 13 -------------
 ...eedesktop.consolekit.system.restart-multiple-users.pkla | 13 -------------
 ...eedesktop.consolekit.system.suspend-multiple-users.pkla | 13 -------------
 ...desktop.consolekit.system.hibernate-multiple-users.pkla | 10 ----------
 kde-plasma/powerdevil/powerdevil-5.12.49.9999.ebuild       | 14 --------------
 kde-plasma/powerdevil/powerdevil-9999.ebuild               | 14 --------------
 7 files changed, 91 deletions(-)

diff --git a/kde-plasma/powerdevil/files/10-org.freedesktop.upower.pkla 
b/kde-plasma/powerdevil/files/10-org.freedesktop.upower.pkla
deleted file mode 100644
index 263b1f92dd..0000000000
--- a/kde-plasma/powerdevil/files/10-org.freedesktop.upower.pkla
+++ /dev/null
@@ -1,14 +0,0 @@
-# Enable user suspend and hibernate support.
-#
-# Author: Eric Hameleers <al...@slackware.com>
-#
-# KDE bug #344456
-# Gentoo bug #529186
-#
-[Allow all users to suspend and hibernate]
-Identity=unix-group:users
-Action=org.freedesktop.upower.suspend;org.freedesktop.upower.hibernate
-ResultAny=yes
-ResultInactive=no
-ResultActive=yes
-

diff --git 
a/kde-plasma/powerdevil/files/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
 
b/kde-plasma/powerdevil/files/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
deleted file mode 100644
index 87553184bb..0000000000
--- 
a/kde-plasma/powerdevil/files/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
+++ /dev/null
@@ -1,13 +0,0 @@
-# Enable user shutdown support.
-#
-# Author: Eric Hameleers <al...@slackware.com>
-#
-# KDE bug #344456
-# Gentoo bug #529186
-#
-[Allow all users to shutdown]
-Identity=unix-group:users
-Action=org.freedesktop.consolekit.system.stop-multiple-users;org.freedesktop.consolekit.system.stop
-ResultAny=yes
-ResultInactive=no
-ResultActive=yes

diff --git 
a/kde-plasma/powerdevil/files/30-org.freedesktop.consolekit.system.restart-multiple-users.pkla
 
b/kde-plasma/powerdevil/files/30-org.freedesktop.consolekit.system.restart-multiple-users.pkla
deleted file mode 100644
index 1856535f50..0000000000
--- 
a/kde-plasma/powerdevil/files/30-org.freedesktop.consolekit.system.restart-multiple-users.pkla
+++ /dev/null
@@ -1,13 +0,0 @@
-# Enable user restart.
-#
-# Author: Eric Hameleers <al...@slackware.com>
-#
-# KDE bug #344456
-# Gentoo bug #529186
-#
-[Allow all users to restart]
-Identity=unix-group:users
-Action=org.freedesktop.consolekit.system.restart-multiple-users;org.freedesktop.consolekit.system.restart
-ResultAny=yes
-ResultInactive=no
-ResultActive=yes

diff --git 
a/kde-plasma/powerdevil/files/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
 
b/kde-plasma/powerdevil/files/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
deleted file mode 100644
index 2d83f7c028..0000000000
--- 
a/kde-plasma/powerdevil/files/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
+++ /dev/null
@@ -1,13 +0,0 @@
-# Enable user suspend support with Consolekit2.
-#
-# Author: Eric Hameleers <al...@slackware.com>
-#
-# KDE bug #344456
-# Gentoo bug #529186
-#
-[Allow all users to suspend with Consolekit2]
-Identity=unix-group:users
-Action=org.freedesktop.consolekit.system.suspend-multiple-users;org.freedesktop.consolekit.system.suspend
-ResultAny=yes
-ResultInactive=no
-ResultActive=yes

diff --git 
a/kde-plasma/powerdevil/files/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla
 
b/kde-plasma/powerdevil/files/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla
deleted file mode 100644
index 10d95c5fd5..0000000000
--- 
a/kde-plasma/powerdevil/files/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla
+++ /dev/null
@@ -1,10 +0,0 @@
-# Enable user hibernate support with Consolekit2.
-#
-# Gentoo bug #580994
-#
-[Allow all users to hibernate with Consolekit2]
-Identity=unix-group:users
-Action=org.freedesktop.consolekit.system.hibernate-multiple-users;org.freedesktop.consolekit.system.hibernate
-ResultAny=yes
-ResultInactive=no
-ResultActive=yes

diff --git a/kde-plasma/powerdevil/powerdevil-5.12.49.9999.ebuild 
b/kde-plasma/powerdevil/powerdevil-5.12.49.9999.ebuild
index 4d6958cff5..f1c7b676eb 100644
--- a/kde-plasma/powerdevil/powerdevil-5.12.49.9999.ebuild
+++ b/kde-plasma/powerdevil/powerdevil-5.12.49.9999.ebuild
@@ -51,7 +51,6 @@ RDEPEND="${DEPEND}
        >=sys-power/upower-0.9.23
        consolekit? (
                >=sys-auth/consolekit-1.0.1
-               sys-auth/polkit-pkla-compat
                sys-power/pm-utils
        )
        !kde-plasma/powerdevil:4
@@ -67,16 +66,3 @@ src_configure() {
 
        kde5_src_configure
 }
-
-src_install() {
-       kde5_src_install
-
-       if use consolekit ; then
-               insinto /etc/polkit-1/localauthority/10-vendor.d/
-               doins "${FILESDIR}"/10-org.freedesktop.upower.pkla
-               doins 
"${FILESDIR}"/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
-               doins 
"${FILESDIR}"/30-org.freedesktop.consolekit.system.restart-multiple-users.pkla
-               doins 
"${FILESDIR}"/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
-               doins 
"${FILESDIR}"/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla
-       fi
-}

diff --git a/kde-plasma/powerdevil/powerdevil-9999.ebuild 
b/kde-plasma/powerdevil/powerdevil-9999.ebuild
index 4d6958cff5..f1c7b676eb 100644
--- a/kde-plasma/powerdevil/powerdevil-9999.ebuild
+++ b/kde-plasma/powerdevil/powerdevil-9999.ebuild
@@ -51,7 +51,6 @@ RDEPEND="${DEPEND}
        >=sys-power/upower-0.9.23
        consolekit? (
                >=sys-auth/consolekit-1.0.1
-               sys-auth/polkit-pkla-compat
                sys-power/pm-utils
        )
        !kde-plasma/powerdevil:4
@@ -67,16 +66,3 @@ src_configure() {
 
        kde5_src_configure
 }
-
-src_install() {
-       kde5_src_install
-
-       if use consolekit ; then
-               insinto /etc/polkit-1/localauthority/10-vendor.d/
-               doins "${FILESDIR}"/10-org.freedesktop.upower.pkla
-               doins 
"${FILESDIR}"/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
-               doins 
"${FILESDIR}"/30-org.freedesktop.consolekit.system.restart-multiple-users.pkla
-               doins 
"${FILESDIR}"/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
-               doins 
"${FILESDIR}"/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla
-       fi
-}

Reply via email to