From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] php updates and new packages: php8.*-redis-6.0.2
Date: Thu, 04 Jul 2024 18:41:06 +0200 [thread overview]
Message-ID: <20240704164106.5F41C28E7C@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44647@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]
There is an updated pull request by TinfoilSubmarine against master on the void-packages repository
https://github.com/TinfoilSubmarine/void-packages maint/php
https://github.com/void-linux/void-packages/pull/44647
php updates and new packages: php8.*-redis-6.0.2
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/44647.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maint/php-44647.patch --]
[-- Type: text/x-diff, Size: 18991 bytes --]
From 9e205f94ce4df65d426abc628ebd8b42905d898e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 4 Jul 2024 11:57:51 -0400
Subject: [PATCH 01/12] php8.1: update to 8.1.29.
---
srcpkgs/php8.1/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/php8.1/template b/srcpkgs/php8.1/template
index db3940f4d14588..71285aa82815b9 100644
--- a/srcpkgs/php8.1/template
+++ b/srcpkgs/php8.1/template
@@ -1,7 +1,7 @@
# Template file for 'php8.1'
# rebuild php8.1-apcu and php8.1-imagick when updating this package
pkgname=php8.1
-version=8.1.28
+version=8.1.29
revision=1
_php_version=8.1
hostmakedepends="bison pkg-config apache-devel"
@@ -18,7 +18,7 @@ changelog="https://raw.githubusercontent.com/php/php-src/php-${version}/NEWS"
# this is the source where the www.php.net code pulls the tarballs it serves
# at https://www.php.net/distributions/
distfiles="https://github.com/php/web-php-distributions/raw/master/php-${version}.tar.gz"
-checksum=a2a9d853f4a4c9ff8631da5dc3a6cec5ab083ef37a214877b0240dcfcdfdefea
+checksum=8b2609bf1d3173aa38269a9af21532c65f730aadd3051f9aae011eea9e246de5
provides="php-runtime-${version}_1"
conf_files="/etc/php${_php_version}/php.ini"
From ec141646f381870e644209f651b486f2d16ba943 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 4 Jul 2024 11:57:40 -0400
Subject: [PATCH 02/12] php8.1-mongodb: update to 1.19.3.
---
srcpkgs/php8.1-mongodb/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/php8.1-mongodb/template b/srcpkgs/php8.1-mongodb/template
index 48530d38af8b38..26bcb6e1771fe1 100644
--- a/srcpkgs/php8.1-mongodb/template
+++ b/srcpkgs/php8.1-mongodb/template
@@ -1,6 +1,6 @@
# Template file for 'php8.1-mongodb'
pkgname=php8.1-mongodb
-version=1.19.0
+version=1.19.3
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.1"
@@ -13,7 +13,7 @@ license="Apache-2.0"
homepage="https://pecl.php.net/package/mongodb"
changelog="https://pecl.php.net/package-changelog.php?package=mongodb"
distfiles="https://pecl.php.net/get/mongodb-$version.tgz"
-checksum=2bbe89825196676e8932c87f0595922e2b1bb18a6f982ee5f37ebdc447b14d10
+checksum=a9e17b024971b78c896413b46722444e5c0d004e3de271490c9d3d55e34268e9
pre_configure() {
phpize8.1
From f2b6eeef7990a0b1d4e40ed09dfa256a703a695f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 4 Jul 2024 12:15:41 -0400
Subject: [PATCH 03/12] composer8.1: update to 2.7.7.
---
srcpkgs/composer8.1/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/composer8.1/template b/srcpkgs/composer8.1/template
index cd677175a3f0a6..a7c8180604be46 100644
--- a/srcpkgs/composer8.1/template
+++ b/srcpkgs/composer8.1/template
@@ -1,6 +1,6 @@
# Template file for 'composer8.1'
pkgname=composer8.1
-version=2.7.6
+version=2.7.7
revision=1
build_style=fetch
depends="php8.1"
@@ -11,7 +11,7 @@ homepage="https://getcomposer.org/"
changelog="https://raw.githubusercontent.com/composer/composer/main/CHANGELOG.md"
distfiles="https://github.com/composer/composer/releases/download/${version}/composer.phar
https://raw.githubusercontent.com/composer/composer/main/LICENSE"
-checksum="29dc9a19ef33535db061b31180b2a833a7cf8d2cf4145b33a2f83504877bba08
+checksum="aab940cd53d285a54c50465820a2080fcb7182a4ba1e5f795abfb10414a4b4be
7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
alternatives="composer:composer:/usr/bin/composer8.1"
From a270ec3ba856f827eeb7dc641cbc372fbb2aec26 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 26 Jun 2023 13:16:44 -0400
Subject: [PATCH 04/12] New package: php8.1-redis-6.0.2
---
srcpkgs/php8.1-redis/INSTALL.msg | 3 +++
srcpkgs/php8.1-redis/template | 23 +++++++++++++++++++++++
srcpkgs/php8.1-redis/update | 1 +
3 files changed, 27 insertions(+)
create mode 100644 srcpkgs/php8.1-redis/INSTALL.msg
create mode 100644 srcpkgs/php8.1-redis/template
create mode 100644 srcpkgs/php8.1-redis/update
diff --git a/srcpkgs/php8.1-redis/INSTALL.msg b/srcpkgs/php8.1-redis/INSTALL.msg
new file mode 100644
index 00000000000000..2a9de04b421e15
--- /dev/null
+++ b/srcpkgs/php8.1-redis/INSTALL.msg
@@ -0,0 +1,3 @@
+To enable the Redis extension add the following line to your php.ini:
+
+ extension=redis
diff --git a/srcpkgs/php8.1-redis/template b/srcpkgs/php8.1-redis/template
new file mode 100644
index 00000000000000..5084ec5b7780ff
--- /dev/null
+++ b/srcpkgs/php8.1-redis/template
@@ -0,0 +1,23 @@
+# Template file for 'php8.1-redis'
+pkgname=php8.1-redis
+version=6.0.2
+revision=1
+build_style=gnu-configure
+configure_args="--with-php-config=/usr/bin/php-config8.1"
+hostmakedepends="php8.1-devel autoconf pkg-config"
+makedepends="php8.1-devel"
+depends="php8.1"
+short_desc="PHP extension for Redis"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="PHP-3.01"
+homepage="https://pecl.php.net/package/redis"
+distfiles="https://pecl.php.net/get/redis-$version.tgz"
+checksum=01aeccb0e14f897fe56f0509be6e6991ff0ad459f9d34e95e4556d02699b9a03
+
+pre_configure() {
+ phpize8.1
+}
+
+pre_install() {
+ make_install_args="INSTALL_ROOT=$DESTDIR"
+}
diff --git a/srcpkgs/php8.1-redis/update b/srcpkgs/php8.1-redis/update
new file mode 100644
index 00000000000000..fb47044a964d56
--- /dev/null
+++ b/srcpkgs/php8.1-redis/update
@@ -0,0 +1 @@
+pattern='<th.*Release \K[\d.]+(?=:</th>)'
From f7baa58b4fe37b93999dfce235dd4e488d33641d Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 4 Jul 2024 11:57:53 -0400
Subject: [PATCH 05/12] php8.2: update to 8.2.21.
---
srcpkgs/php8.2/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/php8.2/template b/srcpkgs/php8.2/template
index 62914e4b8e9c30..1e330598b96907 100644
--- a/srcpkgs/php8.2/template
+++ b/srcpkgs/php8.2/template
@@ -1,7 +1,7 @@
# Template file for 'php8.2'
# rebuild php8.2-apcu and php8.2-imagick when updating this package
pkgname=php8.2
-version=8.2.19
+version=8.2.21
revision=1
_php_version=8.2
hostmakedepends="bison pkg-config apache-devel"
@@ -18,7 +18,7 @@ changelog="https://raw.githubusercontent.com/php/php-src/php-${version}/NEWS"
# this is the source where the www.php.net code pulls the tarballs it serves
# at https://www.php.net/distributions/
distfiles="https://github.com/php/web-php-distributions/raw/master/php-${version}.tar.gz"
-checksum=8bfdd20662b41a238a5acd84fab3e05c36a685fcb56e6d8ac18eeb87057ab2bc
+checksum=0c6323699309a4d2e71057f01bc071b199f240973c349287b667a3ab36a496c6
provides="php-runtime-${version}_1"
conf_files="/etc/php${_php_version}/php.ini"
From b4c4561ed6c35fbf9302ce9ddd8bdca6dcfcf3e8 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 4 Jul 2024 11:57:43 -0400
Subject: [PATCH 06/12] php8.2-mongodb: update to 1.19.3.
---
srcpkgs/php8.2-mongodb/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/php8.2-mongodb/template b/srcpkgs/php8.2-mongodb/template
index 27d68b7f72009e..a4be31856d089a 100644
--- a/srcpkgs/php8.2-mongodb/template
+++ b/srcpkgs/php8.2-mongodb/template
@@ -1,6 +1,6 @@
# Template file for 'php8.2-mongodb'
pkgname=php8.2-mongodb
-version=1.19.0
+version=1.19.3
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.2"
@@ -13,7 +13,7 @@ license="Apache-2.0"
homepage="https://pecl.php.net/package/mongodb"
changelog="https://pecl.php.net/package-changelog.php?package=mongodb"
distfiles="https://pecl.php.net/get/mongodb-$version.tgz"
-checksum=2bbe89825196676e8932c87f0595922e2b1bb18a6f982ee5f37ebdc447b14d10
+checksum=a9e17b024971b78c896413b46722444e5c0d004e3de271490c9d3d55e34268e9
pre_configure() {
phpize8.2
From cd36f8bf36435a36e34ceb2f56450933625ccfe6 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 4 Jul 2024 12:15:43 -0400
Subject: [PATCH 07/12] composer8.2: update to 2.7.7.
---
srcpkgs/composer8.2/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/composer8.2/template b/srcpkgs/composer8.2/template
index 907eb17abb369a..50336e8687051a 100644
--- a/srcpkgs/composer8.2/template
+++ b/srcpkgs/composer8.2/template
@@ -1,6 +1,6 @@
# Template file for 'composer8.2'
pkgname=composer8.2
-version=2.7.6
+version=2.7.7
revision=1
build_style=fetch
depends="php8.2"
@@ -11,7 +11,7 @@ homepage="https://getcomposer.org/"
changelog="https://raw.githubusercontent.com/composer/composer/main/CHANGELOG.md"
distfiles="https://github.com/composer/composer/releases/download/${version}/composer.phar
https://raw.githubusercontent.com/composer/composer/main/LICENSE"
-checksum="29dc9a19ef33535db061b31180b2a833a7cf8d2cf4145b33a2f83504877bba08
+checksum="aab940cd53d285a54c50465820a2080fcb7182a4ba1e5f795abfb10414a4b4be
7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
alternatives="composer:composer:/usr/bin/composer8.2"
From 8c89c461e1406d79948996759ef3fa7239ef5a76 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 26 Jun 2023 13:16:47 -0400
Subject: [PATCH 08/12] New package: php8.2-redis-6.0.2
---
srcpkgs/php8.2-redis/INSTALL.msg | 3 +++
srcpkgs/php8.2-redis/template | 23 +++++++++++++++++++++++
srcpkgs/php8.2-redis/update | 1 +
3 files changed, 27 insertions(+)
create mode 100644 srcpkgs/php8.2-redis/INSTALL.msg
create mode 100644 srcpkgs/php8.2-redis/template
create mode 100644 srcpkgs/php8.2-redis/update
diff --git a/srcpkgs/php8.2-redis/INSTALL.msg b/srcpkgs/php8.2-redis/INSTALL.msg
new file mode 100644
index 00000000000000..2a9de04b421e15
--- /dev/null
+++ b/srcpkgs/php8.2-redis/INSTALL.msg
@@ -0,0 +1,3 @@
+To enable the Redis extension add the following line to your php.ini:
+
+ extension=redis
diff --git a/srcpkgs/php8.2-redis/template b/srcpkgs/php8.2-redis/template
new file mode 100644
index 00000000000000..c45fd14c0fcc9c
--- /dev/null
+++ b/srcpkgs/php8.2-redis/template
@@ -0,0 +1,23 @@
+# Template file for 'php8.2-redis'
+pkgname=php8.2-redis
+version=6.0.2
+revision=1
+build_style=gnu-configure
+configure_args="--with-php-config=/usr/bin/php-config8.2"
+hostmakedepends="php8.2-devel autoconf pkg-config"
+makedepends="php8.2-devel"
+depends="php8.2"
+short_desc="PHP extension for Redis"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="PHP-3.01"
+homepage="https://pecl.php.net/package/redis"
+distfiles="https://pecl.php.net/get/redis-$version.tgz"
+checksum=01aeccb0e14f897fe56f0509be6e6991ff0ad459f9d34e95e4556d02699b9a03
+
+pre_configure() {
+ phpize8.2
+}
+
+pre_install() {
+ make_install_args="INSTALL_ROOT=$DESTDIR"
+}
diff --git a/srcpkgs/php8.2-redis/update b/srcpkgs/php8.2-redis/update
new file mode 100644
index 00000000000000..fb47044a964d56
--- /dev/null
+++ b/srcpkgs/php8.2-redis/update
@@ -0,0 +1 @@
+pattern='<th.*Release \K[\d.]+(?=:</th>)'
From 9ef6c6e6546d79d9344ec0060f8d198670e5e2f9 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 4 Jul 2024 11:57:56 -0400
Subject: [PATCH 09/12] php8.3: update to 8.3.8.
---
srcpkgs/php8.3/patches/php-cross-config.patch | 14 +++++++-------
srcpkgs/php8.3/template | 4 ++--
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/php8.3/patches/php-cross-config.patch b/srcpkgs/php8.3/patches/php-cross-config.patch
index 141c3f0a0e66d9..1956e6690abe2a 100644
--- a/srcpkgs/php8.3/patches/php-cross-config.patch
+++ b/srcpkgs/php8.3/patches/php-cross-config.patch
@@ -1,22 +1,22 @@
diff --git a/configure b/configure
-index d317fd7..5560d75 100755
+index 1f5489d..a7e9276 100755
--- a/configure
+++ b/configure
-@@ -60896,7 +60896,7 @@ $as_echo_n "checking for pg_config... " >&6; }
+@@ -63653,7 +63653,7 @@ printf %s "checking for pg_config... " >&6; }
fi
done
- if test -n "$PG_CONFIG"; then
+ if test -n "$PG_CONFIG" && test "x$cross_compiling" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5
- $as_echo "$PG_CONFIG" >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5
+ printf "%s\n" "$PG_CONFIG" >&6; }
PGSQL_INCLUDE=`$PG_CONFIG --includedir`
-@@ -62422,7 +62422,7 @@ $as_echo_n "checking for pg_config... " >&6; }
+@@ -65177,7 +65177,7 @@ printf %s "checking for pg_config... " >&6; }
fi
done
- if test -n "$PG_CONFIG"; then
+ if test -n "$PG_CONFIG" && test "x$cross_compiling" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5
- $as_echo "$PG_CONFIG" >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5
+ printf "%s\n" "$PG_CONFIG" >&6; }
PGSQL_INCLUDE=`$PG_CONFIG --includedir`
diff --git a/srcpkgs/php8.3/template b/srcpkgs/php8.3/template
index d9908fa75aa776..fdcd3db5b21a4d 100644
--- a/srcpkgs/php8.3/template
+++ b/srcpkgs/php8.3/template
@@ -1,7 +1,7 @@
# Template file for 'php8.3'
# rebuild php8.3-apcu and php8.3-imagick when updating this package
pkgname=php8.3
-version=8.3.7
+version=8.3.8
revision=1
_php_version=8.3
hostmakedepends="bison pkg-config apache-devel"
@@ -18,7 +18,7 @@ changelog="https://raw.githubusercontent.com/php/php-src/php-${version}/NEWS"
# this is the source where the www.php.net code pulls the tarballs it serves
# at https://www.php.net/distributions/
distfiles="https://github.com/php/web-php-distributions/raw/master/php-${version}.tar.gz"
-checksum=2e11d10b651459a8767401e66b5d70e3b048e446579fcdeb0b69bcba789af8c4
+checksum=0ebed9f1471871cf131e504629f3947f2acd38a655cc31b036f99efd0e3dbdeb
provides="php-runtime-${version}_1"
conf_files="/etc/php${_php_version}/php.ini"
From 1a86bf4450b81cbb9789872f57ac92a667dab945 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 4 Jul 2024 11:57:46 -0400
Subject: [PATCH 10/12] php8.3-mongodb: update to 1.19.3.
---
srcpkgs/php8.3-mongodb/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/php8.3-mongodb/template b/srcpkgs/php8.3-mongodb/template
index f9133475d9940d..41aa7ad7a40c5e 100644
--- a/srcpkgs/php8.3-mongodb/template
+++ b/srcpkgs/php8.3-mongodb/template
@@ -1,6 +1,6 @@
# Template file for 'php8.3-mongodb'
pkgname=php8.3-mongodb
-version=1.19.0
+version=1.19.3
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.3"
@@ -13,7 +13,7 @@ license="Apache-2.0"
homepage="https://pecl.php.net/package/mongodb"
changelog="https://pecl.php.net/package-changelog.php?package=mongodb"
distfiles="https://pecl.php.net/get/mongodb-$version.tgz"
-checksum=2bbe89825196676e8932c87f0595922e2b1bb18a6f982ee5f37ebdc447b14d10
+checksum=a9e17b024971b78c896413b46722444e5c0d004e3de271490c9d3d55e34268e9
pre_configure() {
phpize8.3
From 7253d0c09e938586fef479799ac5d99386ecc90b Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 4 Jul 2024 12:15:45 -0400
Subject: [PATCH 11/12] composer8.3: update to 2.7.7.
---
srcpkgs/composer8.3/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/composer8.3/template b/srcpkgs/composer8.3/template
index fd98df9fbded9b..3574c288855f2c 100644
--- a/srcpkgs/composer8.3/template
+++ b/srcpkgs/composer8.3/template
@@ -1,6 +1,6 @@
# Template file for 'composer8.3'
pkgname=composer8.3
-version=2.7.6
+version=2.7.7
revision=1
build_style=fetch
depends="php8.3"
@@ -11,7 +11,7 @@ homepage="https://getcomposer.org/"
changelog="https://raw.githubusercontent.com/composer/composer/main/CHANGELOG.md"
distfiles="https://github.com/composer/composer/releases/download/${version}/composer.phar
https://raw.githubusercontent.com/composer/composer/main/LICENSE"
-checksum="29dc9a19ef33535db061b31180b2a833a7cf8d2cf4145b33a2f83504877bba08
+checksum="aab940cd53d285a54c50465820a2080fcb7182a4ba1e5f795abfb10414a4b4be
7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
alternatives="composer:composer:/usr/bin/composer8.3"
From f50eb5db01659aab68697c4b697ca72207c80f2c Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 13 Dec 2023 08:28:55 -0500
Subject: [PATCH 12/12] New package: php8.3-redis-6.0.2
---
srcpkgs/php-redis | 1 +
srcpkgs/php/template | 8 +++++++-
srcpkgs/php8.3-redis/INSTALL.msg | 3 +++
srcpkgs/php8.3-redis/template | 23 +++++++++++++++++++++++
srcpkgs/php8.3-redis/update | 1 +
5 files changed, 35 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/php-redis
create mode 100644 srcpkgs/php8.3-redis/INSTALL.msg
create mode 100644 srcpkgs/php8.3-redis/template
create mode 100644 srcpkgs/php8.3-redis/update
diff --git a/srcpkgs/php-redis b/srcpkgs/php-redis
new file mode 120000
index 00000000000000..fa557ad95d0aa1
--- /dev/null
+++ b/srcpkgs/php-redis
@@ -0,0 +1 @@
+php
\ No newline at end of file
diff --git a/srcpkgs/php/template b/srcpkgs/php/template
index 16d392f66f24c3..d04d1369746fd5 100644
--- a/srcpkgs/php/template
+++ b/srcpkgs/php/template
@@ -1,7 +1,7 @@
# Template file for 'php'
pkgname=php
version=8.3
-revision=1
+revision=2
build_style=meta
depends="php${version}"
short_desc="Meta package for PHP"
@@ -161,6 +161,12 @@ php-mongodb_package() {
short_desc="PHP MongoDB driver meta package"
}
+php-redis_package() {
+ depends="php${version}-redis"
+ build_style=meta
+ short_desc="PHP Redis extension meta package"
+}
+
xdebug_package() {
depends="xdebug${version}"
build_style=meta
diff --git a/srcpkgs/php8.3-redis/INSTALL.msg b/srcpkgs/php8.3-redis/INSTALL.msg
new file mode 100644
index 00000000000000..2a9de04b421e15
--- /dev/null
+++ b/srcpkgs/php8.3-redis/INSTALL.msg
@@ -0,0 +1,3 @@
+To enable the Redis extension add the following line to your php.ini:
+
+ extension=redis
diff --git a/srcpkgs/php8.3-redis/template b/srcpkgs/php8.3-redis/template
new file mode 100644
index 00000000000000..e86c03d1867a75
--- /dev/null
+++ b/srcpkgs/php8.3-redis/template
@@ -0,0 +1,23 @@
+# Template file for 'php8.3-redis'
+pkgname=php8.3-redis
+version=6.0.2
+revision=1
+build_style=gnu-configure
+configure_args="--with-php-config=/usr/bin/php-config8.3"
+hostmakedepends="php8.3-devel autoconf pkg-config"
+makedepends="php8.3-devel"
+depends="php8.3"
+short_desc="PHP extension for Redis"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="PHP-3.01"
+homepage="https://pecl.php.net/package/redis"
+distfiles="https://pecl.php.net/get/redis-$version.tgz"
+checksum=01aeccb0e14f897fe56f0509be6e6991ff0ad459f9d34e95e4556d02699b9a03
+
+pre_configure() {
+ phpize8.3
+}
+
+pre_install() {
+ make_install_args="INSTALL_ROOT=$DESTDIR"
+}
diff --git a/srcpkgs/php8.3-redis/update b/srcpkgs/php8.3-redis/update
new file mode 100644
index 00000000000000..fb47044a964d56
--- /dev/null
+++ b/srcpkgs/php8.3-redis/update
@@ -0,0 +1 @@
+pattern='<th.*Release \K[\d.]+(?=:</th>)'
next prev parent reply other threads:[~2024-07-04 16:41 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-26 17:19 [PR PATCH] New package: php8.[012]-redis-5.3.7 TinfoilSubmarine
2023-09-25 1:45 ` github-actions
2023-09-27 14:43 ` [PR PATCH] [Updated] " TinfoilSubmarine
2023-12-13 18:00 ` [PR PATCH] [Updated] New package: php8.[12]-redis-5.3.7 TinfoilSubmarine
2023-12-13 18:03 ` New package: php8.*-redis-6.0.2 TinfoilSubmarine
2024-01-03 14:56 ` [PR PATCH] [Updated] " TinfoilSubmarine
2024-01-03 15:42 ` TinfoilSubmarine
2024-05-14 1:46 ` github-actions
2024-05-14 13:45 ` [PR PATCH] [Updated] " TinfoilSubmarine
2024-07-04 16:37 ` TinfoilSubmarine
2024-07-04 16:41 ` TinfoilSubmarine [this message]
2024-07-08 14:32 ` [PR PATCH] [Updated] php updates and new packages: php8.*-redis-6.0.2 TinfoilSubmarine
2024-07-08 15:38 ` TinfoilSubmarine
2024-07-08 15:38 ` TinfoilSubmarine
2024-07-09 17:59 ` TinfoilSubmarine
2024-07-23 14:45 ` [PR REVIEW] " classabbyamp
2024-07-23 14:45 ` classabbyamp
2024-07-23 14:45 ` classabbyamp
2024-07-23 14:55 ` [PR PATCH] [Updated] " TinfoilSubmarine
2024-07-23 14:58 ` classabbyamp
2024-07-23 15:56 ` [PR PATCH] [Updated] " TinfoilSubmarine
2024-07-23 15:56 ` TinfoilSubmarine
2024-07-23 17:00 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240704164106.5F41C28E7C@inbox.vuxu.org \
--to=tinfoilsubmarine@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).