git: 8c678f6b7da1 - main - databases/pecl-redis: Update 5.3.7 → 6.1.0, take maintainership
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Mar 2025 12:30:59 UTC
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c678f6b7da17ea886fc3459ac5866b695f18d73 commit 8c678f6b7da17ea886fc3459ac5866b695f18d73 Author: Mateusz Wiącek <wiacek.m@witia.com.pl> AuthorDate: 2025-03-06 12:08:17 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-03-06 12:08:17 +0000 databases/pecl-redis: Update 5.3.7 → 6.1.0, take maintainership Original author of the patch: Mark <mark@elpescador.nl> Changelogs: https://pecl.php.net/package-changelog.php?package=redis&release=6.1.0 While here replace PORTVERSION with DISTVERSION. PR: 285154 282573 Approved by: Daniel Ylitalo <daniel@blodan.se> (maintainer) --- databases/pecl-redis/Makefile | 7 +++---- databases/pecl-redis/distinfo | 6 +++--- databases/pecl-redis/files/patch-backoff.c | 20 -------------------- databases/pecl-redis/files/patch-library.c | 14 -------------- databases/pecl-redis/files/patch-redis.c | 24 ------------------------ 5 files changed, 6 insertions(+), 65 deletions(-) diff --git a/databases/pecl-redis/Makefile b/databases/pecl-redis/Makefile index 57d9a2dba39e..e810447bcfdc 100644 --- a/databases/pecl-redis/Makefile +++ b/databases/pecl-redis/Makefile @@ -1,14 +1,13 @@ PORTNAME= redis -PORTVERSION= 5.3.7 -PORTREVISION= 1 +DISTVERSION= 6.1.0 CATEGORIES= databases -MAINTAINER= daniel@blodan.se +MAINTAINER= wiacek.m@witia.com.pl COMMENT= Extension to access Redis WWW= https://pecl.php.net/package/redis LICENSE= PHP301 -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:build,pecl USE_PHP= session:build diff --git a/databases/pecl-redis/distinfo b/databases/pecl-redis/distinfo index 79c03d9d7e45..a0e240a103a6 100644 --- a/databases/pecl-redis/distinfo +++ b/databases/pecl-redis/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1671186810 -SHA256 (PECL/redis-5.3.7.tgz) = b958166ccda4f40bd17c6998f9e2239021ae644467cd8ad5c15def420aad65b0 -SIZE (PECL/redis-5.3.7.tgz) = 275200 +TIMESTAMP = 1741086301 +SHA256 (PECL/redis-6.1.0.tgz) = f10405f639fe415e9ed4ec99538e72c90694d8dbd62868edcfcd6a453466b48c +SIZE (PECL/redis-6.1.0.tgz) = 373740 diff --git a/databases/pecl-redis/files/patch-backoff.c b/databases/pecl-redis/files/patch-backoff.c deleted file mode 100644 index 4534ef9c8013..000000000000 --- a/databases/pecl-redis/files/patch-backoff.c +++ /dev/null @@ -1,20 +0,0 @@ ---- backoff.c.orig 2024-08-03 17:49:28 UTC -+++ backoff.c -@@ -1,9 +1,17 @@ - #include "common.h" - -+#if PHP_VERSION_ID <= 80300 - #include <ext/standard/php_rand.h> -+#else -+#include <ext/random/php_random.h> -+#endif - - #if PHP_VERSION_ID >= 70100 -+#if PHP_VERSION_ID <= 80300 - #include <ext/standard/php_mt_rand.h> -+#else -+#include <ext/random/php_random.h> -+#endif - #else - static zend_long php_mt_rand_range(zend_long min, zend_long max) { - zend_long number = php_rand(); diff --git a/databases/pecl-redis/files/patch-library.c b/databases/pecl-redis/files/patch-library.c deleted file mode 100644 index df1d2d13fe76..000000000000 --- a/databases/pecl-redis/files/patch-library.c +++ /dev/null @@ -1,14 +0,0 @@ ---- library.c.orig 2024-08-03 17:50:52 UTC -+++ library.c -@@ -56,7 +56,11 @@ - #include <ext/json/php_json.h> - #endif - -+#if PHP_VERSION_ID <= 80300 - #include <ext/standard/php_rand.h> -+#else -+#include <ext/random/php_random.h> -+#endif - #include <ext/hash/php_hash.h> - - #define UNSERIALIZE_NONE 0 diff --git a/databases/pecl-redis/files/patch-redis.c b/databases/pecl-redis/files/patch-redis.c deleted file mode 100644 index 3678e522cf9a..000000000000 --- a/databases/pecl-redis/files/patch-redis.c +++ /dev/null @@ -1,24 +0,0 @@ ---- redis.c.orig 2022-02-15 18:25:22 UTC -+++ redis.c -@@ -27,7 +27,11 @@ - #include "redis_cluster.h" - #include "redis_commands.h" - #include "redis_sentinel.h" -+#if PHP_VERSION_ID <= 80300 - #include <standard/php_random.h> -+#else -+#include <ext/random/php_random.h> -+#endif - #include <zend_exceptions.h> - #include <ext/standard/info.h> - #include <ext/hash/php_hash.h> -@@ -154,6 +158,9 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_pconnect, 0, 0, 1) - ZEND_ARG_INFO(0, host) - ZEND_ARG_INFO(0, port) - ZEND_ARG_INFO(0, timeout) -+ ZEND_ARG_INFO(0, persistent_id) -+ ZEND_ARG_INFO(0, retry_interval) -+ ZEND_ARG_INFO(0, read_timeout) - ZEND_END_ARG_INFO() - - ZEND_BEGIN_ARG_INFO_EX(arginfo_mget, 0, 0, 1)