kumquat-buildroot/package/dovecot/Config.in
Bernd Kuhls cbd22bacff package/dovecot: add optional dependency to libxcrypt
When glibc was bumped to version 2.39 in commit
b5680f53d6 it removed the deprecated
libcrypt support.

As glibc's libcrypt was providing dovecot's libcrypt dependency this
broke the dovecot build using glibc version 2.39.

To fix this select the libxcrypt dependency to dovecot when using a
glibc toolchain and add the dependency if selected.

Fixes:
http://autobuild.buildroot.net/results/99d816fb7a033ec73a958200041f0dcd728e0e87/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-04-03 21:54:24 +02:00

43 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_DOVECOT
bool "dovecot"
depends on !BR2_STATIC_LIBS
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_ZLIB
help
Dovecot is an open source IMAP and POP3 email server for
Linux/UNIX- like systems, written with security primarily in
mind. Dovecot is an excellent choice for both small and large
installations. It's fast, simple to set up, requires no
special administration and it uses very little memory.
http://www.dovecot.org
if BR2_PACKAGE_DOVECOT
config BR2_PACKAGE_DOVECOT_MYSQL
bool "mysql support"
depends on BR2_INSTALL_LIBSTDCPP # mariadb
depends on BR2_TOOLCHAIN_HAS_THREADS # mariadb
select BR2_PACKAGE_MARIADB
help
Enable MySQL support.
comment "mysql support needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_DOVECOT_SQLITE
bool "sqlite support"
select BR2_PACKAGE_SQLITE
help
Enable SQLite support.
source package/dovecot-pigeonhole/Config.in
endif # BR2_PACKAGE_DOVECOT
comment "dovecot needs a toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS