1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

If base was built WITHOUT_KERBEROS and dovecot2 was built with kerberos

from ports, pigeonhole's build will fail because it can't find libkrb5.so.

To fix this, introduce the usual GSSAPI option block. Also, add a
BUILD_FAIL_MESSAGE asking you to make sure that the GSSAPI option here
matches the GSSAPI option from dovecot2.

PR:		211025
Submitted by:	dewayne heuristicsystems com au
Patch by:	maintainer (Larry Rosenman)
This commit is contained in:
Adam Weinberger 2016-07-15 14:31:18 +00:00
parent a3ebddf90c
commit 1dd9c17db2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418580

View File

@ -3,6 +3,7 @@
PORTNAME= dovecot-pigeonhole
PORTVERSION= 0.4.15
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
@ -28,9 +29,24 @@ USES= compiler:c11 libtool ssl
USE_LDCONFIG= ${PREFIX}/lib/dovecot
OPTIONS_DEFINE= DOCS LDAP MANAGESIEVE
OPTIONS_DEFAULT=MANAGESIEVE
OPTIONS_DEFAULT=MANAGESIEVE GSSAPI_NONE
OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
OPTIONS_SUB= yes
GSSAPI_DESC= GSSAPI Support (*MUST MATCH* mail/dovecot2)
GSSAPI_NONE_DESC= Build without GSSAPI support
GSSAPI_BASE_DESC= Use GSSAPI from base
GSSAPI_HEIMDAL_DESC= Use Heimdal GSSAPI from security/heimdal
GSSAPI_MIT_DESC= Use MIT GSSAPI from security/krb5
GSSAPI_BASE_USES= gssapi
GSSAPI_HEIMDAL_USES= gssapi:heimdal
GSSAPI_MIT_USES= gssapi:mit
GSSAPI_NONE_CONFIGURE_OFF= ${GSSAPI_CONFIGURE_ARGS}
BUILD_FAIL_MESSAGE= Ensure that ${PORTNAME}'s GSSAPI backend is the same as dovecot2 (make config).
MANAGESIEVE_DESC= ManageSieve support
MANAGESIEVE_CONFIGURE_WITH= managesieve