From: Matt Weber Date: Tue, 14 Jul 2015 20:20:21 +0000 (-0500) Subject: dbus: selinux file context support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53bf4f72ebab7df29f53d8fd684ff3b61a6c93f4;p=buildroot.git dbus: selinux file context support [Thomas: remove S30dbus changes.] Signed-off-by: Matthew Weber Reviewed-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/package/dbus/S30dbus b/package/dbus/S30dbus old mode 100755 new mode 100644 diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index 7deae11887..e9c9aaf2f2 100644 --- a/package/dbus/dbus.mk +++ b/package/dbus/dbus.mk @@ -44,6 +44,20 @@ ifeq ($(BR2_microblaze),y) DBUS_CONF_OPTS += --disable-inotify endif +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +DBUS_CONF_OPTS += --enable-selinux +DBUS_DEPENDENCIES += libselinux +else +DBUS_CONF_OPTS += --disable-selinux +endif + +ifeq ($(BR2_PACKAGE_AUDIT),y) +DBUS_CONF_OPTS += --enable-libaudit +DBUS_DEPENDENCIES += audit libcap-ng +else +DBUS_CONF_OPTS += --disable-libaudit +endif + ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) DBUS_CONF_OPTS += --with-x DBUS_DEPENDENCIES += xlib_libX11