Skip to contentSkip to conversation

package/dbusbroker: new package

PATCH New Norbert Lange 1 participant 1 message Feb 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dbusbroker: new package

Add dbus-broker, which is a drop-in replacement
for the dbus-daemon.

Its possible to use this package standalone (without the dbus package - if the dependency from systemd package is removed). This is sufficient to provides systemd's (d)bus functionality. For this usecase, the necessary config files are copied over from dbus.

---
 DEVELOPERS                         |   1 +
 package/Config.in                  |   1 +
 package/dbusbroker/Config.in       |  23 ++++++
 package/dbusbroker/dbus.socket     |   5 ++
 package/dbusbroker/dbusbroker.hash |   3 +
 package/dbusbroker/dbusbroker.mk   |  41 ++++++++++
 package/dbusbroker/session.conf    |  65 ++++++++++++++++
 package/dbusbroker/system.conf     | 120 +++++++++++++++++++++++++++++
 8 files changed, 259 insertions(+)
 create mode 100644 package/dbusbroker/Config.in
 create mode 100644 package/dbusbroker/dbus.socket
 create mode 100644 package/dbusbroker/dbusbroker.hash
 create mode 100644 package/dbusbroker/dbusbroker.mk
 create mode 100644 package/dbusbroker/session.conf
 create mode 100644 package/dbusbroker/system.conf
DEVELOPERS +1 -0
index d8ea23e0b3..a4790aab3c 100644
@@ -1840,6 +1840,7 @@ F:	package/tpm-tools/
 F:	package/trousers/
 
 N:	Norbert Lange <[email protected]>
+F:	package/dbusbroker/
 F:	package/tcf-agent/
 
 N:	Nylon Chen <[email protected]>
package/Config.in +1 -0
index bad4f9cba6..f81fbab9fe 100644
@@ -433,6 +433,7 @@ endmenu
 	source "package/dbus-glib/Config.in"
 	source "package/dbus-python/Config.in"
 	source "package/dbus-triggerd/Config.in"
+	source "package/dbusbroker/Config.in"
 	source "package/dfu-util/Config.in"
 	source "package/dmidecode/Config.in"
 	source "package/dmraid/Config.in"
package/dbusbroker/Config.in new file +23 -0
new file mode 100644
index 0000000000..aa628b4d5b
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_DBUSBROKER
+	bool "dbusbroker"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU
+	depends on BR2_INIT_SYSTEMD
+	select BR2_PACKAGE_EXPAT
+	select BR2_PACKAGE_SYSTEMD
+	help
+	  Linux D-Bus Message Broker.
+
+	  The dbus-broker project is an implementation of a message bus as defined
+	  by the D-Bus specification. Its aim is to provide high performance and
+	  reliability, while keeping compatibility to the D-Bus reference
+	  implementation.
+
+	  It is exclusively written for Linux systems, and makes use of many modern
+	  features provided by recent linux kernel releases.
+
+	  https://github.com/bus1/dbus-broker/wiki
+
+comment "dbusbroker needs a toolchain w/ threads"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/dbusbroker/dbus.socket new file +5 -0
new file mode 100644
index 0000000000..5c373cf450
@@ -0,0 +1,5 @@
+[Unit]
+Description=D-Bus System Message Bus Socket
+
+[Socket]
+ListenStream=/run/dbus/system_bus_socket
package/dbusbroker/dbusbroker.hash new file +3 -0
new file mode 100644
index 0000000000..e198cd119d
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256	6fff9a831a514659e2c7d704e76867ce31ebcf43e8d7a62e080c6656f64cd39e	dbus-broker-21.tar.xz
+sha256	3cda3630283eda0eab825abe5ac84d191248c6b3fe1c232a118124959b96c6a4	LICENSE
package/dbusbroker/dbusbroker.mk new file +41 -0

41 lines not on this page · raw message

package/dbusbroker/session.conf new file +65 -0

65 lines not on this page · raw message

package/dbusbroker/system.conf new file +120 -0

120 lines not on this page · raw message

Signature · 1 line
2.24.1