package/pppd: add linux-pam optional dependency

linux-pam is an optional dependency which is enbled by default since
bump to version 2.5.0 in commit 0c15169f5a
and
2883dd0710

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit bbcf02c7ff)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2024-05-06 22:02:06 +02:00 committed by Peter Korsgaard
parent 3dd6a82e3a
commit f25bd45082

View File

@ -17,6 +17,13 @@ PPPD_AUTORECONF = YES
PPPD_INSTALL_STAGING = YES
PPPD_CONF_OPTS = --enable-multilink
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
PPPD_CONF_OPTS += --with-pam=$(STAGING_DIR)/usr
PPPD_DEPENDENCIES += linux-pam
else
PPPD_CONF_OPTS += --without-pam
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
PPPD_CONF_OPTS += \
--enable-eaptls \