From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/system/dbus/dbus.confd | 7 ----- repo/system/dbus/dbus.initd | 33 ------------------------ repo/system/dbus/dbus.trigger | 4 --- repo/system/dbus/dbus.xibuild | 60 ------------------------------------------- 4 files changed, 104 deletions(-) delete mode 100644 repo/system/dbus/dbus.confd delete mode 100644 repo/system/dbus/dbus.initd delete mode 100644 repo/system/dbus/dbus.trigger delete mode 100644 repo/system/dbus/dbus.xibuild (limited to 'repo/system/dbus') 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" - - - - - /usr/local/share/dbus-1/services - - -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 -} -- cgit v1.2.1