aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Norbert Lange <nolange79@gmail.com>2020-06-06 00:59:01 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-06-06 22:26:38 +0200
commitf10a7e0fb82cb44d98cc79fcda7260175de30b7f (patch)
tree71b13021f17091ee9c6b5d627e974b854229db53
parent89a0b73aed88990b81ce67d65bc03cdd046558e1 (diff)
downloadbuildroot-f10a7e0fb82cb44d98cc79fcda7260175de30b7f.tar.gz
buildroot-f10a7e0fb82cb44d98cc79fcda7260175de30b7f.tar.bz2
package/openssh: add optional dependency on audit
Signed-off-by: Norbert Lange <nolange79@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/openssh/openssh.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index 515eec2c03..64ac22181b 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -39,6 +39,13 @@ else
OPENSSH_CONF_OPTS += --without-ssl-engine
endif
+ifeq ($(BR2_PACKAGE_AUDIT),y)
+OPENSSH_DEPENDENCIES += audit
+OPENSSH_CONF_OPTS += --with-audit=linux
+else
+OPENSSH_CONF_OPTS += --without-audit
+endif
+
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
define OPENSSH_INSTALL_PAM_CONF
$(INSTALL) -D -m 644 $(@D)/contrib/sshd.pam.generic $(TARGET_DIR)/etc/pam.d/sshd