aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaavo-Einari Kaipila <pkaipila@gmail.com>2026-09-17 19:05:21 +0000
committerYusuf Yaman <nxjoseph@FreeBSD.org>2026-10-21 12:52:32 +0000
commit44cd7d97c767ad69f954016d3261c522af590bec (patch)
treea84a7aa9efeccb46d24f4b6718e5b1de22fb1680
parente85dd89784c09603c4191aa9c020ff7d82ffcc2d (diff)
databases/pecl-redis: Migrate to databases/php-redis
PECL is deprecated. PR: 296771 Co-authored-by: Mateusz Wiącek <wiacek.m@witia.com.pl> (maintainer) Approved by: Mateusz Wiącek <wiacek.m@witia.com.pl> (maintainer) Approved by: vvd (mentor) Differential Revision: https://reviews.freebsd.org/D60581
-rw-r--r--MOVED1
-rw-r--r--Mk/Uses/php.mk2
-rw-r--r--databases/Makefile2
-rw-r--r--databases/pecl-redis/distinfo3
-rw-r--r--databases/php-redis/Makefile (renamed from databases/pecl-redis/Makefile)10
-rw-r--r--databases/php-redis/distinfo3
-rw-r--r--databases/php-redis/pkg-descr (renamed from databases/pecl-redis/pkg-descr)0
7 files changed, 14 insertions, 7 deletions
diff --git a/MOVED b/MOVED
index 3aa8906eae56..5cf62ef36317 100644
--- a/MOVED
+++ b/MOVED
@@ -5751,3 +5751,4 @@ games/wyrmgus||2026-10-19|Broken for several months in tree
multimedia/wl-screenrec||2026-10-19|Broken for more than 5 months
net-im/debugtox||2026-10-19|Broken for almost a year in tree
textproc/regex2dfa||2026-10-19|Broken for 6+ months in tree
+databases/pecl-redis|databases/php-redis|2026-10-21|PECL is deprecated. Migrated to databases/php-redis
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk
index e41530115812..1c179ea97fd8 100644
--- a/Mk/Uses/php.mk
+++ b/Mk/Uses/php.mk
@@ -449,7 +449,7 @@ pspell_DEPENDS= textproc/php-pspell@${PHP_FLAVOR}
. endif
radius_DEPENDS= net/pecl-radius@${PHP_FLAVOR}
readline_DEPENDS= devel/php${PHP_VER}-readline
-redis_DEPENDS= databases/pecl-redis@${PHP_FLAVOR}
+redis_DEPENDS= databases/php-redis@${PHP_FLAVOR}
session_DEPENDS=www/php${PHP_VER}-session
shmop_DEPENDS= devel/php${PHP_VER}-shmop
simplexml_DEPENDS= textproc/php${PHP_VER}-simplexml
diff --git a/databases/Makefile b/databases/Makefile
index 0c89599f08cf..1fc6bb1c97df 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -559,7 +559,6 @@
SUBDIR += pecl-memcache
SUBDIR += pecl-memcached
SUBDIR += pecl-mongodb
- SUBDIR += pecl-redis
SUBDIR += pecl-rrd
SUBDIR += percona-orchestrator
SUBDIR += percona-toolkit
@@ -622,6 +621,7 @@
SUBDIR += pguri
SUBDIR += pgvector
SUBDIR += php-memvector
+ SUBDIR += php-redis
SUBDIR += php-tarantool
SUBDIR += php-xapian
SUBDIR += php82-dba
diff --git a/databases/pecl-redis/distinfo b/databases/pecl-redis/distinfo
deleted file mode 100644
index b62d20098838..000000000000
--- a/databases/pecl-redis/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1762479107
-SHA256 (PECL/redis-6.3.0.tgz) = 0d5141f634bd1db6c1ddcda053d25ecf2c4fc1c395430d534fd3f8d51dd7f0b5
-SIZE (PECL/redis-6.3.0.tgz) = 399284
diff --git a/databases/pecl-redis/Makefile b/databases/php-redis/Makefile
index a0b7dcea9f26..d5327e999f72 100644
--- a/databases/pecl-redis/Makefile
+++ b/databases/php-redis/Makefile
@@ -1,15 +1,21 @@
PORTNAME= redis
DISTVERSION= 6.3.0
CATEGORIES= databases
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= wiacek.m@witia.com.pl
COMMENT= Extension to access Redis
-WWW= https://pecl.php.net/package/redis
+WWW= https://github.com/phpredis/phpredis
LICENSE= PHP301
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= php:build,pecl
+USES= php:ext
+
+USE_GITHUB= yes
+GH_ACCOUNT= phpredis
+GH_PROJECT= phpredis
+
USE_PHP= session:build
IGNORE_WITH_PHP= 86
diff --git a/databases/php-redis/distinfo b/databases/php-redis/distinfo
new file mode 100644
index 000000000000..71d741fa21f6
--- /dev/null
+++ b/databases/php-redis/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1784014442
+SHA256 (phpredis-phpredis-6.3.0_GH0.tar.gz) = cb8f81df1a275599e4f8ddcfec7e1f65ed1953e6f5673649149fd680ebff4cad
+SIZE (phpredis-phpredis-6.3.0_GH0.tar.gz) = 436470
diff --git a/databases/pecl-redis/pkg-descr b/databases/php-redis/pkg-descr
index 722ecf4d04b5..722ecf4d04b5 100644
--- a/databases/pecl-redis/pkg-descr
+++ b/databases/php-redis/pkg-descr