libgcrypt: 1.11.2 -> 1.12.2

1.12.0: https://dev.gnupg.org/T7643, https://lists.gnupg.org/pipermail/gnupg-announce/2026q1/000502.html
1.12.1: https://dev.gnupg.org/T8067
1.12.2: https://dev.gnupg.org/T8114, https://lists.gnupg.org/pipermail/gnupg-announce/2026q2/000503.html

(cherry picked from commit 5131deab4e)
(cherry picked from commit 3cfb42b48e77a9ae29b846f9146402dc47692ced)
This commit is contained in:
whispers
2026-06-22 08:21:27 +02:00
committed by Vladimír Čunát
parent e40d42cbb7
commit 15c74e4f1e
+2 -13
View File
@@ -17,11 +17,11 @@ assert enableCapabilities -> stdenv.hostPlatform.isLinux;
stdenv.mkDerivation rec {
pname = "libgcrypt";
version = "1.11.2";
version = "1.12.2";
src = fetchurl {
url = "mirror://gnupg/libgcrypt/${pname}-${version}.tar.bz2";
hash = "sha256-a6Wd0ZInDowdIt20GgfZXc28Hw+wLQPEtUsjWBQzCqw=";
hash = "sha256-fOM8JJIiGgQ2+WqFACFenz49y1/SanV81BXnqEO6vV4=";
};
outputs = [
@@ -73,17 +73,6 @@ stdenv.mkDerivation rec {
postConfigure = ''
sed -i configure \
-e 's/NOEXECSTACK_FLAGS=$/NOEXECSTACK_FLAGS="-Wa,--noexecstack"/'
''
# The cipher/simd-common-riscv.h wasn't added to the release tarball, please remove this hack on next version update
# https://dev.gnupg.org/T7647
+ lib.optionalString stdenv.hostPlatform.isRiscV ''
cp ${
fetchurl {
url = "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob_plain;f=cipher/simd-common-riscv.h;h=8381000f9ac148c60a6963a1d9ec14a3fee1c576;hb=81ce5321b1b79bde6dfdc3c164efb40c13cf656b";
hash = "sha256-Toe15YLAOYULnLc2fGMMv/xzs/q1t3LsyiqtL7imc+8=";
name = "simd-common-riscv.h";
}
} cipher/simd-common-riscv.h
'';
enableParallelBuilding = true;