Merge pull request #308 from mlocati/ssh2-release

Use official ssh2 release on PHP 8.0
This commit is contained in:
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

View File

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