diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 512b1ec..c522bdc 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -74,6 +74,11 @@ We need to monitor new releases at https://www.ioncube.com/news.php The only available versions of the `mosquitto` PHP extension are all alpha/beta. We should switch to the stable release once it will be available. +## php_trie + +The `php_trie` PHP extension uses the HAT-trie library. +We need to monitor new releases at https://github.com/Tessil/hat-trie/releases + ### opencensus The only available versions of the `opencensus` PHP extension are all alpha. diff --git a/data/supported-extensions b/data/supported-extensions index cd10a14..0d88f46 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -72,6 +72,7 @@ pdo_odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 pdo_pgsql 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 pdo_sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0 8.1 pgsql 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 +php_trie 7.3 7.4 8.0 8.1 propro 5.5 5.6 7.0 7.1 7.2 7.3 7.4 protobuf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 pspell 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 diff --git a/install-php-extensions b/install-php-extensions index ccf1a9b..7cca4bd 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1021,6 +1021,9 @@ buildRequiredPackageLists() { buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libpq5" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libpq-dev" ;; + php_trie@alpine) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libstdc++" + ;; pspell@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent aspell-libs" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile aspell-dev" @@ -2828,6 +2831,13 @@ installRemoteModule() { fi fi ;; + php_trie) + if ! test -f /usr/local/include/hat-trie/include/tsl/htrie_map.h; then + installRemoteModule_src="$(getPackageSource https://codeload.github.com/Tessil/hat-trie/tar.gz/v0.6.0)" + mkdir -p /usr/local/include/hat-trie + mv "$installRemoteModule_src/include" /usr/local/include/hat-trie + fi + ;; propro) if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -le 506; then