@ -22,41 +22,17 @@ PKG_LICENSE_FILES:=COPYING COPYING.LGPL
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
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
SECTION:= utils
SECTION:= utils
CATEGORY:= Utilities
CATEGORY:= Utilities
SUBMENU:= Encryption
SUBMENU:= Encryption
TITLE:= Cryptsetup
TITLE:= Cryptsetup
DEPENDS:= +libblkid +libuuid +libpopt +lvm2 +libdevmapper +libjson-c +@KERNEL_DIRECT_IO
DEPENDS:= +libblkid +libuuid +libpopt +lvm2 +libdevmapper +libjson-c +@KERNEL_DIRECT_IO +kmod-crypto-user
URL:= https://gitlab.com/cryptsetup/cryptsetup/
URL:= https://gitlab.com/cryptsetup/cryptsetup/
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
$( call Package /cryptsetup /Default )
DEPENDS += +kmod-crypto-user
VARIANT:= kernel
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
$( call Package /cryptsetup /Default )
TITLE += ( with openssl support)
DEPENDS += +libopenssl
VARIANT:= openssl
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 / D e f a u l t / d e s c r i p t i o n
Cryptsetup-luks
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 / 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 )
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
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 s c r i p t i o n
$( 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
Cryptsetup is utility used to conveniently setup disk encryption based on DMCrypt kernel module.
e n d e f
e n d e f
CONFIGURE_ARGS += \
CONFIGURE_ARGS += \
@ -66,15 +42,8 @@ CONFIGURE_ARGS += \
--disable-rpath \
--disable-rpath \
--disable-veritysetup \
--disable-veritysetup \
--disable-udev \
--disable-udev \
--with-default-luks-format= LUKS2
i f e q ( $( BUILD_VARIANT ) , o p e n s s l )
CONFIGURE_ARGS += \
--with-crypto_backend= openssl
e l s e
CONFIGURE_ARGS += \
--with-default-luks-format= LUKS2 \
--with-crypto_backend= kernel
--with-crypto_backend= kernel
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
$( INSTALL_DIR) $( 1) /usr/sbin
$( INSTALL_DIR) $( 1) /usr/sbin
@ -83,7 +52,4 @@ define Package/cryptsetup/install
$( CP) $( PKG_BUILD_DIR) /.libs/libcryptsetup.so* $( 1) /usr/lib
$( CP) $( PKG_BUILD_DIR) /.libs/libcryptsetup.so* $( 1) /usr/lib
e n d e f
e n d e f
P a c k a g e / c r y p t s e t u p - o p e n s s l / install = $( Package/cryptsetup/install)
$( eval $ ( call BuildPackage ,cryptsetup ) )
$( eval $ ( call BuildPackage ,cryptsetup ) )
$( eval $ ( call BuildPackage ,cryptsetup -openssl ) )