Add support for php_trie (#578)

pull/579/head
Michele Locati 2022-05-25 16:47:23 +02:00 committed by GitHub
parent a225964749
commit 8f149e8aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 0 deletions

View File

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

View File

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

View File

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