aboutsummaryrefslogtreecommitdiff
path: root/package/exim
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2014-10-29 21:14:06 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-30 22:30:06 +0100
commitee6789f0cda2ad43921b728a9f1d4922c7380f0f (patch)
tree51f662fc1076b0f75bc1fbf1d8e71ce421179199 /package/exim
parent9fd587606e10f085a3f0dcd98e54da1943ca75de (diff)
downloadbuildroot-ee6789f0cda2ad43921b728a9f1d4922c7380f0f.tar.gz
buildroot-ee6789f0cda2ad43921b728a9f1d4922c7380f0f.tar.bz2
package/exim: Add support for SMTP AUTH through Dovecot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/exim')
-rw-r--r--package/exim/exim.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/exim/exim.mk b/package/exim/exim.mk
index f6016fabc3..b6fe2027f6 100644
--- a/package/exim/exim.mk
+++ b/package/exim/exim.mk
@@ -48,6 +48,13 @@ define EXIM_USE_DEFAULT_CONFIG_FILE
$(call exim-config-unset,EXIM_MONITOR)
endef
+ifeq ($(BR2_PACKAGE_DOVECOT),y)
+EXIM_DEPENDENCIES += dovecot
+define EXIM_USE_DEFAULT_CONFIG_FILE_DOVECOT
+ $(call exim-config-change,AUTH_DOVECOT,yes)
+endef
+endif
+
define EXIM_CONFIGURE_TOOLCHAIN
$(call exim-config-add,CC,$(TARGET_CC))
$(call exim-config-add,CFLAGS,$(TARGET_CFLAGS))
@@ -65,6 +72,7 @@ endef
else # CUSTOM_CONFIG
define EXIM_CONFIGURE_CMDS
$(EXIM_USE_DEFAULT_CONFIG_FILE)
+ $(EXIM_USE_DEFAULT_CONFIG_FILE_DOVECOT)
$(EXIM_CONFIGURE_TOOLCHAIN)
endef
endif # CUSTOM_CONFIG