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

18
package/libuci/Config.in Normal file
View File

@@ -0,0 +1,18 @@
config BR2_PACKAGE_LIBUCI
bool "libuci"
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libubox -> json-c
select BR2_PACKAGE_LIBUBOX
help
This library originates from the OpenWrt project to
handle the configuration file infrastructure, but can
also be used for the same purposes in projects other
than OpenWrt.
This package will also install CLI tool uci.
https://openwrt.org/docs/techref/uci
comment "libuci needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4

View File

@@ -0,0 +1,4 @@
# Locally computed
sha256 d3b12df54f9faa69f0ff6d2a239fdcc30d64eda5269ddc882cf97677ea8cb066 libuci-f3fc0b76040685829191debc03edf72f486ae8ae-git4.tar.gz
sha256 5bb12361838b588bb263ade8537f5ae1a5e62d54b0a8f0640489db8cc29831d8 cli.c
sha256 bbc34ea5f391abc3b27416dc3c96b0f71f852c44210faf1cde0990218f68b13a libuci.c

29
package/libuci/libuci.mk Normal file
View File

@@ -0,0 +1,29 @@
################################################################################
#
# libuci
#
################################################################################
LIBUCI_VERSION = f3fc0b76040685829191debc03edf72f486ae8ae
LIBUCI_SITE = https://git.openwrt.org/project/uci.git
LIBUCI_SITE_METHOD = git
LIBUCI_LICENSE = LGPL-2.1, GPL-2.0 (tools)
LIBUCI_LICENSE_FILES = cli.c libuci.c
LIBUCI_CPE_ID_VENDOR = openwrt
LIBUCI_INSTALL_STAGING = YES
LIBUCI_DEPENDENCIES = libubox
# Fixed in commit 19e29ffc15dbd958e8e6a648ee0982c68353516f, older than LIBUCI_VERSION
LIBUCI_IGNORE_CVES += CVE-2019-15513
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
LIBUCI_DEPENDENCIES += lua
LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \
-DLUAPATH=/usr/lib/lua/5.1 \
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
LIBUCI_LICENSE += , GPL-2.0 (lua bindings)
else
LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF
endif
$(eval $(cmake-package))