Merge pull request #100 from mlocati/libssl-dev-debian9

Fix libssl dev dependencies on Debian 9
pull/101/head
Michele Locati 2020-01-22 14:02:24 +01:00 committed by GitHub
commit 9b9429993e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 1 deletions

View File

@ -341,7 +341,15 @@ buildRequiredPackageLists() {
;; ;;
imap@debian) imap@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libc-client2007e" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libc-client2007e"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libc-client-dev libkrb5-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libkrb5-dev"
case "$buildRequiredPackageLists_distroVersion" in
debian@9)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $buildRequiredPackageLists_libssldev comerr-dev krb5-multidev libc-client2007e libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11 libkdb5-8 libpam0g-dev libssl-doc mlock"
;;
*)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libc-client-dev"
;;
esac
;; ;;
interbase@alpine) interbase@alpine)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile icu-dev ncurses-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile icu-dev ncurses-dev"
@ -822,6 +830,16 @@ installBundledModule() {
esac esac
;; ;;
imap) imap)
case "$(getDistroVersion)" in
debian@9)
installBundledModule_tmp="$(pwd)"
cd /tmp
apt-get download libc-client2007e-dev
dpkg -i --ignore-depends=libssl-dev libc-client2007e-dev*
rm libc-client2007e-dev*
cd "$installBundledModule_tmp"
;;
esac
PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl
;; ;;
interbase | pdo_firebird) interbase | pdo_firebird)
@ -904,6 +922,15 @@ installBundledModule() {
;; ;;
esac esac
docker-php-ext-install -j$(nproc) "$2" docker-php-ext-install -j$(nproc) "$2"
case "$2" in
imap)
case "$(getDistroVersion)" in
debian@9)
dpkg -r libc-client2007e-dev
;;
esac
;;
esac
} }
# Fetch a tar.gz file, extract it and returns the path of the extracted folder. # Fetch a tar.gz file, extract it and returns the path of the extracted folder.