Message ID | 1724912426-9977-1-git-send-email-wangmy@fujitsu.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] lastlog2: remove recipe since it has been merged into util-linux | expand |
can you rebase this on master-next branch and resend On Wed, Aug 28, 2024 at 11:20 PM wangmy via lists.openembedded.org <wangmy=fujitsu.com@lists.openembedded.org> wrote: > > From: Wang Mingyu <wangmy@fujitsu.com> > > The lastlog2 has been merged into util-linux: > https://github.com/thkukuk/lastlog2/commit/60bea9dcee0fa18ea3dce0372a14f5e4f177ada6 > > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> > --- > .../lastlog2/lastlog2_1.2.0.bb | 36 ------------------- > 1 file changed, 36 deletions(-) > delete mode 100644 meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb > > diff --git a/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb b/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb > deleted file mode 100644 > index 0b3ab1f82..000000000 > --- a/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb > +++ /dev/null > @@ -1,36 +0,0 @@ > -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=${base_libdir}/security" > - > -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/* " > -- > 2.34.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#112032): https://lists.openembedded.org/g/openembedded-devel/message/112032 > Mute This Topic: https://lists.openembedded.org/mt/108156758/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb b/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb deleted file mode 100644 index 0b3ab1f82..000000000 --- a/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb +++ /dev/null @@ -1,36 +0,0 @@ -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=${base_libdir}/security" - -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/* "