summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Weber <matthew.weber@rockwellcollins.com>2015-07-14 15:20:21 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-18 15:54:10 +0200
commit53bf4f72ebab7df29f53d8fd684ff3b61a6c93f4 (patch)
tree1824344888dd21862dbadd7809402885815f4c1d
parente8fb454db64477491da9df9860f473d7decf268e (diff)
downloadbuildroot-53bf4f72ebab7df29f53d8fd684ff3b61a6c93f4.tar.gz
buildroot-53bf4f72ebab7df29f53d8fd684ff3b61a6c93f4.zip
dbus: selinux file context support
[Thomas: remove S30dbus changes.] Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--[-rwxr-xr-x]package/dbus/S30dbus0
-rw-r--r--package/dbus/dbus.mk14
2 files changed, 14 insertions, 0 deletions
diff --git a/package/dbus/S30dbus b/package/dbus/S30dbus
index 0d15c73043..0d15c73043 100755..100644
--- a/package/dbus/S30dbus
+++ b/package/dbus/S30dbus
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
OpenPOWER on IntegriCloud