Commit Graph

49 Commits

Author SHA1 Message Date
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Josef Schlehofer 5275c4156b
dovecot: Update to version 2.3.7.2
Fix CVE-2019-11500

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-10 08:49:56 +02:00
Josef Schlehofer e27438f140
dovecot: Improve packaging and include configs
- Add dovenull user, otherwise, dovecot doesn't start
- Build docs to have configuration files for dovecot
- Remove init script as conffile
- Move build options from Makefile to Config.in
- Install section to be more readable
- Refresh patches

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-08-18 13:36:03 +02:00
Josef Schlehofer fcbc1cad2c
dovecot: update to version 2.3.7.1
Move PKG_MAINTAINER above PKG_LICENSE to be sync with other packages

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-08-18 13:18:24 +02:00
Lucian Cristian 971b20380e dovecot: update to 2.3.7
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-07-14 23:08:01 +03:00
Lucian Cristian 6ea951b2de dovecot: update to 2.3.6
also don't pack docs

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-05-13 16:19:50 +03:00
Lucian Cristian 7aae4eed85 dovecot: update to 2.3.5.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-04-29 04:29:17 +03:00
Lucian Cristian a9502d6d73 dovecot: gssapi build fix, add parallel build
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-04-13 19:24:43 +03:00
Rosen Penev 5ec9545ddc
dovecot: Fix deprecated API patch
Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-09 19:35:03 -07:00
Lucian Cristian 2d3f82ed2e dovecot: update to 2.3.5.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-04-07 17:11:34 +03:00
Lucian Cristian 3866fbabc2 dovecot: update to 2.3.5
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-03-13 22:05:28 +02:00
Rosen Penev 05c39b5dde dovecot: Fix compilation with OpenSSL 1.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-02-13 18:57:57 -08:00
Jan Pavlinec 0edcd5871c
dovecot: update to version 2.3.4.1 (security fix)
Fixes CVE-2019-3814

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-02-05 21:32:05 +01:00
Rosen Penev d9fa9b0fad dovecot: Make OpenSSL ENGINE support optional
Allows libopenssl to be smaller.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-01 23:34:11 -08:00
Lucian Cristian 229c2cad26 dovecot: update to 2.3.4
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-11-28 21:58:12 +02:00
Lucian Cristian 195dd657f2 dovecot: update to 2.3.3
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-11-11 14:58:11 +02:00
Rosen Penev 5226c0bfe9 dovecot: Fix compilation for OpenSSL without deprecated APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-06 19:10:20 -08:00
Daniel F. Dickinson 2b7531ad9f doveco: pigeonhole: Use stock dovecot dir locations
We move dovecot libexec binaries and modules (including the package
pigeonhole) to their standard locations.  This is okay for libexec
because it was added to core prior to 17.04 release.  Moving the
binaries normally in libexec eliminates the reason the modules were in an
unusual directory, which is that there were conflicts with
libexec binaries that were in lib, which the modules normally use.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-19 14:35:38 -04:00
Daniel F. Dickinson f0fb968346 dovecot: Fix managesieve-login needs libdovecot-login
When trying to use managesieve my MUA complained sieve wasn't supported.
On investigation dovecot logs the following could be seen:

    Aug 16 00:28:44 managesieve-login: Fatal: master:
      service(managesieve-login): child 1430 returned error 127
    Aug 16 00:31:32 managesieve-login: Error: Error loading shared
      library libdovecot-login.so.0: No such file or directory
      (needed by /usr/lib/dovecot/managesieve-login)
    Aug 16 00:31:32 managesieve-login: Error: Error loading
      shared library libdovecot.so.0: No such file or directory
      (needed by /usr/lib/dovecot/managesieve-login)
    Aug 16 00:31:32 managesieve-login: Error: Error relocating
      /usr/lib/dovecot/managesieve-login: net_ip2addr: symbol not found

The issue (verified with readelf on non-working build and build with my fix)
is that there is no RPATH information in the pigeonhole binaries (like
managesieve-login).

The dovecot-config that is 'installed' in the staging dir
assumes that plugins will be built on the same host as the installed files.
The 'installed' dovecot-config (partial) looks like:

LIBDOVECOT='-L/usr/lib/dovecot -ldovecot'
LIBDOVECOT_LOGIN='-ldovecot-login -L/home/user/Build/openwrt/openwrt-ath79/staging_dir/target-mips_24kc_musl/usr/lib -lssl -lcrypto'
LIBDOVECOT_SQL=-ldovecot-sql
LIBDOVECOT_COMPRESS=-ldovecot-compression
LIBDOVECOT_LDA=-ldovecot-lda
LIBDOVECOT_STORAGE='-ldovecot-storage '
LIBDOVECOT_DSYNC=-ldovecot-dsync
LIBDOVECOT_LIBFTS=-ldovecot-fts

The solution I used was to modify dovecot-config to add the rpath to
DOVECOT_BINARY_LDFLAGS, and to replace references to host directories
with staging_dir directories.

This results in RPATH being added as it needs to be, and results in a working
version of dovecot+pigeonhole.

