Files
buildroot/package/c-icap/Config.in
Thomas Petazzoni e71036045b package/c-icap: memcached code needs <crypt.h>
The memcached code of c-icap needs <crypt.h>, which is no longer
provided by glibc since glibc 2.39. So add some logic to add a
dependency on libxcrypt when needed.

Fixes:

  http://autobuild.buildroot.net/results/63b04f86bb8794b79d206659a883acef96dfebf0/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-01-02 19:46:05 +01:00

22 lines
774 B
Plaintext

config BR2_PACKAGE_C_ICAP
bool "c-icap"
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
# the libmemcached code uses <crypt.h>
select BR2_PACKAGE_LIBXCRYPT if \
BR2_PACKAGE_LIBMEMCACHED && BR2_TOOLCHAIN_USES_GLIBC
help
c-icap is an implementation of an ICAP server. It can be
used with HTTP proxies that support the ICAP protocol to
implement content adaptation and filtering services. Most
of the commercial HTTP proxies must support the ICAP
protocol. The open source Squid 3.x proxy server supports
it.
http://c-icap.sourceforge.net/
comment "c-icap needs a toolchain w/ threads and dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS