Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package php-ssh2 for openSUSE:Factory checked in at 2026-11-18 18:31:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php-ssh2 (Old) and /work/SRC/openSUSE:Factory/.php-ssh2.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php-ssh2" Wed Nov 18 18:31:42 2026 rev:5 rq:1398355 version:1.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/php-ssh2/php-ssh2.changes 2026-04-22 16:59:34.087930816 +0200 +++ /work/SRC/openSUSE:Factory/.php-ssh2.new.1251/php-ssh2.changes 2026-11-18 18:33:13.400101298 +0100 @@ -1,0 +2,17 @@ +Sat Nov 14 19:35:02 UTC 2026 - Arjen de Korte <[email protected]> + +- Update to 1.6.0: + * Fix: SFTP path corruption for root-path URLs + * Add SHA-256 and raw host key inspection + * Fix: Fix concurrent SSH authentication state and redact secrets + * PHP 8.6 compatibility: use zval_ptr_dtor_nogc instead of zval_dtor + alias + * PHP 8.6 compatibility: Replace zval_is_true + * Fix PHP 8.1 Windows CI - missed check in PR #89 + * Add timeout to close path + * Fix: correct SSH2 shell and exec environments + * Fix: preserve SSH2 resource and stream lifecycles +- Allow building with php7 + + ssh2-php7.patch + +------------------------------------------------------------------- Old: ---- ssh2-1.5.0.tgz New: ---- ssh2-1.6.0.tgz ssh2-php7.patch ----------(New B)---------- New:- Allow building with php7 + ssh2-php7.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php-ssh2.spec ++++++ --- /var/tmp/diff_new_pack.UKkpYw/_old 2026-11-18 18:33:14.836162387 +0100 +++ /var/tmp/diff_new_pack.UKkpYw/_new 2026-11-18 18:33:14.838162472 +0100 @@ -31,13 +31,15 @@ %endif Name: %{php_name}-%{pkg_name} -Version: 1.5.0 +Version: 1.6.0 Release: 0 Summary: PHP bindings for the libssh2 library License: PHP-3.01 Group: Productivity/Networking/Web/Servers URL: https://pecl.php.net/package/%{pkg_name} Source: https://pecl.php.net/get/%{pkg_name}-%{version}.tgz +# PATCH-FIX-OPENSUSE - fix build with php7 +Patch0: ssh2-php7.patch BuildRequires: %{php_name}-devel BuildRequires: libssh2-devel Provides: php-%{pkg_name} = %{version} @@ -49,6 +51,9 @@ %prep %setup -q -n %{pkg_name}-%{version} +%if "%{flavor}" == "php7" +%patch -P 0 -p1 +%endif %build export CFLAGS="%{optflags} -fvisibility=hidden" ++++++ ssh2-1.5.0.tgz -> ssh2-1.6.0.tgz ++++++ ++++ 11980 lines of diff (skipped) ++++++ ssh2-php7.patch ++++++ diff -purN a/ssh2-1.6.0/ssh2.c b/ssh2-1.6.0/ssh2.c --- a/ssh2.c 2026-11-12 00:21:04.000000000 +0100 +++ b/ssh2.c 2026-11-14 20:45:11.406298385 +0100 @@ -21,7 +21,6 @@ #endif #include "php.h" -#include "Zend/zend_attributes.h" #include "ext/standard/info.h" #include "ext/standard/file.h" #include "php_ssh2.h"
