git: d5a284d59a37 - main - sysutils/radmind: 1.15.4 -> 1.16.1 Update

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 09 Oct 2023 07:41:53 UTC
The branch main has been updated by fuz:

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

commit d5a284d59a370890732d9d0584fa030e31030c49
Author:     Michael Graziano <mikeg@bsd-box.net>
AuthorDate: 2023-10-07 04:32:53 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-09 07:40:31 +0000

    sysutils/radmind: 1.15.4 -> 1.16.1 Update
    
    Time once again for my seasonal bout of frustration with this
    software to produce an update! :)
    
    Moving the port to the new and improved 1.16.1 release. Notable changes:
    
    * SSL/TLS build is now mandatory (“Because it’s 2023, deal with it!”)
    * PAM, SASL, and zlib are now properly optional
    * PAM, SASL, and zlib options are now properly exposed in the port
    * SASL correctly pulls in security/cyrus-sasl2 & libsasl2.so as port
      dependencies
    * We can safely use DISTVERSION instead of PORTVERSION
    * libsnet (bundled) is now taken from my github repo, fixes there
      include all the above plus FreeBSD 14 warnings about missing
      prototypes are dealt with.
    
    PR:             274320
---
 sysutils/radmind/Makefile | 24 ++++++++++++++----------
 sysutils/radmind/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/sysutils/radmind/Makefile b/sysutils/radmind/Makefile
index 14cd4a0b16b3..fe0b9a021481 100644
--- a/sysutils/radmind/Makefile
+++ b/sysutils/radmind/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	radmind
-PORTVERSION=	1.15.4
-PORTREVISION=	2021062801
+DISTVERSION=	1.16.1
+PORTREVISION=	0
 CATEGORIES=	sysutils
-MASTER_SITES=	https://github.com/voretaq7/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/
+MASTER_SITES=	https://github.com/voretaq7/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
 
 MAINTAINER=	mikeg@bsd-box.net
 COMMENT=	Utility for administering filesystem changes
@@ -13,7 +13,7 @@ LICENSE_NAME=	University of Michigan License
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-USES=	gmake ssl
+USES=	gmake ssl localbase
 USE_RC_SUBR=	radmind
 
 GNU_CONFIGURE=	yes
@@ -31,7 +31,15 @@ GROUPS=		${RADMINUSER}
 
 PLIST_SUB=	RADMIND_BASE_DIR=${RADMIND_BASE_DIR:S@/@@} RADMINUSER=${RADMINUSER}
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=		SASL PAM ZLIB DOCS
+OPTIONS_DEFAULT=	SASL PAM ZLIB DOCS
+
+PAM_CONFIGURE_ENABLE=	pam
+
+SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
+SASL_CONFIGURE_ENABLE=	sasl
+
+ZLIB_CONFIGURE_ENABLE=	zlib
 
 DOCS=		COPYRIGHT SPEC README.md
 
@@ -40,10 +48,6 @@ RADMINUSER=	radmind
 
 .include <bsd.port.options.mk>
 
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
-CONFIGURE_ARGS+=	--enable-profiled=no
-.endif
-
 post-install:
 	# Ugly hack to remove generated man pages
 	${RM} -r ${WRKSRC}/tmp
@@ -64,6 +68,6 @@ post-install:
 	${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/tmp/file
 	${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/tmp/transcript
 	${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/transcript
-	${CP}    ${FILESDIR}/config.sample ${STAGEDIR}${RADMIND_BASE_DIR}/config.sample
+	${INSTALL_DATA}    ${FILESDIR}/config.sample ${STAGEDIR}${RADMIND_BASE_DIR}/
 
 .include <bsd.port.mk>
diff --git a/sysutils/radmind/distinfo b/sysutils/radmind/distinfo
index 561f7ea9094e..8479c57a53c9 100644
--- a/sysutils/radmind/distinfo
+++ b/sysutils/radmind/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1624907512
-SHA256 (radmind-1.15.4.tar.gz) = d01bc87c03014f556bb7b29bd3b52e4cd0d42ec93e6b0f324006a2b7ba62cf65
-SIZE (radmind-1.15.4.tar.gz) = 413132
+TIMESTAMP = 1696650299
+SHA256 (radmind-1.16.1.tar.gz) = 1d4004870a7cce1638a5bb18ece43175536a4e7d28047b4de46424ef529e4f7e
+SIZE (radmind-1.16.1.tar.gz) = 669550