git: 2c9ccc4d46bc - main - mail/cyrus-imapd312: Add support for MIT KRB5 in base
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Jul 2025 23:01:26 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2c9ccc4d46bcbfea17d7add8f2fdc0ea159f2796
commit 2c9ccc4d46bcbfea17d7add8f2fdc0ea159f2796
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-07-21 22:56:30 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-07-21 22:58:41 +0000
mail/cyrus-imapd312: Add support for MIT KRB5 in base
FreeBSD 15 will ship with MIT KRB5 in base. Detect this accordingly.
PR: 287597
exp-run by: antoine
---
mail/cyrus-imapd312/Makefile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/mail/cyrus-imapd312/Makefile b/mail/cyrus-imapd312/Makefile
index cd12ebbffaae..cecb7675c9b3 100644
--- a/mail/cyrus-imapd312/Makefile
+++ b/mail/cyrus-imapd312/Makefile
@@ -1,6 +1,6 @@
PORTNAME= cyrus-imapd
DISTVERSION= 3.12.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= https://github.com/cyrusimap/cyrus-imapd/releases/download/${PORTNAME}-${DISTVERSION}/
PKGNAMESUFFIX= ${CYRUS_IMAPD_VER}
@@ -138,8 +138,12 @@ OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE
OPTIONS_DEFAULT+= GSSAPI_BASE
.endif
GSSAPI_BASE_USES= gssapi
-GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
- --with-gss_impl=heimdal
+GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}"
+.if exists(/usr/libexec/krb5kdc)
+GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit
+.else
+GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal
+.endif
GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags
GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
--with-gss_impl=heimdal