mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
cryptsetup: update to 1.7.3
This commit is contained in:
parent
54542714cf
commit
3b17a94937
2 changed files with 15 additions and 4 deletions
11
srcpkgs/cryptsetup/patches/libressl.patch
Normal file
11
srcpkgs/cryptsetup/patches/libressl.patch
Normal 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));
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'cryptsetup'
|
# Template file for 'cryptsetup'
|
||||||
pkgname=cryptsetup
|
pkgname=cryptsetup
|
||||||
version=1.7.2
|
version=1.7.3
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
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"
|
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"
|
short_desc="Setup virtual encryption devices under Linux dm-crypt"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="https://gitlab.com/cryptsetup/cryptsetup"
|
homepage="https://gitlab.com/cryptsetup/cryptsetup"
|
||||||
distfiles="${KERNEL_SITE}/utils/cryptsetup/v${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="${KERNEL_SITE}/utils/cryptsetup/v${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=dbb35dbf5f0c1749168c86c913fe98e872247bfc8425314b494c2423e7e43342
|
checksum=af2b04e8475cf40b8d9ffd97a1acfa73aa787c890430afd89804fb544d6adc02
|
||||||
|
|
||||||
build_options="pwquality"
|
build_options="pwquality"
|
||||||
desc_option_pwquality="Enable support for checking password quality via libpwquality"
|
desc_option_pwquality="Enable support for checking password quality via libpwquality"
|
||||||
|
|
Loading…
Add table
Reference in a new issue