diff --git a/srcpkgs/cryptsetup/patches/libressl.patch b/srcpkgs/cryptsetup/patches/libressl.patch new file mode 100644 index 00000000000..1766b3fb2a6 --- /dev/null +++ b/srcpkgs/cryptsetup/patches/libressl.patch @@ -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)); diff --git a/srcpkgs/cryptsetup/template b/srcpkgs/cryptsetup/template index adef2276043..a123bb5eea6 100644 --- a/srcpkgs/cryptsetup/template +++ b/srcpkgs/cryptsetup/template @@ -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 " 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"