aboutsummaryrefslogtreecommitdiff
path: root/package/exim
Commit message (Collapse)AuthorAgeFilesLines
* package: Replace 'echo -n' by 'printf'Gravatar Maxime Hadjinlian2015-10-041-1/+1
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: bump version to 4.86Gravatar Bernd Kuhls2015-08-012-3/+3
| | | | | 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-132-0/+18
| | | | | 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/*: rename patches according to the new policyGravatar Peter Korsgaard2015-02-033-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/exim: bump version to 4.85, add hashGravatar Bernd Kuhls2015-01-142-1/+3
| | | | | 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>
* Merge branch 'next'Gravatar Peter Korsgaard2014-09-011-1/+1
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.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: requires thread supportGravatar Thomas Petazzoni2014-08-291-0/+4
|/ | | | | | | | | Fixes: http://autobuild.buildroot.net/results/98a1acb58665e6cd2df354fc63afef1d4606c6e0/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* exim: security bump to version 4.83Gravatar Gustavo Zacarias2014-08-044-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-162-15/+8
| | | | | | | | | | | | | | | | | | | | | 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-152-1/+49
| | | | | | | | | | | | | | 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>
* package/exim: uses fork(), needs an MMUGravatar Yann E. MORIN2014-04-081-0/+1
| | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/95d/95ddd8e9be96f3808612db02642d72cfe77b3c26/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by: Romain Naour<romain.naour@openwide.fr> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* exim: new packageGravatar Luca Ceresoli2014-04-057-0/+199
[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>