git: a97d608312ec - main - security/pam_ssh_agent_auth: mark as broken with OpenSSL 3.x

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 06:17:30 UTC
The branch main has been updated by matthew:

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

commit a97d608312ec78a1da88c6a43b060069845d8c5e
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-08-16 06:13:41 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-08-16 06:13:41 +0000

    security/pam_ssh_agent_auth: mark as broken with OpenSSL 3.x
    
    While this compiles successfully, it doesn't produce a working
    pam_ssh_agent_auth.so PAM module.
    
    PR:             272220
    Reported by:    madpilot
---
 security/pam_ssh_agent_auth/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/security/pam_ssh_agent_auth/Makefile b/security/pam_ssh_agent_auth/Makefile
index dbb35bab403d..f422d81b6064 100644
--- a/security/pam_ssh_agent_auth/Makefile
+++ b/security/pam_ssh_agent_auth/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pam_ssh_agent_auth
 PORTVERSION=	0.10.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 
 MAINTAINER=	matthew@FreeBSD.org
@@ -33,4 +33,11 @@ PLIST_FILES=	lib/pam_ssh_agent_auth.so \
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_ssh_agent_auth.so
 
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base } | ${SSL_DEFAULT:Mopenssl3*}
+IGNORE_SSL=	base openssl30 openssl31
+IGNORE_SSL_REASON=	Compiles but does not generate a working module with OpenSSL 3.0.0 and later
+.endif
+
 .include <bsd.port.mk>