summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-02-21 15:38:26 +0100
committerRemi Collet <remi@remirepo.net>2019-02-21 15:38:26 +0100
commit9c118d2a0e4b368d64e5ec8c45f70990828141de (patch)
tree2c6b929a8c2526943e87fb42ffcb0e9f94841b32
parent3a6dac843330e594b509aac7a24ea235a119fa0b (diff)
v2.0.21
-rw-r--r--PHPINFO6
-rw-r--r--REFLECTION6
-rw-r--r--php-pecl-libsodium2.spec13
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 [ <persistent> extension #70 sodium version 2.0.20 ] {
+Extension [ <persistent> 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 <remi@remirepo.net> - 2.0.21-1
+- update to 2.0.21
+
* Tue Dec 18 2018 Remi Collet <remi@remirepo.net> - 2.0.20-1
- update to 2.0.20