mail/dovecot and mail/dovecot-pigeonhole upgrade to 2.3.5 and 0.5.5 respectively

dovecot changelog:
+ Lua push notification driver: mail keywords and flags are provided in MessageNew and MessageAppend events.
+ submission: Implement support for plugins.
+ auth: When auth_policy_log_only=yes, only log what the policy server response would do without actually doing it.
+ auth: Always log policy server decisions with auth_verbose=yes
- v2.3.[34]: doveadm log errors: Output was missing user/session
- lda: Debug log lines could have shown slightly corrupted
- login proxy: Login processes may have crashed in various ways when login_proxy_max_disconnect_delay was set.
- imap: Fix crash with Maildir+zlib if client disconnects during APPEND
- lmtp proxy: Fix potential assert-crash
- lmtp/submission: Fix crash when SMTP client transaction times out
- submission: Split large XCLIENT commands to 512 bytes per command, so Postfix accepts them.
- submission: Fix crash when client sends invalid BURL command
- submission: relay backend: VRFY command: Avoid forwarding 500 and 502 replies back to client.
- lib-http: Fix potential assert-crash when DNS lookup fails
- lib-fts: Fix search query generation when one language ignores a token (e.g. via stopwords).

pigeonhole changelog:
+ IMAPSieve: Add new plugin/imapsieve_expunge_discarded setting which causes messages discarded by an IMAPSieve script to be expunged immediately, rather than only being marked as "\Deleted" (which is still the default behavior).
- IMAPSieve: Fix panic crash occurring when a COPY command copies
messages from a virtual mailbox where the source messages originate from more than a single real mailbox.
- imap4flags extension: Fix deleting all keywords. When the action
resulted in all keywords being removed, no changes were actually
applied.
- variables extension: Fix truncation of UTF-8 variable content. The maximum size of Sieve variables was enforced by truncating the
variable string content bluntly at the limit, but this does not
consider UTF-8 code point boundaries. This resulted in broken UTF-8 strings. This problem also surfaced for variable modifiers, such as the ":encodeurl" modifier provided by the Sieve "enotify" extension. In that case, the resulting URI escaping could also be truncated inappropriately.
- IMAPSieve, IMAP FILTER=SIEVE: Fix replacing a modified message. Sieve scripts running in IMAPSIEVE or IMAP FILTER=SIEVE context that modify the message, stored the message a second time, rather than replacing the originally stored unmodified message.
- Fix segmentation fault occurring when both the sieve_extprograms
plugin (for the Sieve interpreter) and the imap_filter_sieve plugin (for IMAP) are loaded at the same time. A symbol was defined by both plugins, causing a clash when both were loaded.
This commit is contained in:
Larry Rosenman 2019-03-05 23:34:12 +00:00
parent 79f37cc7ae
commit df81cb1b9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494752
6 changed files with 61 additions and 118 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= dovecot-pigeonhole
PORTVERSION= 0.5.4
PORTREVISION= 1
PORTVERSION= 0.5.5
CATEGORIES= mail
MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
@ -13,8 +12,8 @@ COMMENT= Sieve plugin for the Dovecot 'deliver' LDA and LMTP
LICENSE= LGPL21
BUILD_DEPENDS= dovecot>=2.3.4:mail/dovecot
RUN_DEPENDS= dovecot>=2.3.4:mail/dovecot
BUILD_DEPENDS= dovecot>=2.3.5:mail/dovecot
RUN_DEPENDS= dovecot>=2.3.5:mail/dovecot
DOVECOTVERSION= 2.3

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1542985606
SHA256 (dovecot-2.3-pigeonhole-0.5.4.tar.gz) = 547999e67a001abc5e654c7e35653d3fe057fa9a47a24257e39a79c41ef08516
SIZE (dovecot-2.3-pigeonhole-0.5.4.tar.gz) = 1831570
TIMESTAMP = 1551805776
SHA256 (dovecot-2.3-pigeonhole-0.5.5.tar.gz) = cbaa106e1c2b23824420efdd6a9f8572c64c8dccf75a3101a899b6ddb25149a5
SIZE (dovecot-2.3-pigeonhole-0.5.5.tar.gz) = 1847487

