From 6f7c5fe13f0f8b2872b61bf1ac74f225e18331ef Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sat, 18 Mar 2023 20:38:49 -0400 Subject: cryptmout: update to 6.2.0 Change LIC_FILES_CHKSUM to use COPYING Signed-off-by: Armin Kuster --- recipes-security/cryptmount/cryptmount_6.0.bb | 36 ------------------------- recipes-security/cryptmount/cryptmount_6.2.0.bb | 34 +++++++++++++++++++++++ 2 files changed, 34 insertions(+), 36 deletions(-) delete mode 100644 recipes-security/cryptmount/cryptmount_6.0.bb create mode 100644 recipes-security/cryptmount/cryptmount_6.2.0.bb diff --git a/recipes-security/cryptmount/cryptmount_6.0.bb b/recipes-security/cryptmount/cryptmount_6.0.bb deleted file mode 100644 index d712a61..0000000 --- a/recipes-security/cryptmount/cryptmount_6.0.bb +++ /dev/null @@ -1,36 +0,0 @@ -SUMMARY = "Linux encrypted filesystem management tool" -HOMEPAGE = "http://cryptmount.sourceforge.net/" -LIC_FILES_CHKSUM = "file://README;beginline=3;endline=4;md5=dae0772f0ff46fd927e7fdb08af51b71" -LICENSE = "GPL-2.0-only" - -SRC_URI = "https://sourceforge.net/projects/cryptmount/files/${BPN}/${BPN}-${PV}/${BPN}-${PV}.tar.gz \ - " - -SRC_URI[sha256sum] = "86528a9175e1eb53f60613e3c3ea6ae6d69dbfe5ac2b53b2f58ba0f768371e7e" - -inherit autotools-brokensep gettext pkgconfig systemd - -EXTRA_OECONF = " --enable-cswap --enable-fsck --enable-argv0switch" - -PACKAGECONFIG ?="intl luks gcrypt nls" -PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" - -PACKAGECONFIG[systemd] = "--with-systemd, --without-systemd, systemd" -PACKAGECONFIG[intl] = "--with-libintl-prefix, --without-libintl-prefix" -PACKAGECONFIG[gcrypt] = "--with-libgcrypt, --without-libgcrypt, libgcrypt" -PACKAGECONFIG[luks] = "--enable-luks, --disable-luks, cryptsetup" -PACKAGECONFIG[nls] = "--enable-nls, --disable-nls, " - -SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE:${PN} = "cryptmount.service" - -do_install:append () { - if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then - install -D -m 0644 ${S}/sysinit/cryptmount.service ${D}${systemd_system_unitdir}/cryptmount.service - rm -fr ${D}/usr/lib - fi -} - -FILES:${PN} += "${systemd_system_unitdir}" - -RDEPENDS:${PN} = "libdevmapper" diff --git a/recipes-security/cryptmount/cryptmount_6.2.0.bb b/recipes-security/cryptmount/cryptmount_6.2.0.bb new file mode 100644 index 0000000..d815e1d --- /dev/null +++ b/recipes-security/cryptmount/cryptmount_6.2.0.bb @@ -0,0 +1,34 @@ +SUMMARY = "Linux encrypted filesystem management tool" +HOMEPAGE = "http://cryptmount.sourceforge.net/" +LIC_FILES_CHKSUM = "file://COPYING;beginline=1;endline=4;md5=6e69c425bf32ecf9b1e11d29d146d03d" +LICENSE = "GPL-2.0-only" +SRC_URI = "https://sourceforge.net/projects/cryptmount/files/${BPN}/${BPN}-6.2/${BPN}-${PV}.tar.gz" + +SRC_URI[sha256sum] = "90cc49fd598d636929c70479b1305f12b011edadf4a54578ace6c0fca8cb5ed2" + +inherit autotools-brokensep gettext pkgconfig systemd + +EXTRA_OECONF = " --enable-cswap --enable-fsck --enable-argv0switch" + +PACKAGECONFIG ?="intl luks gcrypt nls" +PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" + +PACKAGECONFIG[systemd] = "--with-systemd, --without-systemd, systemd" +PACKAGECONFIG[intl] = "--with-libintl-prefix, --without-libintl-prefix" +PACKAGECONFIG[gcrypt] = "--with-libgcrypt, --without-libgcrypt, libgcrypt" +PACKAGECONFIG[luks] = "--enable-luks, --disable-luks, cryptsetup" +PACKAGECONFIG[nls] = "--enable-nls, --disable-nls, " + +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE:${PN} = "cryptmount.service" + +do_install:append () { + if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then + install -D -m 0644 ${S}/sysinit/cryptmount.service ${D}${systemd_system_unitdir}/cryptmount.service + rm -fr ${D}/usr/lib + fi +} + +FILES:${PN} += "${systemd_system_unitdir}" + +RDEPENDS:${PN} = "libdevmapper" -- cgit v1.2.3-54-g00ecf