summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-08-30 15:53:43 +0000
committerwiz <wiz@pkgsrc.org>2021-08-30 15:53:43 +0000
commit0a951e5edf8fa04362cf4a1f6e649dd32f9c0369 (patch)
tree90cb4e95a08af1db90ea2ebf26853668557b0c9a
parent62f1f024645595c3eebbff94bdbc6d3286b3ae91 (diff)
downloadpkgsrc-0a951e5edf8fa04362cf4a1f6e649dd32f9c0369.tar.gz
libgcrypt: update to 1.9.4.
Noteworthy changes in version 1.9.4 (2021-08-22) [C23/A3/R4] ------------------------------------------------ * Bug fixes: - Fix Elgamal encryption for other implementations. [#5328,CVE-2021-33560] - Fix alignment problem on macOS. [#5440] - Check the input length of the point in ECDH. [#5423] - Fix an abort in gcry_pk_get_param for "Curve25519". [#5490] * Other features: - Add GCM and CCM to OID mapping table for AES. [a83fb13a3b]
-rw-r--r--security/libgcrypt/Makefile4
-rw-r--r--security/libgcrypt/distinfo11
-rw-r--r--security/libgcrypt/patches/patch-random_jitterentropy-base.c26
3 files changed, 7 insertions, 34 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index d74d7cd5d45..e2ae9425adf 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.103 2021/04/21 08:28:31 adam Exp $
+# $NetBSD: Makefile,v 1.104 2021/08/30 15:53:43 wiz Exp $
-DISTNAME= libgcrypt-1.9.3
+DISTNAME= libgcrypt-1.9.4
CATEGORIES= security
MASTER_SITES= https://gnupg.org/ftp/gcrypt/libgcrypt/
EXTRACT_SUFX= .tar.bz2
diff --git a/security/libgcrypt/distinfo b/security/libgcrypt/distinfo
index ca42c53c6f1..9e5048b2c5b 100644
--- a/security/libgcrypt/distinfo
+++ b/security/libgcrypt/distinfo
@@ -1,12 +1,11 @@
-$NetBSD: distinfo,v 1.90 2021/06/19 11:17:53 spz Exp $
+$NetBSD: distinfo,v 1.91 2021/08/30 15:53:43 wiz Exp $
-SHA1 (libgcrypt-1.9.3.tar.bz2) = 6b18f453fee677078586279d96fb88e5df7b3f35
-RMD160 (libgcrypt-1.9.3.tar.bz2) = 5f0e3bf03ee5d5f80628136a592a24e23fa68b5f
-SHA512 (libgcrypt-1.9.3.tar.bz2) = 977e766887c14f19aa1b9fcc0214303036a649e41cd4278de76da7d734cf36888e2e1b6275590dac523dcb4ba8ab07993e6ee8209fd5f1a3383d738b09a060d6
-Size (libgcrypt-1.9.3.tar.bz2) = 3219061 bytes
+SHA1 (libgcrypt-1.9.4.tar.bz2) = 1bccc8393482fa1953323ff429c6b5ba5676eb1a
+RMD160 (libgcrypt-1.9.4.tar.bz2) = 04ba20bde2cc765932be6c9433dec0d1bbb64335
+SHA512 (libgcrypt-1.9.4.tar.bz2) = d0e117ac73c94d70e9521ee1e6328691498cc8328f8c4e21338096908f5c04c7b838966eb63d59494565f4e19f506c07dab4f4d922150d75610d9f7b57abbf60
+Size (libgcrypt-1.9.4.tar.bz2) = 3239704 bytes
SHA1 (patch-aa) = 60b3f4453b217ed8879a2ffd8d485c0195ffb5f8
SHA1 (patch-cipher_rijndael-arm.S) = ef3cb7f481022440780eb48ae31cbfad0a3ec115
SHA1 (patch-configure) = edc92453a0843ab0442da7f1b9df2ef4c219bdf5
SHA1 (patch-mpi_config.links) = 0e87480ead46914653405bb9c693554180ccd126
-SHA1 (patch-random_jitterentropy-base.c) = 5a14676aae7ad5d12f9f0bed366af5183aaf22ad
SHA1 (patch-src_visibility.h) = 8cbbf6803ab34b4b7dda832aa8ee18247aa89518
diff --git a/security/libgcrypt/patches/patch-random_jitterentropy-base.c b/security/libgcrypt/patches/patch-random_jitterentropy-base.c
deleted file mode 100644
index fb8b99e4f23..00000000000
--- a/security/libgcrypt/patches/patch-random_jitterentropy-base.c
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-random_jitterentropy-base.c,v 1.1 2018/05/11 19:20:11 kamil Exp $
-
-Port to Clang.
-
---- random/jitterentropy-base.c.orig 2017-11-23 18:16:58.000000000 +0000
-+++ random/jitterentropy-base.c
-@@ -50,13 +50,18 @@
- */
-
- #undef _FORTIFY_SOURCE
-+
-+#ifdef __clang__
-+#pragma clang optimize off
-+#else
- #pragma GCC optimize ("O0")
-+#endif
-
- #include "jitterentropy.h"
-
- #ifndef CONFIG_CRYPTO_CPU_JITTERENTROPY_STAT
- /* only check optimization in a compilation for real work */
-- #ifdef __OPTIMIZE__
-+ #if defined(__OPTIMIZE__) && !defined(__clang__)
- #error "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy-base.c."
- #endif
- #endif