hc
2024-03-22 ac5f19e89dcbd5c7428fcc78a0d407c887564466
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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.
 
     http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.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