package/rpm: explicit audit option

Support for Linux audit has existed [1] since a v4.15 release; manage
the configuration option explicitly.

[1]: ad16a04b6e

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
James Knight 2021-09-04 16:40:24 -04:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 429e247b86
commit e7e3623324

View File

@ -38,6 +38,13 @@ else
RPM_CONF_OPTS += --without-acl
endif
ifeq ($(BR2_PACKAGE_AUDIT),y)
RPM_DEPENDENCIES += audit
RPM_CONF_OPTS += --with-audit
else
RPM_CONF_OPTS += --without-audit
endif
ifeq ($(BR2_PACKAGE_DBUS),y)
RPM_DEPENDENCIES += dbus
RPM_CONF_OPTS += --enable-plugins