mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 15:33:28 +08:00
linux-pam: add optional support for cracklib
Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
d4718319b7
commit
d8d5f3c7e0
@ -44,6 +44,13 @@ else
|
||||
LINUX_PAM_CONF_OPTS += --disable-audit
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CRACKLIB),y)
|
||||
LINUX_PAM_CONF_OPTS += --enable-cracklib
|
||||
LINUX_PAM_DEPENDENCIES += cracklib
|
||||
else
|
||||
LINUX_PAM_CONF_OPTS += --disable-cracklib
|
||||
endif
|
||||
|
||||
# Install default pam config (deny everything except login)
|
||||
define LINUX_PAM_INSTALL_CONFIG
|
||||
$(INSTALL) -m 0644 -D package/linux-pam/login.pam \
|
||||
|
Loading…
Reference in New Issue
Block a user