From 2f0e82c4ef8bc02bf8b2ada7bf5daf940d4e4cac Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 12 Nov 2022 13:34:32 +0100 Subject: [PATCH] package/dbus-broker: audit support needs libcap-ng Since v14 in 2018, audit support has needed libcap-ng. Fixes: http://autobuild.buildroot.org/results/43abdb85cc2f386d427cec1cfa876e20e3509cb8/ Signed-off-by: Yann E. MORIN Cc: Norbert Lange Signed-off-by: Thomas Petazzoni --- package/dbus-broker/Config.in | 1 + package/dbus-broker/dbus-broker.mk | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/dbus-broker/Config.in b/package/dbus-broker/Config.in index c7206232da..aa6584c392 100644 --- a/package/dbus-broker/Config.in +++ b/package/dbus-broker/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_DBUS_BROKER depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 depends on BR2_PACKAGE_SYSTEMD select BR2_PACKAGE_EXPAT + select BR2_PACKAGE_LIBCAP_NG if BR2_PACKAGE_AUDIT help Linux D-Bus Message Broker. diff --git a/package/dbus-broker/dbus-broker.mk b/package/dbus-broker/dbus-broker.mk index c0a58de9ad..e82b79220d 100644 --- a/package/dbus-broker/dbus-broker.mk +++ b/package/dbus-broker/dbus-broker.mk @@ -28,7 +28,8 @@ DBUS_BROKER_DEPENDENCIES = expat systemd DBUS_BROKER_CONF_OPTS = -Dlauncher=true ifeq ($(BR2_PACKAGE_AUDIT),y) -DBUS_BROKER_DEPENDENCIES += audit +# libcap-ng selected from Config.in +DBUS_BROKER_DEPENDENCIES += audit libcap-ng DBUS_BROKER_CONF_OPTS += -Daudit=true else DBUS_BROKER_CONF_OPTS += -Daudit=false