solr: add support for PHP 8.3, fix installing on PHP 7.0/7.1/7.2/7.3 (#863)

pull/864/head
Michele Locati 2024-01-12 00:51:38 +01:00 committed by GitHub
parent fbd6d87bc4
commit ac98842ec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -102,7 +102,7 @@ snuffleupagus 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
soap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
sodium 5.6 7.0 7.1
solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
sourceguardian 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
spx 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3

View File

@ -3572,8 +3572,10 @@ installRemoteModule() {
;;
solr)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then
if test $PHP_MAJMIN_VERSION -lt 700; then
installRemoteModule_version=2.4.0
elif test $PHP_MAJMIN_VERSION -lt 704; then
installRemoteModule_version=2.6.0
fi
fi
;;