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:
20
sources/poky/meta/recipes-devtools/json-c/json-c/run-ptest
Normal file
20
sources/poky/meta/recipes-devtools/json-c/json-c/run-ptest
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This script is used to run json-c test suites
|
||||
cd tests
|
||||
|
||||
ret_val=0
|
||||
for i in test*.test; do
|
||||
# test_basic is not an own testcase, just
|
||||
# contains common code of other tests
|
||||
if [ "$i" != "test_basic.test" ]; then
|
||||
if ./$i >> json-c_test.log 2>&1 ; then
|
||||
echo PASS: $i
|
||||
else
|
||||
ret_val=1
|
||||
echo FAIL: $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
exit $ret_val
|
||||
34
sources/poky/meta/recipes-devtools/json-c/json-c_0.17.bb
Normal file
34
sources/poky/meta/recipes-devtools/json-c/json-c_0.17.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "C bindings for apps which will manipulate JSON data"
|
||||
DESCRIPTION = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C."
|
||||
HOMEPAGE = "https://github.com/json-c/json-c/wiki"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
|
||||
|
||||
SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
|
||||
file://run-ptest \
|
||||
"
|
||||
SRC_URI[sha256sum] = "7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6"
|
||||
|
||||
# NVD uses full tag name including date
|
||||
CVE_VERSION = "0.17-20230812"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags"
|
||||
UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+"
|
||||
|
||||
RPROVIDES:${PN} = "libjson"
|
||||
|
||||
# Required for ICECC builds
|
||||
EXTRA_OECMAKE = "-DDISABLE_WERROR=ON"
|
||||
|
||||
inherit cmake ptest
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}/${PTEST_PATH}/tests
|
||||
install ${B}/tests/test* ${D}/${PTEST_PATH}/tests
|
||||
install ${S}/tests/*.test ${D}/${PTEST_PATH}/tests
|
||||
install ${S}/tests/*.expected ${D}/${PTEST_PATH}/tests
|
||||
install ${S}/tests/test-defs.sh ${D}/${PTEST_PATH}/tests
|
||||
install ${S}/tests/*json ${D}/${PTEST_PATH}/tests
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user