aboutsummaryrefslogtreecommitdiff
path: root/package/exim/exim.mk
Commit message (Collapse)AuthorAgeFilesLines
* package/exim: add EXIM_CPE_ID_VENDORGravatar Fabrice Fontaine2021-01-181-0/+1
| | | | | | | | | cpe:2.3:a:exim:exim is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aexim%3Aexim Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/exim: fix build with ccacheGravatar Alejandro González2020-07-191-2/+2
| | | | | | | | | | | | | | When using ccache to build the exim package, the HOSTCC value contains spaces, that are incorrectly interpreted by exim's Makefilei, which uses the first word of ${CC} to test compiler options. This breaks the build with "unrecognized option" ccache errors. Fix that by wrapping the HOSTCC variable in double quotes, as it is done for other variables that follow. Signed-off-by: Alejandro González <alejandro.gonzalez.correo@gmail.com> [yann.morin.1998@free.fr: slight rewording of commit log] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* package/exim: bump to version 4.94Gravatar Fabrice Fontaine2020-07-161-2/+2
| | | | | | | | | - Drop seventh patch (already in version with https://git.exim.org/exim.git/commitdiff/302e7912253bd1f1a88f04d9a8a71d8a3c9b93fc) - Update indentation in hash file (two spaces) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* packages/exim: enable parallel makeGravatar Luca Ceresoli2020-04-201-6/+4
| | | | | | | | | | | | | | Parallel make used to be broken in exim, as reported in its docs. Now that line has disappeared from the docs, and parallel make is actually working. Tested with 'make exim-dirclean ; time make BR2_JLEVEL=999 exim': builds still succeed and the build time decreases from 34 to 11 seconds on my host. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* package/exim: fix log and pid file pathsGravatar Pascal de Bruijn2020-04-131-0/+2
| | | | | | | | | | | | By default, exim stores its PID file in /var/spool/exim, and its log file in /var/spool/exim/log, but it makes a lot more sense to have the logs in /var/log/exim and the PID file in /var/run/exim. Using binary name subdirectory in both cases allows for the use of systemd's LogsDirectory and RuntimeDirectory statements Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/exim: fix build error during install stepGravatar Luca Ceresoli2020-02-111-1/+3
| | | | | | | | | | | | | | | | exim builds some files during the 'make install' step, and these fail with an error: lookups/lf_quote.c:49:3: error: 'for' loop initial declarations are only allowed in C99 mode for (int j = 0; j < vlength; j++) ^ Fix by passing the -std=c99 here, as it is already passed in the build step. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: fix target build on some toolchainsGravatar Luca Ceresoli2020-02-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building with the Sourcery CodeBench ARM 2014.05 the build fails with this error: >>> exim_dbmbuild utility built .../buildroot/output/host/bin/arm-none-linux-gnueabi-gcc -DEXIM_DUMPDB exim_dbutil.c exim_dbutil.c: In function 'main': exim_dbutil.c:568:1: error: 'for' loop initial declarations are only allowed in C99 mode for (uschar * key = dbfn_scan(dbm, TRUE, &cursor); ^ exim_dbutil.c:568:1: note: use option -std=c99 or -std=gnu99 to compile your code exim_dbutil.c:630:2: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 1; i <= wait->count; i++) ^ exim_dbutil.c:642:6: error: 'for' loop initial declarations are only allowed in C99 mode for (int j = 0; j < MESSAGE_ID_LENGTH; j++) ^ Fix by enforcing C99. This completes commit 2c692e81a844b30b4d3161dfd9897b3265bb9279 ("package/exim: fix host build") to also fix target builds. Fixes: http://autobuild.buildroot.net/results/6b7e08090f5f0f2627cc3e89b349c2052b6e3116/ Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: bump version to 4.93.0.4Gravatar Bernd Kuhls2020-01-111-1/+1
| | | | | | | | Release notes: https://lists.exim.org/lurker/message/20200107.002043.053ca484.en.html Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: fix host buildGravatar Bernd Kuhls2020-01-081-1/+1
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/5a7/5a765f0e65e20266c7203412a46c684a40b66ea3/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Tested-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/exim: bump version to 4.93.0.3Gravatar Bernd Kuhls2020-01-041-3/+8
| | | | | | | | | | | | | | | | | | Removed 0004-Fix-uClibc-build.patch, committed upstream https://git.exim.org/exim.git/commitdiff/ec5bf0b83235d01ad0b2865d1819a603441f50f2 Renumbered remaining patches. Added hashes provided by upstream. Explicitly disabled DANE after upstream enabled it: https://git.exim.org/exim.git/commitdiff/59c0959a36649c4554bd0f18f2c2e74571ed41eb#patch3 Use new TLS options: https://git.exim.org/exim.git/commitdiff/01603eec64d42431f182b33008206facfc7f800e#patch1 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package: rely on systemctl preset-all for buildroot-provided servicesGravatar Jérémy Rosen2019-12-181-3/+0
| | | | | | | | | | | | All the packages in this list have the following properties * units are provided by buildroot in the package directory * the SYSTEMD_INSTALL_INIT_HOOK is exactly equivalent to what the [Install] section of the unit does The fix removes the soflinking in the .mk file Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* package/exim: bump version to 4.92.3Gravatar Bernd Kuhls2019-10-051-1/+1
| | | | | | | Removed patch applied upstream. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/exim: security bump to version 4.92.2Gravatar Peter Korsgaard2019-09-071-1/+1
| | | | | | | | | | | Fixes CVE-2019-15846: Local or remote attacker can execute programs with root privileges For details, see the advisory: https://exim.org/static/doc/security/CVE-2019-15846.txt Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/exim: security bump to version 4.92.1Gravatar Bernd Kuhls2019-07-281-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes CVE-2019-13917: http://www.exim.org/static/doc/security/CVE-2019-13917.txt https://github.com/Exim/exim/commit/d185889f47b9b27088e777f7d382295c51271586 added new code to "Prebuild the data structure for builtin macros". This function needs a host-built binary called macro_predef, it depends on host-berkeleydb, host-pcre and optionally on host-openssl. With an openssl-enabled exim the host build of macro_predef will fail if host-openssl is missing: /usr/bin/gcc -DMACRO_PREDEF macro_predef.c In file included from hash.h:14, from exim.h:485, from macro_predef.c:11: sha_ver.h:37:12: fatal error: openssl/ssl.h: No such file or directory because macro_predef also has the an optional dependency on openssl: https://github.com/Exim/exim/blob/exim-4.92%2Bfixes/src/src/macro_predef.c#L130 Removed patches applied upstream: 0004: https://github.com/Exim/exim/commit/98913c8ea2be5188dd22ec652da1182017e8edb7 0005: https://github.com/Exim/exim/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1 0007: https://github.com/Exim/exim/commit/7ea1237c783e380d7bdb86c90b13d8203c7ecf26#diff-58af16fe62ea674adf1730edc078d175R6243 Added patch to fix uClibc build. Added license hash, switched _SITE to https. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/exim: remove libnsl linkingGravatar Romain Naour2018-05-191-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | glibc now considers its built-in libnsl as being obsolete, and requires passing --enable-obsolete-libnsl to have it built and installed. libnsl is now provided as a separate project [1], but it isn't packaged yet in Buildroot. In preparation for dropping --enable-obsolete-libnsl from the glibc package, this commit ensures that exim doesn't use libnsl. It was already the case for uclibc and musl toolchains, so this commit simply extends that to make sure libnsl is also not used with glibc toolchains. Only Exim's nis.so and nisplus.so lookup modules require libnsl, but they are not build by default. So we can safely remove -lnsl from the Makefile-Linux. If someone want these modules, a new libnsl package must be added first to provide nsl library. Since we remove -lnsl unconditionally, use a patch instead of a sed command. [1] https://github.com/thkukuk/libnsl.git [2] https://fedoraproject.org/wiki/Changes/NISIPv6 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Baruch Siach <baruch@tkos.co.il> Cc: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/exim: change tarball compression to xzGravatar Jerzy Grzegorek2017-12-081-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: security bump to version 4.89.1Gravatar Bernd Kuhls2017-11-291-1/+1
| | | | | | | | Fixes CVE-2017-16943 & CVE-2017-16944: https://lists.exim.org/lurker/message/20171128.215505.79ea8efa.en.html Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Gravatar Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/exim: bump version to 4.89Gravatar Bernd Kuhls2017-03-121-2/+2
| | | | | | | Rebased patch #0003, added uClibc compatibility patch. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* exim: security bump to 4.87.1Gravatar Peter Korsgaard2016-12-271-2/+2
| | | | | | | | | | | | No features are added or removed. This release contains just a fix for CVE-2016-9963 - Fix CVE-2016-9963 - Info leak from DKIM. When signing DKIM, if either LMTP or PRDR was used for delivery, the key could appear in logs. Additionally, if the experimental feature "DSN_INFO" was used, it could appear in DSN messages (and be sent offsite). Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Replace (e)glibc by glibcGravatar Thomas Petazzoni2016-06-281-1/+1
| | | | | | | | | | | | | | | | Following the removal of eglibc support, this commit replaces all occurences of "(e)glibc" by just "glibc". Most of the occurences are in package Config.in comments. In addition, when the form "an (e)glibc ..." was used, it is replaced by "a glibc ...". [Peter: add new efi* packages, s/uclibc/uClibc as suggested by Romain, systemd / liquid-dsp tweaks as suggested by Yann] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: bump version to 4.87Gravatar Bernd Kuhls2016-04-081-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* exim: security bump to version 4.86.2Gravatar Gustavo Zacarias2016-03-031-1/+1
| | | | | | | | | | | | Fixes: CVE-2016-1531 - All installations having Exim set-uid root and using 'perl_startup' are vulnerable to a local privilege escalation. Any user who can start an instance of Exim (and this is normally *any* user) can gain root privileges. If you do not use 'perl_startup' you *should* be safe. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: bump version to 4.86Gravatar Bernd Kuhls2015-08-011-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/exim: Fix compilation error with muslGravatar Bernd Kuhls2015-07-261-0/+10
| | | | | | | | | | | | | | | | | | | | Fixes smtp_in.c: In function ‘smtp_start_session’: smtp_in.c:1976:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct options’ EXIM_SOCKLEN_T optlen = sizeof(struct ip_options) + MAX_IPOPTLEN; smtp_in.c misdetects the needed style for ip_options, only OPTSTYLE == 2 works. Since musl does not provide any macro[1] to detect it we need to pretend to be darwin in order to fix the compile bug. [1] http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Luca: simplify by using only one sed invocation] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Fix source path for systemd's serviceGravatar Maxime Hadjinlian2015-07-131-1/+1
| | | | | | | | Otherwise the link would appear broken in output/target it's not that big a deal but at least it's coherent with what we already have. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* exim: systemd supportGravatar Alex Suykov2015-07-131-0/+8
| | | | | Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/exim: use libnsl only with glibcGravatar Bernd Kuhls2015-06-301-0/+8
| | | | | | | | | | | | | | | | | Only (e)glibc provides libnsl, uclibc provides only a stub, and musl doesn't implement it at all. Fixes compilation using this defconfig BR2_arm=y BR2_cortex_a7=y BR2_STATIC_LIBS=y BR2_TOOLCHAIN_EXTERNAL=y BR2_PACKAGE_OPENSSL=y BR2_PACKAGE_EXIM=y Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* exim: enable plaintext and cram-md5 authenticatorsGravatar Mirko Langisch2015-05-211-0/+2
| | | | | | | | Fixes #8126 Signed-off-by: Mirko Langisch <pud@nerdpunx.net> Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain-external: mark Synopsys toolchain as brokenGravatar Thomas Petazzoni2015-05-011-7/+0
| | | | | | | | | | | | | | This uClibc toolchain does not provide an appropriate uClibc configuration for Buildroot: missing IPv6, missing nsl stub, missing program invocation, etc. Therefore, we mark it as broken, waiting for a new upstream release of a new toolchain. We keep around the toolchain-external Synopsys code anyway, since it will most likely be identical for the new toolchain version. However, we remove all the quirks that were introduced to start work around issues related to this toolchain. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/exim: Add optional OpenSSL supportGravatar Bernd Kuhls2015-04-121-2/+11
| | | | | | | | | Also add TARGET_MAKE_ENV to EXIM_BUILD_CMDS to enable access to our pkg-config. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/exim: fix build error with external arc toolchain due to missing libnslGravatar Bernd Kuhls2015-03-291-0/+8
| | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/331/331ed781b422448205fb9e7c9730ec0c438d6306/ http://autobuild.buildroot.net/results/402/402d64965ac7ac6e1d4e1990080394958802fe8c/ http://autobuild.buildroot.net/results/960/9605bac2972d3e3d3fb91947ae6921e89210247b/ http://autobuild.buildroot.net/results/6b6/6b61ea80a3a6dcead233c4b408eba8b8d647e841/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/exim: bump version to 4.85, add hashGravatar Bernd Kuhls2015-01-141-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSGravatar Thomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* package/*/*.mk: Fix indentGravatar Maxime Hadjinlian2014-11-081-1/+1
| | | | | | | | Fix indent for LIBFOO_USERS and LIBFOO_PERMISSIONS as per the manual example. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: Add ClamAV supportGravatar Bernd Kuhls2014-11-011-0/+8
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/exim: Add support for SMTP AUTH through DovecotGravatar Bernd Kuhls2014-10-301-0/+8
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/exim: Bump version to 4.84Gravatar Bernd Kuhls2014-08-111-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* exim: security bump to version 4.83Gravatar Gustavo Zacarias2014-08-041-1/+1
| | | | | | | | | Fixes CVE-2014-2972 - prevent double expansion in math comparison functions (can expand unsanitized data). Also rename patches according to patch naming policy. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* exim: get rid of the convert the custom config file boolean knobGravatar Luca Ceresoli2014-07-161-4/+1
| | | | | | | | | | | | | | | | | | | | | The current implementation causes troubles with the autobuilders when they set BR2_PACKAGE_EXIM_CUSTOM_CONFIG=y, because in these cases BR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE is empty, and this is a configuration error. Solve the problem by entirely reomving the BR2_PACKAGE_EXIM_CUSTOM_CONFIG boolean knob. Activation of the custon configuration file is now detected by the fact that BR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE is non-empty. Fixes: http://autobuild.buildroot.org/results/0db/0db54c555f6c7e635ebf99f86b3f91dc31e441f0/ [Thomas: slightly improve commit log.] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: bernd.kuhls@t-online.de Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* exim: allow using a custom configuration fileGravatar Luca Ceresoli2014-07-151-1/+24
| | | | | | | | | | | | | | exim has lots of options configurable before the build process. It's not useful to have all of them exposed in Buildroot, yet users may need to tweak them. Allow the user to pass an entire configuration file to make exim totally reconfigurable without bloating the Buildroot menus. [Thomas: remove "for exim" from Config.in options prompts.] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/exim: security bumpGravatar Yann E. MORIN2014-05-281-1/+1
| | | | | | | | | | | | | Bump exim to get an urgent security fix. We should not be impacted, since we're not building with DMARC (where the flaw is), but better safe than sorry. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: fix static linkingGravatar Yann E. MORIN2014-05-281-2/+9
| | | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/0a3/0a392087878f80a70435981856455a30152b684d/ When building static, we need to tell exim that it needs to link statically (obviously), and that it should link against pthreads. Yet, exim is still not happy with that, as it still wants to build something (a version-related program) at install time, so we need to replicate the ld flags at install time. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package .mk files: use 80 # signs in headerGravatar Thomas De Schampheleire2014-05-011-2/+2
| | | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* exim: use a more standard build-time configurationGravatar Luca Ceresoli2014-04-121-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | Buildroot currently ships a very minimal build configuration file for exim, which disables most optional features. This is not coherent with the runtime configuration file, taken verbatim from the exim distribution, which enables some of these features. The visible symptom is an error during boot that prevents exim from starting: Exim configuration error in line 541 of /etc/exim/configure: router dnslookup: cannot find router driver "dnslookup" In order to fix this problem, we change the way exim is configured at build time. Instead of blindly copying a minimal Buildroot-provided configuration file, we now copy the exim-provided one and then tweak it to change the needed options. This actually makes the configuration closer to standard exim. As the amount of tweaking is remarkable, we also define a few macros to make it easier and more readable. This new approach was suggested by Bernd Kuhls. Reported-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* exim: new packageGravatar Luca Ceresoli2014-04-051-0/+46
[Thomas: - use $(INSTALL) instead of install - add AR and RANLIB variables in the local makefiles, so that the cross toolchain ar and ranlib utilities are used instead of the native ones. - move the init script initialization to the EXIM_INSTALL_INIT_SYSV variable. - Use parenthesis instead of curly braces to reference TARGET_DIR.] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>