[Buildroot] [v2 2/5] package/audit: add support for host variant

Adam Duskett aduskett at gmail.com
Sat Jul 16 20:06:26 UTC 2016


refpolicy requires host-audit to compile.  This patch adds that support.
As previously discussed, libcap-ng is required as far as I can tell, and
as such, I have made it mandatory to compile it as a dependency.

Signed-off-by: Adam Duskett <Aduskett at gmail.com>
---
Changes:

v1 - v2:
 - Removed frivilous check for libcap-ng
 - made host-libcap-ng mandatory.

 package/audit/audit.mk | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/package/audit/audit.mk b/package/audit/audit.mk
index 89fdf14..1300c72 100644
--- a/package/audit/audit.mk
+++ b/package/audit/audit.mk
@@ -58,4 +58,7 @@ define AUDIT_INSTALL_CLEANUP
 endef
 AUDIT_POST_INSTALL_TARGET_HOOKS += AUDIT_INSTALL_CLEANUP
 
+HOST_AUDIT_CONF_OPTS = --without-python --without-python3 --disable-zos-remote --with-libcap-ng=yes
+
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
-- 
2.7.4




More information about the buildroot mailing list