package/pppd: Add an option to enable/disable CBCP support.

Adds BR2_PACKAGE_PPPD_CBCP option.
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-cbcp/.

Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com>
[Julien: move blocks in Config.in an .mk to keep options sorted]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Akhilesh Nema
2025-11-10 01:40:07 -08:00
committed by Julien Olivain
parent 561c2e8fdc
commit 53a302c6ed
2 changed files with 13 additions and 0 deletions

View File

@@ -11,6 +11,13 @@ config BR2_PACKAGE_PPPD
if BR2_PACKAGE_PPPD
config BR2_PACKAGE_PPPD_CBCP
bool "CBCP (Callback Control Protocol)"
default n
help
Enable Callback Control Protocol (CBCP) support in pppd.
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-cbcp/.
config BR2_PACKAGE_PPPD_FILTER
bool "filtering"
select BR2_PACKAGE_LIBPCAP

View File

@@ -39,6 +39,12 @@ PPPD_CONF_OPTS += \
--without-openssl
endif
ifeq ($(BR2_PACKAGE_PPPD_CBCP),y)
PPPD_CONF_OPTS += --enable-cbcp
else
PPPD_CONF_OPTS += --disable-cbcp
endif
ifeq ($(BR2_PACKAGE_PPPD_FILTER),y)
PPPD_CONF_OPTS += --with-pcap=$(STAGING_DIR)/usr
PPPD_DEPENDENCIES += libpcap