Merge pull request #308 from mlocati/ssh2-release

Use official ssh2 release on PHP 8.0
pull/309/head
Michele Locati 2021-03-02 14:44:35 +01:00 committed by GitHub
commit 8f7f156f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
;; ;;