cryptsetup: remove hard dependency on libgcrypt
authorFloris Bos <bos@je-eigen-domein.nl>
Wed, 4 Feb 2015 18:33:28 +0000 (19:33 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Mar 2015 21:15:57 +0000 (22:15 +0100)
commit7f57e79a7e61f5e7760e89bca9f466be139c693d
tree9484505af616ef155dd044601c05965b2b954232
parentdc47198684c01dac58518a2b06b59f78c86f50ff
cryptsetup: remove hard dependency on libgcrypt

- Add support for the alternative OpenSSL and Linux kernel crypto backends.
The latter does require that additional kernel modules (like algif_hash)
are present and loaded before invoking cryptsetup, so is used as last choice.

- Removes CRYPTSETUP_AUTORECONF as it is redundant, and reconf does
create a dependency on libgcrypt for the m4 macros used.

[Thomas: add an explicit --with-crypto_backend=gcrypt with the
libgcrypt backend is requested.]

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/cryptsetup/Config.in
package/cryptsetup/cryptsetup.mk