@ -9,22 +9,19 @@ include $(TOPDIR)/rules.mk
PKG_NAME := cryptsetup
PKG_NAME := cryptsetup
PKG_VERSION := 2.0.6
PKG_VERSION := 2.0.6
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := @KERNEL/linux/utils/cryptsetup/v2.0
PKG_SOURCE_URL := @KERNEL/linux/utils/cryptsetup/v2.0
PKG_HASH := 7c51fae0f0e7ea9af0f515b2ac77009fb2969a6619ebab47d097dca38b083d30
PKG_HASH := 7c51fae0f0e7ea9af0f515b2ac77009fb2969a6619ebab47d097dca38b083d30
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) -$( BUILD_VARIANT) /$( PKG_NAME) -$( PKG_VERSION)
PKG_MAINTAINER := Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE := GPL-2.0+ LGPL-2.1+
PKG_LICENSE := GPL-2.0+ LGPL-2.1+
PKG_LICENSE_FILES := COPYING COPYING.LGPL
PKG_LICENSE_FILES := COPYING COPYING.LGPL
PKG_MAINTAINER := Daniel Golle <daniel@makrotopia.org>
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) -$( BUILD_VARIANT) /$( PKG_NAME) -$( PKG_VERSION)
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
TARGET_LDFLAGS += -Wl,-rpath-link= $( STAGING_DIR) /usr/lib
d e f i n e P a c k a g e / c r y p t s e t u p / D e f a u l t
d e f i n e P a c k a g e / c r y p t s e t u p / D e f a u l t
SECTION:= utils
SECTION:= utils
CATEGORY:= Utilities
CATEGORY:= Utilities
@ -36,8 +33,8 @@ endef
d e f i n e P a c k a g e / c r y p t s e t u p
d e f i n e P a c k a g e / c r y p t s e t u p
$( call Package /cryptsetup /Default )
$( call Package /cryptsetup /Default )
DEPENDS += +libgcrypt
VARIANT:= gcrypt
DEPENDS += +kmod-crypto-user
VARIANT:= kernel
e n d e f
e n d e f
d e f i n e P a c k a g e / c r y p t s e t u p - o p e n s s l
d e f i n e P a c k a g e / c r y p t s e t u p - o p e n s s l
@ -53,7 +50,7 @@ endef
d e f i n e P a c k a g e / c r y p t s e t u p / d e s c r i p t i o n
d e f i n e P a c k a g e / c r y p t s e t u p / d e s c r i p t i o n
$( call Package /cryptsetup /Default /description )
$( call Package /cryptsetup /Default /description )
l i n k e d a g a i n s t l i b g c r y p t
l i n k e d a g a i n s t k e r n e l c r y p t o A P I
e n d e f
e n d e f
@ -62,9 +59,21 @@ $(call Package/cryptsetup/Default/description)
l i n k e d a g a i n s t o p e n s s l
l i n k e d a g a i n s t o p e n s s l
e n d e f
e n d e f
CONFIGURE_ARGS += \
--disable-cryptsetup-reencrypt \
--disable-integritysetup \
--disable-selinux \
--disable-rpath \
--disable-veritysetup \
--disable-udev \
--with-default-luks-format= LUKS2
i f e q ( $( BUILD_VARIANT ) , o p e n s s l )
i f e q ( $( BUILD_VARIANT ) , o p e n s s l )
CONFIGURE_ARGS += \
CONFIGURE_ARGS += \
--with-crypto_backend= openssl
--with-crypto_backend= openssl
e l s e
CONFIGURE_ARGS += \
--with-crypto_backend= kernel
e n d i f
e n d i f
d e f i n e P a c k a g e / c r y p t s e t u p / i n s t a l l
d e f i n e P a c k a g e / c r y p t s e t u p / i n s t a l l