[dovecot/core] abbdb8: m4: Move various compiler and linker checks to dov...

GitHub noreply at github.com
Thu Nov 29 13:00:07 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: abbdb8282a5f4c6d28326e0a8600334f30b37877
      https://github.com/dovecot/core/commit/abbdb8282a5f4c6d28326e0a8600334f30b37877
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    R m4/cc_clang.m4
    R m4/cc_fortify.m4
    R m4/cc_pie.m4
    R m4/cc_retpoline.m4
    R m4/cc_stack_protector.m4
    R m4/cflags.m4
    M m4/dovecot.m4
    R m4/ld_relro.m4
    R m4/ld_whole_archive.m4
    R m4/warnings.m4

  Log Message:
  -----------
  m4: Move various compiler and linker checks to dovecot.m4

We don't want to distribute CFLAGS or LDFLAGS that break
compiler, due to lack of support.


  Commit: 7802f72547b469513c62e2c21a357220366f11d7
      https://github.com/dovecot/core/commit/7802f72547b469513c62e2c21a357220366f11d7
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M m4/dovecot.m4

  Log Message:
  -----------
  dovecot.m4: Add DC_DOVECOT_HARDENING to check hardening options


  Commit: c967136e24b010db7dd4a14a9029b5f9ed66e815
      https://github.com/dovecot/core/commit/c967136e24b010db7dd4a14a9029b5f9ed66e815
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure: Use DC_DOVECOT_HARDENING


  Commit: a50212d6827ee26d44dba49c835e9b1f039dbcf2
      https://github.com/dovecot/core/commit/a50212d6827ee26d44dba49c835e9b1f039dbcf2
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M m4/dovecot.m4

  Log Message:
  -----------
  dovecot.m4: Use dnl instead of hash for comments


  Commit: 8081f1b46253f0163447667f523931a855f6b236
      https://github.com/dovecot/core/commit/8081f1b46253f0163447667f523931a855f6b236
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M configure.ac
    M m4/dovecot.m4

  Log Message:
  -----------
  dovecot.m4: Rename DOVECOT_CFLAGS function to DC_DOVECOT_CFLAGS

Avoid conflict with variable of same name


  Commit: fdb955315c8b89a2f0e43a31bcaf5a9ac7a81e8d
      https://github.com/dovecot/core/commit/fdb955315c8b89a2f0e43a31bcaf5a9ac7a81e8d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M m4/dovecot.m4

  Log Message:
  -----------
  dovecot.m4: Call DC_DOVECOT_CFLAGS and HARDENING earlier

Before SUBST


  Commit: 9740ae3e06f4755483affc6d43b482297637f7f5
      https://github.com/dovecot/core/commit/9740ae3e06f4755483affc6d43b482297637f7f5
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M m4/dovecot.m4

  Log Message:
  -----------
  dovecot.m4: Use AS_IF macro instead of if

It's safer with m4


  Commit: 08b8e768d18581e798a9e8a1037117d125ecbc1f
      https://github.com/dovecot/core/commit/08b8e768d18581e798a9e8a1037117d125ecbc1f
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M m4/dovecot.m4

  Log Message:
  -----------
  dovecot.m4: Use _DC_EOF instead of EOF

Avoids messing with other scripts


  Commit: a57aa78b709e9774712aeec09fc2e0b146ea29de
      https://github.com/dovecot/core/commit/a57aa78b709e9774712aeec09fc2e0b146ea29de
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M m4/dovecot.m4

  Log Message:
  -----------
  dovecot.m4: Preserve original CFLAGS/LDFLAGS

Correct flags are detected during configure, so avoid
overwriting them here by accident.


  Commit: 430d00c0edc52e54cab7d08ca6182f6fc471a362
      https://github.com/dovecot/core/commit/430d00c0edc52e54cab7d08ca6182f6fc471a362
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M m4/dovecot.m4

  Log Message:
  -----------
  m4: dovecot.m4 - Call CC_CLANG before DC_DOVECOT_CFLAGS

So we know if we are using clang compiler


  Commit: 192ad02eba33762f3e95b40c9f0a681e163f0f11
      https://github.com/dovecot/core/commit/192ad02eba33762f3e95b40c9f0a681e163f0f11
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M m4/dovecot.m4

  Log Message:
  -----------
  m4: dovecot.m4 - Improve CC_CLANG


  Commit: 59d28142e10b83f0a5fb7b23c6b2b8d15239d882
      https://github.com/dovecot/core/commit/59d28142e10b83f0a5fb7b23c6b2b8d15239d882
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M m4/dovecot.m4

  Log Message:
  -----------
  m4: dovecot.m4 - Bump serial


  Commit: bccc16d9ce65b080a6a59df88428622f3ab51d33
      https://github.com/dovecot/core/commit/bccc16d9ce65b080a6a59df88428622f3ab51d33
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/cmd-enable.c
    M src/imap/cmd-fetch.c
    M src/imap/cmd-select.c
    M src/imap/cmd-store.c
    M src/imap/imap-client.c
    M src/imap/imap-client.h
    M src/imap/imap-fetch.c
    M src/imap/imap-notify.c
    M src/imap/imap-search.c
    M src/imap/imap-state.c
    M src/imap/imap-status.c
    M src/imap/imap-sync.c

  Log Message:
  -----------
  imap: Access enabled features via new imap_client_feature_* variables

