From e8e731818928fcc822688a53d244a98ef5f02488 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sun, 25 Sep 2022 15:19:51 -0400 Subject: cryptmount: update to 6.0 LIC_FILES_CHKSUM changed do to yr change Drop patch remove_linux_fs.patch Signed-off-by: Armin Kuster --- recipes-security/cryptmount/cryptmount_5.3.3.bb | 37 ---------------------- recipes-security/cryptmount/cryptmount_6.0.bb | 36 +++++++++++++++++++++ .../cryptmount/files/remove_linux_fs.patch | 19 ----------- 3 files changed, 36 insertions(+), 56 deletions(-) delete mode 100644 recipes-security/cryptmount/cryptmount_5.3.3.bb create mode 100644 recipes-security/cryptmount/cryptmount_6.0.bb delete mode 100644 recipes-security/cryptmount/files/remove_linux_fs.patch diff --git a/recipes-security/cryptmount/cryptmount_5.3.3.bb b/recipes-security/cryptmount/cryptmount_5.3.3.bb deleted file mode 100644 index 6741a5f..0000000 --- a/recipes-security/cryptmount/cryptmount_5.3.3.bb +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "Linux encrypted filesystem management tool" -HOMEPAGE = "http://cryptmount.sourceforge.net/" -LIC_FILES_CHKSUM = "file://README;beginline=3;endline=4;md5=673a990de93a2c5531a0f13f1c40725a" -LICENSE = "GPL-2.0-only" - -SRC_URI = "https://sourceforge.net/projects/cryptmount/files/${BPN}/${BPN}-5.3/${BPN}-${PV}.tar.gz \ - file://remove_linux_fs.patch \ - " - -SRC_URI[sha256sum] = "682953ff5ba497d48d6b13e22ca726c98659abd781bb8596bb299640dd255d9b" - -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.0.bb b/recipes-security/cryptmount/cryptmount_6.0.bb new file mode 100644 index 0000000..d712a61 --- /dev/null +++ b/recipes-security/cryptmount/cryptmount_6.0.bb @@ -0,0 +1,36 @@ +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/files/remove_linux_fs.patch b/recipes-security/cryptmount/files/remove_linux_fs.patch deleted file mode 100644 index 304b853..0000000 --- a/recipes-security/cryptmount/files/remove_linux_fs.patch +++ /dev/null @@ -1,19 +0,0 @@ -# From glibc 2.36, (included from ) and -# (included from glibc) are no longer compatible: -# https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E - -Upstream-Status: Pending -Signed-off-by: Armin Kuster - -Index: cryptmount-5.3.3/cryptmount.c -=================================================================== ---- cryptmount-5.3.3.orig/cryptmount.c -+++ cryptmount-5.3.3/cryptmount.c -@@ -41,7 +41,6 @@ - #ifdef HAVE_SYSLOG - # include - #endif --#include /* Beware ordering conflict with sys/mount.h */ - - - #include "armour.h" -- cgit v1.2.3-54-g00ecf