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 <michele@locati.it>
pull/481/head 1.4.6
Bob Clough 2021-12-06 16:36:45 +00:00 committed by GitHub
parent 717e047d3c
commit 412d93afc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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)