Package: dovecot / 1:2.3.13+dfsg1-2

Metadata

Package Version Patches format
dovecot 1:2.3.13+dfsg1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
split protocols.patch | (download)

doc/example-config/dovecot.conf | 4 2 + 2 - 0 !
src/master/master-settings.c | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 split-protocols

Updated: Mon, 25 Nov 2013 20:11:59 -0500
fix mail_plugin_dir default.patch | (download)

doc/example-config/conf.d/10-mail.conf | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix mail_plugin_dir default

Bug: #624294

ssl cert location.patch | (download)

doc/example-config/conf.d/10-ssl.conf | 7 4 + 3 - 0 !
doc/mkcert.sh | 10 5 + 5 - 0 !
2 files changed, 9 insertions(+), 8 deletions(-)

 ssl cert location

Bug: #608719

tcpwrapper.patch | (download)

doc/example-config/conf.d/10-tcpwrapper.conf | 14 14 + 0 - 0 !
doc/example-config/conf.d/Makefile.am | 1 1 + 0 - 0 !
2 files changed, 15 insertions(+)

 add tcp wrapper support

Bug: #685850

default mail_location.patch | (download)

doc/example-config/conf.d/10-mail.conf | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 default location for user mailboxes

Bug: #623440

exampledir.patch | (download)

doc/example-config/Makefile.in | 2 1 + 1 - 0 !
doc/example-config/conf.d/Makefile.in | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 wrong pointer to exampledir

Bug: #698941

mboxlocking.patch | (download)

doc/example-config/conf.d/10-mail.conf | 8 7 + 1 - 0 !
src/config/all-settings.c | 2 1 + 1 - 0 !
src/lib-storage/index/mbox/mbox-settings.c | 2 1 + 1 - 0 !
3 files changed, 9 insertions(+), 3 deletions(-)

 policy 22.6 compliant mbox write locking

For NFS safety, prefer fcntl to dotlocks.
Dovecots default is the other way around.

Bug: #720502

dovecot_name.patch | (download)

configure.ac | 7 6 + 1 - 0 !
src/config/all-settings.c | 6 3 + 3 - 0 !
src/lib-smtp/smtp-server.c | 2 1 + 1 - 0 !
src/lmtp/lmtp-settings.c | 2 1 + 1 - 0 !
src/login-common/login-settings.c | 2 1 + 1 - 0 !
src/submission/submission-settings.c | 2 1 + 1 - 0 !
6 files changed, 13 insertions(+), 8 deletions(-)

 update dovecot name to include distribution in login greeting
 message

This patch was found at: https://blueprints.launchpad.net/ubuntu/+spec/servercloud-s-server-app-banner-updates
and originally provided by Ubuntu for their 2.1.7 package.  The original
author is  Yolanda Robla <yolanda.robla@canonical.com>.  I updated it
for Debian's 2.2.5 package.

ssl dh params location.patch | (download)

doc/example-config/conf.d/10-ssl.conf | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 set dh params location

skip rfc subdir.patch | (download)

pigeonhole/configure.ac | 1 0 + 1 - 0 !
pigeonhole/doc/Makefile.am | 1 0 + 1 - 0 !
pigeonhole/doc/Makefile.in | 1 0 + 1 - 0 !
3 files changed, 3 deletions(-)

 don't try to build doc/rfc subdir components

Correct misspellings.patch | (download)

ChangeLog | 6 3 + 3 - 0 !
NEWS | 2 1 + 1 - 0 !
pigeonhole/src/lib-sieve/sieve-address.c | 2 1 + 1 - 0 !
src/director/director-connection.c | 2 1 + 1 - 0 !
src/lib-index/mail-index-transaction-finish.c | 2 1 + 1 - 0 !
src/lib-index/mail-index.h | 2 1 + 1 - 0 !
src/lib-index/mail-transaction-log-file.c | 2 1 + 1 - 0 !
src/lib-storage/index/index-sync-pvt.c | 2 1 + 1 - 0 !
8 files changed, 10 insertions(+), 10 deletions(-)

 correct misspellings

Found by Lintian

fix compiler warnings.patch | (download)

src/master/sd-daemon.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix compiler warnings:

* passing null to format argument
* -Wstringop-truncation

systemd sd notify support.patch | (download)

dovecot.service.in | 3 1 + 2 - 0 !
src/lib-master/master-service-settings.c | 2 1 + 1 - 0 !
src/master/main.c | 6 6 + 0 - 0 !
3 files changed, 8 insertions(+), 3 deletions(-)

 [patch 1/2] systemd integration: notify service manager when ready

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951722
test backtrace.patch | (download)

src/lib/test-backtrace.c | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

 updates the symbol to check for in the backtrace unit tests

Updates the symbol to check for in the backtrace unit tests to
something that appears in all the traces on the platforms we support.

doveadm director.1 drop acute accent.patch | (download)

doc/man/doveadm-director.1.in | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 doveadm-director.1: drop acute accent

Found by Lintian:

    This manual page uses the \' groff sequence. Usually, the intent to
    generate an apostrophe, but that sequence actually renders as a an acute
    accent.

    For an apostrophe or a single closing quote, use plain '. For single
    opening quote, i.e. a straight downward line ' like the one used in
    shell commands, use &#92;(aq.

Fix 32bit sign comparisons.patch | (download)

src/lib-mail/test-message-header-decode.c | 2 1 + 1 - 0 !
src/lib/test-time-util.c | 4 2 + 2 - 0 !
src/login-common/login-proxy.c | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 fix 32bit sign comparisons

In file included from test-lib.h:5,
                 from test-time-util.c:3:
test-time-util.c: In function 'test_str_to_timeval':
Fix 32 bit test case.patch | (download)

src/lib/time-util.c | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 fix 32-bit test case

Improve cross compile support.patch | (download)

m4/size_t_signed.m4 | 11 4 + 7 - 0 !
m4/want_mysql.m4 | 54 26 + 28 - 0 !
src/lib-lua/Makefile.am | 2 1 + 1 - 0 !
3 files changed, 31 insertions(+), 36 deletions(-)

 improve cross-compile support

The check for the signedness of size_t really doesn't have to be run as
that is a compile time property.

Beyond that, dovecot uses mysql_config. I've looked into that and
mysql_config is unfixably broken during cross builds. It will not be
fixed. Instead, please use pkg-config. My patch implements that with a
fallback to mysql_config to avoid breaking other users.

Last but not least, src/lib-lua/Makefile.am adds $(LUA_LIBS) to
libdovecot_lua_la_DEPENDENCIES. As it happens, LUA_LIBS contains a -L
flag and when that flag shows up in a dependency, make gives up. I have
no clue why one would add LUA_LIBS to DEPENDENCIES as it already is
being correctly added to LIBADD. My patch suggests to quite simply drop
that.

CVE 2021 29157.patch | (download)

src/lib-dict-extra/dict-fs.c | 29 29 + 0 - 0 !
src/lib-oauth2/oauth2-jwt.c | 57 32 + 25 - 0 !
src/lib-oauth2/test-oauth2-jwt.c | 2 1 + 1 - 0 !
3 files changed, 62 insertions(+), 26 deletions(-)

 fix incorrectly escapes kid and azp fields in jwt tokens
CVE 2021 33515.patch | (download)

src/lib-smtp/smtp-server-cmd-starttls.c | 14 14 + 0 - 0 !
src/lib-smtp/smtp-server-connection.c | 6 5 + 1 - 0 !
2 files changed, 19 insertions(+), 1 deletion(-)

---