Some packages that use openssl are not compatible with libressl, only with the real openssl (known as libopenssl in Buildroot). So before we add libressl as a provider for the openssl virtual package, we introduce a BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL hidden option that packages incompatible with LibreSSL will be able to select. This will allow packages that need OpenSSL to continue using "select", without having to change to using "depends on" dependencies. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
62 lines
1.3 KiB
Plaintext
62 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
|
bool
|
|
|
|
config BR2_PACKAGE_OPENSSL
|
|
bool "openssl support"
|
|
select BR2_PACKAGE_HAS_OPENSSL
|
|
help
|
|
Select the desired ssl library provider.
|
|
|
|
if BR2_PACKAGE_OPENSSL
|
|
|
|
choice
|
|
prompt "ssl library"
|
|
default BR2_PACKAGE_LIBOPENSSL
|
|
help
|
|
Select OpenSSL.
|
|
|
|
config BR2_PACKAGE_LIBOPENSSL
|
|
bool "openssl"
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
A collaborative effort to develop a robust, commercial-grade,
|
|
fully featured, and Open Source toolkit implementing the
|
|
Secure Sockets Layer (SSL v2/v3) and Transport Security
|
|
(TLS v1) as well as a full-strength general-purpose
|
|
cryptography library.
|
|
|
|
http://www.openssl.org/
|
|
|
|
Note: Some helper scripts need perl.
|
|
|
|
if BR2_PACKAGE_LIBOPENSSL
|
|
|
|
config BR2_PACKAGE_LIBOPENSSL_BIN
|
|
bool "openssl binary"
|
|
help
|
|
Install the openssl binary and the associated helper scripts
|
|
to the target file system. This is a command line tool for
|
|
doing various cryptographic stuff.
|
|
|
|
config BR2_PACKAGE_LIBOPENSSL_ENGINES
|
|
bool "openssl additional engines"
|
|
help
|
|
Install additional encryption engine libraries.
|
|
|
|
endif
|
|
|
|
endchoice
|
|
|
|
config BR2_PACKAGE_HAS_OPENSSL
|
|
bool
|
|
|
|
config BR2_PACKAGE_PROVIDES_OPENSSL
|
|
string
|
|
default "libopenssl" if BR2_PACKAGE_LIBOPENSSL
|
|
|
|
config BR2_PACKAGE_PROVIDES_HOST_OPENSSL
|
|
string
|
|
default "host-libopenssl"
|
|
|
|
endif
|