cryptsetup: update to 1.7.3

This commit is contained in:
Alessio Sergi 2016-10-31 10:44:36 +01:00
parent 54542714cf
commit 3b17a94937
2 changed files with 15 additions and 4 deletions

View file

@ -0,0 +1,11 @@
--- 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,9 +1,9 @@
# Template file for 'cryptsetup'
pkgname=cryptsetup
version=1.7.2
revision=2
version=1.7.3
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --with-crypto_backend=openssl $(vopt_enable pwquality)"
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)"
short_desc="Setup virtual encryption devices under Linux dm-crypt"
@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="https://gitlab.com/cryptsetup/cryptsetup"
distfiles="${KERNEL_SITE}/utils/cryptsetup/v${version%.*}/${pkgname}-${version}.tar.xz"
checksum=dbb35dbf5f0c1749168c86c913fe98e872247bfc8425314b494c2423e7e43342
checksum=af2b04e8475cf40b8d9ffd97a1acfa73aa787c890430afd89804fb544d6adc02
build_options="pwquality"
desc_option_pwquality="Enable support for checking password quality via libpwquality"