ubuntu-buildroot/package/snmppp/Config.in

38 lines
1.0 KiB
Plaintext

config BR2_PACKAGE_SNMPPP
bool "snmp++"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
help
SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3.
https://www.agentpp.com/api/cpp/snmp_pp.html
if BR2_PACKAGE_SNMPPP
config BR2_PACKAGE_SNMPPP_LOGGING
bool "enable logging"
help
Enable logging output for SNMP++.
According to the SNMP++ documentation, disabling logging
"increases performance drastically and minimizes memory
consumption".
config BR2_PACKAGE_SNMPPP_SNMPV3
bool "enable SNMPv3"
default y
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
help
Enable optional support for SNMP++. This selects OpenSSL.
comment "SNMPv3 needs a toolchain w/ gcc >= 4.8"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
endif
comment "snmp++ needs a toolchain w/ threads, C++, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS