Skip to content

Commit

Permalink
Add support for SeasClick PHP extension (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati authored Aug 2, 2023
1 parent 580cdcc commit 0d7dca9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/supported-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ rdkafka 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
recode 5.5 5.6 7.0 7.1 7.2 7.3
redis 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
relay 7.4 8.0 8.1 8.2
seasclick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
seaslog 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
shmop 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
simdjson 7.1 7.2 7.3 7.4 8.0 8.1 8.2
Expand Down
13 changes: 13 additions & 0 deletions install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,9 @@ buildRequiredPackageLists() {
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libssl1.1"
fi
;;
seasclick@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libstdc++"
;;
simdjson@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libstdc++"
;;
Expand Down Expand Up @@ -1640,6 +1643,9 @@ getModuleFullPath() {
apcu_bc)
getModuleFullPath_path="$PHP_EXTDIR/apc.so"
;;
seasclick)
getModuleFullPath_path="$PHP_EXTDIR/SeasClick.so"
;;
*)
getModuleFullPath_path="$PHP_EXTDIR/$1.so"
;;
Expand Down Expand Up @@ -3287,6 +3293,13 @@ installRemoteModule() {
installRemoteModule_ini_extra="$(grep -vE '^[ \t]*extension[ \t]*=' $installRemoteModule_src/relay.ini)"
installRemoteModule_manuallyInstalled=1
;;
seasclick)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=0.1.0
fi
fi
;;
snappy)
if test -z "$installRemoteModule_path"; then
if test -z "$installRemoteModule_version"; then
Expand Down

0 comments on commit 0d7dca9

Please sign in to comment.