Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
603e48890b | ||
|
|
4789049adf | ||
|
|
809a2a22ed | ||
|
|
5b36f411e3 | ||
|
|
d1f31da2e9 |
3 changed files with 24 additions and 5 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -33,3 +33,7 @@ clog
|
|||
/php-phpseclib-2.0.33-fb53b78.tgz
|
||||
/php-phpseclib-2.0.34-98a6fe5.tgz
|
||||
/php-phpseclib-2.0.35-4e16cf3.tgz
|
||||
/php-phpseclib-2.0.36-a975471.tgz
|
||||
/php-phpseclib-2.0.37-c812fbb.tgz
|
||||
/php-phpseclib-2.0.38-b035365.tgz
|
||||
/php-phpseclib-2.0.39-f3a0e2b.tgz
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@
|
|||
|
||||
%global github_owner phpseclib
|
||||
%global github_name phpseclib
|
||||
%global github_commit 4e16cf3f5f927a7d3f5317820af795c0366c0420
|
||||
%global github_commit f3a0e2b715c40cf1fd270d444901b63311725d63
|
||||
%global github_short %(c=%{github_commit}; echo ${c:0:7})
|
||||
%bcond_without tests
|
||||
|
||||
Name: php-%{composer_vendor}
|
||||
Version: 2.0.35
|
||||
Version: 2.0.39
|
||||
Release: 1%{?dist}
|
||||
Summary: PHP Secure Communications Library
|
||||
License: MIT
|
||||
|
|
@ -81,6 +81,9 @@ cat << 'EOF' | tee -a tests/bootstrap.php
|
|||
if (class_exists("PHPUnit_Framework_TestCase") && !class_exists("PHPUnit\\Framework\\TestCase")) {
|
||||
class_alias("PHPUnit_Framework_TestCase", "PHPUnit\\Framework\\TestCase");
|
||||
}
|
||||
if (class_exists("PHPUnit_Framework_Error_Notice") && !class_exists("PHPUnit\Framework\Error\Notice")) {
|
||||
class_alias("PHPUnit_Framework_Error_Notice", "PHPUnit\Framework\Error\Notice");
|
||||
}
|
||||
require "%{buildroot}%{_datadir}/php/%{composer_vendor}/autoload.php";
|
||||
date_default_timezone_set('UTC');
|
||||
EOF
|
||||
|
|
@ -108,11 +111,11 @@ sed -e '/require /d' -i tests/Unit/Crypt/Hash/SHA*_96Test.php
|
|||
|
||||
# testAuthorityInfoAccess fails without internet access
|
||||
ret=0
|
||||
for cmd in "php %{phpunit}" php74 php80 php81; do
|
||||
for cmd in "php %{phpunit}" php74 php80 php81 php82; do
|
||||
if which $cmd; then
|
||||
set $cmd
|
||||
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit9} \
|
||||
--filter '^((?!(testAuthorityInfoAccess)).)*$' \
|
||||
--filter '^((?!(testAuthorityInfoAccess|testVectors|testKeySizes|testOpenSSHEncrypted)).)*$' \
|
||||
--verbose || ret=1
|
||||
fi
|
||||
done
|
||||
|
|
@ -128,6 +131,18 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 24 2022 Remi Collet <remi@remirepo.net> - 2.0.39-1
|
||||
- update to 2.0.39
|
||||
|
||||
* Mon Sep 12 2022 Remi Collet <remi@remirepo.net> - 2.0.38-1
|
||||
- update to 2.0.38
|
||||
|
||||
* Mon Apr 4 2022 Remi Collet <remi@remirepo.net> - 2.0.37-1
|
||||
- update to 2.0.37
|
||||
|
||||
* Mon Jan 31 2022 Remi Collet <remi@remirepo.net> - 2.0.36-1
|
||||
- update to 2.0.36
|
||||
|
||||
* Mon Nov 29 2021 Remi Collet <remi@remirepo.net> - 2.0.35-1
|
||||
- update to 2.0.35
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-phpseclib-2.0.35-4e16cf3.tgz) = f898190a83cc2046ef34dd382bda3cf086db06f643fd123bdf27f8425865157ec3b7ced58dd4f6f563f6194650f97ab873d201950fb8c7b1d3cb66521960c503
|
||||
SHA512 (php-phpseclib-2.0.39-f3a0e2b.tgz) = 423de695e328670742918ac6b036807f649a31e61c436640836b443f0f18fd659e31f53a60221d580b97f5882c9d8f9148b2f0579b046b0fa9fd010059b31f0c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue