From a1947478482d9a4733db22b321bae64d20167bb5 Mon Sep 17 00:00:00 2001 From: Artur Frenszek-Iwicki Date: Mon, 6 Oct 2025 12:24:37 +0200 Subject: [PATCH 1/2] Update to v2.0.49 --- .gitignore | 1 + makesrc.sh | 5 ++--- php-phpseclib.spec | 7 +++++-- sources | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 248dad8..6ba8039 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ clog /php-phpseclib-2.0.43-87b6bb4.tgz /php-phpseclib-2.0.44-149f608.tgz /php-phpseclib-2.0.48-eaa7be7.tgz +/php-phpseclib-2.0.49-4de468f.tgz diff --git a/makesrc.sh b/makesrc.sh index 816b3f7..6e6d643 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -11,11 +11,10 @@ echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Vers echo "Cloning..." rm -rf $PROJECT-$COMMIT -git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT +git clone --revision "${COMMIT}" --depth 1 https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT -echo "Getting commit..." +echo "Saving a copy of composer.json..." pushd $PROJECT-$COMMIT -git checkout $COMMIT cp composer.json ../composer-$VERSION.json popd diff --git a/php-phpseclib.spec b/php-phpseclib.spec index 2470de6..43eee51 100644 --- a/php-phpseclib.spec +++ b/php-phpseclib.spec @@ -3,12 +3,12 @@ %global github_owner phpseclib %global github_name phpseclib -%global github_commit eaa7be704b8b93a6913b69eb7f645a59d7731b61 +%global github_commit 4de468f48f0ab9709fc875aca0762abdc81cfa9b %global github_short %(c=%{github_commit}; echo ${c:0:7}) %bcond_without tests Name: php-%{composer_vendor} -Version: 2.0.48 +Version: 2.0.49 Release: 1%{?dist} Summary: PHP Secure Communications Library License: MIT @@ -131,6 +131,9 @@ exit $ret %changelog +* Mon Oct 06 2025 Artur Frenszek-Iwicki - 2.0.49-1 +- Update to v2.0.49 + * Thu Jan 30 2025 Artur Frenszek-Iwicki - 2.0.48-1 - Update to v2.0.48 diff --git a/sources b/sources index d3b1399..c825898 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpseclib-2.0.48-eaa7be7.tgz) = 4dacaebfe2041bf0326a9eb3a8fab6995861d76c07093f540f82b4b7f9357fb5a9a10a64bcaab277937d1d7583c1e91a2afaab0285f53d5a448d44378f18c35a +SHA512 (php-phpseclib-2.0.49-4de468f.tgz) = 1f3602066cb9cc2bb1d726a514c3abfd1b34b7d034baa88a1ae0a921699096cc6a6a9113775159144edf6d98beeeeddfb970ae2ae5b1e24c8a10ea542f9766da From 3853b5b58c4d5b83607d0a24d404deae765133f7 Mon Sep 17 00:00:00 2001 From: Artur Frenszek-Iwicki Date: Sat, 3 Jan 2026 23:14:52 +0100 Subject: [PATCH 2/2] Update to v2.0.50 --- .gitignore | 1 + php-phpseclib.spec | 11 ++++++++--- sources | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6ba8039..d6713cc 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ clog /php-phpseclib-2.0.44-149f608.tgz /php-phpseclib-2.0.48-eaa7be7.tgz /php-phpseclib-2.0.49-4de468f.tgz +/php-phpseclib-2.0.50-1815ddd.tgz diff --git a/php-phpseclib.spec b/php-phpseclib.spec index 43eee51..0ef0039 100644 --- a/php-phpseclib.spec +++ b/php-phpseclib.spec @@ -3,12 +3,12 @@ %global github_owner phpseclib %global github_name phpseclib -%global github_commit 4de468f48f0ab9709fc875aca0762abdc81cfa9b +%global github_commit 1815ddd00195487cc922577751c175f339f4e20f %global github_short %(c=%{github_commit}; echo ${c:0:7}) %bcond_without tests Name: php-%{composer_vendor} -Version: 2.0.49 +Version: 2.0.50 Release: 1%{?dist} Summary: PHP Secure Communications Library License: MIT @@ -37,6 +37,7 @@ BuildRequires: %{_bindir}/phpab # Optional at runtime, to avoid too muck skipped tests BuildRequires: php-bcmath BuildRequires: php-gmp +BuildRequires: php-mcrypt %endif Requires: php(language) >= 5.3.3 @@ -44,6 +45,7 @@ Requires: php-bcmath Requires: php-date Requires: php-gmp Requires: php-hash +Requires: php-mcrypt Requires: php-openssl Requires: php-pcre Requires: php-session @@ -111,7 +113,7 @@ sed -e '/require /d' -i tests/Unit/Crypt/Hash/SHA*_96Test.php # testAuthorityInfoAccess fails without internet access ret=0 -for cmd in "php %{phpunit}" php80 php81 php82; do +for cmd in "php %{phpunit}" php80 php81 php82 php83 php84 php85; do if which $cmd; then set $cmd $1 -d memory_limit=1G ${2:-%{_bindir}/phpunit9} \ @@ -131,6 +133,9 @@ exit $ret %changelog +* Sat Jan 03 2026 Artur Frenszek-Iwicki - 2.0.50-1 +- Update to v2.0.50 + * Mon Oct 06 2025 Artur Frenszek-Iwicki - 2.0.49-1 - Update to v2.0.49 diff --git a/sources b/sources index c825898..1e006bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpseclib-2.0.49-4de468f.tgz) = 1f3602066cb9cc2bb1d726a514c3abfd1b34b7d034baa88a1ae0a921699096cc6a6a9113775159144edf6d98beeeeddfb970ae2ae5b1e24c8a10ea542f9766da +SHA512 (php-phpseclib-2.0.50-1815ddd.tgz) = cd7e28877120886af1b764ee5aba46f1d4f05f396d60f9fab45678c8a51a077690f61c24299aab5c239de0515ffcb34a91f533172a8d5f272840bc29ef3f5513