Complete Yocto mirror with license table for TQMa6UL (2038-compliance)

- 264 license table entries with exact download URLs (224/264 resolved)
- Complete sources/ directory with all BitBake recipes
- Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl)
- Full traceability for Softwarefreigabeantrag
- GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4
- License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
Siggi (OpenClaw Agent)
2026-03-01 20:58:18 +00:00
commit 16accb6b24
15086 changed files with 1292356 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
From 542380a13f178d97851751b57054a6b5be555d1c Mon Sep 17 00:00:00 2001
From: Jens Rehsack <sno@netbsd.org>
Date: Thu, 13 Aug 2020 16:16:44 +0200
Subject: [PATCH 2/2] test/test_x509.c: fix potential overflow issue
Instead of doing a memcpy() which does static overflow checking, use
snprintf() for string copying which does the check dynamically.
Fixes:
| In file included from .../recipe-sysroot/usr/include/string.h:519,
| from test/test_x509.c:27:
| In function 'memcpy',
| inlined from 'parse_keyvalue' at test/test_x509.c:845:2,
| inlined from 'process_conf_file' at test/test_x509.c:1360:7,
| inlined from 'main' at test/test_x509.c:2038:2:
| .../recipe-sysroot/usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=]
| 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Jens Rehsack <sno@netbsd.org>
---
Upstream-Status: Pending
test/test_x509.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/test_x509.c b/test/test_x509.c
index 2c61cf5..76f6ab9 100644
--- a/test/test_x509.c
+++ b/test/test_x509.c
@@ -842,8 +842,7 @@ parse_keyvalue(HT *d)
return -1;
}
name = xmalloc(u + 1);
- memcpy(name, buf, u);
- name[u] = 0;
+ snprintf(name, u, "%s", buf);
if (HT_get(d, name) != NULL) {
xfree(name);
return -1;
--
2.17.1

View File

@@ -0,0 +1,52 @@
SUMMARY = "BearSSL is an implementation of the SSL/TLS protocol (RFC 5246) written in C"
DESCRIPTION = "BearSSL is an implementation of the SSL/TLS protocol (RFC \
5246) written in C. It aims at offering the following features: \
* Be correct and secure. In particular, insecure protocol versions and \
choices of algorithms are not supported, by design; cryptographic \
algorithm implementations are constant-time by default. \
* Be small, both in RAM and code footprint. For instance, a minimal \
server implementation may fit in about 20 kilobytes of compiled code \
and 25 kilobytes of RAM. \
* Be highly portable. BearSSL targets not only “big” operating systems \
like Linux and Windows, but also small embedded systems and even special \
contexts like bootstrap code. \
* Be feature-rich and extensible. SSL/TLS has many defined cipher suites \
and extensions; BearSSL should implement most of them, and allow extra \
algorithm implementations to be added afterwards, possibly from third \
parties."
HOMEPAGE = "https://bearssl.org"
SECTION = "libs"
inherit lib_package
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1fc37e1037ae673975fbcb96a98f7191"
PV .= "+git"
SRCREV = "79c060eea3eea1257797f15ea1608a9a9923aa6f"
SRC_URI = "git://www.bearssl.org/git/BearSSL;protocol=https;branch=master \
file://0002-test-test_x509.c-fix-potential-overflow-issue.patch \
"
SONAME = "libbearssl.so.6"
# without compile errors like
# <..>/ld: build/obj/ghash_pclmul.o: warning: relocation against `br_ghash_pclmul' in read-only section `.text'
CFLAGS += "-fPIC"
EXTRA_OEMAKE += 'CC="${CC}" CFLAGS="${CFLAGS}" LDDLL="${CCLD} ${LDFLAGS}" LD="${CCLD}" LDFLAGS="${LDFLAGS}" \
BEARSSLDLL=build/${SONAME} \
LDDLLFLAGS="-shared -Wl,-soname,${SONAME}" \
${@ "STATICLIB=no" if d.getVar('DISABLE_STATIC') != "" else "" } \
'
S = "${WORKDIR}/git"
do_install() {
install -d ${D}/${bindir} ${D}/${libdir} ${D}/${includedir}
install -m 0755 ${B}/build/brssl ${D}/${bindir}
oe_libinstall -C ${B}/build libbearssl ${D}/${libdir}
for inc in ${S}/inc/*.h; do
install -m 0644 "${inc}" ${D}/${includedir}
done
}