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,55 @@
From 77da477840f89da7ced29da315de77571e8f190e Mon Sep 17 00:00:00 2001
From: Martin Jansa <martin.jansa@gmail.com>
Date: Fri, 20 Oct 2023 22:57:48 +0200
Subject: [PATCH] CMakeLists.txt: fix googletest related options
* https://cmake.org/cmake/help/book/mastering-cmake/chapter/Writing%20CMakeLists%20Files.html
says that CMake options are case-sensitive and I don't see lower-case version in
currently used googletest submodules and gtest is indeed installed with leveldb
* install_gmock option I don't see at all, so I've kept it as is, INSTALL_GTEST, BUILD_GMOCK
do exist as upper-case
$ grep -Ri install_.*mock .
./CMakeLists.txt: set(install_gmock OFF)
./third_party/googletest/googlemock/CMakeLists.txt:install_project(gmock gmock_main)
$ grep -Ri build_gmock .
./CMakeLists.txt: set(BUILD_GMOCK ON)
./third_party/googletest/googletest/README.md:cmake .. -DBUILD_GMOCK=OFF
./third_party/googletest/CMakeLists.txt:option(BUILD_GMOCK "Builds the googlemock subproject" ON)
./third_party/googletest/CMakeLists.txt:if(BUILD_GMOCK)
$ grep -Ri install_gtest .
./CMakeLists.txt: set(INSTALL_GTEST OFF)
./third_party/googletest/googletest/cmake/internal_utils.cmake: if(INSTALL_GTEST)
./third_party/googletest/googletest/CMakeLists.txt:if (INSTALL_GTEST)
./third_party/googletest/CMakeLists.txt:option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" ON)
* also use CACHE and FORCE as sugested in:
https://cmake.org/cmake/help/latest/command/set.html
https://stackoverflow.com/questions/20239334/cmake-set-subdirectory-options
for the value to correctly propagate into third_party/googletest subdirectory
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
Upstream-Status: Submitted [https://github.com/google/leveldb/pull/1152]
CMakeLists.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fda9e01..f8a2629 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -295,9 +295,9 @@ if(LEVELDB_BUILD_TESTS)
# Prevent overriding the parent project's compiler/linker settings on Windows.
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
- set(install_gtest OFF)
- set(install_gmock OFF)
- set(build_gmock ON)
+ set(INSTALL_GTEST OFF CACHE BOOL "" FORCE)
+ set(install_gmock OFF CACHE BOOL "" FORCE)
+ set(BUILD_GMOCK ON CACHE BOOL "" FORCE)
# This project is tested using GoogleTest.
add_subdirectory("third_party/googletest")

View File

@@ -0,0 +1,43 @@
From 1ccdb7513a7a0f24b8ce3b6766e52e690874bc64 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 17 Oct 2023 19:08:12 -0700
Subject: [PATCH] Fix printing 64-bit integer types
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
db/db_impl.cc | 5 +++--
db/version_edit.h | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)
--- a/db/db_impl.cc
+++ b/db/db_impl.cc
@@ -5,6 +5,7 @@
#include "db/db_impl.h"
#include <algorithm>
+#include <cinttypes>
#include <atomic>
#include <cstdint>
#include <cstdio>
@@ -520,8 +521,8 @@ Status DBImpl::WriteLevel0Table(MemTable
mutex_.Lock();
}
- Log(options_.info_log, "Level-0 table #%llu: %lld bytes %s",
- (unsigned long long)meta.number, (unsigned long long)meta.file_size,
+ Log(options_.info_log, "Level-0 table #%" PRIu64 " : %" PRIu64 " bytes %s",
+ meta.number, meta.file_size,
s.ToString().c_str());
delete iter;
pending_outputs_.erase(meta.number);
--- a/db/version_edit.h
+++ b/db/version_edit.h
@@ -5,6 +5,7 @@
#ifndef STORAGE_LEVELDB_DB_VERSION_EDIT_H_
#define STORAGE_LEVELDB_DB_VERSION_EDIT_H_
+#include <cstdint>
#include <set>
#include <utility>
#include <vector>

View File

@@ -0,0 +1,10 @@
#!/bin/sh
for test in *_test; do
if ./${test}; then
echo "PASS: ${test}"
else
echo "FAIL: ${test}"
fi
done

View File

@@ -0,0 +1,35 @@
SUMMARY = "LevelDB is a fast key-value storage library"
DESCRIPTION = "LevelDB is a fast key-value storage library that provides an ordered mapping from string keys to string values"
HOMEPAGE = "https://github.com/google/leveldb"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=92d1b128950b11ba8495b64938fc164d"
SRC_URI = "gitsm://github.com/google/${BPN}.git;branch=main;protocol=https \
file://0001-CMakeLists.txt-fix-googletest-related-options.patch \
file://0001-Fix-printing-64-bit-integer-types.patch \
file://run-ptest \
"
SRCREV = "068d5ee1a3ac40dabd00d211d5013af44be55bea"
S = "${WORKDIR}/git"
inherit cmake ptest
PACKAGECONFIG ??= ""
PACKAGECONFIG[benchmarks] = "-DLEVELDB_BUILD_BENCHMARKS=ON,-DLEVELDB_BUILD_BENCHMARKS=OFF,sqlite"
PACKAGECONFIG[snappy] = ",,snappy"
PACKAGECONFIG[tcmalloc] = ",,gperftools"
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON \
-DLEVELDB_BUILD_TESTS=${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'ON', 'OFF', d)}"
do_install:append() {
install -D -m 0755 ${B}/leveldbutil ${D}${bindir}/leveldbutil
}
do_install_ptest() {
install -m 0755 ${B}/*_test ${D}${PTEST_PATH}
}
# Do not try to build lib32-leveldb for mips64, but allow libn32-leveldb.
#
COMPATIBLE_HOST:mipsarcho32:pn-lib32-leveldb = "null"