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,39 @@
|
||||
From cfe9f4d6b0a5d10a15e10e987d528c5c513a42f1 Mon Sep 17 00:00:00 2001
|
||||
From: Florian Weimer <fweimer@redhat.com>
|
||||
Date: Tue, 19 Dec 2023 11:00:11 +0100
|
||||
Subject: [PATCH] configure: Only text the makecontext signature we need
|
||||
|
||||
The test/explicit-bzero.c test uses a start routine without any
|
||||
arguments. There is no need for the multi-argument version.
|
||||
|
||||
This avoids a build failure with glibc and future compilers.
|
||||
The GNU C library declares the makecontext callback of
|
||||
type void (*) (void), so no cast is needed. On other systems,
|
||||
the type may be the (currently distinct) type void (*) (),
|
||||
but given that this only affects the ability to execute a test,
|
||||
no further machinery is added here to detect that different type.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/besser82/libxcrypt/pull/178/]
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
---
|
||||
configure.ac | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 016997c..4b8afd8 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -303,13 +303,11 @@ AS_IF([test $ac_cv_header_ucontext_h = yes],
|
||||
#include <ucontext.h>
|
||||
static int x;
|
||||
static void fn1(void) {}
|
||||
-static void fn2(int a, int b) { x = a - b; }
|
||||
]], [[
|
||||
ucontext_t uc1, uc2;
|
||||
if (getcontext(&uc1)) return 1;
|
||||
if (setcontext(&uc1)) return 1;
|
||||
makecontext(&uc1, fn1, 0);
|
||||
- makecontext(&uc2, fn2, 2, 1, 1);
|
||||
if (swapcontext(&uc1, &uc2)) return 1;
|
||||
return x;
|
||||
]])],
|
||||
@@ -0,0 +1,33 @@
|
||||
From 7b2a0cdc281d94a5782c37ef87040c341447b4b4 Mon Sep 17 00:00:00 2001
|
||||
From: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
Date: Fri, 30 Apr 2021 10:35:02 +0100
|
||||
Subject: [PATCH] libxcrypt: Update to 4.4.19 release and fix symbol version
|
||||
|
||||
If you pass CFLAGS with a leading space, " " gets passed to popen and convinces
|
||||
gcc to try and open a file called " ". This results in a confusing error message
|
||||
like:
|
||||
|
||||
x86_64-pokysdk-linux-gcc: error: : No such file or directory
|
||||
|
||||
Avoid this by stripping empty elements out of CFLAGS.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/besser82/libxcrypt/pull/126]
|
||||
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
|
||||
---
|
||||
build-aux/scripts/compute-symver-floor | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/build-aux/scripts/compute-symver-floor b/build-aux/scripts/compute-symver-floor
|
||||
index 4ec82e1..8117342 100644
|
||||
--- a/build-aux/scripts/compute-symver-floor
|
||||
+++ b/build-aux/scripts/compute-symver-floor
|
||||
@@ -36,6 +36,8 @@ sub preprocessor_check {
|
||||
die "C compiler not available\n" unless @CC;
|
||||
|
||||
@CFLAGS = sh_split($ENV{CFLAGS} // q{});
|
||||
+ # Remove empty elements, particularly leading ones which cause issues with popen below
|
||||
+ @CFLAGS = grep {$_} @CFLAGS;
|
||||
|
||||
# Remove empty elements, particularly leading ones which
|
||||
# cause issues with popen below.
|
||||
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# This provides libcrypto.so.1 which contains obsolete APIs, needed for uninative in particular
|
||||
#
|
||||
|
||||
require libxcrypt.inc
|
||||
|
||||
PROVIDES = ""
|
||||
AUTO_LIBNAME_PKGS = ""
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
|
||||
API = "--enable-obsolete-api"
|
||||
|
||||
do_install:append () {
|
||||
rm -rf ${D}${includedir}
|
||||
rm -rf ${D}${libdir}/pkgconfig
|
||||
rm -rf ${D}${libdir}/libcrypt.so
|
||||
rm -rf ${D}${datadir}
|
||||
}
|
||||
30
sources/poky/meta/recipes-core/libxcrypt/libxcrypt.inc
Normal file
30
sources/poky/meta/recipes-core/libxcrypt/libxcrypt.inc
Normal file
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "Extended cryptographic library (from glibc)"
|
||||
DESCRIPTION = "Forked code from glibc libary to extract only crypto part."
|
||||
HOMEPAGE = "https://github.com/besser82/libxcrypt"
|
||||
SECTION = "libs"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \
|
||||
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
||||
"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https"
|
||||
SRCREV = "f531a36aa916a22ef2ce7d270ba381e264250cbf"
|
||||
SRCBRANCH ?= "master"
|
||||
|
||||
SRC_URI += "file://fix_cflags_handling.patch \
|
||||
file://configure-c99.patch"
|
||||
|
||||
PROVIDES = "virtual/crypt"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
|
||||
TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
|
||||
CPPFLAGS:append:class-nativesdk = " -Wno-error"
|
||||
|
||||
API = "--disable-obsolete-api"
|
||||
EXTRA_OECONF += "${API}"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,2 @@
|
||||
require libxcrypt.inc
|
||||
|
||||
Reference in New Issue
Block a user