[Buildroot] [PATCH 1/1] package/linux-pam: add openssl optional dependency
Fabrice Fontaine
fontaine.fabrice at gmail.com
Sun Dec 26 15:11:12 UTC 2021
openssl is an optional dependency since version 1.5.2 and
https://github.com/linux-pam/linux-pam/commit/b3bb13e18a74e9ece825b7de1b81db97ebb107a0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/linux-pam/linux-pam.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/linux-pam/linux-pam.mk b/package/linux-pam/linux-pam.mk
index e309f6a5a4..789dcf5c7b 100644
--- a/package/linux-pam/linux-pam.mk
+++ b/package/linux-pam/linux-pam.mk
@@ -42,6 +42,13 @@ else
LINUX_PAM_CONF_OPTS += --disable-audit
endif
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LINUX_PAM_CONF_OPTS += --enable-openssl
+LINUX_PAM_DEPENDENCIES += openssl
+else
+LINUX_PAM_CONF_OPTS += --disable-openssl
+endif
+
# Install default pam config (deny everything except login)
define LINUX_PAM_INSTALL_CONFIG
$(INSTALL) -m 0644 -D package/linux-pam/login.pam \
--
2.33.0
More information about the buildroot
mailing list