Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cryptsetup: update to version 2.7.5 #25859

Merged
merged 1 commit into from
Feb 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 40 additions & 5 deletions utils/cryptsetup/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=cryptsetup
PKG_VERSION:=2.7.4
PKG_VERSION:=2.7.5
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/cryptsetup/v$(subst $(space),.,$(wordlist 1, 2, $(subst .,$(space),$(PKG_VERSION))))
PKG_HASH:=dce29903a58f7b774fe61191e7e6de955de0f40d9e27b0028ffcf3438c0e9480
PKG_HASH:=d2be4395b8f503b0ebf4b2d81db90c35a97050a358ee21fe62a0dfb66e5d5522

PKG_MAINTAINER:=Daniel Golle <[email protected]>
PKG_LICENSE:=GPL-2.0-or-later LGPL-2.1-or-later
Expand Down Expand Up @@ -56,13 +56,36 @@ define Package/cryptsetup-ssh/description
Experimental SSH token support for cryptsetup.
endef

define Package/integritysetup
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Encryption
TITLE:=integritysetup
DEPENDS:=+cryptsetup
URL:=https://gitlab.com/cryptsetup/cryptsetup/
endef

define Package/integritysetup/description
Manage dm-integrity (block level integrity) volumes
endef

define Package/veritysetup
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Encryption
TITLE:=veritysetup
DEPENDS:=+cryptsetup
URL:=https://gitlab.com/cryptsetup/cryptsetup/
endef

define Package/veritysetup/description
Manage dm-verity (block level verification) volumes
endef

CONFIGURE_ARGS += \
--disable-asciidoc \
--disable-cryptsetup-reencrypt \
--disable-integritysetup \
--disable-selinux \
--disable-rpath \
--disable-veritysetup \
--disable-udev \
--with-default-luks-format=LUKS2 \
--with-luks2-lock-path=/var/run/cryptsetup \
Expand Down Expand Up @@ -102,5 +125,17 @@ define Package/cryptsetup-ssh/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/cryptsetup-ssh $(1)/usr/sbin
endef

define Package/integritysetup/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/integritysetup $(1)/usr/sbin
endef

define Package/veritysetup/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/veritysetup $(1)/usr/sbin
endef

$(eval $(call BuildPackage,cryptsetup))
$(eval $(call BuildPackage,cryptsetup-ssh))
$(eval $(call BuildPackage,integritysetup))
$(eval $(call BuildPackage,veritysetup))