From 8bfb60aedcef65363ccd92b187f18d24c3257f8b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Feb 2024 07:20:12 +0100 Subject: update to 1.4.1 use libssh2 1.11 --- PHPINFO | 6 +++--- REFLECTION | 2 +- php-pecl-ssh2.spec | 18 +++++++++++------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/PHPINFO b/PHPINFO index 3295136..833c273 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,6 +2,6 @@ ssh2 SSH2 support => enabled -extension version => 1.4 -libssh2 version => 1.10.0 -banner => SSH-2.0-libssh2_1.10.0 +extension version => 1.4.1 +libssh2 version => 1.11.0 +banner => SSH-2.0-libssh2_1.11.0 diff --git a/REFLECTION b/REFLECTION index 3b78296..643a003 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #124 ssh2 version 1.4 ] { +Extension [ extension #83 ssh2 version 1.4.1 ] { - Constants [21] { Constant [ int SSH2_FINGERPRINT_MD5 ] { 0 } diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec index 08db743..1e7c89e 100644 --- a/php-pecl-ssh2.spec +++ b/php-pecl-ssh2.spec @@ -1,7 +1,7 @@ # remirepo spec file for php-pecl-ssh2 # with SCL compatibility # -# Copyright (c) 2011-2023 Remi Collet +# Copyright (c) 2011-2024 Remi Collet # # Fedora spec file for php-pecl-ssh2 # @@ -25,12 +25,12 @@ Name: %{?scl_prefix}php-pecl-ssh2 Summary: Bindings for the libssh2 library -Version: 1.4 +Version: 1.4.1 %if 0%{?gh_date} Release: 0.10.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{gh_short}.tar.gz %else -Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif @@ -41,10 +41,10 @@ BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear -%if 0%{?vendeur:1} && 0%{?fedora} < 35 && 0%{?rhel} < 9 +%if 0%{?vendeur:1} && 0%{?fedora} < 39 && 0%{?rhel} < 9 %global move_to_opt 1 -BuildRequires: %{vendeur}-libssh2-devel >= 1.10 -Requires: %{vendeur}-libssh2%{?_isa} >= 1.10 +BuildRequires: %{vendeur}-libssh2-devel >= 1.11 +Requires: %{vendeur}-libssh2%{?_isa} >= 1.11 # Disable RPATH check %global __arch_install_post /bin/true %global __brp_check_rpaths /bin/true @@ -52,7 +52,7 @@ Requires: %{vendeur}-libssh2%{?_isa} >= 1.10 %global ini_name 19-%{pecl_name}.ini %else %global move_to_opt 0 -BuildRequires: libssh2-devel >= 1.10 +BuildRequires: libssh2-devel >= 1.11 Requires: libssh2%{?_isa} >= %{buildver} %global ini_name 40-%{pecl_name}.ini %endif @@ -239,6 +239,10 @@ fi %changelog +* Mon Feb 12 2024 Remi Collet - 1.4.1-1 +- update to 1.4.1 +- use libssh2 1.11 + * Wed Aug 30 2023 Remi Collet - 1.4-4 - rebuild for PHP 8.3.0RC1 -- cgit