From 14d43aea0a6a18878416bb4c5aa4d870d8377f5f Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 31 Mar 2018 18:34:58 +0200 Subject: [PATCH] package/dovecot: add optional support for libsodium Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/dovecot/dovecot.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/dovecot/dovecot.mk b/package/dovecot/dovecot.mk index 8e775be5f7..1a10b30e16 100644 --- a/package/dovecot/dovecot.mk +++ b/package/dovecot/dovecot.mk @@ -57,6 +57,13 @@ else DOVECOT_CONF_OPTS += --without-libcap endif +ifeq ($(BR2_PACKAGE_LIBSODIUM),y) +DOVECOT_CONF_OPTS += --with-sodium +DOVECOT_DEPENDENCIES += libsodium +else +DOVECOT_CONF_OPTS += --without-sodium +endif + ifeq ($(BR2_PACKAGE_DOVECOT_MYSQL),y) DOVECOT_CONF_ENV += MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config" DOVECOT_CONF_OPTS += --with-mysql -- 2.30.2