package/exim: Add ClamAV support
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
bf3753064b
commit
af96cc2e32
@ -55,6 +55,13 @@ define EXIM_USE_DEFAULT_CONFIG_FILE_DOVECOT
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CLAMAV),y)
|
||||
EXIM_DEPENDENCIES += clamav
|
||||
define EXIM_USE_DEFAULT_CONFIG_FILE_CLAMAV
|
||||
$(call exim-config-change,WITH_CONTENT_SCAN,yes)
|
||||
endef
|
||||
endif
|
||||
|
||||
define EXIM_CONFIGURE_TOOLCHAIN
|
||||
$(call exim-config-add,CC,$(TARGET_CC))
|
||||
$(call exim-config-add,CFLAGS,$(TARGET_CFLAGS))
|
||||
@ -73,6 +80,7 @@ else # CUSTOM_CONFIG
|
||||
define EXIM_CONFIGURE_CMDS
|
||||
$(EXIM_USE_DEFAULT_CONFIG_FILE)
|
||||
$(EXIM_USE_DEFAULT_CONFIG_FILE_DOVECOT)
|
||||
$(EXIM_USE_DEFAULT_CONFIG_FILE_CLAMAV)
|
||||
$(EXIM_CONFIGURE_TOOLCHAIN)
|
||||
endef
|
||||
endif # CUSTOM_CONFIG
|
||||
|
Loading…
Reference in New Issue
Block a user