pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libgcrypt libgcrypt: updated to 1.9.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9fdb582839e7
branches:  trunk
changeset: 450716:9fdb582839e7
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 21 08:28:31 2021 +0000

description:
libgcrypt: updated to 1.9.3

Noteworthy changes in version 1.9.3 (2021-04-19)
------------------------------------------------

 * Bug fixes:
   - Fix build problems on i386 using gcc-4.7.
   - Fix checksum calculation in OCB decryption for AES on s390.
   - Fix a regression in gcry_mpi_ec_add related to certain usages of
     curve 25519.
   - Fix a symbol not found problem on Apple M1.
   - Fix for Apple iOS getentropy peculiarity.
   - Make keygrip computation work for compressed points.

* Performance:
   - Add x86_64 VAES/AVX2 accelerated implementation of Camellia.
   - Add x86_64 VAES/AVX2 accelerated implementation of AES.
   - Add VPMSUMD acceleration for GCM mode on PPC.

 * Internal changes.
   - Harden MPI conditional code against EM leakage.
   - Harden Elgamal by introducing exponent blinding.
   - Fix memory leaks in the error code paths of EdDSA.

diffstat:

 security/libgcrypt/Makefile |  35 ++---------------------------------
 security/libgcrypt/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 38 deletions(-)

diffs (78 lines):

diff -r f8813f60a16f -r 9fdb582839e7 security/libgcrypt/Makefile
--- a/security/libgcrypt/Makefile       Wed Apr 21 08:27:24 2021 +0000
+++ b/security/libgcrypt/Makefile       Wed Apr 21 08:28:31 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.102 2021/02/18 10:58:08 adam Exp $
+# $NetBSD: Makefile,v 1.103 2021/04/21 08:28:31 adam Exp $
 
-DISTNAME=      libgcrypt-1.9.2
+DISTNAME=      libgcrypt-1.9.3
 CATEGORIES=    security
 MASTER_SITES=  https://gnupg.org/ftp/gcrypt/libgcrypt/
 EXTRACT_SUFX=  .tar.bz2
@@ -12,47 +12,16 @@
 
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
-
 TEST_TARGET=           check
-
 TEXINFO_REQD=          4.0
 INFO_FILES=            yes
 
-.include "../../mk/bsd.prefs.mk"
 .include "../../mk/compiler.mk"
 
-#.if empty(MACHINE_PLATFORM:MNetBSD-*-i386) && \
-#    empty(MACHINE_PLATFORM:MNetBSD-*-alpha) && \
-#    empty(MACHINE_PLATFORM:MNetBSD-*-sparc) && \
-#    empty(MACHINE_PLATFORM:M*-*-hppa)
-#CONFIGURE_ARGS+=      --disable-asm
-#.endif
-#CONFIGURE_ARGS+=      --disable-aesni-support
-
-#.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || \
-#    !empty(MACHINE_PLATFORM:MSunOS-*-i386)
-#CONFIGURE_ARGS+=      --disable-pclmul-support
-#.endif
-
-# SCO OpenServer 5.0.7/3.2 has no socklen_t, but it is defined in pthread.h
-# from builtin GNU pth.
-#.if ${OS_VARIANT} == "SCOOSR5"
-#CONFIGURE_ENV+=               ac_cv_type_socklen_t=yes
-#CONFIGURE_ENV+=               gl_cv_socklen_t_equiv=int
-#.endif
-
 .if !empty(PKGSRC_COMPILER:Mclang)
 CFLAGS+=               -fheinous-gnu-extensions
 .endif
 
-#.if (${MACHINE_ARCH} == "x86_64")
-#.  if !empty(CC_VERSION:Mgcc-4.[45].*)
-#CONFIGURE_ARGS+=      --disable-avx2-support
-#CONFIGURE_ARGS+=      --disable-avx-support
-#CONFIGURE_ENV+=               gcry_cv_gcc_inline_asm_avx=no
-#.  endif
-#.endif
-
 SUBST_CLASSES+=                rpath
 SUBST_FILES.rpath=     src/libgcrypt-config.in
 SUBST_STAGE.rpath=     pre-configure
diff -r f8813f60a16f -r 9fdb582839e7 security/libgcrypt/distinfo
--- a/security/libgcrypt/distinfo       Wed Apr 21 08:27:24 2021 +0000
+++ b/security/libgcrypt/distinfo       Wed Apr 21 08:28:31 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.88 2021/04/13 17:38:12 dholland Exp $
+$NetBSD: distinfo,v 1.89 2021/04/21 08:28:31 adam Exp $
 
-SHA1 (libgcrypt-1.9.2.tar.bz2) = 29bd5d0a8f674d4521167dd518ef99b26d1e8f27
-RMD160 (libgcrypt-1.9.2.tar.bz2) = 57fca67d695ff958086becd33abfca8256efbee6
-SHA512 (libgcrypt-1.9.2.tar.bz2) = d2e3dc89788763229f554382b3cf0c3a2680f774258abc4c1fd9ef1ad44920d57d14422af9b6b405e42742e691d19ab2ee458fddf057e778964519eee090f016
-Size (libgcrypt-1.9.2.tar.bz2) = 3206187 bytes
+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 (patch-aa) = 60b3f4453b217ed8879a2ffd8d485c0195ffb5f8
 SHA1 (patch-cipher_rijndael-arm.S) = ef3cb7f481022440780eb48ae31cbfad0a3ec115
 SHA1 (patch-configure) = edc92453a0843ab0442da7f1b9df2ef4c219bdf5



Home | Main Index | Thread Index | Old Index