Commit 5f9bc68c authored by Andy Postnikov's avatar Andy Postnikov
Browse files

community/*: rebuild against PHP 7.4

parent b315e28b
......@@ -3,7 +3,7 @@
pkgname=php7-brotli
_pkgreal=brotli
pkgver=0.7.0
pkgrel=1
pkgrel=2
pkgdesc="Brotli Extension for PHP"
url="https://github.com/kjdev/php-ext-brotli"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-maxminddb
_pkgreal=MaxMind-DB-Reader-php
pkgver=1.6.0
pkgrel=1
pkgrel=2
pkgdesc="PHP7 MaxMind DB Reader extension"
url="https://github.com/maxmind/MaxMind-DB-Reader-php"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-amqp
_pkgreal=amqp
pkgver=1.10.2
pkgrel=0
pkgrel=1
pkgdesc="PHP extension to communicate with any AMQP spec 0-9-1 compatible server - PECL"
url="https://pecl.php.net/package/amqp"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-apcu
_pkgreal=apcu
pkgver=5.1.18
pkgrel=0
pkgrel=1
pkgdesc="PHP extension APC User Cache - PECL"
url="https://pecl.php.net/package/apcu"
arch="all"
......
......@@ -4,7 +4,7 @@ pkgname=php7-pecl-ast
_pkgext=ast
_pkgreal=php-ast
pkgver=1.0.6
pkgrel=0
pkgrel=1
pkgdesc="PHP extension exposing PHP 7 abstract syntax tree - PECL"
url="https://pecl.php.net/package/ast"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-couchbase
_pkgreal=couchbase
pkgver=2.6.2
pkgrel=0
pkgrel=1
pkgdesc="PHP extension for Couchbase - PECL"
url="https://pecl.php.net/package/couchbase"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-event
_pkgname=event
pkgver=2.5.6
pkgrel=0
pkgrel=1
pkgdesc="PHP extension that provides interface to libevent library - PECL"
url="https://pecl.php.net/package/event"
arch="all"
......
......@@ -4,7 +4,7 @@ pkgname=php7-pecl-gmagick
_pkgreal=gmagick
pkgver=2.0.5_rc1
_pkgver=${pkgver/_rc/RC}
pkgrel=5
pkgrel=6
pkgdesc="PHP bindings to the GraphicsMagick library - PECL"
url="https://pecl.php.net/package/gmagick"
arch="all"
......
From 07de7a665802ff8e028b85442568031ae9759077 Mon Sep 17 00:00:00 2001
From: Tyson Andre <tysonandre775@hotmail.com>
Date: Wed, 6 May 2020 09:57:04 -0400
Subject: [PATCH] Update tests of serializing ArrayObject for 7.4.6+
Fixes #274
---
tests/__serialize_012.phpt | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/tests/__serialize_012.phpt b/tests/__serialize_012.phpt
index 13f1d32..488a87d 100644
--- a/tests/__serialize_012.phpt
+++ b/tests/__serialize_012.phpt
@@ -1,7 +1,7 @@
--TEST--
Test unserialization of classes derived from ArrayIterator
--SKIPIF--
-<?php if (PHP_VERSION_ID < 70400) { echo "Skip requires php 7.4+"; } ?>
+<?php if (PHP_VERSION_ID < 70406) { echo "Skip requires php 7.4.6+"; } ?>
--FILE--
<?php
// based on bug45706.phpt from php-src
@@ -12,13 +12,25 @@ class Foo2 {
}
$x = array(new Foo1(),new Foo2);
$s = igbinary_serialize($x);
+var_dump(igbinary_unserialize($s));
$s = str_replace("Foo", "Bar", $s);
$y = igbinary_unserialize($s);
var_dump($y);
--EXPECTF--
array(2) {
[0]=>
- object(__PHP_Incomplete_Class)#3 (4) {
+ object(Foo1)#3 (1) {
+ ["storage":"ArrayIterator":private]=>
+ array(0) {
+ }
+ }
+ [1]=>
+ object(Foo2)#4 (0) {
+ }
+}
+array(2) {
+ [0]=>
+ object(__PHP_Incomplete_Class)#4 (5) {
["__PHP_Incomplete_Class_Name"]=>
string(4) "Bar1"
["0"]=>
@@ -29,9 +41,11 @@ array(2) {
["2"]=>
array(0) {
}
+ ["3"]=>
+ NULL
}
[1]=>
- object(__PHP_Incomplete_Class)#4 (1) {
+ object(__PHP_Incomplete_Class)#3 (1) {
["__PHP_Incomplete_Class_Name"]=>
string(4) "Bar2"
}
--
2.26.2
......@@ -4,7 +4,7 @@
pkgname=php7-pecl-igbinary
_pkgreal=igbinary
pkgver=3.1.2
pkgrel=0
pkgrel=1
pkgdesc="Igbinary is a drop in replacement for the standard php serializer"
url="https://pecl.php.net/package/igbinary"
arch="all"
......@@ -13,7 +13,8 @@ provides="php7-igbinary=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-igbinary" # for backward compatibility
depends="php7-common"
makedepends="autoconf php7-dev php7-json php7-pecl-apcu re2c"
source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz
0001-Update-tests-of-serializing-ArrayObject-for-7.4.6.patch"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
......@@ -38,4 +39,5 @@ package() {
"$pkgdir"/etc/php7/conf.d/10_$_pkgreal.ini
}
sha512sums="8d293b63e64a2759d55569fda9f9641c34dd9cc1529612d22821f8026b09010e35e2f36552f88e4af89c64a81a9a1548e012b176e2fedab74f839bf7699168c2 php7-pecl-igbinary-3.1.2.tgz"
sha512sums="8d293b63e64a2759d55569fda9f9641c34dd9cc1529612d22821f8026b09010e35e2f36552f88e4af89c64a81a9a1548e012b176e2fedab74f839bf7699168c2 php7-pecl-igbinary-3.1.2.tgz
b7f8c05d6f60f5ba17f64ca3bc057e693ffcbf9a73f87e41af102ebb5818e32045f2275d54452a3219351c0186107b3f3d147b6e55af78bb77980f8008590d1d 0001-Update-tests-of-serializing-ArrayObject-for-7.4.6.patch"
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-imagick
_pkgreal=imagick
pkgver=3.4.4
pkgrel=3
pkgrel=4
pkgdesc="PHP extension provides a wrapper to the ImageMagick library - PECL"
url="https://pecl.php.net/package/imagick"
arch="all"
......
......@@ -4,7 +4,7 @@ pkgname=php7-pecl-lzf
_pkgreal=LZF
_pkgextname=lzf
pkgver=1.6.8
pkgrel=0
pkgrel=1
pkgdesc="PHP extension handles LZF de/compression - PECL"
url="https://pecl.php.net/package/LZF"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-mailparse
_pkgreal=mailparse
pkgver=3.1.0
pkgrel=0
pkgrel=1
pkgdesc="PHP extension for parsing and working with email messages - PECL"
url="https://pecl.php.net/package/mailparse"
arch="all"
......
......@@ -2,7 +2,7 @@
pkgname=php7-pecl-mcrypt
_pkgreal=mcrypt
pkgver=1.0.3
pkgrel=1
pkgrel=2
pkgdesc="Provides bindings for the unmaintained libmcrypt."
url="https://pecl.php.net/package/mcrypt"
arch="all"
......
......@@ -2,7 +2,7 @@
pkgname=php7-pecl-memcache
_pkgreal=memcache
pkgver=4.0.5.2
pkgrel=0
pkgrel=1
pkgdesc="PECL memcache extension, provides handy OO and procedural interfaces, can be used as session handler."
url="https://pecl.php.net/package/memcache"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-memcached
_pkgreal=memcached
pkgver=3.1.5
pkgrel=1
pkgrel=2
pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
url="https://pecl.php.net/package/memcached"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-msgpack
_pkgreal=msgpack
pkgver=2.1.0
pkgrel=0
pkgrel=1
pkgdesc="PHP extension provides API for communicating with MessagePack serialization - PECL"
url="https://pecl.php.net/package/msgpack"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-oauth
_pkgreal=oauth
pkgver=2.0.5
pkgrel=0
pkgrel=1
pkgdesc="OAuth is an authorization protocol built on top of HTTP."
url="https://pecl.php.net/package/oauth"
arch="all"
......
......@@ -3,7 +3,7 @@
pkgname=php7-pecl-protobuf
_pkgreal=protobuf
pkgver=3.12.2
pkgrel=0
pkgrel=1
pkgdesc="PHP7 extension: Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data."
url="https://pecl.php.net/package/protobuf"
arch="all"
......
......@@ -2,7 +2,7 @@
pkgname=php7-pecl-psr
_pkgreal=psr
pkgver=1.0.0
pkgrel=0
pkgrel=1
pkgdesc="PECL extension provides the accepted PSR interfaces, so they can be used in an extension."
url="https://pecl.php.net/package/psr"
arch="all"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment