dovecot.git
17 months agoAvoid usage of PATH_MAX not available on hurd
Christian Göttsche [Mon, 6 Jun 2022 13:29:38 +0000 (15:29 +0200)]
Avoid usage of PATH_MAX not available on hurd

Forwarded: https://github.com/dovecot/core/pull/208

Gbp-Pq: Name Avoid-usage-of-PATH_MAX-not-available-on-hurd.patch

17 months agoDebug flaky unit test
Christian Göttsche [Mon, 6 Jun 2022 15:24:19 +0000 (17:24 +0200)]
Debug flaky unit test

See #1007744

Gbp-Pq: Name Debug-flaky-unit-test.patch

17 months agoSupport openssl 3.0
Christian Göttsche [Wed, 11 May 2022 18:27:53 +0000 (20:27 +0200)]
Support openssl 3.0

Gbp-Pq: Name Support-openssl-3.0.patch

17 months agomd4/md5: disable optimization causing unaligned access
Christian Göttsche [Tue, 7 Dec 2021 12:01:10 +0000 (13:01 +0100)]
md4/md5: disable optimization causing unaligned access

This restores unit tests with GCC 11 and LTO.

    md5.c:92:23: warning: cast from 'const unsigned char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
                    STEP(F, a, b, c, d, SET(0), 0xd76aa478, 7)
                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
    md5.c:51:4: note: expanded from macro 'SET'
            (*(const uint32_t *)&ptr[(n) * 4])
              ^
    md5.c:37:29: note: expanded from macro 'STEP'
            (a) += f((b), (c), (d)) + (x) + (t); \
                                       ^

    md5.c:92:3: runtime error: load of misaligned address 0x61900000008b for type 'const uint32_t' (aka 'const unsigned int'), which requires 4 byte alignment
    0x61900000008b: note: pointer points here
     41  41 41 41 41 41 41 41 41  41 41 41 41 41 41 41 41  41 41 41 41 41 41 41 41  41 41 41 41 41 41 41
                  ^

Gbp-Pq: Name md4-md5-disable-optimization-causing-unaligned-access.patch

17 months agoSilence LTO related compiler warning
Christian Göttsche [Mon, 21 Jun 2021 13:59:02 +0000 (15:59 +0200)]
Silence LTO related compiler warning

master-service-settings-cache.c: In function 'master_service_settings_cache_init_filter':
master-service-settings-cache.c:94:3: warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized]
   94 |   i_error("master-service: cannot get filters: %s", error);
      |   ^
master-service-settings-cache.c:89:14: note: 'error' was declared here
   89 |  const char *error;
      |              ^

Gbp-Pq: Name Silence-LTO-related-compiler-warning.patch

17 months agoImprove cross-compile support
Helmut Grohne [Tue, 5 Jan 2021 21:25:00 +0000 (22:25 +0100)]
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.

Gbp-Pq: Name Improve-cross-compile-support.patch

17 months agoFix 32bit sign comparisons
Christian Göttsche [Mon, 4 Jan 2021 15:06:43 +0000 (16:06 +0100)]
Fix 32bit sign comparisons

sieve-binary.c: In function 'sieve_binary_get_resource_usage':
sieve-binary.c:199:54: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'unsigned int' [-Wsign-compare]
  199 |  if (update_time != 0 && (ioloop_time - update_time) > timeout)
      |                                                      ^

Gbp-Pq: Name Fix-32bit-sign-comparisons.patch

