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,27 @@
|
||||
From fb0b58be938bab5571ac0bdec3725f6d88b07e9f Mon Sep 17 00:00:00 2001
|
||||
From: Jeremy Puhlman <jpuhlman@mvista.com>
|
||||
Date: Sat, 22 Feb 2020 19:01:28 +0000
|
||||
Subject: [PATCH] Remove timestamp from manpage
|
||||
|
||||
Upstream-Status: Submitted [lsb-discuss@lists.linux-foundation.org]
|
||||
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 04fdecd..5be8081 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -17,7 +17,7 @@ man: lsb_release.1.gz
|
||||
|
||||
lsb_release.1.gz: lsb_release
|
||||
@./help2man -N --include ./lsb_release.examples --alt_version_key=program_version ./lsb_release >lsb_release.1
|
||||
- @gzip -9f lsb_release.1
|
||||
+ @gzip -9fn lsb_release.1
|
||||
|
||||
install: all
|
||||
install -D -m 644 lsb_release.1.gz ${mandir}/man1/lsb_release.1.gz
|
||||
--
|
||||
2.13.3
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
From cba901945c5a6da9586550498f8e3787c57c3098 Mon Sep 17 00:00:00 2001
|
||||
From: Athanasios Oikonomou <athoik@gmail.com>
|
||||
Date: Fri, 17 Feb 2017 21:04:04 +0200
|
||||
Subject: [PATCH] fix lsb_release to work with busybox head and find
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Athanasios Oikonomou <athoik@gmail.com>
|
||||
|
||||
diff --git a/lsb_release b/lsb_release
|
||||
index e7d6024..233b8c1 100755
|
||||
--- a/lsb_release
|
||||
+++ b/lsb_release
|
||||
@@ -209,7 +209,7 @@ EASE ($DISTRIB_CODENAME)"
|
||||
|| [ -n "$(echo $DISTRIB_DESCRIPTION | \
|
||||
sed -e "s/.*$DESCSTR_DELI.*//")" ]
|
||||
then
|
||||
- TMP_DISTRIB_DESC=$(head -1 $FILENAME 2>/dev/null)
|
||||
+ TMP_DISTRIB_DESC=$(head -n 1 $FILENAME 2>/dev/null)
|
||||
[ -z "$DISTRIB_DESCRIPTION" ] \
|
||||
&& DISTRIB_DESCRIPTION=$TMP_DISTRIB_DESC
|
||||
else
|
||||
@@ -249,10 +249,10 @@ GetDistribInfo() {
|
||||
then
|
||||
CHECKFIRST=$(find $INFO_ROOT/ -maxdepth 1 \
|
||||
-name \*$INFO_DISTRIB_SUFFIX \
|
||||
- -and ! -name $INFO_LSB_FILE \
|
||||
- -and -type f \
|
||||
+ -type f \
|
||||
2>/dev/null \
|
||||
- | head -1 ) # keep one of the files found (if many)
|
||||
+ | grep -v $INFO_LSB_FILE \
|
||||
+ | head -n 1 ) # keep one of the files found (if many)
|
||||
fi
|
||||
InitDistribInfo $CHECKFIRST
|
||||
fi
|
||||
--
|
||||
2.1.4
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
lsb-release maintains it's own copy of help2man. Include the support
|
||||
for specifying SOURCE_DATE_EPOCH from upstream.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
||||
|
||||
diff --git a/help2man b/help2man
|
||||
index 13015c2..63439db 100755
|
||||
--- a/help2man
|
||||
+++ b/help2man
|
||||
@@ -173,7 +173,14 @@ my ($help_text, $version_text) = map {
|
||||
or die "$this_program: can't get `--$_' info from $ARGV[0]\n"
|
||||
} qw(help), $opt_version_key;
|
||||
|
||||
-my $date = strftime "%B %Y", localtime;
|
||||
+my $epoch_secs = time;
|
||||
+if (exists $ENV{SOURCE_DATE_EPOCH} and $ENV{SOURCE_DATE_EPOCH} =~ /^(\d+)$/)
|
||||
+{
|
||||
+ $epoch_secs = $1;
|
||||
+ $ENV{TZ} = 'UTC0';
|
||||
+}
|
||||
+
|
||||
+my $date = strftime "%B %Y", localtime $epoch_secs;
|
||||
(my $program = $ARGV[0]) =~ s!.*/!!;
|
||||
my $package = $program;
|
||||
my $version;
|
||||
37
sources/poky/meta/recipes-extended/lsb/lsb-release_1.4.bb
Normal file
37
sources/poky/meta/recipes-extended/lsb/lsb-release_1.4.bb
Normal file
@@ -0,0 +1,37 @@
|
||||
SUMMARY = "lsb_release support for OpenEmbedded"
|
||||
SECTION = "console/utils"
|
||||
HOMEPAGE = "https://sourceforge.net/projects/lsb/files"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
|
||||
# lsb_release needs getopt
|
||||
RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_getopt}"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/1.4/lsb-release-1.4.tar.gz \
|
||||
file://0001-fix-lsb_release-to-work-with-busybox-head-and-find.patch \
|
||||
file://0001-Remove-timestamp-from-manpage.patch \
|
||||
file://help2man-reproducibility.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lsb/files/lsb_release/"
|
||||
UPSTREAM_CHECK_REGEX = "/lsb_release/(?P<pver>(\d+[\.\-_]*)+)/"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
do_install() {
|
||||
oe_runmake install prefix=${D}${root_prefix} mandir=${D}${datadir}/man/ DESTDIR=${D}
|
||||
|
||||
mkdir -p ${D}${sysconfdir}/lsb-release.d
|
||||
|
||||
echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release
|
||||
echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}${sysconfdir}/lsb-release
|
||||
if [ -n "${DISTRO_CODENAME}" ]; then
|
||||
echo "DISTRIB_CODENAME=\"${DISTRO_CODENAME}\"" >> ${D}${sysconfdir}/lsb-release
|
||||
fi
|
||||
echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/lsb-release
|
||||
}
|
||||
|
||||
FILES:${PN} += "${base_libdir}"
|
||||
Reference in New Issue
Block a user