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 <yann.morin.1998@free.fr>
Cc: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yann E. MORIN 2022-11-12 13:34:32 +01:00 committed by Thomas Petazzoni
parent a4f5ed5a7c
commit 2f0e82c4ef
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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