rpms/PolicyKit/F-9 polkit-0.8-dbus-policy.patch, NONE, 1.1 PolicyKit.spec, 1.19, 1.20

David Zeuthen davidz at fedoraproject.org
Mon Dec 8 17:16:18 UTC 2008


Author: davidz

Update of /cvs/pkgs/rpms/PolicyKit/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10038

Modified Files:
	PolicyKit.spec 
Added Files:
	polkit-0.8-dbus-policy.patch 
Log Message:
* Mon Dec  8 2008 David Zeuthen <davidz at redhat.com> - 0.8-4%{?dist}
- D-Bus policy fix (fd.o #18948)



polkit-0.8-dbus-policy.patch:

--- NEW FILE polkit-0.8-dbus-policy.patch ---
--- PolicyKit-0.8.orig/polkitd/org.freedesktop.PolicyKit.conf.in	2008-12-08 10:55:12.000000000 -0500
+++ PolicyKit-0.8/polkitd/org.freedesktop.PolicyKit.conf.in	2008-12-08 12:05:33.000000000 -0500
@@ -8,4 +8,9 @@
   <policy user="@polkituser@">
     <allow own="org.freedesktop.PolicyKit"/>
   </policy>
+
+  <!-- any user can talk to the service (fd.o #18948) -->
+  <policy context="default">
+    <allow send_destination="org.freedesktop.PolicyKit"/>
+  </policy>
 </busconfig>


Index: PolicyKit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PolicyKit/F-9/PolicyKit.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- PolicyKit.spec	30 Jun 2008 15:56:42 -0000	1.19
+++ PolicyKit.spec	8 Dec 2008 17:15:47 -0000	1.20
@@ -14,13 +14,15 @@
 Summary: Authorization Toolkit
 Name: PolicyKit
 Version: 0.8
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://gitweb.freedesktop.org/?p=PolicyKit.git;a=summary
 Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
 # http://gitweb.freedesktop.org/?p=PolicyKit.git;a=commitdiff;h=15ae6e6acea3b1d1085d214294465fafc45af54b
 Patch0: policykit-allow-root-to-read-auth.patch
+# https://bugs.freedesktop.org/show_bug.cgi?id=18948
+Patch1: polkit-0.8-dbus-policy.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires(post): chkconfig
 Requires(preun): chkconfig
@@ -76,6 +78,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .root
+%patch1 -p1 -b .dbus-policy
 
 %build
 %configure
@@ -169,6 +172,9 @@
 %{_datadir}/gtk-doc/html/polkit/*
 
 %changelog
+* Mon Dec  8 2008 David Zeuthen <davidz at redhat.com> - 0.8-4%{?dist}
+- D-Bus policy fix (fd.o #18948)
+
 * Mon Jun 30 2008 - Bastien Nocera <bnocera at redhat.com> - 0.8-3%{?dist}
 - Upstream patch to allow root to read auths
 




More information about the fedora-extras-commits mailing list