summaryrefslogtreecommitdiff
path: root/repo/system/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/dbus')
-rw-r--r--repo/system/dbus/dbus.confd7
-rw-r--r--repo/system/dbus/dbus.initd33
-rw-r--r--repo/system/dbus/dbus.trigger4
-rw-r--r--repo/system/dbus/dbus.xibuild60
4 files changed, 0 insertions, 104 deletions
diff --git a/repo/system/dbus/dbus.confd b/repo/system/dbus/dbus.confd
deleted file mode 100644
index 0454047..0000000
--- a/repo/system/dbus/dbus.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-# Configuration for /etc/init.d/dbus
-
-# Additional arguments to pass to dbus-daemon.
-#command_args=
-
-# Uncomment to use process supervisor.
-#supervisor=supervise-daemon
diff --git a/repo/system/dbus/dbus.initd b/repo/system/dbus/dbus.initd
deleted file mode 100644
index f3f44da..0000000
--- a/repo/system/dbus/dbus.initd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/openrc-run
-name="System Message Bus"
-description="D-Bus System Message Bus"
-
-extra_started_commands="reload"
-
-command="/usr/bin/dbus-daemon"
-command_args="--system --nofork --nopidfile --syslog-only ${command_args:-}"
-command_background="yes"
-pidfile="/run/$RC_SVCNAME.pid"
-
-depend() {
- need localmount
- after bootmisc
-}
-
-start_pre() {
- checkpath -d -m755 -o root:messagebus /run/dbus || return 1
-
- /usr/bin/dbus-uuidgen --ensure=/etc/machine-id
-}
-
-stop_post() {
- [ ! -S /run/dbus/system_bus_socket ] || rm -f /run/dbus/system_bus_socket
-}
-
-reload() {
- ebegin "Reloading $name configuration"
- /usr/bin/dbus-send --print-reply --system --type=method_call \
- --dest=org.freedesktop.DBus \
- / org.freedesktop.DBus.ReloadConfig > /dev/null
- eend $?
-}
diff --git a/repo/system/dbus/dbus.trigger b/repo/system/dbus/dbus.trigger
deleted file mode 100644
index a537bd8..0000000
--- a/repo/system/dbus/dbus.trigger
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \
- org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || :
diff --git a/repo/system/dbus/dbus.xibuild b/repo/system/dbus/dbus.xibuild
deleted file mode 100644
index ba7869b..0000000
--- a/repo/system/dbus/dbus.xibuild
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make "
-DEPS="elogind"
-
-PKG_VER=1.12.20
-SOURCE=https://dbus.freedesktop.org/releases/dbus/dbus-$PKG_VER.tar.gz
-
-ADDITIONAL="
-dbus.confd
-dbus.initd
-dbus.trigger
-"
-
-DESC="A message bus system allowing applications to talk to one another"
-
-build () {
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-user-session \
- --disable-doxygen-docs \
- --disable-xml-docs \
- --disable-static \
- --with-systemduserunitdir=$BUILD_ROOT/no \
- --with-systemdsystemunitdir=$BUILD_ROOT/no \
- --docdir=/usr/share/doc/dbus-$PKG_VER \
- --with-console-auth-dir=/run/console \
- --with-system-pid-file=/run/dbus/pid \
- --with-system-socket=/run/dbus/system_bus_socket \
- --with-x &&
- make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
- mv usr/lib/lib*.so.* $PKG_DEST/usr/lib/
-
- chown root:messagebus $PKG_DEST/usr/libexec/dbus-daemon-launch-helper &&
- chmod 4750 $PKG_DEST/usr/libexec/dbus-daemon-launch-helper
-
- cat > $PKG_DEST/etc/dbus-1/session-local.conf << "EOF"
-<!DOCTYPE busconfig PUBLIC
- "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
-
- <!-- Search for .service files in /usr/local -->
- <servicedir>/usr/local/share/dbus-1/services</servicedir>
-
-</busconfig>
-EOF
-
- install -Dm755 dbus.initd $PKG_DEST/etc/init.d/dbus
- install -Dm644 dbus.confd $PKG_DEST/etc/conf.d/dbus
-}
-
-postinstall () {
- rc-update add dbus
-}