git: 1cb7268e03da - main - security/gnupg: update to 2.4.8, latest release

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Tue, 26 Aug 2025 05:38:00 UTC
The branch main has been updated by adridg:

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

commit 1cb7268e03da391af5242e2f34d5961a1669c33d
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2025-08-26 05:20:37 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2025-08-26 05:37:58 +0000

    security/gnupg: update to 2.4.8, latest release
    
    There wasn't a release-announcement email, but there is a Phab
    ticket describing the release, https://dev.gnupg.org/T7428:
    
        gpg: Fix a verification DoS due to a malicious subkey in the keyring. [T7527]
        gpg: Fix a regression in 2.4.7 for generating a key from card. [T7457]
        gpg: Fix --quick-add-key for Weierstrass ECC with usage given. [T7506]
        gpg: Fully implement the group key flag. [rGedd01d8fc4]
        gpg: Make combination of show-only-fpr-mbox and show-unusable-uid work. [rGeb2a90d343]
        gpgsm: Do not return an error code when importing a certificate with an empty subject. [T7171]
        scd: Accept P15 cards with a zero-length label. [rG18b4ebb28a]
        keyboxd: Use case-insensitive search for mail addresses. [T7576]
        gpgconf: Fix reload and kill of keyboxd. [T7569]
        w32: Fix posssible lockup due to lost select results. [rG9448d01d61]
    
    When upgrading in-place, expect the gpg command-line tool to
    complain about outdated agents and keyboxes until those are
    re-started as well (typically by re-starting the environment).
    
    PR:             286993
    Reported-by:    p5B2EA84B3@t-online
    Provided-by:    Herbert J. Skuhra
---
 security/gnupg/Makefile                    |  3 +--
 security/gnupg/distinfo                    |  6 +++---
 security/gnupg/files/patch-doc_Makefile.in | 13 ++-----------
 3 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 3be8c9c76d46..3f130231893e 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gnupg
-DISTVERSION=	2.4.7
+DISTVERSION=	2.4.8
 CATEGORIES=	security
 MASTER_SITES=	GNUPG
 
@@ -76,7 +76,6 @@ pre-build:
 	${TOUCH} ${WRKSRC}/doc/*.texi
 
 post-install:
-	${RMDIR} ${STAGEDIR}${PREFIX}/share/man/manh
 	${MV} ${STAGEDIR}${PREFIX}/bin/gpgsplit ${STAGEDIR}${PREFIX}/bin/gpgsplit2
 	${MV} ${STAGEDIR}${DATADIR}/help*.txt ${STAGEDIR}${DOCSDIR}
 
diff --git a/security/gnupg/distinfo b/security/gnupg/distinfo
index 5fbcbc92d83a..263b7cea5e9f 100644
--- a/security/gnupg/distinfo
+++ b/security/gnupg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1733605089
-SHA256 (gnupg-2.4.7.tar.bz2) = 7b24706e4da7e0e3b06ca068231027401f238102c41c909631349dcc3b85eb46
-SIZE (gnupg-2.4.7.tar.bz2) = 8010244
+TIMESTAMP = 1747922827
+SHA256 (gnupg-2.4.8.tar.bz2) = b58c80d79b04d3243ff49c1c3fc6b5f83138eb3784689563bcdd060595318616
+SIZE (gnupg-2.4.8.tar.bz2) = 8017685
diff --git a/security/gnupg/files/patch-doc_Makefile.in b/security/gnupg/files/patch-doc_Makefile.in
index 9149a0b4ab89..fb06450df233 100644
--- a/security/gnupg/files/patch-doc_Makefile.in
+++ b/security/gnupg/files/patch-doc_Makefile.in
@@ -1,6 +1,6 @@
---- doc/Makefile.in.orig	2024-10-29 12:52:23 UTC
+--- doc/Makefile.in.orig	2025-05-14 12:51:22 UTC
 +++ doc/Makefile.in
-@@ -521,14 +521,14 @@ myman_sources = gnupg7.texi gpg.texi gpgsm.texi gpg-ag
+@@ -519,14 +519,14 @@ myman_sources = gnupg7.texi gpg.texi gpgsm.texi gpg-ag
  	        dirmngr.texi scdaemon.texi tools.texi wks.texi \
                  gpg-card.texi
  
@@ -17,12 +17,3 @@
                  gpg-agent.1.html dirmngr.8.html scdaemon.1.html \
                  watchgnupg.1.html gpgconf.1.html addgnupghome.8.html \
                  gpg-preset-passphrase.1.html \
-@@ -538,7 +538,7 @@ myhtmlman_pages = \
-                 gpg-wks-server.1.html \
- 		dirmngr-client.1.html gpg-card.1.html gpg-check-pattern.1.html
- 
--man_MANS = $(myman_pages) gnupg.7 gnupg.7.html
-+man_MANS = $(myman_pages) gnupg.7
- watchgnupg_SOURCE = gnupg.texi
- CLEANFILES = yat2m mkdefsinc defs.inc
- DISTCLEANFILES = gnupg.tmp gnupg.ops yat2m-stamp.tmp yat2m-stamp \