Skip to contentSkip to conversation

package/openssh: add optional dependency on audit

PATCH New Danomi Manchego 1 participant 1 message May 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/openssh: add optional dependency on audit

---
 package/openssh/openssh.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/openssh/openssh.mk +7 -0
index d505721..41dbe56 100644
@@ -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
Signature · 1 line
2.7.4