summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/lastlog2/lastlog2_1.3.1.bb36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-oe/recipes-extended/lastlog2/lastlog2_1.3.1.bb b/meta-oe/recipes-extended/lastlog2/lastlog2_1.3.1.bb
deleted file mode 100644
index ebabcfd403..0000000000
--- a/meta-oe/recipes-extended/lastlog2/lastlog2_1.3.1.bb
+++ /dev/null
@@ -1,36 +0,0 @@
1SUMMARY = "Y2038 safe version of lastlog"
2HOMEPAGE = "https://github.com/thkukuk/lastlog2"
3DESCRIPTION = "lastlog reports the last login of a given user or of all users who did ever login on a system."
4LICENSE = "BSD-2-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c"
6SECTION = "libs"
7
8SRCREV = "8a743b6559e7b8a9b40747866054d3fb5041a498"
9
10SRC_URI = "git://github.com/thkukuk/lastlog2.git;branch=main;protocol=https \
11 file://0001-remove-lto-to-fix-link-error-of-clang.patch \
12"
13
14S = "${WORKDIR}/git"
15
16inherit meson pkgconfig systemd features_check
17
18DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} sqlite3 "
19REQUIRED_DISTRO_FEATURES = "pam"
20
21SYSTEMD_SERVICE:${PN} = "lastlog2-import.service"
22
23EXTRA_OEMESON = " -Dpamlibdir=${base_libdir}/security"
24
25do_install:append () {
26 if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
27 # Fix makefile hardcoded path assumptions for systemd (assumes $prefix)
28 # without usrmerge distro feature enabled
29 install -d `dirname ${D}${systemd_unitdir}`
30 mv ${D}${prefix}/lib/systemd `dirname ${D}${systemd_unitdir}`
31 fi
32}
33
34FILES:${PN} += " ${systemd_system_unitdir} "
35FILES:${PN} += " ${libdir} "
36FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* "