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>
This commit is contained in:
Fabrice Fontaine 2024-05-06 22:02:06 +02:00 committed by Thomas Petazzoni
parent 35c7cc5644
commit bbcf02c7ff

View File

@ -17,6 +17,13 @@ PPPD_AUTORECONF = YES
PPPD_INSTALL_STAGING = YES PPPD_INSTALL_STAGING = YES
PPPD_CONF_OPTS = --enable-multilink 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) ifeq ($(BR2_PACKAGE_OPENSSL),y)
PPPD_CONF_OPTS += \ PPPD_CONF_OPTS += \
--enable-eaptls \ --enable-eaptls \