# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) PKG_NAME="dbus" PKG_VERSION="1.11.16" PKG_SHA256="7cf993e97df62c73b939b77dcd920e8883d8e866f9ced1a9b5c715eb28e4b031" PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="https://dbus.freedesktop.org" PKG_URL="https://dbus.freedesktop.org/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS_TARGET="toolchain expat systemd" PKG_SECTION="system" PKG_SHORTDESC="dbus: simple interprocess messaging system" PKG_LONGDESC="D-Bus is a message bus, used for sending messages between applications. This package contains the D-Bus daemon and related utilities and the dbus shared library." PKG_CONFIGURE_OPTS_TARGET="export ac_cv_have_abstract_sockets=yes \ --with-sysroot=$SYSROOT_PREFIX \ --libexecdir=/usr/lib/dbus \ --disable-verbose-mode \ --disable-asserts \ --enable-checks \ --disable-tests \ --disable-ansi \ --disable-xml-docs \ --disable-doxygen-docs \ --enable-abstract-sockets \ --disable-x11-autolaunch \ --disable-selinux \ --disable-libaudit \ --enable-systemd \ --enable-inotify \ --without-valgrind \ --without-x \ --with-dbus-user=dbus \ --runstatedir=/run \ --with-system-socket=/run/dbus/system_bus_socket" post_makeinstall_target() { rm -rf $INSTALL/etc/rc.d rm -rf $INSTALL/usr/lib/dbus-1.0/include } post_install() { add_user dbus x 81 81 "System message bus" "/" "/bin/sh" add_group dbus 81 add_group netdev 497 echo "chmod 4750 $INSTALL/usr/lib/dbus/dbus-daemon-launch-helper" >> $FAKEROOT_SCRIPT echo "chown 0:81 $INSTALL/usr/lib/dbus/dbus-daemon-launch-helper" >> $FAKEROOT_SCRIPT }