From 481100732ab58c85a4bccbf8c8ebc86d7c46c670 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 30 Sep 2023 21:09:27 +0200 Subject: [PATCH] Add support for memcached on Debian Bookworm (#807) --- data/special-requirements | 1 - install-php-extensions | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/special-requirements b/data/special-requirements index 9eb4e0e..9c45e5c 100644 --- a/data/special-requirements +++ b/data/special-requirements @@ -3,7 +3,6 @@ ddtrace !jessie ecma_intl !buster !bullseye geos !alpine3.9 !alpine3.10 lz4 !jessie -memcached !bookworm memprof !alpine3.9 !alpine3.10 !alpine3.11 !alpine3.12 !alpine3.13 !alpine3.14 !alpine3.15 parallel zts parle !jessie diff --git a/install-php-extensions b/install-php-extensions index f00e0f8..08ee780 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1032,6 +1032,9 @@ buildRequiredPackageLists() { memcached@debian) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmemcachedutil2" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmemcached-dev zlib1g-dev" + if test $DISTRO_MAJMIN_VERSION -ge 12; then + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $buildRequiredPackageLists_libssldev" + fi ;; mongo@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libsasl $buildRequiredPackageLists_libssl"