mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -31,6 +31,23 @@ choice
|
||||
prompt "Cryptographic backend"
|
||||
default BR2_PACKAGE_STRONGSWAN_GMP
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_BOTAN
|
||||
bool "botan"
|
||||
depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
select BR2_PACKAGE_BOTAN
|
||||
|
||||
comment "botan backend needs a toolchain w/ C++, gcc >= 4.8"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
|
||||
|
||||
comment "botan backend needs a toolchain not affected by GCC bug 64735"
|
||||
depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_OPENSSL
|
||||
bool "OpenSSL"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
@@ -57,6 +74,9 @@ config BR2_PACKAGE_STRONGSWAN_CURL
|
||||
bool "Enable CURL fetcher plugin to fetch files via libcurl"
|
||||
select BR2_PACKAGE_LIBCURL
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_MD4
|
||||
bool "Enable MD4 hash algorithm"
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_CHARON
|
||||
bool "Enable the IKEv1/IKEv2 keying daemon charon"
|
||||
default y
|
||||
@@ -73,36 +93,92 @@ config BR2_PACKAGE_STRONGSWAN_TNCCS_20
|
||||
config BR2_PACKAGE_STRONGSWAN_TNCCS_DYNAMIC
|
||||
bool "Enable dynamic TNCCS protocol discovery module"
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP
|
||||
bool "Enable EAP protocols"
|
||||
help
|
||||
Enable various EAP protocols:
|
||||
- mschapv2
|
||||
- tls
|
||||
- ttls
|
||||
- peap
|
||||
- sim
|
||||
- sim-file
|
||||
- aka
|
||||
- aka-3gpp2
|
||||
- simaka-sql
|
||||
- simaka-pseudonym
|
||||
- simaka-reauth
|
||||
- identity
|
||||
- md5
|
||||
- gtc
|
||||
- tnc
|
||||
- dynamic
|
||||
- radius
|
||||
config BR2_PACKAGE_STRONGSWAN_SYSTIME_FIX
|
||||
bool "Enable systime-fix plugin"
|
||||
|
||||
if BR2_PACKAGE_STRONGSWAN_EAP
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_SIM
|
||||
bool "Enable EAP-SIM"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_SIM_FILE
|
||||
bool "Enable EAP-SIM file backend"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
select BR2_PACKAGE_STRONGSWAN_EAP_SIM
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC
|
||||
bool "Enable EAP-SIM smart card backend"
|
||||
depends on !BR2_STATIC_LIBS # pcsc-lite
|
||||
select BR2_PACKAGE_PCSC_LITE
|
||||
select BR2_PACKAGE_STRONGSWAN_EAP_SIM
|
||||
|
||||
endif
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_AKA
|
||||
bool "Enable EAP-AKA"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_AKA_3GPP2
|
||||
bool "Enable EAP-AKA 3GPP2 algorithms"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
select BR2_PACKAGE_GMP
|
||||
select BR2_PACKAGE_STRONGSWAN_EAP_AKA
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_SQL
|
||||
bool "Enable EAP-SIM/AKA backend based on a triplet/quintuplet SQL database"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
select BR2_PACKAGE_STRONGSWAN_EAP_AKA
|
||||
select BR2_PACKAGE_STRONGSWAN_EAP_SIM
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_PSEUDONYM
|
||||
bool "Enable EAP-SIM/AKA pseudonym storage"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
select BR2_PACKAGE_STRONGSWAN_EAP_AKA
|
||||
select BR2_PACKAGE_STRONGSWAN_EAP_SIM
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_REAUTH
|
||||
bool "Enable EAP-SIM/AKA reauthentication data storage"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
select BR2_PACKAGE_STRONGSWAN_EAP_AKA
|
||||
select BR2_PACKAGE_STRONGSWAN_EAP_SIM
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_IDENTITY
|
||||
bool "Enable EAP-Identity"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_MD5
|
||||
bool "Enable EAP-MD5"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_GTC
|
||||
bool "Enable EAP-GDC"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_MSCHAPV2
|
||||
bool "Enable EAP-MSCHAPv2"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
select BR2_PACKAGE_STRONGSWAN_MD4
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_PEAP
|
||||
bool "Enable EAP-PEAP"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_RADIUS
|
||||
bool "Enable EAP-RADIUS"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_TLS
|
||||
bool "Enable EAP-TLS"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_TTLS
|
||||
bool "Enable EAP-TTLS"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_DYNAMIC
|
||||
bool "Enable EAP-DYNAMIC"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_EAP_TNC
|
||||
bool "Enable EAP-TNC"
|
||||
default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
|
||||
|
||||
config BR2_PACKAGE_STRONGSWAN_UNITY
|
||||
bool "Enables Cisco Unity extension plugin"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# From http://download.strongswan.org/strongswan-5.9.0.tar.bz2.md5
|
||||
md5 705628cddd5b7683ef8a688acd9514d8 strongswan-5.9.0.tar.bz2
|
||||
# From http://download.strongswan.org/strongswan-5.9.8.tar.bz2.md5
|
||||
md5 f46b0d3e7aed88824650d0721c887443 strongswan-5.9.8.tar.bz2
|
||||
# Calculated based on the hash above
|
||||
sha256 72b47a385da5d1532b816d9fe04c50d074c29ed42ea3f0878fbd66335917bb66 strongswan-5.9.0.tar.bz2
|
||||
sha256 d3303a43c0bd7b75a12b64855e8edcb53696f06190364f26d1533bde1f2e453c strongswan-5.9.8.tar.bz2
|
||||
# Locally calculated
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 2292e21797754548dccdef9eef6aee7584e552fbd890fa914e1de8d3577d23f0 LICENSE
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
STRONGSWAN_VERSION = 5.9.0
|
||||
STRONGSWAN_VERSION = 5.9.8
|
||||
STRONGSWAN_SOURCE = strongswan-$(STRONGSWAN_VERSION).tar.bz2
|
||||
STRONGSWAN_SITE = http://download.strongswan.org
|
||||
STRONGSWAN_LICENSE = GPL-2.0+
|
||||
STRONGSWAN_LICENSE_FILES = COPYING LICENSE
|
||||
STRONGSWAN_CPE_ID_VENDOR = strongswan
|
||||
STRONGSWAN_DEPENDENCIES = host-pkgconf
|
||||
STRONGSWAN_INSTALL_STAGING = YES
|
||||
STRONGSWAN_CONF_OPTS += \
|
||||
@@ -17,6 +18,7 @@ STRONGSWAN_CONF_OPTS += \
|
||||
--enable-pkcs11=yes \
|
||||
--enable-kernel-netlink=yes \
|
||||
--enable-socket-default=yes \
|
||||
--enable-botan=$(if $(BR2_PACKAGE_STRONGSWAN_BOTAN),yes,no) \
|
||||
--enable-openssl=$(if $(BR2_PACKAGE_STRONGSWAN_OPENSSL),yes,no) \
|
||||
--enable-gcrypt=$(if $(BR2_PACKAGE_STRONGSWAN_GCRYPT),yes,no) \
|
||||
--enable-gmp=$(if $(BR2_PACKAGE_STRONGSWAN_GMP),yes,no) \
|
||||
@@ -36,6 +38,25 @@ STRONGSWAN_CONF_OPTS += \
|
||||
--enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
|
||||
--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
|
||||
--enable-wolfssl=$(if $(BR2_PACKAGE_STRONGSWAN_WOLFSSL),yes,no) \
|
||||
--enable-md4=$(if $(BR2_PACKAGE_STRONGSWAN_MD4),yes,no) \
|
||||
--enable-systime-fix=$(if $(BR2_PACKAGE_STRONGSWAN_SYSTIME_FIX),yes,no) \
|
||||
--enable-eap-sim=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIM),yes,no) \
|
||||
--enable-eap-sim-file=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIM_FILE),yes,no) \
|
||||
--enable-eap-aka=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_AKA),yes,no) \
|
||||
--enable-eap-aka-3gpp2=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_AKA_3GPP2),yes,no) \
|
||||
--enable-eap-simaka-sql=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_SQL),yes,no) \
|
||||
--enable-eap-simaka-pseudonym=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_PSEUDONYM),yes,no) \
|
||||
--enable-eap-simaka-reauth=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_REAUTH),yes,no) \
|
||||
--enable-eap-identity=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_IDENTITY),yes,no) \
|
||||
--enable-eap-md5=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_MD5),yes,no) \
|
||||
--enable-eap-gtc=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_GTC),yes,no) \
|
||||
--enable-eap-mschapv2=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_MSCHAPV2),yes,no) \
|
||||
--enable-eap-tls=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_TLS),yes,no) \
|
||||
--enable-eap-ttls=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_TTLS),yes,no) \
|
||||
--enable-eap-peap=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_PEAP),yes,no) \
|
||||
--enable-eap-tnc=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_TNC),yes,no) \
|
||||
--enable-eap-dynamic=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_DYNAMIC),yes,no) \
|
||||
--enable-eap-radius=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_RADIUS),yes,no) \
|
||||
--with-ipseclibdir=/usr/lib \
|
||||
--with-plugindir=/usr/lib/ipsec/plugins \
|
||||
--with-imcvdir=/usr/lib/ipsec/imcvs \
|
||||
@@ -45,32 +66,12 @@ ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
STRONGSWAN_CONF_ENV += LIBS='-latomic'
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_STRONGSWAN_EAP),y)
|
||||
STRONGSWAN_CONF_OPTS += \
|
||||
--enable-eap-sim \
|
||||
--enable-eap-sim-file \
|
||||
--enable-eap-aka \
|
||||
--enable-eap-aka-3gpp2 \
|
||||
--enable-eap-simaka-sql \
|
||||
--enable-eap-simaka-pseudonym \
|
||||
--enable-eap-simaka-reauth \
|
||||
--enable-eap-identity \
|
||||
--enable-eap-md5 \
|
||||
--enable-eap-gtc \
|
||||
--enable-eap-mschapv2 \
|
||||
--enable-eap-tls \
|
||||
--enable-eap-ttls \
|
||||
--enable-eap-peap \
|
||||
--enable-eap-tnc \
|
||||
--enable-eap-dynamic \
|
||||
--enable-eap-radius
|
||||
STRONGSWAN_DEPENDENCIES += gmp
|
||||
endif
|
||||
|
||||
STRONGSWAN_DEPENDENCIES += \
|
||||
$(if $(BR2_PACKAGE_STRONGSWAN_BOTAN),botan) \
|
||||
$(if $(BR2_PACKAGE_STRONGSWAN_OPENSSL),openssl) \
|
||||
$(if $(BR2_PACKAGE_STRONGSWAN_GCRYPT),libgcrypt) \
|
||||
$(if $(BR2_PACKAGE_STRONGSWAN_GMP),gmp) \
|
||||
$(if $(BR2_PACKAGE_STRONGSWAN_EAP_AKA_3GPP2),gmp) \
|
||||
$(if $(BR2_PACKAGE_STRONGSWAN_CURL),libcurl) \
|
||||
$(if $(BR2_PACKAGE_STRONGSWAN_TNCCS_11),libxml2) \
|
||||
$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC),pcsc-lite) \
|
||||
|
||||
Reference in New Issue
Block a user