aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-11-17 03:49:13 +0800
committerjylefort <jylefort@FreeBSD.org>2006-11-17 03:49:13 +0800
commit45c5f2817af9ce13eff453bcff1c8a36c1896578 (patch)
tree8b6b0505945b5e5329fd9a07184f51e4a3cbc5e5 /sysutils
parentdaeb72ceac837d7d388a59ebe896bfce4b4d7008 (diff)
downloadfreebsd-ports-gnome-45c5f2817af9ce13eff453bcff1c8a36c1896578.tar.gz
freebsd-ports-gnome-45c5f2817af9ce13eff453bcff1c8a36c1896578.tar.zst
freebsd-ports-gnome-45c5f2817af9ce13eff453bcff1c8a36c1896578.zip
Give wheel group members the same rights as operator group members.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hal/Makefile4
-rw-r--r--sysutils/hal/files/patch-hal.conf.in17
2 files changed, 18 insertions, 3 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index 0408d8db489b..f70ec4eeca9a 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -8,7 +8,7 @@
PORTNAME= hal
PORTVERSION= ${HALVERSION}.${SNAPVERSION}
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= sysutils
MASTER_SITES= http://www.marcuscom.com/downloads/
@@ -97,8 +97,6 @@ post-patch:
${WRKSRC}/hald/Makefile.in
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|txt||' \
${WRKSRC}/policy/Makefile.in
- @${REINPLACE_CMD} -e 's|user="0"|group="operator"|g' \
- ${WRKSRC}/hal.conf.in
@${TOUCH} ${WRKSRC}/doc/spec/hal-spec.html
post-install:
diff --git a/sysutils/hal/files/patch-hal.conf.in b/sysutils/hal/files/patch-hal.conf.in
new file mode 100644
index 000000000000..0c541b900d9b
--- /dev/null
+++ b/sysutils/hal/files/patch-hal.conf.in
@@ -0,0 +1,17 @@
+--- hal.conf.in.orig Fri Apr 14 12:33:12 2006
++++ hal.conf.in Thu Nov 16 20:47:25 2006
+@@ -42,7 +42,13 @@
+ </policy>
+
+ <!-- You can change this to a more suitable user, or make per-group -->
+- <policy user="0">
++ <policy group="wheel">
++ <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
++ <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
++ <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
++ <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
++ </policy>
++ <policy group="operator">
+ <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
+ <allow send_interface="org.freedesktop.Hal.Device.Volume"/>