View File

@ -7,7 +7,7 @@
######################################################################
PORTNAME= dovecot
PORTVERSION= 2.3.4.1
PORTVERSION= 2.3.5
CATEGORIES= mail ipv6
MASTER_SITES= https://www.dovecot.org/releases/2.3/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1549377600
SHA256 (dovecot-2.3.4.1.tar.gz) = b8873e2ce5c33e58963bb7a8d2ff8427c09dbfdd63e13a0b0f4502864043aa07
SIZE (dovecot-2.3.4.1.tar.gz) = 6925073
TIMESTAMP = 1551804380
SHA256 (dovecot-2.3.5.tar.gz) = bfe112ec6d11f7d6c6f7f0440e3b6e2c840c15cec1e99466b5495765d54aaaff
SIZE (dovecot-2.3.5.tar.gz) = 6970480

View File

@ -8,68 +8,3 @@
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
@@ -360,7 +361,7 @@ static void test_no_merging2(void)
event_unref(&child_ev);
test_assert(
compare_test_stats_to(
- "EVENT %lu 1 0 0"
+ "EVENT %"PRIu64" 1 0 0"
" stest-event-stats.c %d"
" l0 0 ctest2\n", id, l));
test_end();
@@ -386,12 +387,12 @@ static void test_no_merging3(void)
event_unref(&child_ev);
test_assert(
compare_test_stats_to(
- "BEGIN %lu 0 1 0 0"
+ "BEGIN %"PRIu64" 0 1 0 0"
" stest-event-stats.c %d ctest1\n"
- "EVENT %lu 1 1 0"
+ "EVENT %"PRIu64" 1 1 0"
" stest-event-stats.c %d"
" l1 0 ctest2\n"
- "END\t%lu\n", idp, lp, idp, l, idp));
+ "END\t%"PRIu64"\n", idp, lp, idp, l, idp));
test_end();
}
@@ -451,7 +452,7 @@ static void test_merge_events2(void)
event_unref(&merge_ev2);
test_assert(
compare_test_stats_to(
- "EVENT %lu 1 0 0"
+ "EVENT %"PRIu64" 1 0 0"
" stest-event-stats.c %d l0 0"
" ctest3 ctest2 ctest1 Tkey3"
" 10 0 Ikey2 20"
@@ -483,11 +484,11 @@ static void test_skip_parents(void)
event_unref(&child_ev);
test_assert(
compare_test_stats_to(
- "BEGIN %lu 0 1 0 0"
+ "BEGIN %"PRIu64" 0 1 0 0"
" stest-event-stats.c %d ctest1\n"
- "EVENT %lu 1 3 0 "
+ "EVENT %"PRIu64" 1 3 0 "
"stest-event-stats.c %d l3 0"
- " ctest2\nEND\t%lu\n", id, lp, id, l, id));
+ " ctest2\nEND\t%"PRIu64"\n", id, lp, id, l, id));
test_end();
}
@@ -525,12 +526,12 @@ static void test_merge_events_skip_parents(void)
event_unref(&child2_ev);
test_assert(
compare_test_stats_to(
- "BEGIN %lu 0 1 0 0"
+ "BEGIN %"PRIu64" 0 1 0 0"
" stest-event-stats.c %d ctest1\n"
- "EVENT %lu 1 3 0 "
+ "EVENT %"PRIu64" 1 3 0 "
"stest-event-stats.c %d l3 0 "
"ctest4 ctest5 Tkey3 10 0 Skey4"
- " str4\nEND\t%lu\n", id, lp, id, l, id));
+ " str4\nEND\t%"PRIu64"\n", id, lp, id, l, id));
test_end();
}

View File

