From 9c118d2a0e4b368d64e5ec8c45f70990828141de Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 21 Feb 2019 15:38:26 +0100 Subject: v2.0.21 --- PHPINFO | 6 +++--- REFLECTION | 6 +++--- php-pecl-libsodium2.spec | 13 +++++++------ 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/PHPINFO b/PHPINFO index cade33a..c9eccc6 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,6 +2,6 @@ sodium sodium support => enabled -sodium compiled version => 2.0.20 -libsodium headers version => 1.0.16 -libsodium library version => 1.0.16 +sodium compiled version => 2.0.21 +libsodium headers version => 1.0.17 +libsodium library version => 1.0.17 diff --git a/REFLECTION b/REFLECTION index 7e9de27..30e6c3d 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,9 +1,9 @@ -Extension [ extension #70 sodium version 2.0.20 ] { +Extension [ extension #69 sodium version 2.0.21 ] { - Constants [86] { - Constant [ string SODIUM_LIBRARY_VERSION ] { 1.0.16 } + Constant [ string SODIUM_LIBRARY_VERSION ] { 1.0.17 } Constant [ integer SODIUM_LIBRARY_MAJOR_VERSION ] { 10 } - Constant [ integer SODIUM_LIBRARY_MINOR_VERSION ] { 1 } + Constant [ integer SODIUM_LIBRARY_MINOR_VERSION ] { 2 } Constant [ integer SODIUM_CRYPTO_AEAD_AES256GCM_KEYBYTES ] { 32 } Constant [ integer SODIUM_CRYPTO_AEAD_AES256GCM_NSECBYTES ] { 0 } Constant [ integer SODIUM_CRYPTO_AEAD_AES256GCM_NPUBBYTES ] { 12 } diff --git a/php-pecl-libsodium2.spec b/php-pecl-libsodium2.spec index 6b4e4b7..76e7539 100644 --- a/php-pecl-libsodium2.spec +++ b/php-pecl-libsodium2.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-libsodium # -# Copyright (c) 2014-2018 Remi Collet +# Copyright (c) 2014-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -20,7 +20,7 @@ Summary: Wrapper for the Sodium cryptographic library Name: %{?sub_prefix}php-pecl-%{proj_name}2 -Version: 2.0.20 +Version: 2.0.21 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: http://pecl.php.net/package/%{proj_name} @@ -50,10 +50,6 @@ Provides: %{?scl_prefix}php-pecl-%{proj_name}2%{?_isa} = %{version}-%{rele %endif %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -%if "%{php_version}" > "7.0" -Obsoletes: php70u-pecl-%{proj_name}2 <= %{version} -Obsoletes: php70w-pecl-%{proj_name}2 <= %{version} -%endif %if "%{php_version}" > "7.1" Obsoletes: php71u-pecl-%{proj_name}2 <= %{version} Obsoletes: php71w-pecl-%{proj_name}2 <= %{version} @@ -83,6 +79,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +sed -e '/PHP_SODIUM_VERSION/s/2.0.20/%{version}/' -i php_libsodium.h + # Sanity check, really often broken extver=$(sed -n '/#define PHP_SODIUM_VERSION/{s/.* "//;s/".*$//;p}' php_libsodium.h) if test "x${extver}" != "x%{version}"; then @@ -213,6 +211,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Feb 21 2019 Remi Collet - 2.0.21-1 +- update to 2.0.21 + * Tue Dec 18 2018 Remi Collet - 2.0.20-1 - update to 2.0.20 -- cgit