buildroot/package/libest/Config.in
Aleksandr Makarov a36b947d52 package/libest: auto-select safeclib to avoid use of bundled copy of library
Support for libsafec can not be completely disabled - currently,
--disable-safec does not exactly allow for compiling libest on
systems without libsafec, but instead just uses bundled copy of
library from safe_c_stub/

To avoid that, do automatically select the full-featured safeclib
package and always use --with-system-libsafec

Signed-off-by: Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-07-24 17:00:55 +02:00

33 lines
923 B
Plaintext

comment "libest needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_LIBEST
bool "libest"
depends on !BR2_STATIC_LIBS # libexecinfo or glibc
select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
select BR2_PACKAGE_SAFECLIB
help
libest is a C implementation of RFC 7030 (Enrollment over
Secure Transport).
It can be used to provision public key certificates from
a certificate authority (CA) or registration authority (RA)
to end-user devices and network infrastructure devices.
https://github.com/cisco/libest
if BR2_PACKAGE_LIBEST
config BR2_PACKAGE_LIBEST_BRSKI
bool "BRSKI support"
config BR2_PACKAGE_LIBEST_MODE_CLIENT_ONLY
bool "client-only mode"
# The client-only mode fails to build with OpenJDK/JNI
# bindings
depends on !BR2_PACKAGE_OPENJDK
endif # BR2_PACKAGE_LIBEST