@ -1,6 +1,17 @@
bin/doveadm
bin/doveconf
bin/dsync
%%DATADIR%%/stopwords/stopwords_da.txt
%%DATADIR%%/stopwords/stopwords_de.txt
%%DATADIR%%/stopwords/stopwords_en.txt
%%DATADIR%%/stopwords/stopwords_es.txt
%%DATADIR%%/stopwords/stopwords_fi.txt
%%DATADIR%%/stopwords/stopwords_fr.txt
%%DATADIR%%/stopwords/stopwords_it.txt
%%DATADIR%%/stopwords/stopwords_nl.txt
%%DATADIR%%/stopwords/stopwords_no.txt
%%DATADIR%%/stopwords/stopwords_pt.txt
%%DATADIR%%/stopwords/stopwords_ro.txt
%%DATADIR%%/stopwords/stopwords_ru.txt
%%DATADIR%%/stopwords/stopwords_sv.txt
%%ETCDIR%%/README
%%ETCDIR%%/example-config/conf.d/10-auth.conf
%%ETCDIR%%/example-config/conf.d/10-director.conf
%%ETCDIR%%/example-config/conf.d/10-logging.conf
@ -31,7 +42,29 @@ bin/dsync
%%ETCDIR%%/example-config/dovecot-ldap.conf.ext
%%ETCDIR%%/example-config/dovecot-sql.conf.ext
%%ETCDIR%%/example-config/dovecot.conf
%%ETCDIR%%/README
%%LDAP%%include/dovecot/ldap-client.h
%%LDAP%%lib/dovecot/libdovecot-ldap.a
%%LDAP%%lib/dovecot/libdovecot-ldap.so
%%LDAP%%lib/dovecot/libdovecot-ldap.so.0
%%LDAP%%lib/dovecot/libdovecot-ldap.so.0.0.0
%%LIBWRAP%%libexec/dovecot/tcpwrap
%%LUA%%%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%01_mail_lua_plugin.a
%%LUA%%%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%01_mail_lua_plugin.so
%%LUA%%%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%22_push_notification_lua_plugin.a
%%LUA%%%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%22_push_notification_lua_plugin.so
%%LUA%%include/dovecot/dlua-script-private.h
%%LUA%%include/dovecot/dlua-script.h
%%LUA%%include/dovecot/mail-lua-plugin.h
%%LUA%%include/dovecot/mail-storage-lua.h
%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.a
%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so
%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.a
%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.so
%%SOLR%%lib/dovecot/lib21_fts_solr_plugin.a
%%SOLR%%lib/dovecot/lib21_fts_solr_plugin.so
bin/doveadm
bin/doveconf
bin/dsync
include/dovecot/access-lookup.h
include/dovecot/acl-api-private.h
include/dovecot/acl-api.h
@ -93,9 +126,6 @@ include/dovecot/crc32.h
include/dovecot/cydir-storage.h
include/dovecot/cydir-sync.h
include/dovecot/data-stack.h
include/dovecot/dcrypt-iostream.h
include/dovecot/dcrypt-private.h
include/dovecot/dcrypt.h
include/dovecot/db-checkpassword.h
include/dovecot/db-dict.h
include/dovecot/db-ldap.h
@ -107,6 +137,9 @@ include/dovecot/dbox-file.h
include/dovecot/dbox-mail.h
include/dovecot/dbox-save.h
include/dovecot/dbox-storage.h
include/dovecot/dcrypt-iostream.h
include/dovecot/dcrypt-private.h
include/dovecot/dcrypt.h
include/dovecot/dict-client.h
include/dovecot/dict-private.h
include/dovecot/dict-transaction-memory.h
@ -135,8 +168,8 @@ include/dovecot/event-filter.h
include/dovecot/event-log.h
include/dovecot/execv-const.h
include/dovecot/fail-mail-storage.h
include/dovecot/failures.h
include/dovecot/failures-private.h
include/dovecot/failures.h
include/dovecot/fd-util.h
include/dovecot/fdatasync-path.h
include/dovecot/fdpass.h
@ -210,6 +243,7 @@ include/dovecot/imap-common.h
include/dovecot/imap-date.h
include/dovecot/imap-envelope.h
include/dovecot/imap-expunge.h
include/dovecot/imap-feature.h
include/dovecot/imap-fetch.h
include/dovecot/imap-id.h
include/dovecot/imap-keepalive.h
@ -278,6 +312,7 @@ include/dovecot/iostream-pump.h
include/dovecot/iostream-rawlog-private.h
include/dovecot/iostream-rawlog.h
include/dovecot/iostream-ssl-private.h
include/dovecot/iostream-ssl-test.h
include/dovecot/iostream-ssl.h
include/dovecot/iostream-temp.h
include/dovecot/iostream.h
@ -444,9 +479,9 @@ include/dovecot/message-header-hash.h
include/dovecot/message-header-parser.h
include/dovecot/message-id.h
include/dovecot/message-parser.h
include/dovecot/message-part.h
include/dovecot/message-part-data.h
include/dovecot/message-part-serialize.h
include/dovecot/message-part.h
include/dovecot/message-search.h
include/dovecot/message-size.h
include/dovecot/message-snippet.h
@ -584,6 +619,13 @@ include/dovecot/str.h
include/dovecot/strescape.h
include/dovecot/strfuncs.h
include/dovecot/strnum.h
include/dovecot/submission-backend-relay.h
include/dovecot/submission-backend.h
include/dovecot/submission-client.h
include/dovecot/submission-commands.h
include/dovecot/submission-common.h
include/dovecot/submission-recipient.h
include/dovecot/submission-settings.h
include/dovecot/subscription-file.h
include/dovecot/syslog-util.h
include/dovecot/test-common.h
@ -815,37 +857,4 @@ man/man1/dsync.1.gz
man/man7/doveadm-search-query.7.gz
sbin/dovecot
share/aclocal/dovecot.m4
%%DATADIR%%/stopwords/stopwords_da.txt
%%DATADIR%%/stopwords/stopwords_de.txt
%%DATADIR%%/stopwords/stopwords_en.txt
%%DATADIR%%/stopwords/stopwords_es.txt
%%DATADIR%%/stopwords/stopwords_fi.txt
%%DATADIR%%/stopwords/stopwords_fr.txt
%%DATADIR%%/stopwords/stopwords_it.txt
%%DATADIR%%/stopwords/stopwords_nl.txt
%%DATADIR%%/stopwords/stopwords_no.txt
%%DATADIR%%/stopwords/stopwords_pt.txt
%%DATADIR%%/stopwords/stopwords_ro.txt
%%DATADIR%%/stopwords/stopwords_ru.txt
%%DATADIR%%/stopwords/stopwords_sv.txt
%%LDAP%%include/dovecot/ldap-client.h
%%LDAP%%lib/dovecot/libdovecot-ldap.a
%%LDAP%%lib/dovecot/libdovecot-ldap.so
%%LDAP%%lib/dovecot/libdovecot-ldap.so.0
%%LDAP%%lib/dovecot/libdovecot-ldap.so.0.0.0
%%LIBWRAP%%libexec/dovecot/tcpwrap
%%LUA%%include/dovecot/dlua-script-private.h
%%LUA%%include/dovecot/dlua-script.h
%%LUA%%include/dovecot/mail-lua-plugin.h
%%LUA%%include/dovecot/mail-storage-lua.h
%%LUA%%%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%01_mail_lua_plugin.a
%%LUA%%%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%01_mail_lua_plugin.so
%%LUA%%%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%22_push_notification_lua_plugin.a
%%LUA%%%%LUA_LIBDIR%%/dovecot/%%LUA_LIBDIR%%22_push_notification_lua_plugin.so
%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.a
%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so
%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.a
%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.so
%%SOLR%%lib/dovecot/lib21_fts_solr_plugin.a
%%SOLR%%lib/dovecot/lib21_fts_solr_plugin.so
@postunexec echo "If you are removing dovecot2 permanently, you should 'rm -rf /var/db/dovecot' to clear out any remaining data."