diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-11-16 19:49:13 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-11-16 19:49:13 +0000 |
commit | 3eff7bc352b414194f39207b83c5f7b374aec26b (patch) | |
tree | 224b8975e635dfc2251d53c799374829db31aba8 /sysutils/hal | |
parent | 47cb1dd1549fffe83b9dc3fff83203ea1083ed8d (diff) | |
download | ports-3eff7bc352b414194f39207b83c5f7b374aec26b.tar.gz ports-3eff7bc352b414194f39207b83c5f7b374aec26b.zip |
Give wheel group members the same rights as operator group members.
Notes
Notes:
svn path=/head/; revision=177400
Diffstat (limited to 'sysutils/hal')
-rw-r--r-- | sysutils/hal/Makefile | 4 | ||||
-rw-r--r-- | sysutils/hal/files/patch-hal.conf.in | 17 |
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"/> |