17 months agodoveadm-director.1: drop acute accent
Christian Göttsche [Fri, 14 Aug 2020 10:50:51 +0000 (12:50 +0200)]
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 \(aq.

Gbp-Pq: Name doveadm-director.1-drop-acute-accent.patch

17 months agoUpdates the symbol to check for in the backtrace unit tests
Noah Meyerhans [Fri, 12 Jun 2020 23:51:06 +0000 (16:51 -0700)]
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.

Also dump the actual backtrace for debugging buildd failures.

Gbp-Pq: Name test-backtrace.patch

17 months agoCorrect misspellings
Christian Göttsche [Sat, 30 May 2020 22:55:07 +0000 (00:55 +0200)]
Correct misspellings

Found by Lintian

Gbp-Pq: Name Correct-misspellings.patch

17 months agoDon't try to build doc/rfc subdir components
Noah Meyerhans [Fri, 22 May 2020 04:48:59 +0000 (21:48 -0700)]
Don't try to build doc/rfc subdir components

Forwarded: no (Debian-specific)

Gbp-Pq: Name skip-rfc-subdir.patch

17 months agoSet DH params location
Apollon Oikonomopoulos [Fri, 23 Mar 2018 22:24:55 +0000 (00:24 +0200)]
Set DH params location

Forwarded: not-needed

This is mandatory for SSL support in 2.3

Gbp-Pq: Name ssl-dh-params-location.patch

17 months agoUpdate Dovecot name to include Distribution in login greeting message
Jaldhar H. Vyas [Sat, 7 Sep 2013 05:16:14 +0000 (01:16 -0400)]
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.

Last-Update: 2020-05-23

Gbp-Pq: Name dovecot_name.patch

17 months agopolicy 22.6 compliant mbox write locking
Jaldhar H. Vyas [Fri, 23 Aug 2013 02:44:48 +0000 (22:44 -0400)]
policy 22.6 compliant mbox write locking

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

Bug: #720502

Gbp-Pq: Name mboxlocking.patch

17 months agodefault location for user mailboxes
Jaldhar H. Vyas [Thu, 15 Sep 2011 22:55:02 +0000 (00:55 +0200)]
default location for user mailboxes

Bug: #623440
Last-Update: 2017-09-20

Set a default for the case where a user has no mail so auto-
detection of mailboxes doesn't work.

Gbp-Pq: Name default-mail_location.patch

17 months agoAdd TCP wrapper support
Joerg Dorchain [Sun, 26 Aug 2012 08:10:28 +0000 (10:10 +0200)]
Add TCP wrapper support

Bug: #685850

Configuration file for TCP wrapper support.

Gbp-Pq: Name tcpwrapper.patch

17 months agoSSL cert location
Jaldhar H. Vyas [Tue, 25 Sep 2012 05:12:07 +0000 (01:12 -0400)]
SSL cert location

Last-Update: Sun, 30 Nov 2014 23:59:07 -0500
Bug: #608719

Move dovecots generated X.509 certificate out of /etc/ssl where
it doesn't belong.

Gbp-Pq: Name ssl-cert-location.patch

17 months agofix mail_plugin_dir default
Marco Nenciarini [Thu, 15 Sep 2011 22:55:02 +0000 (00:55 +0200)]
fix mail_plugin_dir default

Bug: #624294

Fix mail_plugin_dir default value in conf.d/10-mail.conf

Gbp-Pq: Name fix-mail_plugin_dir-default.patch

17 months agosplit-protocols
Marco Nenciarini [Sat, 5 Mar 2011 10:19:07 +0000 (11:19 +0100)]
split-protocols

Updated: Mon, 25 Nov 2013 20:11:59 -0500
Forwarded: no (Debian-specific)

Set default protocols value as empty and enable each
protocol in its own configuration file

Gbp-Pq: Name split-protocols.patch

17 months agodovecot (1:2.3.21+dfsg1-3+rpi1) trixie-staging; urgency=medium
Peter Michael Green [Thu, 20 Jun 2024 17:16:27 +0000 (17:16 +0000)]
dovecot (1:2.3.21+dfsg1-3+rpi1) trixie-staging; urgency=medium

  * Disablte testsuite.

[dgit import unpatched dovecot 1:2.3.21+dfsg1-3+rpi1]

17 months agoImport dovecot_2.3.21+dfsg1-3+rpi1.debian.tar.xz
Peter Michael Green [Thu, 20 Jun 2024 17:16:27 +0000 (17:16 +0000)]
Import dovecot_2.3.21+dfsg1-3+rpi1.debian.tar.xz

[dgit import tarball dovecot 1:2.3.21+dfsg1-3+rpi1 dovecot_2.3.21+dfsg1-3+rpi1.debian.tar.xz]

2 years agoImport dovecot_2.3.21+dfsg1.orig.tar.gz
Noah Meyerhans [Sat, 14 Oct 2023 15:52:10 +0000 (08:52 -0700)]
Import dovecot_2.3.21+dfsg1.orig.tar.gz

[dgit import orig dovecot_2.3.21+dfsg1.orig.tar.gz]

2 years agoImport dovecot_2.3.21+dfsg1.orig-pigeonhole.tar.gz
Noah Meyerhans [Sat, 14 Oct 2023 15:52:10 +0000 (08:52 -0700)]
Import dovecot_2.3.21+dfsg1.orig-pigeonhole.tar.gz

[dgit import orig dovecot_2.3.21+dfsg1.orig-pigeonhole.tar.gz]