git: f3e746e374a0 - main - security/libgcrypt: Update to 1.10.2

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sun, 25 Jun 2023 21:06:01 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f3e746e374a00e8fdc7057673ffbe7defb96d3eb

commit f3e746e374a00e8fdc7057673ffbe7defb96d3eb
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-06-20 15:57:57 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-06-25 21:05:53 +0000

    security/libgcrypt: Update to 1.10.2
    
    1.10.2: https://dev.gnupg.org/T5905
    1.10.1: https://dev.gnupg.org/T5810
    1.10.0: https://dev.gnupg.org/T5691
    
    PR:             272097
    Approved by:    cy (maintainer)
---
 security/libgcrypt/Makefile                                |  3 +--
 security/libgcrypt/distinfo                                |  6 +++---
 security/libgcrypt/files/patch-random_jitterentropy-base.c | 10 ----------
 security/libgcrypt/pkg-plist                               |  2 +-
 4 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index d6a3c5aef1b8..a7cccda6b829 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libgcrypt
-DISTVERSION=	1.9.4
-PORTREVISION=	1
+DISTVERSION=	1.10.2
 CATEGORIES=	security
 MASTER_SITES=	GNUPG
 
diff --git a/security/libgcrypt/distinfo b/security/libgcrypt/distinfo
index 4f3c2227ba25..5f57531622bc 100644
--- a/security/libgcrypt/distinfo
+++ b/security/libgcrypt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629752433
-SHA256 (libgcrypt-1.9.4.tar.bz2) = ea849c83a72454e3ed4267697e8ca03390aee972ab421e7df69dfe42b65caaf7
-SIZE (libgcrypt-1.9.4.tar.bz2) = 3239704
+TIMESTAMP = 1687216625
+SHA256 (libgcrypt-1.10.2.tar.bz2) = 3b9c02a004b68c256add99701de00b383accccf37177e0d6c58289664cce0c03
+SIZE (libgcrypt-1.10.2.tar.bz2) = 3795164
diff --git a/security/libgcrypt/files/patch-random_jitterentropy-base.c b/security/libgcrypt/files/patch-random_jitterentropy-base.c
deleted file mode 100644
index e1a9c81f9cda..000000000000
--- a/security/libgcrypt/files/patch-random_jitterentropy-base.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- random/jitterentropy-base.c.orig	2021-08-22 05:57:34.000000000 -0700
-+++ random/jitterentropy-base.c	2021-08-23 14:05:29.630091000 -0700
-@@ -52,6 +52,7 @@
- #undef _FORTIFY_SOURCE
- #ifdef __OPTIMIZE__
- #pragma GCC optimize ("O0")
-+#pragma clang optimize off
- #endif
- 
- #include "jitterentropy.h"
diff --git a/security/libgcrypt/pkg-plist b/security/libgcrypt/pkg-plist
index a50a6c531588..79843a8dc342 100644
--- a/security/libgcrypt/pkg-plist
+++ b/security/libgcrypt/pkg-plist
@@ -6,7 +6,7 @@ include/gcrypt.h
 %%STATIC%%lib/libgcrypt.a
 lib/libgcrypt.so
 lib/libgcrypt.so.20
-lib/libgcrypt.so.20.3.4
+lib/libgcrypt.so.20.4.2
 libdata/pkgconfig/libgcrypt.pc
 man/man1/hmac256.1.gz
 share/aclocal/libgcrypt.m4