diff options
| -rw-r--r-- | PHPINFO | 2 | ||||
| -rw-r--r-- | REFLECTION | 31 | ||||
| -rw-r--r-- | composer.json | 19 | ||||
| -rw-r--r-- | php-pecl-ssh2.spec | 9 |
4 files changed, 56 insertions, 5 deletions
@@ -2,6 +2,6 @@ ssh2 SSH2 support => enabled -extension version => 1.4.1 +extension version => 1.5.0 libssh2 version => 1.11.1 banner => SSH-2.0-libssh2_1.11.1 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #124 ssh2 version 1.4.1 ] { +Extension [ <persistent> extension #123 ssh2 version 1.5.0 ] { - Constants [21] { Constant [ <persistent> int SSH2_FINGERPRINT_MD5 ] { 0 } @@ -40,6 +40,28 @@ Extension [ <persistent> extension #124 ssh2 version 1.4.1 ] { Parameter #0 [ <required> $session ] } } + Function [ <internal:ssh2> function ssh2_set_timeout ] { + + - Parameters [3] { + Parameter #0 [ <required> $session ] + Parameter #1 [ <required> $seconds ] + Parameter #2 [ <optional> $microseconds = <default> ] + } + } + Function [ <internal:ssh2> function ssh2_keepalive_config ] { + + - Parameters [3] { + Parameter #0 [ <required> $session ] + Parameter #1 [ <required> $want_reply ] + Parameter #2 [ <required> $interval ] + } + } + Function [ <internal:ssh2> function ssh2_keepalive_send ] { + + - Parameters [1] { + Parameter #0 [ <required> $session ] + } + } Function [ <internal:ssh2> function ssh2_methods_negotiated ] { - Parameters [1] { @@ -179,6 +201,13 @@ Extension [ <persistent> extension #124 ssh2 version 1.4.1 ] { Parameter #1 [ <optional> $timeout = <default> ] } } + Function [ <internal:ssh2> function ssh2_send_signal ] { + + - Parameters [2] { + Parameter #0 [ <required> $channel ] + Parameter #1 [ <required> $signal ] + } + } Function [ <internal:ssh2> function ssh2_send_eof ] { - Parameters [1] { diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..44123d1 --- /dev/null +++ b/composer.json @@ -0,0 +1,19 @@ +{ + "name": "php/pecl-networking-ssh2", + "type": "php-ext", + "license": "PHP-3.01", + "description": "Bindings for the libssh2 library", + "require": { + "php": ">=8.0.0" + }, + "php-ext": { + "extension-name": "ssh2", + "configure-options": [ + { + "name": "with-ssh2", + "description": "libssh2 prefix path (autodetected if not given)", + "needs-value": false + } + ] + } +} diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec index 222ee94..23ca8de 100644 --- a/php-pecl-ssh2.spec +++ b/php-pecl-ssh2.spec @@ -26,8 +26,8 @@ Name: %{?scl_prefix}php-pecl-ssh2 Summary: Bindings for the libssh2 library License: PHP-3.01 -Version: 1.4.1 -Release: 4%{?dist} +Version: 1.5.0 +Release: 1%{?dist} %forgemeta URL: %{forgeurl} Source0: %{forgesource} @@ -35,7 +35,7 @@ Source0: %{forgesource} BuildRequires: make BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel >= 7.0 +BuildRequires: %{?scl_prefix}php-devel >= 8.0 %if 0%{?vendeur:1} && 0%{?fedora} < 39 && 0%{?rhel} < 9 %global move_to_opt 1 BuildRequires: %{vendeur}-libssh2-devel >= 1.11 @@ -186,6 +186,9 @@ done %changelog +* Tue Apr 7 2026 Remi Collet <remi@remirepo.net> - 1.5.0-1 +- update to 1.5.0 + * Fri Mar 27 2026 Remi Collet <remi@remirepo.net> - 1.4.1-4 - drop pear/pecl dependency - sources from github |
