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:
13
sources/poky/meta/recipes-extended/diffutils/diffutils.inc
Normal file
13
sources/poky/meta/recipes-extended/diffutils/diffutils.inc
Normal file
@@ -0,0 +1,13 @@
|
||||
SUMMARY = "Diffutils contains tools used for finding differences between files"
|
||||
HOMEPAGE = "https://www.gnu.org/software/diffutils/diffutils.html"
|
||||
DESCRIPTION = "Diffutils contains the GNU diff, diff3, \
|
||||
sdiff, and cmp utilities. These programs are usually \
|
||||
used for creating patch files."
|
||||
SECTION = "base"
|
||||
|
||||
inherit autotools texinfo update-alternatives gettext
|
||||
|
||||
ALTERNATIVE:${PN} = "diff cmp"
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,29 @@
|
||||
From f31395c931bc633206eccfcfaaaa5d15021a3e86 Mon Sep 17 00:00:00 2001
|
||||
From: Peiran Hong <peiran.hong@windriver.com>
|
||||
Date: Thu, 5 Sep 2019 15:42:22 -0400
|
||||
Subject: [PATCH] Skip strip-trailing-cr test case
|
||||
|
||||
Skip the test "strip-trailing-cr" since it requires valgrind to
|
||||
work, but valgrind is considered too heavy-weight for diffutils
|
||||
package.
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
|
||||
|
||||
---
|
||||
tests/Makefile.am | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||
index 79bacfb..4adb4d7 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -22,7 +22,6 @@ TESTS = \
|
||||
stdin \
|
||||
strcoll-0-names \
|
||||
filename-quoting \
|
||||
- strip-trailing-cr \
|
||||
timezone \
|
||||
colors \
|
||||
y2038-vs-32bit
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
abs_ptestdir=`echo "$(cd "$(dirname "$0")"; pwd)"`
|
||||
make -C $abs_ptestdir/tests check-TESTS abs_top_srcdir="$abs_ptestdir"
|
||||
@@ -0,0 +1,43 @@
|
||||
LICENSE = "GPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
require diffutils.inc
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
|
||||
file://run-ptest \
|
||||
file://0001-Skip-strip-trailing-cr-test-case.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "90e5e93cc724e4ebe12ede80df1634063c7a855692685919bfe60b556c9bd09e"
|
||||
|
||||
EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix"
|
||||
|
||||
# latest gnulib is no longer able to handle this - I dare not try to fix that maze of abstractions and generators
|
||||
CFLAGS:mingw32 = " -DSA_RESTART=0"
|
||||
|
||||
# Fix "Argument list too long" error when len(TMPDIR) = 410
|
||||
acpaths = "-I ./m4"
|
||||
|
||||
EXTRA_OEMAKE:append:mingw32 = " LIBS='-lbcrypt'"
|
||||
inherit ptest
|
||||
|
||||
RDEPENDS:${PN}-ptest += "make perl"
|
||||
|
||||
do_install_ptest() {
|
||||
t=${D}${PTEST_PATH}
|
||||
install -D ${S}/build-aux/test-driver $t/build-aux/test-driver
|
||||
cp -r ${S}/tests $t/
|
||||
install ${B}/tests/Makefile $t/tests/
|
||||
sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
|
||||
-e 's|${DEBUG_PREFIX_MAP}||g' \
|
||||
-e 's:${HOSTTOOLS_DIR}/::g' \
|
||||
-e 's:${RECIPE_SYSROOT_NATIVE}::g' \
|
||||
-e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
|
||||
-e 's|^Makefile:|_Makefile:|' \
|
||||
-e 's|bash|sh|' \
|
||||
-e 's|^top_srcdir = \(.*\)|top_srcdir = ..\/|' \
|
||||
-e 's|^srcdir = \(.*\)|srcdir = .|' \
|
||||
-e 's|"`$(built_programs)`"|diff|' \
|
||||
-e 's|gawk|awk|g' \
|
||||
-i $t/tests/Makefile
|
||||
}
|
||||
Reference in New Issue
Block a user