git: 4211f758d80a - main - sysutils/istatserver: Mark BROKEN on FreeBSD 14

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 02:31:09 UTC
The branch main has been updated by bofh:

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

commit 4211f758d80a9eb947ea5cad10d8cf5e42e9f2e6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-15 02:57:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-16 02:30:59 +0000

    sysutils/istatserver: Mark BROKEN on FreeBSD 14
    
    Fails to compile with undefined symbol: RSA_generate_key
    
    RSA_generate_key is a deprecated OpenSLL routine from 1.0.0.
    
    Mark DEPRECATED as there is no upstream activity since 2018.
    
    Set EXPIRATION_DATE to 2023-09-30
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 sysutils/istatserver/Makefile | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/sysutils/istatserver/Makefile b/sysutils/istatserver/Makefile
index acc31549e7a5..fa1560ceb1c4 100644
--- a/sysutils/istatserver/Makefile
+++ b/sysutils/istatserver/Makefile
@@ -10,6 +10,10 @@ WWW=		https://bjango.com/linux/istatserver/
 
 LICENSE=	BSD3CLAUSE
 
+DEPRECATED=	Upstream last activity was in 2018
+EXPIRATION_DATE=	2023-09-30
+BROKEN_FreeBSD_14=	fails to compile undefined symbol: RSA_generate_key
+
 LIB_DEPENDS=	libxml2.so:textproc/libxml2 \
 		libsqlite3.so:databases/sqlite3
 
@@ -22,12 +26,6 @@ GROUPS=		istat
 
 SUB_FILES=	pkg-message
 
-.include <bsd.port.pre.mk>
-
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
-CXXFLAGS+=	-DOPENSSL_API_COMPAT=0x30000000L
-.endif
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/istatserver ${STAGEDIR}${PREFIX}/bin
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/istatserver
@@ -41,4 +39,4 @@ do-install:
 			${STAGEDIR}${MANPREFIX}/man/man5
 	@${ECHO_CMD} '@postexec ${CHOWN} -R ${USERS}:${GROUPS} %D/etc/istatserver' >> ${TMPPLIST}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>