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

View File

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

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 7146932ea4fc8e12b9152e23e18e46699174c531ef1e0fc351b05fcd12295a81 libnetconf2-3.7.10.tar.gz
sha256 bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064 LICENSE

View File

@@ -0,0 +1,41 @@
################################################################################
#
# libnetconf2
#
################################################################################
LIBNETCONF2_VERSION = 3.7.10
LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION))
LIBNETCONF2_INSTALL_STAGING = YES
LIBNETCONF2_LICENSE = BSD-3-Clause
LIBNETCONF2_LICENSE_FILES = LICENSE
LIBNETCONF2_DEPENDENCIES = libyang
HOST_LIBNETCONF2_DEPENDENCIES = host-libyang
LIBNETCONF2_CONF_OPTS = \
-DENABLE_TESTS=OFF \
-DENABLE_VALGRIND_TESTS=OFF
ifeq ($(BR2_PACKAGE_LIBNETCONF2_SSH_TLS),y)
LIBNETCONF2_CONF_OPTS += -DENABLE_SSH_TLS=ON
LIBNETCONF2_DEPENDENCIES += libcurl libssh
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
LIBNETCONF2_DEPENDENCIES += mbedtls
else
LIBNETCONF2_DEPENDENCIES += openssl
endif
else
LIBNETCONF2_CONF_OPTS += -DENABLE_SSH_TLS=OFF
endif
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
LIBNETCONF2_DEPENDENCIES += libxcrypt
endif
HOST_LIBNETCONF2_CONF_OPTS = \
-DENABLE_TESTS=OFF \
-DENABLE_VALGRIND_TESTS=OFF \
-DENABLE_SSH_TLS=OFF
$(eval $(cmake-package))
$(eval $(host-cmake-package))