cryptsetup: update to 1.7.4

This commit is contained in:
Alessio Sergi 2017-03-16 23:19:28 +01:00
parent e57c183e7f
commit bab4cdb45c
2 changed files with 5 additions and 15 deletions

View File

@ -1,11 +0,0 @@
--- lib/crypto_backend/crypto_openssl.c.orig 2016-10-28 10:58:10.000000000 +0200
+++ lib/crypto_backend/crypto_openssl.c 2016-10-31 02:17:52.154628201 +0100
@@ -73,7 +73,7 @@
/*
* Compatible wrappers for OpenSSL < 1.1.0
*/
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
static EVP_MD_CTX *EVP_MD_CTX_new(void)
{
EVP_MD_CTX *md = malloc(sizeof(*md));

View File

@ -1,17 +1,18 @@
# Template file for 'cryptsetup'
pkgname=cryptsetup
version=1.7.3
version=1.7.4
revision=1
build_style=gnu-configure
configure_args="--with-crypto_backend=openssl $(vopt_enable pwquality)"
hostmakedepends="pkg-config"
makedepends="popt-devel libuuid-devel device-mapper-devel libressl-devel $(vopt_if pwquality libpwquality-devel)"
makedepends="popt-devel libuuid-devel device-mapper-devel libressl-devel
$(vopt_if pwquality libpwquality-devel)"
short_desc="Setup virtual encryption devices under Linux dm-crypt"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
license="GPL-2"
homepage="https://gitlab.com/cryptsetup/cryptsetup"
distfiles="${KERNEL_SITE}/utils/cryptsetup/v${version%.*}/${pkgname}-${version}.tar.xz"
checksum=af2b04e8475cf40b8d9ffd97a1acfa73aa787c890430afd89804fb544d6adc02
checksum=7ccf893ef79a38fb92d61f03c17b964982119f5319cdaa85a1335b8558cca016
build_options="pwquality"
desc_option_pwquality="Enable support for checking password quality via libpwquality"