[arch-commits] Commit in policykit/repos (3 files)

Douglas Soares de Andrade douglas at archlinux.org
Fri Oct 10 06:16:51 EDT 2008


    Date: Friday, October 10, 2008 @ 06:16:50
  Author: douglas
Revision: 14740

Merged revisions 14739 via svnmerge from 
svn+ssh://archlinux.org/home/svn-packages/policykit/trunk

........
  r14739 | douglas | 2008-10-10 07:16:04 -0300 (Sex, 10 Out 2008) | 2 lines
  
  upgpkg: policykit 0.9-5
      Fixing the suspend/hibernate problem
........

Added:
  policykit/repos/testing-i686/org.freedesktop.hal.power-management.policy
    (from rev 14739, policykit/trunk/org.freedesktop.hal.power-management.policy)
Modified:
  policykit/repos/testing-i686/	(properties)
  policykit/repos/testing-i686/PKGBUILD

---------------------------------------------+
 PKGBUILD                                    |   13 +++++++-----
 org.freedesktop.hal.power-management.policy |   27 ++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 5 deletions(-)


Property changes on: policykit/repos/testing-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /policykit/trunk:1-14697
   + /policykit/trunk:1-14739

Modified: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2008-10-10 10:16:04 UTC (rev 14739)
+++ testing-i686/PKGBUILD	2008-10-10 10:16:50 UTC (rev 14740)
@@ -3,7 +3,7 @@
 
 pkgname=policykit
 pkgver=0.9
-pkgrel=4
+pkgrel=5
 pkgdesc="Hardware Abstraction Layer"
 arch=(i686 x86_64)
 license=('custom')
@@ -13,11 +13,13 @@
 options=('!libtool')
 install=policykit.install
 source=(http://hal.freedesktop.org/releases/PolicyKit-${pkgver}.tar.gz
-	polkit.pam
-	pk-ck-api-change.patch)
+	    polkit.pam pk-ck-api-change.patch
+        org.freedesktop.hal.power-management.policy)
+
 md5sums=('802fd13ae41f73d79359e5ecb0a98716'
-	 '6564f95878297b954f0572bc1610dd15'
-	 '15b42b41e98410d8d7ec4f91d0cff190')
+         '6564f95878297b954f0572bc1610dd15'
+         '15b42b41e98410d8d7ec4f91d0cff190'
+         'd84122a5fbaab0d7c1a6eaa36b9c0838')
 
 build() {
   cd ${srcdir}/PolicyKit-${pkgver}
@@ -33,4 +35,5 @@
 
   rm -rf ${pkgdir}/etc/profile.d
   install -m644 ${srcdir}/polkit.pam ${pkgdir}/etc/pam.d/polkit || return 1
+  install -m644 ${srcdir}/org.freedesktop.hal.power-management.policy ${pkgdir}/usr/share/PolicyKit/policy/
 }

Copied: policykit/repos/testing-i686/org.freedesktop.hal.power-management.policy (from rev 14739, policykit/trunk/org.freedesktop.hal.power-management.policy)
===================================================================
--- testing-i686/org.freedesktop.hal.power-management.policy	                        (rev 0)
+++ testing-i686/org.freedesktop.hal.power-management.policy	2008-10-10 10:16:50 UTC (rev 14740)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+
+<policyconfig>
+
+  <action id="org.freedesktop.hal.power-management.suspend">
+    <description>Suspend the system</description>
+    <message>System policy prevents suspending the system</message>
+    <defaults>
+      <allow_inactive>no</allow_inactive>
+      <allow_active>yes</allow_active>
+    </defaults>
+  </action>
+
+  <action id="org.freedesktop.hal.power-management.hibernate">
+    <description>Hibernate the system</description>
+    <message>System policy prevents hibernating the system</message>
+    <defaults>
+      <allow_inactive>no</allow_inactive>
+      <allow_active>yes</allow_active>
+    </defaults>
+  </action>
+
+
+</policyconfig>




More information about the arch-commits mailing list