freebsd-ports/mail/dovecot-pigeonhole/Makefile
Larry Rosenman 15dd243379 mail/dovecot, mail/dovecot-pigeonhole: upgrade to 2.3.6, 0.5.6 respectively.
Dovecot changelog:
* CVE-2019-11494: Submission-login crashed with signal 11 due to null pointer access when authentication was aborted by disconnecting.
* CVE-2019-11499: Submission-login crashed when authentication was started over TLS secured channel and invalid authentication message was sent.
* auth: Support password grant with passdb oauth2.
+ Use system default CAs for outbound TLS connections.
+ Simplify array handling with new helper macros.
+ fts_solr: Enable configuring batch_size and soft_commit features.
- lmtp/submission: Fixed various bugs in XCLIENT handling, including a hang when XCLIENT commands were sent infinitely to the remote server.
- lmtp/submission: Forwarded multi-line replies were erroneously sent as two replies to the client.
- lib-smtp: client: Message was not guaranteed to contain CRLF consistently when CHUNKING was used.
- fts_solr: Plugin was no longer compatible with Solr 7.
- Make it possible to disable certificate checking without setting ssl_client_ca_* settings.
- pop3c: SSL support was broken.
- mysql: Closing connection twice lead to crash on some systems.
- auth: Multiple oauth2 passdbs crashed auth process on deinit.
- HTTP client connection errors infrequently triggered a segmentation fault when the connection was idle and not used for a particular client instance.

Pigeonhole changelog:
+ sieve: Redirect loop prevention is sometimes ineffective. Improve existing loop detection by also recognizing the
  X-Sieve-Redirected-From header in incoming messages and dropping redirect actions when it points to
  the sending account. This header is already added by the redirect action, so this improvement only adds an additional use of this header.
- sieve: Prevent execution of implicit keep upon temporary failure occurring at runtime.

MFH:		2019Q2
Security:	CVE-2019-11494
Security:	CVE-2019-11499
2019-04-30 21:33:30 +00:00

67 lines
1.9 KiB
Makefile

# Created by: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
# $FreeBSD$
PORTNAME= dovecot-pigeonhole
PORTVERSION= 0.5.6
CATEGORIES= mail
MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
MAINTAINER= ler@FreeBSD.org
COMMENT= Sieve plugin for the Dovecot 'deliver' LDA and LMTP
LICENSE= LGPL21
BUILD_DEPENDS= dovecot>=2.3.6:mail/dovecot
RUN_DEPENDS= dovecot>=2.3.6:mail/dovecot
DOVECOTVERSION= 2.3
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
--without-dovecot-install-dirs \
--docdir=${DOCSDIR} \
--with-dovecot="${LOCALBASE}/lib/dovecot"
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES= compiler:c11 libtool ssl
USE_LDCONFIG= ${PREFIX}/lib/dovecot
CONFLICTS_INSTALL= dovecot-pigeonhole04
OPTIONS_DEFINE= DOCS LDAP 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/dovecot)
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
LDAP_CONFIGURE_WITH= ldap
LDAP_CPPFLAGS= -I${LOCALBASE}/include
LDAP_LDFLAGS= -L${LOCALBASE}/lib
LDAP_USE= OPENLDAP=yes
PORTDOCS= sieve/extensions/* sieve/plugins/* sieve/locations/*
post-patch:
@${REINPLACE_CMD} -E '\
s!^(install-data-am:) install-sieve_docDATA!\1!; \
s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \
${WRKSRC}/doc/Makefile.in
.include <bsd.port.mk>