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:
@@ -0,0 +1,60 @@
|
||||
From 4cbb225811205b51b65371d0d8abc2d2af8233b6 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 26 Jan 2023 14:56:36 -0800
|
||||
Subject: [PATCH] Use std::atomic<int> instead of std::atomic<bool>
|
||||
|
||||
GCC on RISCV does not yet support inline subword atomics [1]
|
||||
Therefore avoid them until fixed
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Foundation/include/Poco/AsyncChannel.h | 2 +-
|
||||
Foundation/src/AsyncChannel.cpp | 5 ++---
|
||||
2 files changed, 3 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Foundation/include/Poco/AsyncChannel.h b/Foundation/include/Poco/AsyncChannel.h
|
||||
index 190bae7dd..d73ea6c72 100644
|
||||
--- a/Foundation/include/Poco/AsyncChannel.h
|
||||
+++ b/Foundation/include/Poco/AsyncChannel.h
|
||||
@@ -111,7 +111,7 @@ private:
|
||||
NotificationQueue _queue;
|
||||
std::size_t _queueSize = 0;
|
||||
std::size_t _dropCount = 0;
|
||||
- std::atomic<bool> _closed;
|
||||
+ std::atomic<int> _closed;
|
||||
};
|
||||
|
||||
|
||||
diff --git a/Foundation/src/AsyncChannel.cpp b/Foundation/src/AsyncChannel.cpp
|
||||
index 37cdec477..e829b180c 100644
|
||||
--- a/Foundation/src/AsyncChannel.cpp
|
||||
+++ b/Foundation/src/AsyncChannel.cpp
|
||||
@@ -48,11 +48,10 @@ private:
|
||||
Message _msg;
|
||||
};
|
||||
|
||||
-
|
||||
AsyncChannel::AsyncChannel(Channel::Ptr pChannel, Thread::Priority prio):
|
||||
_pChannel(pChannel),
|
||||
_thread("AsyncChannel"),
|
||||
- _closed(false)
|
||||
+ _closed(0)
|
||||
{
|
||||
_thread.setPriority(prio);
|
||||
}
|
||||
@@ -95,7 +94,7 @@ void AsyncChannel::open()
|
||||
|
||||
void AsyncChannel::close()
|
||||
{
|
||||
- if (!_closed.exchange(true))
|
||||
+ if (!_closed.exchange(1))
|
||||
{
|
||||
if (_thread.isRunning())
|
||||
{
|
||||
--
|
||||
2.39.1
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
From 879ddb725823c78c9510cfd39786adb16f3726c8 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 16 Sep 2023 19:52:56 -0700
|
||||
Subject: [PATCH] cppignore.lnx: Ignore PKCS12 and testLaunch test
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
These tests fail on Linux
|
||||
|
||||
There were 4 failures:
|
||||
1: N7CppUnit10TestCallerI11ProcessTestEE.testLaunch
|
||||
"rc == 3"
|
||||
in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 79
|
||||
2: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectIn
|
||||
"rc == 100"
|
||||
in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 106
|
||||
3: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectOut
|
||||
"s == "Hello, world!""
|
||||
in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 134
|
||||
4: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchEnv
|
||||
"s == "test""
|
||||
in "/usr/src/debug/poco/1.12.4-r0/Foundation/testsuite/src/ProcessTest.cpp", line 166
|
||||
|
||||
There were 4 errors:-
|
||||
1: N7CppUnit10TestCallerI7EVPTestEE.testRSAEVPKeyFromPKCS12
|
||||
│ │ "N4Poco17NotFoundExceptionE:
|
||||
Not found: POCO_BASE"
|
||||
│ │ in "<unknown>", line -1
|
||||
2: N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testFullPKCS12
|
||||
│ │ "N4Poco17NotFoundExceptionE:
|
||||
Not found: POCO_BASE"
|
||||
│ │ in "<unknown>", line -1
|
||||
3: N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testCertsOnlyPKCS12
|
||||
│ │ "N4Poco17NotFoundExceptionE:
|
||||
Not found: POCO_BASE"
|
||||
│ │ in "<unknown>", line -1
|
||||
4: N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testPEMReadWrite
|
||||
│ │ "N4Poco17NotFoundExceptionE:
|
||||
Not found: POCO_BASE"
|
||||
│ │ in "<unknown>", line -1
|
||||
|
||||
Upstream-Status: Inappropriate [OE specific]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
|
||||
---
|
||||
cppignore.lnx | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/cppignore.lnx b/cppignore.lnx
|
||||
index 2c2376526..65df4af08 100644
|
||||
--- a/cppignore.lnx
|
||||
+++ b/cppignore.lnx
|
||||
@@ -28,3 +28,12 @@ CppUnit::TestCaller<HTTPSClientSessionTest>.testProxy
|
||||
CppUnit::TestCaller<HTTPSStreamFactoryTest>.testProxy
|
||||
CppUnit::TestCaller<DNSTest>.testHostByAddress
|
||||
CppUnit::TestCaller<DNSTest>.testHostByName
|
||||
+CppUnit::TestCaller<ProcessTest>.testLaunch
|
||||
+CppUnit::TestCaller<ProcessTest>.testLaunchRedirectIn
|
||||
+CppUnit::TestCaller<ProcessTest>.testLaunchRedirectOut
|
||||
+CppUnit::TestCaller<ProcessTest>.testLaunchEnv
|
||||
+CppUnit::TestCaller<EVPTest>.testRSAEVPKeyFromPKCS12
|
||||
+CppUnit::TestCaller<PKCS12ContainerTest>.testFullPKCS12
|
||||
+CppUnit::TestCaller<PKCS12ContainerTest>.testCertsOnlyPKCS12
|
||||
+CppUnit::TestCaller<PKCS12ContainerTest>.testPEMReadWrite
|
||||
+CppUnit::TestCaller<MongoDBTest>.testArray
|
||||
@@ -0,0 +1,32 @@
|
||||
From e54478c936493c0ed87e875f04127bd13642de44 Mon Sep 17 00:00:00 2001
|
||||
From: tyler92 <tyler92@inbox.ru>
|
||||
Date: Tue, 21 Nov 2023 05:07:24 +0300
|
||||
Subject: [PATCH] fix(build): Install cmake files with resolved ENABLE_JSON and
|
||||
ENABLE_XML (#4227)
|
||||
|
||||
Upstream-Status: Backport [https://github.com/pocoproject/poco/pull/4227]
|
||||
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
|
||||
|
||||
---
|
||||
Util/cmake/PocoUtilConfig.cmake | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Util/cmake/PocoUtilConfig.cmake b/Util/cmake/PocoUtilConfig.cmake
|
||||
index 90c1eab1c..8186435e1 100644
|
||||
--- a/Util/cmake/PocoUtilConfig.cmake
|
||||
+++ b/Util/cmake/PocoUtilConfig.cmake
|
||||
@@ -1,9 +1,9 @@
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(PocoFoundation)
|
||||
-if(ENABLE_XML)
|
||||
+if(@ENABLE_XML@)
|
||||
find_dependency(PocoXML)
|
||||
endif()
|
||||
-if(ENABLE_JSON)
|
||||
+if(@ENABLE_JSON@)
|
||||
find_dependency(PocoJSON)
|
||||
endif()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/PocoUtilTargets.cmake")
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
export POCO_BASE=/usr/lib/poco/ptest
|
||||
export LD_LIBRARY_PATH=${POCO_BASE}/bin:${LD_LIBRARY_PATH}
|
||||
i=0
|
||||
while read runner; do
|
||||
oldpath=`pwd` >/dev/null
|
||||
cd bin
|
||||
echo Testing $runner
|
||||
./$runner -ignore $oldpath/cppignore.lnx -all
|
||||
export res$((i++))=$?
|
||||
cd $oldpath >/dev/null
|
||||
done < testrunners
|
||||
i=0
|
||||
while read runner; do
|
||||
eval assign=\$res$((i++))
|
||||
if [ $assign -ne 0 ]; then
|
||||
echo "FAIL: $runner"
|
||||
else
|
||||
echo "PASS: $runner"
|
||||
fi
|
||||
done < testrunners
|
||||
@@ -0,0 +1,119 @@
|
||||
SUMMARY = "Modern, powerful open source cross-platform C++ class libraries"
|
||||
DESCRIPTION = "Modern, powerful open source C++ class libraries and frameworks for building network- and internet-based applications that run on desktop, server, mobile and embedded systems."
|
||||
HOMEPAGE = "http://pocoproject.org/"
|
||||
SECTION = "libs"
|
||||
LICENSE = "BSL-1.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
|
||||
|
||||
# These dependencies are required by Foundation
|
||||
DEPENDS = "libpcre2 zlib"
|
||||
|
||||
SRC_URI = "git://github.com/pocoproject/poco.git;branch=poco-1.12.5;protocol=https \
|
||||
file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \
|
||||
file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \
|
||||
file://run-ptest \
|
||||
file://0002-fix-build-Install-cmake-files-with-resolved-ENABLE_J.patch \
|
||||
"
|
||||
SRCREV = "1d6fb3e1383e559cacbada5e3f861c0dafaf5d30"
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake ptest
|
||||
|
||||
# By default the most commonly used poco components are built
|
||||
# Foundation is built anyway and doesn't need to be listed explicitly
|
||||
# these don't have dependencies outside oe-core
|
||||
PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Redis Prometheus"
|
||||
# MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe
|
||||
# and mongodb needs meta-python enabled as well
|
||||
PACKAGECONFIG:remove:riscv32 = "MongoDB"
|
||||
PACKAGECONFIG:remove:riscv64 = "MongoDB"
|
||||
PACKAGECONFIG:remove:mipsarch = "MongoDB"
|
||||
PACKAGECONFIG:remove:powerpc = "MongoDB"
|
||||
|
||||
PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat"
|
||||
PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
|
||||
PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF"
|
||||
PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib"
|
||||
PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF"
|
||||
PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF"
|
||||
PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl"
|
||||
PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON,-DENABLE_CRYPTO=OFF,openssl"
|
||||
PACKAGECONFIG[JWT] = "-DENABLE_JWT=ON,-DENABLE_JWT=OFF,openssl"
|
||||
PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
|
||||
PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON -DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3"
|
||||
PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
|
||||
PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF"
|
||||
PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF"
|
||||
PACKAGECONFIG[Prometheus] = "-DENABLE_PROMETHEUS=ON,-DENABLE_PROMETHEUS=OFF"
|
||||
|
||||
# Additional components not build by default,
|
||||
# they might have dependencies not included in oe-core
|
||||
# or they don't work on all architectures
|
||||
PACKAGECONFIG[mod_poco] = "-DENABLE_APACHECONNECTOR=ON,-DENABLE_APACHECONNECTOR=OFF,apr apache2"
|
||||
PACKAGECONFIG[CppParser] = "-DENABLE_CPPPARSER=ON,-DENABLE_CPPPARSER=OFF"
|
||||
PACKAGECONFIG[DataMySQL] = "-DENABLE_DATA_MYSQL=ON -DMYSQL_LIB:STRING=mysqlclient_r,-DENABLE_DATA_MYSQL=OFF,mariadb"
|
||||
PACKAGECONFIG[DataODBC] = "-DENABLE_DATA_ODBC=ON,-DENABLE_DATA_ODBC=OFF,libiodbc"
|
||||
PACKAGECONFIG[ActiveRecord] = "-DENABLE_ACTIVERECORD=ON,-DENABLE_ACTIVERECORD=OFF"
|
||||
PACKAGECONFIG[ActiveRecordCompiler] = "-DENABLE_ACTIVERECORD_COMPILER=ON,-DENABLE_ACTIVERECORD_COMPILER=OFF"
|
||||
PACKAGECONFIG[PageCompiler] = "-DENABLE_PAGECOMPILER=ON,-DENABLE_PAGECOMPILER=OFF"
|
||||
PACKAGECONFIG[PageCompilerFile2Page] = "-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENABLE_PAGECOMPILER_FILE2PAGE=OFF"
|
||||
PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF"
|
||||
|
||||
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \
|
||||
-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON ', '', d)}"
|
||||
|
||||
# For the native build we want to use the bundled version
|
||||
EXTRA_OECMAKE:append:class-native = " -DPOCO_UNBUNDLED=OFF"
|
||||
|
||||
# do not use rpath
|
||||
EXTRA_OECMAKE:append = " -DCMAKE_SKIP_RPATH=ON"
|
||||
|
||||
LDFLAGS:append:riscv32 = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}"
|
||||
LDFLAGS:append:mips = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}"
|
||||
LDFLAGS:append:powerpc = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}"
|
||||
|
||||
python populate_packages:prepend () {
|
||||
poco_libdir = d.expand('${libdir}')
|
||||
pn = d.getVar("PN")
|
||||
packages = []
|
||||
|
||||
def hook(f, pkg, file_regex, output_pattern, modulename):
|
||||
packages.append(pkg)
|
||||
|
||||
do_split_packages(d, poco_libdir, r'^libPoco(.*)\.so\..*$',
|
||||
'poco-%s', 'Poco %s component', extra_depends='', prepend=True, hook=hook)
|
||||
|
||||
d.setVar("RRECOMMENDS:%s" % pn, " ".join(packages))
|
||||
}
|
||||
|
||||
do_install_ptest () {
|
||||
cp -rf ${B}/bin/ ${D}${PTEST_PATH}
|
||||
cp -f ${B}/lib/libCppUnit.so* ${D}${libdir}
|
||||
cp -rf ${B}/*/testsuite/data ${D}${PTEST_PATH}/bin/
|
||||
find "${D}${PTEST_PATH}" -executable -exec chrpath -d {} \;
|
||||
rm -f ${D}${PTEST_PATH}/testrunners
|
||||
for f in ${D}${PTEST_PATH}/bin/*-testrunner; do
|
||||
echo `basename $f` >> ${D}${PTEST_PATH}/testrunners
|
||||
done
|
||||
install -Dm 0644 ${S}/cppignore.lnx ${D}${PTEST_PATH}/cppignore.lnx
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC = "poco-.*"
|
||||
|
||||
# "poco" is a metapackage which pulls in all Poco components
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
# cppunit is only built if tests are enabled
|
||||
PACKAGES =+ "${PN}-cppunit"
|
||||
FILES:${PN}-cppunit += "${libdir}/libCppUnit.so*"
|
||||
ALLOW_EMPTY:${PN}-cppunit = "1"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "${PN}-cppunit"
|
||||
RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'MongoDB', 'mongodb', '', d)}"
|
||||
RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'Redis', 'redis', '', d)}"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user