Commit 4cf6b3c2 authored by Andy Postnikov's avatar Andy Postnikov
Browse files

testing/php8-pecl-memcache: upgrade to 8.0

parent 9037a336
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php8-pecl-memcache
_extname=memcache
pkgver=4.0.5.2
pkgver=8.0
pkgrel=0
pkgdesc="PHP 8 memcache extension, provides handy OO and procedural interfaces, can be used as session handler - PECL"
url="https://pecl.php.net/package/memcache"
arch="all"
license="PHP-3.01"
license="PHP-3.0"
depends="php8-session"
makedepends="php8-dev"
_githash="e090f05a05e4b773f750025a7647f5d590aa4a6a"
source="php8-$_extname-$_githash.zip::https://github.com/websupport-sk/pecl-memcache/archive/$_githash.zip"
builddir="$srcdir/pecl-$_extname-$_githash"
#source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
#builddir="$srcdir/$_extname-$pkgver"
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz
version-fix.patch" # https://github.com/websupport-sk/pecl-memcache/pull/81
builddir="$srcdir/$_extname-$pkgver"
build() {
phpize8
......@@ -33,4 +31,5 @@ package() {
echo "extension=$_extname" > $_confdir/$_extname.ini
}
sha512sums="dfde1288878aa8ac47518634fc9806938301cb40306a8a498f295f8ddcb4e939aac0ba3e5c9c05e7cf3a3bc945ddf14c26d0995008c192d2e3fa7e07a91837b6 php8-memcache-e090f05a05e4b773f750025a7647f5d590aa4a6a.zip"
sha512sums="d5eea13b85d8d35ef6aab8c5699bdcc4707cf8debf4052cbbeac26e7e2360a4d3d4e55e8bd0b40cf19fe014ba1fc42d5417deabbe22a199f0c6aa98b67d132d4 php-pecl-memcache-8.0.tgz
72ce38df52e1a444a1d9b404c12ef9e7fc1dce2914838879d2bf4a42215a5e1e558f9a6bc21fa6feae6f50fb7843259119baef23925e0ae9834d67b8533f3cf2 version-fix.patch"
--- a/src/php_memcache.h.a
+++ b/src/php_memcache.h
@@ -67,7 +67,7 @@
PHP_FUNCTION(memcache_flush);
PHP_FUNCTION(memcache_set_sasl_auth_data);
-#define PHP_MEMCACHE_VERSION "4.0.5.2"
+#define PHP_MEMCACHE_VERSION "8.0"
#define MMC_DEFAULT_TIMEOUT 1 /* seconds */
#define MMC_DEFAULT_RETRY 15 /* retry failed server after x seconds */
--- a/src/memcache.c.a
+++ b/src/memcache.c
@@ -780,7 +780,7 @@
php_info_print_table_start();
php_info_print_table_header(2, "memcache support", "enabled");
php_info_print_table_row(2, "Version", PHP_MEMCACHE_VERSION);
- php_info_print_table_row(2, "Revision", "$Revision$");
+ php_info_print_table_row(2, "Revision", "b:NON_BLOCKING_IO_php8 v:8.0 c:36d7181 d:2020-12-06");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
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