Support cassandra (#693)

pull/695/head
Max 2023-02-19 18:34:41 +03:00 committed by GitHub
parent 7e07e08f47
commit 4c3682a563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,4 @@
cassandra !alpine3.7 !alpine3.8 !jessie !stretch !buster !bullseye
ddtrace !alpine3.7 !alpine3.8 !jessie
geos !alpine3.7 !alpine3.8 !alpine3.9 !alpine3.10
lz4 !jessie

View File

@ -6,6 +6,7 @@ bcmath 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
blackfire 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
bz2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
calendar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
cassandra 7.2 7.3 7.4 8.0 8.1 8.2
cmark 7.0 7.1 7.2 7.3 7.4
csv 7.3 7.4 8.0 8.1 8.2
dba 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2

View File

@ -692,6 +692,10 @@ buildRequiredPackageLists() {
bz2@debian)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libbz2-dev"
;;
cassandra@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent cassandra-cpp-driver gmp"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile cassandra-cpp-driver-dev gmp-dev"
;;
cmark@alpine)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile cmake"
;;
@ -2533,6 +2537,15 @@ installRemoteModule() {
installRemoteModule_manuallyInstalled=1
installRemoteModule_ini_extra="$(printf '%sblackfire.agent_socket=tcp://blackfire:8307\n' "$installRemoteModule_ini_extra")"
;;
cassandra)
installRemoteModule_src="$(getPackageSource https://github.com/nano-interactive/ext-cassandra/tarball/1cf12c5ce49ed43a2c449bee4b7b23ce02a37bf0)"
cd "$installRemoteModule_src/ext"
phpize
./configure
make -j$(getProcessorCount) install
cd - >/dev/null
installRemoteModule_manuallyInstalled=1
;;
cmark)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 701; then