dovecot: add SQLite support

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
Lucian Cristian 2017-03-08 01:42:50 +02:00
parent db86cdb3f7
commit 6bbbf29a85

View file

@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/dovecot define Package/dovecot
SECTION:=mail SECTION:=mail
CATEGORY:=Mail CATEGORY:=Mail
DEPENDS:=+DOVECOT_LDAP:libopenldap +libopenssl +librt +zlib +libbz2 +libcap DEPENDS:=+DOVECOT_LDAP:libopenldap DOVECOT_SQLITE:libsqlite3 +libopenssl +librt +zlib +libbz2 +libcap
TITLE:=An IMAP and POP3 daemon TITLE:=An IMAP and POP3 daemon
MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com> MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
URL:=http://www.dovecot.org/ URL:=http://www.dovecot.org/
@ -46,6 +46,11 @@ define Package/dovecot/config
default n default n
help help
Implements LDAP support in dovecot. Implements LDAP support in dovecot.
config DOVECOT_SQLITE
bool "SQLite support"
default n
help
Implements SQLite DB support in dovecot.
endmenu endmenu
endef endef
@ -57,7 +62,8 @@ CONFIGURE_ARGS += \
--without-lzma \ --without-lzma \
--without-lz4 \ --without-lz4 \
--with-icu=no \ --with-icu=no \
$(if $(CONFIG_DOVECOT_LDAP),--with-ldap=yes,--with-ldap=no) $(if $(CONFIG_DOVECOT_LDAP),--with-ldap=yes,--with-ldap=no) \
$(if $(CONFIG_DOVECOT_SQLITE),--with-sqlite=yes,--with-sqlite=no)
CONFIGURE_VARS += \ CONFIGURE_VARS += \
RPCGEN= \ RPCGEN= \