dbus: switch to systemd, drop openrc support.
This commit is contained in:
parent
84e4b7b363
commit
87f58d76e2
|
@ -1,22 +0,0 @@
|
||||||
#!/sbin/runscript
|
|
||||||
|
|
||||||
command=/usr/bin/dbus-daemon
|
|
||||||
pidfile=/var/run/dbus/pid
|
|
||||||
: ${command_args:=--system}
|
|
||||||
|
|
||||||
depend()
|
|
||||||
{
|
|
||||||
need localmount net
|
|
||||||
after bootmisc
|
|
||||||
}
|
|
||||||
|
|
||||||
start_pre()
|
|
||||||
{
|
|
||||||
dir=$(dirname $pidfile)
|
|
||||||
if [ ! -d $dir ]; then
|
|
||||||
mkdir $dir
|
|
||||||
chmod 0755 $dir
|
|
||||||
chown dbus:dbus $dir
|
|
||||||
fi
|
|
||||||
dbus-uuidgen --ensure
|
|
||||||
}
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'dbus'
|
# Template file for 'dbus'
|
||||||
pkgname=dbus
|
pkgname=dbus
|
||||||
version=1.4.16
|
version=1.4.16
|
||||||
|
revision=1
|
||||||
homepage="http://dbus.freedesktop.org/"
|
homepage="http://dbus.freedesktop.org/"
|
||||||
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
|
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
|
@ -25,7 +26,7 @@ long_desc="
|
||||||
|
|
||||||
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
|
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
|
||||||
subpackages="$pkgname-devel $pkgname-libs"
|
subpackages="$pkgname-devel $pkgname-libs"
|
||||||
openrc_services="dbus default true"
|
systemd_services="dbus.service"
|
||||||
system_accounts="dbus"
|
system_accounts="dbus"
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
@ -44,6 +45,4 @@ post_install()
|
||||||
vinstall tools/dbus-launch 755 usr/bin
|
vinstall tools/dbus-launch 755 usr/bin
|
||||||
vinstall doc/dbus-launch.1 644 usr/share/man/man1
|
vinstall doc/dbus-launch.1 644 usr/share/man/man1
|
||||||
vinstall ${FILESDIR}/30-dbus-xinit 755 etc/X11/xinit/xinitrc.d 30-dbus
|
vinstall ${FILESDIR}/30-dbus-xinit 755 etc/X11/xinit/xinitrc.d 30-dbus
|
||||||
# Install the OpenRC service
|
|
||||||
vinstall ${FILESDIR}/dbus.rc 755 etc/init.d dbus
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue