Skip to contentSkip to conversation

package/dovecot: add optional support for libsodium

PATCH New Bernd Kuhls 2 participants 2 messages Mar 31, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dovecot: add optional support for libsodium

---
 package/dovecot/dovecot.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/dovecot/dovecot.mk +7 -0
index 8e775be5f7..1a10b30e16 100644
@@ -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
Signature · 1 line
2.14.2
#1 lore raw

PATCH 1/1 package/dovecot: add optional support for libsodium

Hello,

Quoted 4 lines · Bernd Kuhls
---
 package/dovecot/dovecot.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com