From: Bernd Kuhls Date: Wed, 29 Oct 2014 20:14:06 +0000 (+0100) Subject: package/exim: Add support for SMTP AUTH through Dovecot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee6789f0cda2ad43921b728a9f1d4922c7380f0f;p=buildroot.git package/exim: Add support for SMTP AUTH through Dovecot Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- 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