From 412d93afc2865a96647a89c6dc500d090a51a06b Mon Sep 17 00:00:00 2001 From: Bob Clough Date: Mon, 6 Dec 2021 16:36:45 +0000 Subject: [PATCH] Add libldap-common to debian dependencies (#475) * Add libldap-common to debian dependencies This used to be installed implicitly within debian-based docker containers by curl, but as of debian 11 isn't. This is needed to let secure LDAP work out of the box. Fixes #474 Test: ldap * Install libldap-common only on Debian 9 (stretch) or later Co-authored-by: Michele Locati --- install-php-extensions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index 13fa66d..762a63c 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -710,6 +710,9 @@ buildRequiredPackageLists() { buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile openldap-dev" ;; ldap@debian) + if test $DISTRO_VERSION_NUMBER -ge 9; then + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libldap-common" + fi buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libldap2-dev" ;; maxminddb@alpine)