From 4c94547a9bfaa7d2f0108a6ec096b7230fd299ce Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 7 Sep 2022 07:23:34 +0200 Subject: update to 2.0.0 --- PHPINFO | 2 +- REFLECTION | 25 ++++++++++++++----------- php-pecl-scrypt.spec | 10 ++++++++-- 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/PHPINFO b/PHPINFO index 7baf30e..0f4cceb 100644 --- a/PHPINFO +++ b/PHPINFO @@ -1,4 +1,4 @@ scrypt -Version => 1.4.3 +Version => 2.0.0 diff --git a/REFLECTION b/REFLECTION index e38c4c3..72f4056 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #119 scrypt version 1.4.3 ] { +Extension [ extension #120 scrypt version 2.0.0 ] { - Dependencies { Dependency [ hash (Required) ] @@ -7,22 +7,25 @@ Extension [ extension #119 scrypt version 1.4.3 ] { - Functions { Function [ function scrypt ] { - - Parameters [6] { - Parameter #0 [ $password ] - Parameter #1 [ $salt ] - Parameter #2 [ $N ] - Parameter #3 [ $r ] - Parameter #4 [ $p ] - Parameter #5 [ $keyLength ] + - Parameters [7] { + Parameter #0 [ string $password ] + Parameter #1 [ string $salt ] + Parameter #2 [ int $N ] + Parameter #3 [ int $r ] + Parameter #4 [ int $p ] + Parameter #5 [ int $key_length ] + Parameter #6 [ bool $raw_output = false ] } + - Return [ string|false ] } Function [ function scrypt_pickparams ] { - Parameters [3] { - Parameter #0 [ $maxMemory ] - Parameter #1 [ $memFraction ] - Parameter #2 [ $maxTime ] + Parameter #0 [ int $max_memory ] + Parameter #1 [ float $memory_fraction ] + Parameter #2 [ float $max_time ] } + - Return [ array|false ] } } } diff --git a/php-pecl-scrypt.spec b/php-pecl-scrypt.spec index 9ee8994..a0e0f67 100644 --- a/php-pecl-scrypt.spec +++ b/php-pecl-scrypt.spec @@ -22,7 +22,7 @@ Summary: Scrypt hashing function Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.4.3 +Version: 2.0.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages @@ -31,7 +31,7 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz BuildRequires: make BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel +BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -196,6 +196,12 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Sep 7 2022 Remi Collet - 2.0.0-1 +- update to 2.0.0 + +* Thu Sep 1 2022 Remi Collet - 1.4.3-2 +- rebuild for PHP 8.2.0RC1 + * Wed Aug 17 2022 Remi Collet - 1.4.3-1 - update to 1.4.3 -- cgit