git: e37e3f558f42 - main - security/gpgme: Update to 2.1.2

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Fri, 03 Jul 2026 09:20:25 UTC
The branch main has been updated by jhale:

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

commit e37e3f558f42815aa85934166b3c260c0b58b827
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2026-07-03 08:43:50 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2026-07-03 09:20:18 +0000

    security/gpgme: Update to 2.1.2
    
    Remove CFLAGS cruft that was only meant for Qt before the split.
    
    Update pre-build-TEST-on target with the current tests subdirs.
    
    Changes: https://dev.gnupg.org/T8269
---
 security/gpgme/Makefile  | 7 +++----
 security/gpgme/distinfo  | 6 +++---
 security/gpgme/pkg-plist | 2 +-
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 105e0236e411..16231915bb27 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gpgme
-PORTVERSION=	2.1.0
+PORTVERSION=	2.1.2
 CATEGORIES?=	security
 MASTER_SITES=	GNUPG/gpgme
 
@@ -19,7 +19,6 @@ CPE_VENDOR=	gnu
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--enable-languages="cl"
-CFLAGS+=	-Wno-suggest-override -Wno-unknown-warning-option
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
@@ -58,7 +57,7 @@ post-patch:
 pre-build-TEST-on:
 	@if [ ! -d "/var/run/user/${UID}" ]; then \
 		SOCKETS="dirmngr gpg-agent gpg-agent.browser gpg-agent.extra gpg-agent.ssh scdaemon uiserver"; \
-		TESTSUBDIRS="lang/python/tests lang/qt/tests tests/gpg tests/gpgsm"; \
+		TESTSUBDIRS="tests/gpg tests/gpgsm tests/json tests/opassuan"; \
 		TMPSOCKETDIR=$$(${MKTEMP} -d -t gpgmetest); \
 		${ECHO_CMD} "$${TMPSOCKETDIR}" > ${WRKDIR}/.tmpsocketdir; \
 		trap "${RM} -r $${TMPSOCKETDIR}; exit 1" 1 2 3 5 10 13 15; \
@@ -66,7 +65,7 @@ pre-build-TEST-on:
 				for subdir in $${TESTSUBDIRS}; do \
 					${PRINTF} "%%Assuan%%\nsocket=$${TMPSOCKETDIR}/S.$${sock}\n" > ${WRKSRC}/$${subdir}/S.$${sock}; \
 				done; \
-		  	done; \
+			done; \
 	fi
 
 post-build-TEST-on:
diff --git a/security/gpgme/distinfo b/security/gpgme/distinfo
index d13770c8103e..4c456a3445de 100644
--- a/security/gpgme/distinfo
+++ b/security/gpgme/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1779692478
-SHA256 (gpgme-2.1.0.tar.bz2) = 841c5ea53fc26259f4fbf0e8bde982dea1b8a1ca0cb77e681c82b050566bf92b
-SIZE (gpgme-2.1.0.tar.bz2) = 1418236
+TIMESTAMP = 1782899845
+SHA256 (gpgme-2.1.2.tar.bz2) = 0687a95b299871c4141f507c0f740de6b429c9ac067d0fa4e062e3264df5fb77
+SIZE (gpgme-2.1.2.tar.bz2) = 1420275
diff --git a/security/gpgme/pkg-plist b/security/gpgme/pkg-plist
index 7561bfd3bb37..2dcaa06b5dfb 100644
--- a/security/gpgme/pkg-plist
+++ b/security/gpgme/pkg-plist
@@ -9,7 +9,7 @@ lib/common-lisp/gpgme/gpgme.asd
 lib/common-lisp/gpgme/gpgme.lisp
 lib/libgpgme.so
 lib/libgpgme.so.45
-lib/libgpgme.so.45.1.0
+lib/libgpgme.so.45.1.2
 libdata/pkgconfig/gpgme-glib.pc
 libdata/pkgconfig/gpgme.pc
 share/aclocal/gpgme.m4