From 53bf4f72ebab7df29f53d8fd684ff3b61a6c93f4 Mon Sep 17 00:00:00 2001 From: Matt Weber Date: Tue, 14 Jul 2015 15:20:21 -0500 Subject: [PATCH] dbus: selinux file context support [Thomas: remove S30dbus changes.] Signed-off-by: Matthew Weber Reviewed-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- package/dbus/S30dbus | 0 package/dbus/dbus.mk | 14 ++++++++++++++ 2 files changed, 14 insertions(+) mode change 100755 => 100644 package/dbus/S30dbus 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 -- 2.30.2