Files
tqma6-yocto-mirror/sources/meta-openembedded/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb
Siggi (OpenClaw Agent) 16accb6b24 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)
2026-03-01 21:14:11 +00:00

37 lines
1.3 KiB
BlitzBasic

SUMMARY = "Y2038 safe version of lastlog"
HOMEPAGE = "https://github.com/thkukuk/lastlog2"
DESCRIPTION = "lastlog reports the last login of a given user or of all users who did ever login on a system."
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c"
SECTION = "libs"
SRCREV = "6138dff6f2a5216065fa4833a223b56d98cb62f3"
SRC_URI = "git://github.com/thkukuk/lastlog2.git;branch=main;protocol=https \
file://0001-remove-lto-to-fix-link-error-of-clang.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} = "lastlog2-import.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/* "