From 6ba171e3b18878a14fdae3d72cbf401c67345524 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 24 Mar 2022 08:58:10 +0100 Subject: [PATCH] Add support for luasandbox (#531) --- data/supported-extensions | 1 + install-php-extensions | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/data/supported-extensions b/data/supported-extensions index 0852083..da9d069 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -37,6 +37,7 @@ ioncube_loader 5.5 5.6 7.0 7.1 7.2 7.3 7.4 jsmin 5.5 5.6 7.0 7.1 7.2 7.3 7.4 json_post 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 ldap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 +luasandbox 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 lzf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 maxminddb 7.2 7.3 7.4 8.0 8.1 diff --git a/install-php-extensions b/install-php-extensions index ef06791..fca8816 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -785,6 +785,14 @@ buildRequiredPackageLists() { fi buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libldap2-dev" ;; + luasandbox@alpine) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent lua5.1-libs" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile lua5.1-dev" + ;; + luasandbox@debian) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent liblua5.1-0" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile liblua5.1-0-dev" + ;; maxminddb@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmaxminddb" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmaxminddb-dev" @@ -2353,6 +2361,13 @@ installRemoteModule() { fi fi ;; + luasandbox) + if test -z "$installRemoteModule_version"; then + if test $PHP_MAJMIN_VERSION -lt 702; then + installRemoteModule_version=3.0.3 + fi + fi + ;; lzf) if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -lt 702; then