git: b57a65540fdf - main - security/gnupg: Update to 2.3.3

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 14:55:47 UTC
The branch main has been updated by adamw:

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

commit b57a65540fdf5e618b006621f2ab6b946ddfe62c
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2021-10-13 14:54:57 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2021-10-13 14:55:40 +0000

    security/gnupg: Update to 2.3.3
    
    Changes:
     * agent: Fix segv in GET_PASSPHRASE (regression).  [#5577]
    
      * dirmngr: Fix Let's Encrypt certificate chain validation.  [#5639]
    
      * gpg: Change default and maximum AEAD chunk size to 4 MiB.
        [ad3dabc9fb]
    
      * gpg: Print a warning when importing a bad cv25519 secret key.
        [#5464]
    
      * gpg: Fix --list-packets for undecryptable AEAD packets.  [#5584]
    
      * gpg: Verify backsigs for v5 keys correctly.  [#5628]
    
      * keyboxd: Fix checksum computation for no UBID entry on disk.
        [#5573]
    
      * keyboxd: Fix "invalid object" error with cv448 keys.  [#5609]
    
      * dirmngr: New option --ignore-cert.  [4b3e9a44b5]
    
      * agent: Fix calibrate_get_time use of clock_gettime.  [#5623]
    
      * Silence process spawning diagnostics on Windows. [f2b01025c3]
    
      * Support a gpgconf.ctl file under Unix and use this for the
        regression tests.  [#5999]
    
      * The Windows installer now also installs the new keyboxd.
        (Put "use-keyboxd" into common.conf to use a fast SQLite
         database instead of the pubring.kbx file.)
    
      Release-info: https://dev.gnupg.org/T5565
---
 security/gnupg/Makefile | 6 +++++-
 security/gnupg/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 11252ca3ef3d..91975aedfbaa 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gnupg
-PORTVERSION=	2.3.2
+PORTVERSION=	2.3.3
 CATEGORIES=	security
 MASTER_SITES=	GNUPG
 
@@ -74,4 +74,8 @@ post-install:
 	${MV} ${STAGEDIR}${PREFIX}/bin/gpgsplit ${STAGEDIR}${PREFIX}/bin/gpgsplit2
 	${MV} ${STAGEDIR}${DATADIR}/help*.txt ${STAGEDIR}${DOCSDIR}
 
+# Necessary because of --enable-gpg-is-gpg2
+pre-test:
+	${LN} -s gpg ${WRKSRC}/bin/gpg2
+
 .include <bsd.port.mk>
diff --git a/security/gnupg/distinfo b/security/gnupg/distinfo
index 146ccd05b772..62baae4167de 100644
--- a/security/gnupg/distinfo
+++ b/security/gnupg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629828600
-SHA256 (gnupg-2.3.2.tar.bz2) = e1d953e0e296072fca284215103ef168885eaac596c4660c5039a36a83e3041b
-SIZE (gnupg-2.3.2.tar.bz2) = 7589445
+TIMESTAMP = 1634135268
+SHA256 (gnupg-2.3.3.tar.bz2) = 5789b86da6a1a6752efb38598f16a77af51170a8494039c3842b085032e8e937
+SIZE (gnupg-2.3.3.tar.bz2) = 7590874