cryptsetup: update to 2.4.1.
This commit is contained in:
parent
a73599d517
commit
a621df34f4
1 changed files with 12 additions and 11 deletions
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'cryptsetup'
|
# Template file for 'cryptsetup'
|
||||||
pkgname=cryptsetup
|
pkgname=cryptsetup
|
||||||
version=2.3.6
|
version=2.4.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-crypto_backend=openssl $(vopt_enable pwquality)
|
configure_args="--with-crypto_backend=openssl --enable-cryptsetup-reencrypt
|
||||||
--enable-cryptsetup-reencrypt --enable-libargon2"
|
--enable-libargon2 $(vopt_enable pwquality)"
|
||||||
make_check_args="-C tests"
|
make_check_args="-C tests"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="device-mapper-devel json-c-devel openssl-devel popt-devel
|
makedepends="device-mapper-devel json-c-devel openssl-devel popt-devel
|
||||||
libargon2-devel $(vopt_if pwquality 'libpwquality-devel')"
|
libargon2-devel libssh-devel $(vopt_if pwquality libpwquality-devel)"
|
||||||
checkdepends="procps-ng which jq tar xz xxd"
|
checkdepends="procps-ng which jq tar xz xxd"
|
||||||
short_desc="Setup virtual encryption devices under Linux dm-crypt"
|
short_desc="Setup virtual encryption devices under Linux dm-crypt"
|
||||||
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
|
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
|
||||||
|
@ -16,7 +16,7 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://gitlab.com/cryptsetup/cryptsetup"
|
homepage="https://gitlab.com/cryptsetup/cryptsetup"
|
||||||
changelog="https://gitlab.com/cryptsetup/cryptsetup/raw/master/docs/v${version}-ReleaseNotes"
|
changelog="https://gitlab.com/cryptsetup/cryptsetup/raw/master/docs/v${version}-ReleaseNotes"
|
||||||
distfiles="${KERNEL_SITE}/utils/cryptsetup/v${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="${KERNEL_SITE}/utils/cryptsetup/v${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=b296b7a21ea576c2b180611ccb19d06aec8dddaedf7c704b0c6a81210c25635f
|
checksum=a356a727a83a464ade566e95239622a22dbe4e0f482b198fdb04ab0d3a5a9c5f
|
||||||
make_check=extended
|
make_check=extended
|
||||||
subpackages="libcryptsetup cryptsetup-devel"
|
subpackages="libcryptsetup cryptsetup-devel"
|
||||||
|
|
||||||
|
@ -32,12 +32,13 @@ post_patch() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
*-musl)
|
configure_args+=" --enable-static-cryptsetup"
|
||||||
configure_args+=" --enable-static-cryptsetup"
|
subpackages+=" cryptsetup-static"
|
||||||
subpackages+=" cryptsetup-static"
|
|
||||||
;;
|
makedepends+=" argp-standalone"
|
||||||
esac
|
LDFLAGS+=" -largp"
|
||||||
|
fi
|
||||||
|
|
||||||
cryptsetup-static_package() {
|
cryptsetup-static_package() {
|
||||||
short_desc+=" - static cryptsetup"
|
short_desc+=" - static cryptsetup"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue