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,32 @@
|
||||
From 32f99ce7e890a457af50606ea7b577659a2a790a Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 25 Mar 2024 17:35:07 -0700
|
||||
Subject: [PATCH] include libgen.h for basename
|
||||
|
||||
basename prototype has been removed from string.h from latest musl [1]
|
||||
compilers e.g. clang-18 flags the absense of prototype as error. therefore
|
||||
include libgen.h for providing it.
|
||||
|
||||
[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/thkukuk/wtmpdb/pull/11]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/wtmpdb.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/wtmpdb.c b/src/wtmpdb.c
|
||||
index aac7b5b..eaffae6 100644
|
||||
--- a/src/wtmpdb.c
|
||||
+++ b/src/wtmpdb.c
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <time.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
+#include <libgen.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
--
|
||||
2.44.0
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "Y2038 safe version of wtmp"
|
||||
HOMEPAGE = "https://github.com/thkukuk/wtmpdb"
|
||||
DESCRIPTION = "last reports the login and logout times of users and when the machine got rebooted."
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c"
|
||||
SECTION = "libs"
|
||||
|
||||
SRCREV = "493e9704dbc50f141d5fbd41c823311e79d7e8d3"
|
||||
|
||||
SRC_URI = "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https \
|
||||
file://0001-include-libgen.h-for-basename.patch"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig systemd features_check
|
||||
|
||||
DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} sqlite3 "
|
||||
REQUIRED_DISTRO_FEATURES = "pam"
|
||||
|
||||
SYSTEMD_SERVICE:${PN} = "wtmpdb-update-boot.service wtmpdb-rotate.service"
|
||||
|
||||
EXTRA_OEMESON = " -Dpamlibdir=${libdir}"
|
||||
|
||||
do_install:append () {
|
||||
if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
|
||||
# Fix makefile hardcoded path assumptions for systemd (assumes $prefix)
|
||||
# without usrmerge distro feature enabled
|
||||
install -d `dirname ${D}${systemd_unitdir}`
|
||||
mv ${D}${prefix}/lib/systemd `dirname ${D}${systemd_unitdir}`
|
||||
fi
|
||||
}
|
||||
|
||||
FILES:${PN} += " ${systemd_system_unitdir} "
|
||||
FILES:${PN} += " ${libdir} "
|
||||
FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* "
|
||||
Reference in New Issue
Block a user