This simplifies the following commits.


  Commit: cdb9a6091fc501e466e2717b14e455d679697592
      https://github.com/dovecot/core/commit/cdb9a6091fc501e466e2717b14e455d679697592
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/cmd-enable.c
    M src/imap/imap-client.c
    M src/imap/imap-client.h

  Log Message:
  -----------
  imap: client_enable() API change - enable features one at a time

This simplifies the following commits.


  Commit: 933f8a5dfa814f8212d19625e9bc471e17dda2b6
      https://github.com/dovecot/core/commit/933f8a5dfa814f8212d19625e9bc471e17dda2b6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/cmd-fetch.c
    M src/imap/cmd-select.c
    M src/imap/cmd-store.c
    M src/imap/imap-client.c
    M src/imap/imap-client.h
    M src/imap/imap-notify.c
    M src/imap/imap-state.c
    M src/imap/imap-sync.c

  Log Message:
  -----------
  imap: Add and use client_has_enabled() wrapper

This simplifies the following commits.


  Commit: 579db0c8a32a4dad0529ea1ed8856e59e338466e
      https://github.com/dovecot/core/commit/579db0c8a32a4dad0529ea1ed8856e59e338466e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/cmd-notify.c
    M src/imap/cmd-select.c
    M src/imap/imap-commands-util.c
    M src/imap/imap-state.c
    M src/imap/imap-status.c

  Log Message:
  -----------
  imap: Cleanup - don't avoid calling mailbox_enable(box, 0)

This simplifies the following changes. mailbox_enable() is an efficient
function and it doesn't mind being called with features=0 parameter.


  Commit: b537064862d1674a9b1da0fecd9bc28f90f9eebc
      https://github.com/dovecot/core/commit/b537064862d1674a9b1da0fecd9bc28f90f9eebc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/cmd-notify.c
    M src/imap/cmd-select.c
    M src/imap/imap-client.c
    M src/imap/imap-client.h
    M src/imap/imap-commands-util.c
    M src/imap/imap-state.c
    M src/imap/imap-status.c

  Log Message:
  -----------
  imap: Add and use client_enabled_mailbox_features()

This simplifies the following commits.


  Commit: 5328349c964d20c794f3b10cd275737465f90c1e
      https://github.com/dovecot/core/commit/5328349c964d20c794f3b10cd275737465f90c1e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/Makefile.am
    M src/imap/cmd-enable.c
    A src/imap/imap-feature.c
    A src/imap/imap-feature.h

  Log Message:
  -----------
  imap: Add and use imap_feature_lookup()

This simplifies the following commits.


  Commit: c37ac46f1e4d4d30abe77a805202672acbff28bf
      https://github.com/dovecot/core/commit/c37ac46f1e4d4d30abe77a805202672acbff28bf
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/cmd-enable.c
    M src/imap/cmd-select.c
    M src/imap/cmd-store.c
    M src/imap/imap-client.c
    M src/imap/imap-client.h
    M src/imap/imap-fetch.c
    M src/imap/imap-search.c
    M src/imap/imap-status.c

  Log Message:
  -----------
  imap: Cleanup - Change client_enable() to return void

Nothing cares about its return value. With the current features it's
not even possible to fail. Possibly mailbox_enable() should be also
changed to return void in the future.


  Commit: bacdb0778fc367b85253999d2f33625b92ff8684
      https://github.com/dovecot/core/commit/bacdb0778fc367b85253999d2f33625b92ff8684
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/imap-client.c
    M src/imap/imap-client.h

  Log Message:
  -----------
  imap: Add client_enabled_features()

This simplifies the following commits.


  Commit: 808c126775dd9c202aaf8c388373e337f7b6942a
      https://github.com/dovecot/core/commit/808c126775dd9c202aaf8c388373e337f7b6942a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/imap-state.c

  Log Message:
  -----------
  imap: Change state import/export to use full feature string names

Single letter IDs wouldn't allow extensions.


  Commit: 4cec00e0ddf05d1875a463aca13e02757752e7d8
      https://github.com/dovecot/core/commit/4cec00e0ddf05d1875a463aca13e02757752e7d8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/imap-client.c
    M src/imap/imap-client.h
    M src/imap/imap-feature.c
    M src/imap/imap-feature.h
    M src/imap/main.c

  Log Message:
  -----------
  imap: Add support for ENABLE extensions

Based on patch by Aki Tuomi


  Commit: 487d38cc12787ba498a5623adb779bf3b655ea59
      https://github.com/dovecot/core/commit/487d38cc12787ba498a5623adb779bf3b655ea59
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/imap/imap-client.c
    M src/lib-storage/mail-storage.h

  Log Message:
  -----------
  lib-storage: Remove MAILBOX_FEATURE_QRESYNC

This is an imap-specific feature, which doesn't need to be visible in
the lib-storage layer.


Compare: https://github.com/dovecot/core/compare/246f885cae6e...487d38cc1278
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list