1config BR2_PACKAGE_DOVECOT
2	bool "dovecot"
3	depends on !BR2_STATIC_LIBS
4	depends on BR2_USE_MMU # fork()
5	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
6	select BR2_PACKAGE_OPENSSL
7	select BR2_PACKAGE_ZLIB
8	help
9	  Dovecot is an open source IMAP and POP3 email server for
10	  Linux/UNIX- like systems, written with security primarily in
11	  mind. Dovecot is an excellent choice for both small and large
12	  installations. It's fast, simple to set up, requires no
13	  special administration and it uses very little memory.
14
15	  http://www.dovecot.org
16
17if BR2_PACKAGE_DOVECOT
18
19config BR2_PACKAGE_DOVECOT_MYSQL
20	bool "mysql support"
21	depends on BR2_INSTALL_LIBSTDCPP # mariadb
22	depends on BR2_TOOLCHAIN_HAS_THREADS # mariadb
23	select BR2_PACKAGE_MARIADB
24	help
25	  Enable MySQL support.
26
27comment "mysql support needs a toolchain w/ C++, threads"
28	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
29
30config BR2_PACKAGE_DOVECOT_SQLITE
31	bool "sqlite support"
32	select BR2_PACKAGE_SQLITE
33	help
34	  Enable SQLite support.
35
36source "package/dovecot-pigeonhole/Config.in"
37
38endif # BR2_PACKAGE_DOVECOT
39
40comment "dovecot needs a toolchain w/ dynamic library"
41	depends on BR2_USE_MMU
42	depends on BR2_STATIC_LIBS
43