Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 12:30:53 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dbbfc37894ff - main - security/sslsplit: Mark IGNORE_SSL for 14
Message-ID:  <202308061230.376CUre1035041@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit dbbfc37894ff8ee9023477d3d74bbbb907e44bb5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 12:21:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 12:30:37 +0000

    security/sslsplit: Mark IGNORE_SSL for 14
    
    In previous this was marked IGNORE_SSL only for openssl30 and openssl 31
    and now as we have OSVERSION 1400092 for OpenSSL 3 in base also mark
    IGNORE_SSL for that OSVERSION and onwards.
    
    Sponsored by:   The FreeBSD Foundation
---
 security/sslsplit/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/security/sslsplit/Makefile b/security/sslsplit/Makefile
index 3cd962594ba4..b6940e92d8cb 100644
--- a/security/sslsplit/Makefile
+++ b/security/sslsplit/Makefile
@@ -12,8 +12,6 @@ LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 DEPRECATED= Upstream has mentioned inactivity with the possibility of returning
-IGNORE_SSL=	openssl30 openssl31
-IGNORE_SSL_REASON=	error: undefined symbol: ERR_GET_FUNC which were deprecated in OpenSSL 3.0.0 and later
 
 LIB_DEPENDS=	libevent.so:devel/libevent \
 		libnet.so:net/libnet
@@ -25,6 +23,13 @@ PLIST_FILES=	bin/sslsplit man/man1/sslsplit.1.gz \
 		man/man5/sslsplit.conf.5.gz \
 		"@sample %%ETCDIR%%/sslsplit.conf.sample"
 
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+IGNORE_SSL=	base openssl30 openssl31
+IGNORE_SSL_REASON=	error: undefined symbol: ERR_GET_FUNC which were deprecated in OpenSSL 3.0.0 and later
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sslsplit
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308061230.376CUre1035041>