diff mbox series

[1/1] package/openssh: add optional dependency on audit

Message ID 20200516161242.21900-1-danomimanchego123@gmail.com
State New
Headers show
Series [1/1] package/openssh: add optional dependency on audit | expand

Commit Message

Danomi Manchego May 16, 2020, 4:12 p.m. UTC
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 package/openssh/openssh.mk | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index d505721..41dbe56 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -32,6 +32,13 @@  endif
 
 OPENSSH_DEPENDENCIES = host-pkgconf zlib openssl
 
+ifeq ($(BR2_PACKAGE_AUDIT),y)
+OPENSSH_DEPENDENCIES += audit
+OPENSSH_CONF_OPTS += --with-audit=linux
+else
+OPENSSH_CONF_OPTS += --without-audit
+endif
+
 ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y)
 OPENSSH_DEPENDENCIES += cryptodev-linux
 OPENSSH_CONF_OPTS += --with-ssl-engine