summaryrefslogtreecommitdiffstats
path: root/package/cryptsetup
diff options
context:
space:
mode:
Diffstat (limited to 'package/cryptsetup')
-rw-r--r--package/cryptsetup/Config.in.host8
-rw-r--r--package/cryptsetup/cryptsetup.mk10
2 files changed, 18 insertions, 0 deletions
diff --git a/package/cryptsetup/Config.in.host b/package/cryptsetup/Config.in.host
new file mode 100644
index 0000000000..7060ed16a9
--- /dev/null
+++ b/package/cryptsetup/Config.in.host
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_HOST_CRYPTSETUP
+ bool "host-cryptsetup"
+ select BR2_PACKAGE_HOST_UTIL_LINUX
+ help
+ This tool helps manipulate dm-crypt and luks partitions for
+ on-disk encryption.
+
+ https://gitlab.com/cryptsetup/cryptsetup
diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk
index 5496583028..6b0fa318aa 100644
--- a/package/cryptsetup/cryptsetup.mk
+++ b/package/cryptsetup/cryptsetup.mk
@@ -28,4 +28,14 @@ else
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=kernel
endif
+HOST_CRYPTSETUP_DEPENDENCIES = \
+ host-pkgconf \
+ host-lvm2 \
+ host-popt \
+ host-util-linux \
+ host-openssl
+
+HOST_CRYPTSETUP_CONF_OPTS = --with-crypto-backend=openssl
+
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
OpenPOWER on IntegriCloud