Use official ssh2 release on PHP 8.0

Test: ssh2
pull/308/head
Michele Locati 2021-03-02 14:11:30 +01:00
parent 137eb23a75
commit 6bb9fe9e5a
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 1 additions and 10 deletions

View File

@ -1914,17 +1914,8 @@ installRemoteModule() {
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=0.13 installRemoteModule_version=0.13
elif test $PHP_MAJMIN_VERSION -le 704; then
installRemoteModule_version=beta
else else
installRemoteModule_src="$(getPackageSource https://codeload.github.com/php/pecl-networking-ssh2/tar.gz/93265d71bdeb23350e8320126c7949ed791310df)" installRemoteModule_version=beta
cd -- "$installRemoteModule_src"
phpize
./configure
make -j$(getCompilationProcessorCount)
make install
cd - >/dev/null
installRemoteModule_manuallyInstalled=1
fi fi
fi fi
;; ;;