From 4481fdb8efcd732b034a3f13f05b6f2ee324bdaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Tue, 1 May 2018 12:25:00 +0200 Subject: [PATCH 01/32] update to 2.2.2 --- .gitignore | 1 + php-paragonie-constant-time-encoding.spec | 46 +++++++++++------------ sources | 2 +- 3 files changed, 23 insertions(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index 8b1544d..9ba39f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /php-paragonie-constant-time-encoding-d96e63b.tar.gz /php-paragonie-constant-time-encoding-6111a38.tar.gz /php-paragonie-constant-time-encoding-75e54b9.tar.gz +/php-paragonie-constant-time-encoding-eccf915.tar.gz diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index de57149..f5ca156 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,14 +5,14 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 75e54b9bc1d8eddc59bca721cd0f3d263c70503c +%global commit0 eccf915f45f911bfb189d1d1638d940ec6ee6e33 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 1.0.3 +Version: 2.2.2 Release: 1%{?dist} -Summary: Constant-Time Character Encoding in PHP Projects +Summary: Constant-time Implementations of RFC 4648 Encoding Group: System Environment/Libraries License: MIT @@ -22,50 +22,41 @@ Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz BuildArch: noarch -BuildRequires: php(language) >= 5.3.0 +BuildRequires: php(language) >= 7.0 BuildRequires: php-mbstring BuildRequires: php-spl -BuildRequires: php-pcre -BuildRequires: php-composer(fedora/autoloader) -BuildRequires: php-composer(paragonie/random_compat) +BuildRequires: %{_bindir}/phpab BuildRequires: %{_bindir}/phpunit -Requires: php(language) >= 5.3.0 +Requires: php(language) >= 7.0 Requires: php-mbstring Requires: php-spl -Requires: php-composer(fedora/autoloader) Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} %description Based on the constant-time base64 implementation made by Steve "Sc00bz" -Thomas, this library aims to offer character encoding functions that do not -leak information about what you are encoding/decoding via processor cache -misses. +Thomas, this library aims to offer character encoding functions that do +not leak information about what you are encoding/decoding via processor +cache misses. %prep %setup -n %{github_name}-%{commit0} %build -cat <<'AUTOLOAD' | tee src/autoload.php - - 2.2.2-1 +- update to 2.2.2 for PHP >= 7 +- update dependencies +- switch to phpab autoload generator + * Mon Apr 30 2018 François Kooman - 1.0.3-1 - update to 1.0.3 diff --git a/sources b/sources index af11804..7a46c42 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-75e54b9.tar.gz) = f13e4168dfaf1e34ae9d7c560f0814d0f4b6233ba49e9b3d714e55761340ce0c3e5a85d197bf67eb4b6edbd763a4f4f37f48ba6615609fca19236f1f95c98418 +SHA512 (php-paragonie-constant-time-encoding-eccf915.tar.gz) = b982517a163ff2e9f342be2a30759d008668c2e2cd34ad2faa9b88e5baa4d918bbdcdce41f76c738e734a331dc36e14f122fd4746136749f105838aa2268798e From 49981a3cc888e6c69f6ef1475ce4fa5a6871b420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Thu, 3 May 2018 13:04:26 +0200 Subject: [PATCH 02/32] update spec file - use Fedora template for generating autoloader - match phpunit version with composer.json --- php-paragonie-constant-time-encoding.spec | 32 ++++++++++++++++++----- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index f5ca156..c1f6775 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding Group: System Environment/Libraries @@ -22,13 +22,21 @@ Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz BuildArch: noarch -BuildRequires: php(language) >= 7.0 +# "php": "^7" +BuildRequires: php(language) >= 7 BuildRequires: php-mbstring BuildRequires: php-spl -BuildRequires: %{_bindir}/phpab -BuildRequires: %{_bindir}/phpunit +# "phpunit/phpunit": "^6|^7", +%if 0%{?fedora} >= 28 +BuildRequires: phpunit7 +%else +BuildRequires: phpunit6 +%endif -Requires: php(language) >= 7.0 +BuildRequires: php-fedora-autoloader-devel + +# "php": "^7" +Requires: php(language) >= 7 Requires: php-mbstring Requires: php-spl @@ -44,7 +52,7 @@ cache misses. %setup -n %{github_name}-%{commit0} %build -%{_bindir}/phpab -o src/autoload.php src +%{_bindir}/phpab -t fedora -o src/autoload.php src %install mkdir -p %{buildroot}%{_datadir}/php/%{composer_namespace} @@ -56,7 +64,13 @@ cat <<'AUTOLOAD' | tee -a tests/autoload.php require_once 'src/autoload.php'; AUTOLOAD -%{_bindir}/phpunit tests --verbose --bootstrap=tests/autoload.php +if which phpunit6; then + %{_bindir}/phpunit6 tests --verbose --bootstrap=tests/autoload.php +fi + +if which phpunit7; then + %{_bindir}/phpunit7 tests --verbose --bootstrap=tests/autoload.php +fi %files %dir %{_datadir}/php/ParagonIE @@ -65,6 +79,10 @@ AUTOLOAD %license LICENSE.txt %changelog +* Wed May 02 2018 François Kooman - 2.2.2-2 +- use Fedora template for generating autoloader +- match phpunit version with composer.json + * Tue May 01 2018 François Kooman - 2.2.2-1 - update to 2.2.2 for PHP >= 7 - update dependencies From 6f9d7f612311e3d0151f31577b7ade49a312a401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Thu, 3 May 2018 13:24:14 +0200 Subject: [PATCH 03/32] simplify detection and use of PHPUnit 6 / PHPUnit 7 --- php-paragonie-constant-time-encoding.spec | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index c1f6775..6010719 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.2.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding Group: System Environment/Libraries @@ -29,8 +29,10 @@ BuildRequires: php-spl # "phpunit/phpunit": "^6|^7", %if 0%{?fedora} >= 28 BuildRequires: phpunit7 +%global phpunit %{_bindir}/phpunit7 %else BuildRequires: phpunit6 +%global phpunit %{_bindir}/phpunit6 %endif BuildRequires: php-fedora-autoloader-devel @@ -59,18 +61,7 @@ mkdir -p %{buildroot}%{_datadir}/php/%{composer_namespace} cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %check -%{_bindir}/phpab -o tests/autoload.php tests -cat <<'AUTOLOAD' | tee -a tests/autoload.php -require_once 'src/autoload.php'; -AUTOLOAD - -if which phpunit6; then - %{_bindir}/phpunit6 tests --verbose --bootstrap=tests/autoload.php -fi - -if which phpunit7; then - %{_bindir}/phpunit7 tests --verbose --bootstrap=tests/autoload.php -fi +%{phpunit} tests --verbose --bootstrap=src/autoload.php %files %dir %{_datadir}/php/ParagonIE @@ -79,6 +70,9 @@ fi %license LICENSE.txt %changelog +* Thu May 03 2018 François Kooman - 2.2.2-3 +- simplify detection and use of PHPUnit 6 / PHPUnit 7 + * Wed May 02 2018 François Kooman - 2.2.2-2 - use Fedora template for generating autoloader - match phpunit version with composer.json From ae08014ae9186a53339721ed5990dd57380b20b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Thu, 3 May 2018 14:02:58 +0200 Subject: [PATCH 04/32] also BuildRequire phpunit7 for future EL release --- php-paragonie-constant-time-encoding.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 6010719..bceb778 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.2.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding Group: System Environment/Libraries @@ -27,7 +27,7 @@ BuildRequires: php(language) >= 7 BuildRequires: php-mbstring BuildRequires: php-spl # "phpunit/phpunit": "^6|^7", -%if 0%{?fedora} >= 28 +%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 BuildRequires: phpunit7 %global phpunit %{_bindir}/phpunit7 %else @@ -70,6 +70,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Thu May 03 2018 François Kooman - 2.2.2-4 +- also BuildRequire phpunit7 for future EL release + * Thu May 03 2018 François Kooman - 2.2.2-3 - simplify detection and use of PHPUnit 6 / PHPUnit 7 From 3a0fa2950f1e27e2e2829e39b2f570c0c1c93b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Fri, 11 May 2018 10:58:28 +0200 Subject: [PATCH 05/32] update to 1.0.4 --- .gitignore | 1 + php-paragonie-constant-time-encoding.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8b1544d..0420d2b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /php-paragonie-constant-time-encoding-d96e63b.tar.gz /php-paragonie-constant-time-encoding-6111a38.tar.gz /php-paragonie-constant-time-encoding-75e54b9.tar.gz +/php-paragonie-constant-time-encoding-2132f0f.tar.gz diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index de57149..bb8d0d0 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,12 +5,12 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 75e54b9bc1d8eddc59bca721cd0f3d263c70503c +%global commit0 2132f0f293d856026d7d11bd81b9f4a23a1dc1f6 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 1.0.3 +Version: 1.0.4 Release: 1%{?dist} Summary: Constant-Time Character Encoding in PHP Projects @@ -74,6 +74,9 @@ phpunit --no-coverage --verbose %license LICENSE.txt %changelog +* Fri May 11 2018 François Kooman - 1.0.4-1 +- update to 1.0.4 + * Mon Apr 30 2018 François Kooman - 1.0.3-1 - update to 1.0.3 diff --git a/sources b/sources index af11804..c9f21b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-75e54b9.tar.gz) = f13e4168dfaf1e34ae9d7c560f0814d0f4b6233ba49e9b3d714e55761340ce0c3e5a85d197bf67eb4b6edbd763a4f4f37f48ba6615609fca19236f1f95c98418 +SHA512 (php-paragonie-constant-time-encoding-2132f0f.tar.gz) = da6bf32743a02b783e5da596bdf7e78a8d2b81db89f2d9fb2cdbe5e65868134cfa2cd57464b765e3e64563f7be3322af316597c0d77fc5d129aa8dfeab2e8fa1 From f2e28aa9f2da6bb108e210e9ff9b642a8639aef3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 21:44:09 +0000 Subject: [PATCH 06/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index bceb778..ae9831a 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.2.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding Group: System Environment/Libraries @@ -70,6 +70,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 2.2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Thu May 03 2018 François Kooman - 2.2.2-4 - also BuildRequire phpunit7 for future EL release From 14630e40c88aac4a21e5d45acabb6803614a31c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Mon, 20 Aug 2018 17:49:33 +0200 Subject: [PATCH 07/32] add patch to fix unit tests on EPEL --- ...7d9757207c72a3836d303242a74f747bfce3.patch | 32 +++++++++++++++++++ php-paragonie-constant-time-encoding.spec | 9 ++++-- 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 840f7d9757207c72a3836d303242a74f747bfce3.patch diff --git a/840f7d9757207c72a3836d303242a74f747bfce3.patch b/840f7d9757207c72a3836d303242a74f747bfce3.patch new file mode 100644 index 0000000..ecd5c1b --- /dev/null +++ b/840f7d9757207c72a3836d303242a74f747bfce3.patch @@ -0,0 +1,32 @@ +From 840f7d9757207c72a3836d303242a74f747bfce3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= +Date: Fri, 11 May 2018 11:22:21 +0200 +Subject: [PATCH] fix unit tests on older PHP versions by using non-namespaced + bools + +--- + src/Base32.php | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Base32.php b/src/Base32.php +index 4ede73a..265090f 100644 +--- a/src/Base32.php ++++ b/src/Base32.php +@@ -76,7 +76,7 @@ public static function encode($src) + */ + public static function encodeUnpadded($src) + { +- return static::doEncode($src, false, false); ++ return static::doEncode($src, \false, \false); + } + + /** +@@ -99,7 +99,7 @@ public static function encodeUpper($src) + */ + public static function encodeUpperUnpadded($src) + { +- return static::doEncode($src, true, false); ++ return static::doEncode($src, \true, \false); + } + + /** diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index bb8d0d0..c254a38 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 1.0.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Constant-Time Character Encoding in PHP Projects Group: System Environment/Libraries @@ -19,7 +19,8 @@ License: MIT URL: https://github.com/%{github_owner}/%{github_name} Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz - +# https://github.com/paragonie/constant_time_encoding/pull/16 +Patch0: 840f7d9757207c72a3836d303242a74f747bfce3.patch BuildArch: noarch BuildRequires: php(language) >= 5.3.0 @@ -45,6 +46,7 @@ misses. %prep %setup -n %{github_name}-%{commit0} +%patch0 -p1 %build cat <<'AUTOLOAD' | tee src/autoload.php @@ -74,6 +76,9 @@ phpunit --no-coverage --verbose %license LICENSE.txt %changelog +* Mon Aug 20 2018 François Kooman - 1.0.4-2 +- add patch to fix unit tests on EPEL + * Fri May 11 2018 François Kooman - 1.0.4-1 - update to 1.0.4 From efaadb2b46e5cb6aec797679a645e7ff1e331a26 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:11 +0100 Subject: [PATCH 08/32] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- php-paragonie-constant-time-encoding.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index ae9831a..8a77147 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -14,7 +14,6 @@ Version: 2.2.2 Release: 5%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding -Group: System Environment/Libraries License: MIT URL: https://github.com/%{github_owner}/%{github_name} From 6778b27bede275b9d67dd332d5df22b3bce9a5a5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 03:04:50 +0000 Subject: [PATCH 09/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 8a77147..6f64a05 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.2.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 2.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 2.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From aa0fb31afc74102508acb7800c367d4f24cf2f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Fri, 15 Feb 2019 16:28:59 +0100 Subject: [PATCH 10/32] update to 2.2.3 --- .gitignore | 1 + php-paragonie-constant-time-encoding.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9ba39f8..5aebac9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /php-paragonie-constant-time-encoding-6111a38.tar.gz /php-paragonie-constant-time-encoding-75e54b9.tar.gz /php-paragonie-constant-time-encoding-eccf915.tar.gz +/php-paragonie-constant-time-encoding-55af0dc.tar.gz diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 6f64a05..8f0c35c 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,13 +5,13 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 eccf915f45f911bfb189d1d1638d940ec6ee6e33 +%global commit0 55af0dc01992b4d0da7f6372e2eac097bbbaffdb %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 2.2.2 -Release: 6%{?dist} +Version: 2.2.3 +Release: 1%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Feb 15 2019 François Kooman - 2.2.3-1 +- update to 2.2.3 + * Sat Feb 02 2019 Fedora Release Engineering - 2.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 7a46c42..ddfdc1a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-eccf915.tar.gz) = b982517a163ff2e9f342be2a30759d008668c2e2cd34ad2faa9b88e5baa4d918bbdcdce41f76c738e734a331dc36e14f122fd4746136749f105838aa2268798e +SHA512 (php-paragonie-constant-time-encoding-55af0dc.tar.gz) = 5ea6556ac1f67dcc311a010c7abd5c0701fbb0cc5d7810647fc66047ae58c1a825e7f5750ca3bf83131823a5144d826a90a19043e877b0ff917b045dc05795de From ab8798ed451e78d1a46c590172d79401b2c369ae Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 09:32:01 +0000 Subject: [PATCH 11/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 8f0c35c..e879442 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.2.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 2.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 15 2019 François Kooman - 2.2.3-1 - update to 2.2.3 From d3b7e56bec67fe9b67aaa578b01eb7871fc3ad6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Wed, 6 Nov 2019 20:53:56 +0100 Subject: [PATCH 12/32] update to 2.3.0 --- .gitignore | 1 + php-paragonie-constant-time-encoding.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 5aebac9..3765f6d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /php-paragonie-constant-time-encoding-75e54b9.tar.gz /php-paragonie-constant-time-encoding-eccf915.tar.gz /php-paragonie-constant-time-encoding-55af0dc.tar.gz +/php-paragonie-constant-time-encoding-47a1ced.tar.gz diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index e879442..3b85d53 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,13 +5,13 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 55af0dc01992b4d0da7f6372e2eac097bbbaffdb +%global commit0 47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 2.2.3 -Release: 2%{?dist} +Version: 2.3.0 +Release: 1%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -21,7 +21,7 @@ Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz BuildArch: noarch -# "php": "^7" +# "php": "^7|^8" BuildRequires: php(language) >= 7 BuildRequires: php-mbstring BuildRequires: php-spl @@ -36,7 +36,7 @@ BuildRequires: phpunit6 BuildRequires: php-fedora-autoloader-devel -# "php": "^7" +# "php": "^7|^8" Requires: php(language) >= 7 Requires: php-mbstring Requires: php-spl @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Wed Nov 06 2019 François Kooman - 2.3.0-1 +- update to 2.3.0 + * Fri Jul 26 2019 Fedora Release Engineering - 2.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index ddfdc1a..330b43f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-55af0dc.tar.gz) = 5ea6556ac1f67dcc311a010c7abd5c0701fbb0cc5d7810647fc66047ae58c1a825e7f5750ca3bf83131823a5144d826a90a19043e877b0ff917b045dc05795de +SHA512 (php-paragonie-constant-time-encoding-47a1ced.tar.gz) = d32e4f9de672b26589efac826daf217db3394d3201295920ad3d6f3443c4871596c0e047d42195761342bd267a8320e2283daae4ee3863ad018cd3ac6ea0a703 From 1d1721dab677c0aac6549bb27f0de71f7e318710 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 07:58:40 +0000 Subject: [PATCH 13/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 3b85d53..ba392ec 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 2.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Nov 06 2019 François Kooman - 2.3.0-1 - update to 2.3.0 From d5f7cb788d882d4a5f2668b026528ec22ade17d4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 21:36:05 +0000 Subject: [PATCH 14/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index ba392ec..3ce25ca 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 2.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Thu Jan 30 2020 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 69ec12c8a6a163293cae68a650deb320997595e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Thu, 10 Dec 2020 14:36:49 +0100 Subject: [PATCH 15/32] update to 2.4.0 --- .gitignore | 1 + php-paragonie-constant-time-encoding.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3765f6d..1ed4d9f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /php-paragonie-constant-time-encoding-eccf915.tar.gz /php-paragonie-constant-time-encoding-55af0dc.tar.gz /php-paragonie-constant-time-encoding-47a1ced.tar.gz +/php-paragonie-constant-time-encoding-f34c2b1.tar.gz diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 3ce25ca..90471a8 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,13 +5,13 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2 +%global commit0 f34c2b11eb9d2c9318e13540a1dbc2a3afbd939c %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 2.3.0 -Release: 3%{?dist} +Version: 2.4.0 +Release: 1%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Mon Dec 7 2020 François Kooman - 2.4.0-1 +- update to 2.4.0 + * Tue Jul 28 2020 Fedora Release Engineering - 2.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 330b43f..d5927ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-47a1ced.tar.gz) = d32e4f9de672b26589efac826daf217db3394d3201295920ad3d6f3443c4871596c0e047d42195761342bd267a8320e2283daae4ee3863ad018cd3ac6ea0a703 +SHA512 (php-paragonie-constant-time-encoding-f34c2b1.tar.gz) = bc3a56954c54994064a0b022c04265f13a47b317c90846f42bc2ffc2641a9ae3fb4762ce9de5e8af487b70d8912b215f596c0ccc6286cf8663e6f59fffd929d1 From e9d05cc10a96cdaebb882e99f32b224397222850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Thu, 10 Dec 2020 15:41:51 +0100 Subject: [PATCH 16/32] support PHPUnit 8/9 for future PHP 8 support (patch by Remi Collet) --- php-paragonie-constant-time-encoding.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 90471a8..50cdfa9 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -25,13 +25,13 @@ BuildArch: noarch BuildRequires: php(language) >= 7 BuildRequires: php-mbstring BuildRequires: php-spl -# "phpunit/phpunit": "^6|^7", -%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 -BuildRequires: phpunit7 -%global phpunit %{_bindir}/phpunit7 +# "phpunit/phpunit": "^6|^7|^8|^9" +%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 +BuildRequires: phpunit9 +%global phpunit %{_bindir}/phpunit9 %else -BuildRequires: phpunit6 -%global phpunit %{_bindir}/phpunit6 +BuildRequires: phpunit8 +%global phpunit %{_bindir}/phpunit8 %endif BuildRequires: php-fedora-autoloader-devel @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Thu Dec 10 2020 François Kooman - 2.4.0-2 +- support PHPUnit 8/9 for future PHP 8 support (patch by Remi Collet) + * Mon Dec 7 2020 François Kooman - 2.4.0-1 - update to 2.4.0 From 7ba283169db8068eaf3db5a8790fa2f4b7aeae0c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 07:14:19 +0000 Subject: [PATCH 17/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 50cdfa9..5fd80cb 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 2.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Thu Dec 10 2020 François Kooman - 2.4.0-2 - support PHPUnit 8/9 for future PHP 8 support (patch by Remi Collet) From 87132b3dd5f73b75f091934445d334937bd0d648 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 02:34:54 +0000 Subject: [PATCH 18/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 5fd80cb..b3ac8e8 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.4.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -69,6 +69,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 2.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 7a6bf8e55f809b5cab68d76151ad0f834cab6505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Mon, 17 Jan 2022 12:20:24 +0100 Subject: [PATCH 19/32] update to 2.5.0 --- .gitignore | 1 + makesrc.sh | 27 +++++++++++++++++++++++ php-paragonie-constant-time-encoding.spec | 14 ++++++++---- sources | 2 +- 4 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 makesrc.sh diff --git a/.gitignore b/.gitignore index 1ed4d9f..a2af7b1 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /php-paragonie-constant-time-encoding-55af0dc.tar.gz /php-paragonie-constant-time-encoding-47a1ced.tar.gz /php-paragonie-constant-time-encoding-f34c2b1.tar.gz +/php-paragonie-constant-time-encoding-2.5.0-9229e15.tgz diff --git a/makesrc.sh b/makesrc.sh new file mode 100644 index 0000000..8352783 --- /dev/null +++ b/makesrc.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +NAME=$(basename $PWD) +OWNER=$(sed -n '/^%global github_owner/{s/.* //;p}' $NAME.spec) +PROJECT=$(sed -n '/^%global github_name/{s/.* //;p}' $NAME.spec) +VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec) +COMMIT=$(sed -n '/^%global commit0/{s/.* //;p}' $NAME.spec) +SHORT=${COMMIT:0:7} + +echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n" + +echo "Cloning..." +git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT + +echo "Getting commit..." +pushd $PROJECT-$COMMIT +git checkout $COMMIT +cp composer.json ../composer.json +popd + +echo "Archiving..." +tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT + +echo "Cleaning..." +rm -rf $PROJECT-$COMMIT + +echo "Done." diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index b3ac8e8..4ef51ac 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,19 +5,20 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 f34c2b11eb9d2c9318e13540a1dbc2a3afbd939c +%global commit0 9229e15f2e6ba772f0c55dd6986c563b937170a8 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 2.4.0 -Release: 4%{?dist} +Version: 2.5.0 +Release: 1%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT URL: https://github.com/%{github_owner}/%{github_name} -Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{version}-%{shortcommit0}.tgz +Source1: makesrc.sh BuildArch: noarch @@ -69,6 +70,11 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Mon Jan 17 2022 François Kooman - 2.5.0-1 +- update to 2.5.0 +- add makesrc.sh to download source as upstream included .gitattributes to not + export tests + * Fri Jul 23 2021 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index d5927ec..76ccceb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-f34c2b1.tar.gz) = bc3a56954c54994064a0b022c04265f13a47b317c90846f42bc2ffc2641a9ae3fb4762ce9de5e8af487b70d8912b215f596c0ccc6286cf8663e6f59fffd929d1 +SHA512 (php-paragonie-constant-time-encoding-2.5.0-9229e15.tgz) = 7c8b24639843e300bd81f456af550e5d1d0d3455f06f68822df7864d8eda4a7f7628953b74de2f6e39aba0ebbb61114a5968250eb2258ae7786f2aea24c505bc From 334cd76a6bbce667cb37c255e275734693722a34 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 07:57:20 +0000 Subject: [PATCH 20/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 4ef51ac..38b6fb6 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -70,6 +70,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 2.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Jan 17 2022 François Kooman - 2.5.0-1 - update to 2.5.0 - add makesrc.sh to download source as upstream included .gitattributes to not From b364e99a3e9f5bd184547879d4d533b34a0775d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Mon, 13 Jun 2022 07:33:16 +0200 Subject: [PATCH 21/32] update to 2.6.2 --- .gitignore | 2 ++ php-paragonie-constant-time-encoding.spec | 13 +++++++++---- sources | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index a2af7b1..35b07cd 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ /php-paragonie-constant-time-encoding-47a1ced.tar.gz /php-paragonie-constant-time-encoding-f34c2b1.tar.gz /php-paragonie-constant-time-encoding-2.5.0-9229e15.tgz +/php-paragonie-constant-time-encoding-2.6.1-d6e1d5d.tgz +/php-paragonie-constant-time-encoding-2.6.2-c1b1d82.tgz diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 38b6fb6..6f6360f 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,13 +5,13 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 9229e15f2e6ba772f0c55dd6986c563b937170a8 +%global commit0 c1b1d82d109846ba58a4664dc5480c69ad2fc097 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 2.5.0 -Release: 2%{?dist} +Version: 2.6.2 +Release: 1%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -61,7 +61,8 @@ mkdir -p %{buildroot}%{_datadir}/php/%{composer_namespace} cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %check -%{phpunit} tests --verbose --bootstrap=src/autoload.php +%{_bindir}/phpab -t fedora -o tests/autoload.php src tests +%{phpunit} tests --verbose --bootstrap=tests/autoload.php %files %dir %{_datadir}/php/ParagonIE @@ -70,6 +71,10 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Mon Jun 13 2022 François Kooman - 2.6.2-1 +- update to 2.6.2 (RHBZ#1494754) +- autoload required files for tests as well + * Fri Jan 21 2022 Fedora Release Engineering - 2.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 76ccceb..d858988 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-2.5.0-9229e15.tgz) = 7c8b24639843e300bd81f456af550e5d1d0d3455f06f68822df7864d8eda4a7f7628953b74de2f6e39aba0ebbb61114a5968250eb2258ae7786f2aea24c505bc +SHA512 (php-paragonie-constant-time-encoding-2.6.2-c1b1d82.tgz) = 3beb888faf92383a842e9e28dd5a187576e7a1dd2b2c5dc4e0305569ddd3998a046d00c7a870df0a3c4b0a0bd1fce5f4976267ea1f9a4b7c6e109e7c2719eb72 From b294406d9b528ecfd42c73fc0e704c712a1f79fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Tue, 14 Jun 2022 09:08:50 +0200 Subject: [PATCH 22/32] update to 2.6.3 --- .gitignore | 1 + php-paragonie-constant-time-encoding.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 35b07cd..441cdcb 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /php-paragonie-constant-time-encoding-2.5.0-9229e15.tgz /php-paragonie-constant-time-encoding-2.6.1-d6e1d5d.tgz /php-paragonie-constant-time-encoding-2.6.2-c1b1d82.tgz +/php-paragonie-constant-time-encoding-2.6.3-58c3f47.tgz diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 6f6360f..53d2484 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,12 +5,12 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 c1b1d82d109846ba58a4664dc5480c69ad2fc097 +%global commit0 58c3f47f650c94ec05a151692652a868995d2938 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 2.6.2 +Version: 2.6.3 Release: 1%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding @@ -71,6 +71,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Tue Jun 14 2022 François Kooman - 2.6.3-1 +- update to 2.6.3 + * Mon Jun 13 2022 François Kooman - 2.6.2-1 - update to 2.6.2 (RHBZ#1494754) - autoload required files for tests as well diff --git a/sources b/sources index d858988..dadaba6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-2.6.2-c1b1d82.tgz) = 3beb888faf92383a842e9e28dd5a187576e7a1dd2b2c5dc4e0305569ddd3998a046d00c7a870df0a3c4b0a0bd1fce5f4976267ea1f9a4b7c6e109e7c2719eb72 +SHA512 (php-paragonie-constant-time-encoding-2.6.3-58c3f47.tgz) = 91ec951ddb263abcf81c427afff570b88d52b30186f920454f23810f0dbafcc3aa44d36ec912d4865db0ab2aed78cf96ac969e9fbf43247a7bb4a95b7eadc6fa From a1de287c3c857d5889a4bc41cc8ef2b5a0ac860e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 13:51:13 +0000 Subject: [PATCH 23/32] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 53d2484..f13ebc5 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.6.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -71,6 +71,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 2.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue Jun 14 2022 François Kooman - 2.6.3-1 - update to 2.6.3 From 0093fbd169320b5ec3979a423b087b69a6f4956a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 08:52:52 +0000 Subject: [PATCH 24/32] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index f13ebc5..25c0cb0 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.6.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -71,6 +71,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 2.6.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 2.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From d1819eb6b88b710345e5c0411092c1d510b28a0e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 04:31:47 +0000 Subject: [PATCH 25/32] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 25c0cb0..981a0ca 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.6.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -71,6 +71,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 2.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jan 20 2023 Fedora Release Engineering - 2.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From b4795cd25d503b1c4f3f68dc963d0673bfcdba4b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 21:01:07 +0000 Subject: [PATCH 26/32] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 981a0ca..9d428a0 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.6.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -71,6 +71,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 2.6.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 2.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 39a150298a8e38d67b0a15f9767bcc28b7ff4f94 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 22:47:51 +0000 Subject: [PATCH 27/32] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 9d428a0..e7c90b3 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.6.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -71,6 +71,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 2.6.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 2.6.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From addb68174c2af7df2a2192488d41fd6edbb47ade Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 07:01:48 +0000 Subject: [PATCH 28/32] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index e7c90b3..39a3f18 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.6.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -71,6 +71,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 2.6.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 2.6.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 255b8d79553596a70a52c7f0e91d99048f69033c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:13:14 +0000 Subject: [PATCH 29/32] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 39a3f18..8709c16 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.6.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -71,6 +71,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 2.6.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 2.6.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From fe7deb9b511af4623a253ebe41d99b73885e1787 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:16:43 +0000 Subject: [PATCH 30/32] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-paragonie-constant-time-encoding.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 8709c16..56cf1eb 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -11,7 +11,7 @@ Name: php-%{composer_vendor}-constant-time-encoding Version: 2.6.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -71,6 +71,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 2.6.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 2.6.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 3581c48730d219dba4e11294b1280d8dcaba7898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Tue, 23 Sep 2025 07:49:58 +0200 Subject: [PATCH 31/32] update to 2.8.0 References: https://bugzilla.redhat.com/show_bug.cgi?id=2397518 --- .gitignore | 1 + php-paragonie-constant-time-encoding.spec | 22 +++++++++++----------- sources | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 441cdcb..3d3e61b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /php-paragonie-constant-time-encoding-2.6.1-d6e1d5d.tgz /php-paragonie-constant-time-encoding-2.6.2-c1b1d82.tgz /php-paragonie-constant-time-encoding-2.6.3-58c3f47.tgz +/php-paragonie-constant-time-encoding-2.8.0-ce27936.tgz diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 56cf1eb..77d5fdc 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,13 +5,13 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 58c3f47f650c94ec05a151692652a868995d2938 +%global commit0 ce27936c8dfb73e3ab9c94469130428af9752c96 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 2.6.3 -Release: 9%{?dist} +Version: 2.8.0 +Release: 1%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding License: MIT @@ -27,14 +27,7 @@ BuildRequires: php(language) >= 7 BuildRequires: php-mbstring BuildRequires: php-spl # "phpunit/phpunit": "^6|^7|^8|^9" -%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 BuildRequires: phpunit9 -%global phpunit %{_bindir}/phpunit9 -%else -BuildRequires: phpunit8 -%global phpunit %{_bindir}/phpunit8 -%endif - BuildRequires: php-fedora-autoloader-devel # "php": "^7|^8" @@ -42,6 +35,8 @@ Requires: php(language) >= 7 Requires: php-mbstring Requires: php-spl +Suggests: php-sodium + Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} %description @@ -62,7 +57,7 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %check %{_bindir}/phpab -t fedora -o tests/autoload.php src tests -%{phpunit} tests --verbose --bootstrap=tests/autoload.php +%{_bindir}/phpunit9 tests --verbose --bootstrap=tests/autoload.php %files %dir %{_datadir}/php/ParagonIE @@ -71,6 +66,11 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Tue Sep 23 2025 François Kooman - 2.8.0-1 +- update to 2.8.0 +- hard build dependency on PHPUnit 9 now +- add php-sodium extension as a suggestion + * Fri Jul 25 2025 Fedora Release Engineering - 2.6.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index dadaba6..bd58f1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-2.6.3-58c3f47.tgz) = 91ec951ddb263abcf81c427afff570b88d52b30186f920454f23810f0dbafcc3aa44d36ec912d4865db0ab2aed78cf96ac969e9fbf43247a7bb4a95b7eadc6fa +SHA512 (php-paragonie-constant-time-encoding-2.8.0-ce27936.tgz) = c3fb15163a142dc3cea2ea86da543fe51fd84f9bfb397808ff3edc86336aae9b028f731c90c626c9a7f2cfa45af05dcc65d508e5c3046abbb006dd6c0ca3ea14 From 32d96830e9dc54c1bc60fc8cab46e6f476776ef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kooman?= Date: Wed, 1 Oct 2025 16:05:07 +0200 Subject: [PATCH 32/32] update to 2.8.2 --- .gitignore | 1 + php-paragonie-constant-time-encoding.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3d3e61b..ecc52e8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /php-paragonie-constant-time-encoding-2.6.2-c1b1d82.tgz /php-paragonie-constant-time-encoding-2.6.3-58c3f47.tgz /php-paragonie-constant-time-encoding-2.8.0-ce27936.tgz +/php-paragonie-constant-time-encoding-2.8.2-e30811f.tgz diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 77d5fdc..3864b96 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -5,12 +5,12 @@ %global github_owner paragonie %global github_name constant_time_encoding -%global commit0 ce27936c8dfb73e3ab9c94469130428af9752c96 +%global commit0 e30811f7bc69e4b5b6d5783e712c06c8eabf0226 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: php-%{composer_vendor}-constant-time-encoding -Version: 2.8.0 +Version: 2.8.2 Release: 1%{?dist} Summary: Constant-time Implementations of RFC 4648 Encoding @@ -66,6 +66,9 @@ cp -pr src/* %{buildroot}%{_datadir}/php/%{composer_namespace} %license LICENSE.txt %changelog +* Wed Oct 01 2025 François Kooman - 2.8.2-1 +- update to 2.8.2 + * Tue Sep 23 2025 François Kooman - 2.8.0-1 - update to 2.8.0 - hard build dependency on PHPUnit 9 now diff --git a/sources b/sources index bd58f1d..aa26ef3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-paragonie-constant-time-encoding-2.8.0-ce27936.tgz) = c3fb15163a142dc3cea2ea86da543fe51fd84f9bfb397808ff3edc86336aae9b028f731c90c626c9a7f2cfa45af05dcc65d508e5c3046abbb006dd6c0ca3ea14 +SHA512 (php-paragonie-constant-time-encoding-2.8.2-e30811f.tgz) = 06ed2956086022e92f95b3b30e4222a3511de7cb22de038a92c080424443f7745528c8ab916b9848e06b1312711dc32415bbcf592008bd0026ac7413651e0291