Skip to contentSkip to conversation

Resend using proper tools of my dbus version bump / permissions patch

PATCH New Gary Coulbourne 1 participant 3 messages Dec 19, 2012

lore
Share & tools
lore
#0 lore raw

cover Resend using proper tools of my dbus version bump / permissions patch

This is a set of patches which fix a broken permissions problem in dbus and bump the version.

Gary Coulbourne (2):
dbus: bump dbus version from 1.4.24 to current 1.6.8
dbus: fix permissions of the installed launch helper

 package/dbus/dbus.mk |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/2 dbus: bump dbus version from 1.4.24 to current 1.6.8

---
 package/dbus/dbus.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/dbus/dbus.mk +1 -1
index ec42874..694cbfe 100644
@@ -3,7 +3,7 @@
 # dbus
 #
 #############################################################
-DBUS_VERSION = 1.4.24
+DBUS_VERSION = 1.6.8
 DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
 DBUS_INSTALL_STAGING = YES
 
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/2 dbus: fix permissions of the installed launch helper

In reply to Gary Coulbourne

DBus uses a suid root launch helper to automatically start and stop services. This does not get installed properly, and requires fixup after installation to have the correct permissions.

---
 package/dbus/dbus.mk |    4 ++++
 1 file changed, 4 insertions(+)
package/dbus/dbus.mk +4 -0
index 694cbfe..f7f6d6d 100644
@@ -87,6 +87,10 @@ HOST_DBUS_CONF_OPT = \
 # dbus for the host
 DBUS_HOST_INTROSPECT=$(HOST_DBUS_DIR)/introspect.xml
 
+define DBUS_PERMISSIONS
+/usr/libexec/dbus-daemon-launch-helper f 4750 0 81 - - - - -
+endef
+
 HOST_DBUS_GEN_INTROSPECT = \
 	$(HOST_DIR)/usr/bin/dbus-daemon --introspect > $(DBUS_HOST_INTROSPECT)
 
Signature · 1 line
1.7.10.4