mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 20:56:33 +00:00
package/ipsec-tools: hybrid config support
Add config option for enabling hybrid mode. Hybrid mode is required for successful interoperability. Signed-off-by: Doug Kehn <rdkehn@yahoo.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7b5ff1ab8a
commit
9849366388
@ -48,6 +48,12 @@ config BR2_PACKAGE_IPSEC_TOOLS_READLINE
|
|||||||
select BR2_PACKAGE_READLINE
|
select BR2_PACKAGE_READLINE
|
||||||
bool "Enable readline input support"
|
bool "Enable readline input support"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_IPSEC_TOOLS_HYBRID
|
||||||
|
bool "Enable hybrid, both mode-cfg and xauth support"
|
||||||
|
help
|
||||||
|
Hybrid mode is required for successful interoperability
|
||||||
|
(e.g. Cisco VPN Client).
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Security context"
|
prompt "Security context"
|
||||||
default BR2_PACKAGE_IPSEC_SECCTX_DISABLE
|
default BR2_PACKAGE_IPSEC_SECCTX_DISABLE
|
||||||
|
@ -21,7 +21,6 @@ IPSEC_TOOLS_CONF_ENV += LIBS=-lz
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
IPSEC_TOOLS_CONF_OPTS = \
|
IPSEC_TOOLS_CONF_OPTS = \
|
||||||
--disable-hybrid \
|
|
||||||
--without-libpam \
|
--without-libpam \
|
||||||
--disable-gssapi \
|
--disable-gssapi \
|
||||||
--with-kernel-headers=$(STAGING_DIR)/usr/include
|
--with-kernel-headers=$(STAGING_DIR)/usr/include
|
||||||
@ -62,6 +61,12 @@ else
|
|||||||
IPSEC_DEPENDENCIES += readline
|
IPSEC_DEPENDENCIES += readline
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_IPSEC_TOOLS_HYBRID), y)
|
||||||
|
IPSEC_TOOLS_CONF_OPTS += --enable-hybrid
|
||||||
|
else
|
||||||
|
IPSEC_TOOLS_CONF_OPTS += --disable-hybrid
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_IPSEC_SECCTX_DISABLE),y)
|
ifeq ($(BR2_PACKAGE_IPSEC_SECCTX_DISABLE),y)
|
||||||
IPSEC_TOOLS_CONF_OPTS += --enable-security-context=no
|
IPSEC_TOOLS_CONF_OPTS += --enable-security-context=no
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user