aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/policykit/Makefile2
-rw-r--r--sysutils/policykit/files/patch-data_PolicyKit.conf.in11
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/policykit/Makefile b/sysutils/policykit/Makefile
index c89bd1d48633..29e65832017a 100644
--- a/sysutils/policykit/Makefile
+++ b/sysutils/policykit/Makefile
@@ -8,7 +8,7 @@
PORTNAME= policykit
PORTVERSION= 0.7
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= sysutils gnome
MASTER_SITES= http://hal.freedesktop.org/releases/
DISTNAME= PolicyKit-${PORTVERSION}
diff --git a/sysutils/policykit/files/patch-data_PolicyKit.conf.in b/sysutils/policykit/files/patch-data_PolicyKit.conf.in
new file mode 100644
index 000000000000..8f0410475d80
--- /dev/null
+++ b/sysutils/policykit/files/patch-data_PolicyKit.conf.in
@@ -0,0 +1,11 @@
+--- data/PolicyKit.conf.in.orig 2008-03-29 12:05:27.000000000 -0400
++++ data/PolicyKit.conf.in 2008-03-29 12:06:48.000000000 -0400
+@@ -6,4 +6,8 @@
+ <!-- See the manual page PolicyKit.conf(5) for file format -->
+
+ <config version="0.1">
++ <match user="root">
++ <return result="yes"/>
++ </match>
++ <define_admin_auth group="wheel"/>
+ </config>