eeb49a1f1f
Changelog: error-path data node now using proper format so in rpc-reply uses XML XPath format instead of JSON several bugfixes and improvements Depends on libyang v3.12.2: https://github.com/CESNET/libyang/releases/tag/v3.12.2 As part of this version bump, the ENABLE_SSH and ENABLE_TLS options have been dropped by upstream in favor of a single ENABLE_SSH_TLS option, which requires openssl or mbedtls, libcurl and libssh. Since this is getting quite complicated to handle as an implicit optional dependency, we make this explicit with a new sub-option BR2_PACKAGE_LIBNETCONF2_SSH_TLS that ensures everything needed is enabled. In theory, libnetconf2 can use either mbedtls or openssl for crypto, but netopeer2 will only work if OpenSSL is used, so we only allow using OpenSSL until that gets fixed upstream. The netopeer2 package, which needs SSH/TLS support in libnetconf2 is updated accordingly (and actually becomes simpler). Signed-off-by: Mattias Walström <lazzer@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
config BR2_PACKAGE_LIBNETCONF2
|
|
bool "libnetconf2"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libyang
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_USE_MMU
|
|
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
|
select BR2_PACKAGE_LIBYANG
|
|
help
|
|
libnetconf2 is a NETCONF library in C intended for building
|
|
NETCONF clients and servers.
|
|
|
|
https://github.com/CESNET/libnetconf2
|
|
|
|
if BR2_PACKAGE_LIBNETCONF2
|
|
|
|
config BR2_PACKAGE_LIBNETCONF2_SSH_TLS
|
|
bool "SSH/TLS support"
|
|
depends on BR2_USE_MMU # libssh
|
|
depends on !BR2_STATIC_LIBS # libssh
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libssh
|
|
select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
|
|
select BR2_PACKAGE_LIBCURL
|
|
select BR2_PACKAGE_LIBSSH
|
|
select BR2_PACKAGE_LIBSSH_SERVER
|
|
|
|
comment "SSH/TLS support needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
endif
|
|
|
|
comment "libnetconf2 needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|