git: b0c353539e19 - main - net/openldap2[56]-server: Make GSSAPI option work.

From: Xin LI <delphij_at_FreeBSD.org>
Date: Tue, 30 Nov 2021 06:03:20 UTC
The branch main has been updated by delphij:

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

commit b0c353539e191aac84900dded1999958b9f710c8
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2021-11-30 06:01:29 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2021-11-30 06:02:52 +0000

    net/openldap2[56]-server: Make GSSAPI option work.
    
    Reported by:    sunpoet
---
 net/openldap25-server/Makefile | 2 ++
 net/openldap26-server/Makefile | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net/openldap25-server/Makefile b/net/openldap25-server/Makefile
index e1d209d7cd3f..4734709e76ab 100644
--- a/net/openldap25-server/Makefile
+++ b/net/openldap25-server/Makefile
@@ -103,6 +103,7 @@ OPTIONS_GROUP_OVLYS+=	TRANSLUCENT
 OPTIONS_GROUP_OVLYS+=	UNIQUE
 OPTIONS_GROUP_OVLYS+=	VALSORT
 
+OPTIONS_DEFINE+=	GSSAPI
 OPTIONS_DEFINE+=	DYNACL ACI
 OPTIONS_DEFINE+=	RLOOKUPS SLP SLAPI
 OPTIONS_DEFINE+=	PBKDF2
@@ -192,6 +193,7 @@ DNSSRV_CONFIGURE_ENABLE=	dnssrv=mod
 DYNACL_CONFIGURE_ENABLE=	dynacl
 DYNGROUP_CONFIGURE_ENABLE=	dyngroup=mod
 DYNLIST_CONFIGURE_ENABLE=	dynlist=mod
+GSSAPI_RUN_DEPENDS=		cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
 HOMEDIR_CONFIGURE_ENABLE=	homedir=mod
 LLOADD_CONFIGURE_ENABLE=	balancer=mod
 LLOADD_LIB_DEPENDS=		libevent.so:devel/libevent
diff --git a/net/openldap26-server/Makefile b/net/openldap26-server/Makefile
index ecbff399d53e..58bf40274bfe 100644
--- a/net/openldap26-server/Makefile
+++ b/net/openldap26-server/Makefile
@@ -102,6 +102,7 @@ OPTIONS_GROUP_OVLYS+=	TRANSLUCENT
 OPTIONS_GROUP_OVLYS+=	UNIQUE
 OPTIONS_GROUP_OVLYS+=	VALSORT
 
+OPTIONS_DEFINE+=	GSSAPI
 OPTIONS_DEFINE+=	DYNACL ACI
 OPTIONS_DEFINE+=	RLOOKUPS SLP SLAPI
 OPTIONS_DEFINE+=	PBKDF2
@@ -191,6 +192,7 @@ DNSSRV_CONFIGURE_ENABLE=	dnssrv=mod
 DYNACL_CONFIGURE_ENABLE=	dynacl
 DYNGROUP_CONFIGURE_ENABLE=	dyngroup=mod
 DYNLIST_CONFIGURE_ENABLE=	dynlist=mod
+GSSAPI_RUN_DEPENDS=		cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
 HOMEDIR_CONFIGURE_ENABLE=	homedir=mod
 LLOADD_CONFIGURE_ENABLE=	balancer=mod
 LLOADD_LIB_DEPENDS=		libevent.so:devel/libevent