buildroot/package/netopeer2/Config.in
Heiko Thiery 6335ff0857 package/netopeer2: add package
Netopeer2 is a set of tools implementing network configuration
tools based on the NETCONF Protocol.

Netopeer2 needs libnetconf2 to have SSL/TSL and SSH support, so
we enable both openssl and libssh+server from netopeer2, so that
libnetconf2 has appropriate support. But netopeer2 does not use
either, so does not build-depend on them.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr:
  - fix dependencies and their comments
  - explain openssl and libssh+server dependencies
  - fix codestyle in Config,in, noticed by Adam
  - fix codestyle in .mk
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-07-24 23:27:00 +02:00

35 lines
1 KiB
Plaintext

comment "netopeer2 needs a toolchain w/ gcc >= 4.8, C++, threads, dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
config BR2_PACKAGE_NETOPEER2
bool "netopeer2"
depends on BR2_USE_MMU # libnetconf2, libssh, sysrepo
depends on !BR2_STATIC_LIBS # libnetconf2, libssh, libyang, sysrepo
depends on BR2_INSTALL_LIBSTDCPP # sysrepo
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # sysrepo
select BR2_PACKAGE_LIBNETCONF2
select BR2_PACKAGE_LIBSSH
select BR2_PACKAGE_LIBSSH_SERVER # For libnetconf2 to have SSH
select BR2_PACKAGE_LIBYANG
select BR2_PACKAGE_OPENSSL # For libnetconf2 to have TLS
select BR2_PACKAGE_SYSREPO
help
Netopeer2 is a set of tools implementing network configuration
tools based on the NETCONF Protocol.
This is the server part.
https://github.com/CESNET/Netopeer2
if BR2_PACKAGE_NETOPEER2
config BR2_PACKAGE_NETOPEER2_CLI
bool "cli"
help
Enable netopeer2 CLI.
endif