NB: I've also touched package version of pigeonhole as this change in dovecot
results in (needed) binary changes for pigeonhole.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-19 14:35:23 -04:00
Lucian Cristian 06ee5719a5 dovecot: update to 2.3.2.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-07-15 21:21:57 +03:00
Sebastian Kemper 1ec6d2be11 dovecot: include nls.mk for iconv support
libmariadb 10.2 needs to be linked in together with iconv, hence include
nls.mk.

dovecot will use iconv (if it can find it) also for its own character
conversion needs, so add a general depend as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-13 22:44:19 +02:00
Lucian Cristian 78b842da56 dovecot: update to 2.3.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-07-06 23:58:38 +03:00
W. Michael Petullo 9fff237349 dovecot: explicitly disable use of sodium
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-06-16 18:03:39 -04:00
W. Michael Petullo 4944e64765 dovecot: update to 2.3.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-06-10 15:28:50 -04:00
W. Michael Petullo 25fb926c40 dovecot: add GSSAPI module
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-05-25 12:00:11 -04:00
Lucian Cristian 2229c81280 dovecot: update dovecot to 2.2.35
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-03-25 10:36:33 +03:00
Val Kulkov 12f0caf3b4 dovecot: prepare for runtime dependency by plugins
Add ABI_VERSION declaration in order to tell dovecot plugins that are
runtime-dependent on dovecot's Application Binary Interface (ABI)
version, such as the pigeonhole mail filter, that they need to be
rebuilt each time the dovecot's ABI version changes.

This PR is not yet closing issue #5062. A forthcoming PR for pigeonhole
package will close the issue.

Introduce a new configuration parameter to enable ICU (i18n) support.
Make the ICU disabled by default.

Introduce PKG_CONFIG_DEPENDS with the list of configuration parameters
triggering rebuild of dovecot.

Declare the conffiles section to save dovecot's configuration files and
its init.d script on sysupgrade.

Introduce a new package, dovecot-utils, to contain doveadm and dsync
utilities: closes #4912.

Correct the destination directory for the installation of
example-config files. At present, the example files are installed into
/usr/share/doc/dovecot/example-config/example-config.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2017-11-28 01:34:28 -05:00
Lucian Cristian 134164a8a7 dovecot: update to 2.2.33.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-10-25 16:28:40 +03:00
Lucian Cristian 635567c66e dovecot: update to 2.2.33.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-10-18 02:10:21 +03:00
Lucian Cristian 31fae1f00a dovecot: add mysql and postgresql modules
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-09-20 21:02:19 +03:00
Lucian Cristian 4d6fd00441 dovecot: update to 2.2.32
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-08-28 17:09:03 +03:00
W. Michael Petullo e584683c24 dovecot: install libraries to allow building plugins
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2017-07-04 21:17:04 -04:00
Lucian Cristian ab4499bdaa dovecot: update
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-07-03 01:13:30 +03:00
Lucian Cristian 79fb3bb152 dovecot: update to 2.2.30.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-06-08 20:53:13 +03:00
Lucian Cristian 4b8d03a7e2 Dovecot: update to 2.2.29.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-04-16 20:59:04 +03:00
Lucian Cristian 614c0928d0 dovecot: fix depends typo
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-09 11:11:55 +02:00
Lucian Cristian f39b7ea81b dovecot: update to 2.2.28
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-08 01:44:38 +02:00
Lucian Cristian 6bbbf29a85 dovecot: add SQLite support
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-08 01:42:50 +02:00
Lucian Cristian db86cdb3f7 dovecot: change LDAP select logic
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-08 01:40:15 +02:00
Lucian Cristian a00af84375 dovecot: disable ICU normalization support for FTS #4077
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-08 01:37:30 +02:00
Lucian Cristian 1c38b1d22f dovecot: change the maintainer to me
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-06 02:22:57 +02:00
Denis Shulyaka cbee85b4ba dovecot: version update to 2.2.26.0
Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
2016-11-03 23:18:07 +03:00
Peter Wagner b026b50320 dovecot: update to 2.2.15
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2014-11-09 20:23:56 +01:00
Peter Wagner 169c863286 dovecot: update to 2.2.14
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2014-10-19 04:57:17 +02:00
John Crispin d4042ec35e generic userid: use the new USERID api
recent changes in trunk allow us to specify the userid inside the openwrt makefile.
the info is stored int he meta data of the IPK contorl file and users are generated
by the new generic postinst trigger.

Signed-off-by: John Crispin <blogic@openwrt.org>
2014-10-08 03:45:30 +02:00
Peter Wagner bb01c49e01 dovecot: disable LDAP by default
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2014-10-07 19:55:33 +02:00
W. Michael Petullo 13af207aaa dovecot: add LDAP option
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-09-30 22:54:05 -04:00
Ian Leonard 66cde69e79 dovecot: add PKG_LICENSE information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 02:04:52 -07:00
Peter Wagner f8ba70a8a1 dovecot: import from packages
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2014-06-16 11:54:42 +02:00