mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 20:56:33 +00:00
package/openssh: add optional dependency on audit
Signed-off-by: Norbert Lange <nolange79@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit f10a7e0fb82cb44d98cc79fcda7260175de30b7f) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
7a3c50ebf4
commit
3e5351212c
@ -39,6 +39,13 @@ else
|
|||||||
OPENSSH_CONF_OPTS += --without-ssl-engine
|
OPENSSH_CONF_OPTS += --without-ssl-engine
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||||
define OPENSSH_INSTALL_PAM_CONF
|
define OPENSSH_INSTALL_PAM_CONF
|
||||||
$(INSTALL) -D -m 644 $(@D)/contrib/sshd.pam.generic $(TARGET_DIR)/etc/pam.d/sshd
|
$(INSTALL) -D -m 644 $(@D)/contrib/sshd.pam.generic $(TARGET_DIR)/etc/pam.d/sshd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user