diff --git a/install-php-extensions b/install-php-extensions index 5a309ec..3e9ab7c 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -339,6 +339,16 @@ buildRequiredPackageLists() { cmark@debian) buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile cmake" ;; + dba@alpine) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent db" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile db-dev" + ;; + dba@debian) + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libdb5.3-dev" + if test $PHP_MAJMIN_VERSION -le 505; then + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile patch" + fi + ;; decimal@debian) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmpdec2" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmpdec-dev" @@ -1120,6 +1130,26 @@ installBundledModule() { printf '### WARNING the module "%s" is bundled with PHP, you can NOT specify a version for it\n' "$1" >&2 fi case "$1" in + dba) + if test -e /usr/lib/$TARGET_TRIPLET/libdb-5.3.so && ! test -e /usr/lib/libdb-5.3.so; then + ln -s /usr/lib/$TARGET_TRIPLET/libdb-5.3.so /usr/lib/ + fi + if test $PHP_MAJMIN_VERSION -le 505; then + docker-php-source extract + patch /usr/src/php/ext/dba/config.m4 <