mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
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:
committed by
Julien Olivain
parent
561c2e8fdc
commit
53a302c6ed
@@ -11,6 +11,13 @@ config BR2_PACKAGE_PPPD
|
|||||||
|
|
||||||
if 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
|
config BR2_PACKAGE_PPPD_FILTER
|
||||||
bool "filtering"
|
bool "filtering"
|
||||||
select BR2_PACKAGE_LIBPCAP
|
select BR2_PACKAGE_LIBPCAP
|
||||||
|
|||||||
@@ -39,6 +39,12 @@ PPPD_CONF_OPTS += \
|
|||||||
--without-openssl
|
--without-openssl
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_PPPD_FILTER),y)
|
||||||
PPPD_CONF_OPTS += --with-pcap=$(STAGING_DIR)/usr
|
PPPD_CONF_OPTS += --with-pcap=$(STAGING_DIR)/usr
|
||||||
PPPD_DEPENDENCIES += libpcap
|
PPPD_DEPENDENCIES += libpcap
|
||||||
|
|||||||
Reference in New Issue
Block a user