freebsd-ports/mail/dovecot2-pigeonhole/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
# $FreeBSD$
PORTNAME= dovecot-pigeonhole
Update to 0.4.14. The most important feature that this new release adds is the IMAPSIEVE capability, which allows executing Sieve scripts at IMAP events. It also adds the ability to obtain trace logs from Sieve execution at actual delivery (or from IMAP), rather than only using the sieve-test command line tool. This release also fixes a bug in the Sieve extprograms plugin that has been bothering a few people for a while now. Changelog v0.4.14: * The address test now allows specifying the X-Original-To header. + Implemented the Sieve imapsieve extension and its IMAP counterpart (RFC 6785) as a set of plugins. This allows running Sieve scripts at IMAP activity, rather than at delivery. There are also facilities for the familiar sieve_before/sieve_after administrator scripts. A user script is defined for a mailbox using an IMAP METADATA entry, whereas administrator scripts are configured using mailbox matching rules defined in the plugin settings. + Adjusted the Sieve ihave extension to allow capability tests to be performed at runtime. This way, scripts can be written that work both at delivery and from IMAP. + Implemented support for runtime trace debugging. This means that detailed information about which commands, actions and tests are performed is written to a file. That file is created in the configured directory, but only if that directory exists. This way, a particular user can be easily singled out for debugging. This works much like the Dovecot rawlog facility. The trace output is identical to what is produced using sieve-test with its "-t" command line option. + Added a "sieve_user_email" setting that configures the user's primary email address. This is mainly useful to have a user email address available in IMAP, where envelope data is unavailable. + Implemented the dovecot-specific "vnd.dovecot.report" extension. This allows sending report messages in the Message Abuse Reporting Format (RFC 5965). - extprograms plugin: Fixed epoll() panic caused by closing the output FD before the output stream. - Made sure that the local part of a mail address is encoded properly using quoted string syntax when it is not a dot-atom. PR: 209084 Submitted by: maintainer (Larry Rosenman)
2016-04-27 17:42:50 +02:00
PORTVERSION= 0.4.14
CATEGORIES= mail
MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
mail/dovecot2-pigeonhole: 0.4.3 -> 0.4.6 - submitter takes maintainership Changes: 0.4.4: - Added support for Japanese mail addresses with dots at non-standard places in localpart. - Changed handling of ENOSPACE into a normal temporary failure and added handling of ENOQUOTA as a user error. - Restructured result execution, so that all actions which involve mail storage are always committed before all others. - Implemented support for generic Sieve storages. Using alternative storages now also possible for sieve_before/sieve_after. - Implemented storage driver for retrieving Sieve scripts from LDAP. This currently cannot be used with ManageSieve. - Implemented sieve_redirect_envelope_from setting, which allows configuring the envelope sender of redirected messages. - Fixed handling of mail storage errors occurring while evaluating the input message. - managesieve-login: - Removed bogus ALERT response code returned for AUTHENTICATE command. - Fixed handling of invalid initial response argument to AUTHENTICATE command. - Fixed handling of stream errors in lexical scanner. - Fixed handling of SMTP errors. Permanent and temporary errors were mixed up. - Fixed several problems reported by CLang 3.4. - duplicate extension: Fixed erroneous compile error about conflicting tags when `:handle' argument was used last. - relational extension: Fixed error handling of `:value' match. - editheader extension: Fixed header unfolding and header iteration. - mailbox extension: Fixed the `:create' tag, which erroneously subscribed an existing folder. - extprograms plugin: Fixed handling of error codes. - doveadm-sieve plugin: Fixed several bugs. Synchronization of symbolic link in the file storage should now also work properly. 0.4.5: - Added a Pigeonhole version banner to doveconf output. This way, future bug reports will also include Pigeonhole version information. - Fixed handling of implicit keep. Last version erroneously reported that implicit keep succeeded after an earlier failure, while it in fact had failed. Particularly occurred for mailbox quota errors. - Fixed segfault occurring on SunOS systems when there is no active script. 0.4.6: - ports-related change integrated upstream PR: 194645 Submitted by: Larry Rosenman <ler@lerctr.org> Approved by: maintainer (timeout)
2014-11-13 19:58:42 +01:00
MAINTAINER= ler@lerctr.org
COMMENT= Sieve plugin for the Dovecot 'deliver' LDA and LMTP
LICENSE= LGPL21
BUILD_DEPENDS:= dovecot2>=${DOVECOTVERSION}:mail/dovecot2
RUN_DEPENDS:= dovecot2>=${DOVECOTVERSION}:mail/dovecot2
DOVECOTVERSION= 2.2
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= libtool
USE_LDCONFIG= ${PREFIX}/lib/dovecot
USE_OPENSSL= yes
OPTIONS_DEFINE= DOCS MANAGESIEVE
OPTIONS_DEFAULT=MANAGESIEVE
OPTIONS_SUB= yes
MANAGESIEVE_DESC= ManageSieve support
MANAGESIEVE_CONFIGURE_WITH= managesieve
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>