Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

37
package/snmppp/Config.in Normal file
View File

@@ -0,0 +1,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.
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

View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 6c1a383085105805302b52ed922e35be00b1fe36981bdf7c34b35ffc635043ac snmp++-3.6.5.tar.gz
sha256 61337e799c8274e596e5783b22607beea8073ee296c6b27fc5c7487296e56851 src/v3.cpp

24
package/snmppp/snmppp.mk Normal file
View File

@@ -0,0 +1,24 @@
################################################################################
#
# snmppp
#
################################################################################
SNMPPP_VERSION = 3.6.5
SNMPPP_SOURCE = snmp++-$(SNMPPP_VERSION).tar.gz
SNMPPP_SITE = http://www.agentpp.com/download
SNMPPP_DEPENDENCIES = host-pkgconf
SNMPPP_INSTALL_STAGING = YES
SNMPPP_CONF_OPTS = $(if $(BR2_PACKAGE_SNMPPP_LOGGING),--enable-logging,--disable-logging)
SNMPPP_LICENSE = SNMP++
SNMPPP_LICENSE_FILES = src/v3.cpp
ifeq ($(BR2_PACKAGE_SNMPPP_SNMPV3),y)
SNMPPP_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
SNMPPP_CONF_OPTS += --enable-snmpv3
SNMPPP_DEPENDENCIES += openssl
else
SNMPPP_CONF_OPTS += --disable-snmpv3
endif
$(eval $(autotools-package))