Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: php8.[012]-redis-5.3.7
@ 2023-06-26 17:19 TinfoilSubmarine
  2023-09-25  1:45 ` github-actions
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: TinfoilSubmarine @ 2023-06-26 17:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

There is a new 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

New package: php8.[012]-redis-5.3.7
- New package: php8.0-redis-5.3.7
- New package: php8.1-redis-5.3.7
- New package: php8.2-redis-5.3.7

<!-- 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: 6708 bytes --]

From 9c2777aa82a1c7cc4e0534d3862f33924b31e62f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 26 Jun 2023 13:16:41 -0400
Subject: [PATCH 1/3] New package: php8.0-redis-5.3.7

---
 srcpkgs/php8.0-redis/INSTALL.msg |  3 +++
 srcpkgs/php8.0-redis/template    | 23 +++++++++++++++++++++++
 srcpkgs/php8.0-redis/update      |  1 +
 3 files changed, 27 insertions(+)
 create mode 100644 srcpkgs/php8.0-redis/INSTALL.msg
 create mode 100644 srcpkgs/php8.0-redis/template
 create mode 100644 srcpkgs/php8.0-redis/update

diff --git a/srcpkgs/php8.0-redis/INSTALL.msg b/srcpkgs/php8.0-redis/INSTALL.msg
new file mode 100644
index 000000000000..2a9de04b421e
--- /dev/null
+++ b/srcpkgs/php8.0-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.0-redis/template b/srcpkgs/php8.0-redis/template
new file mode 100644
index 000000000000..32db4d19223a
--- /dev/null
+++ b/srcpkgs/php8.0-redis/template
@@ -0,0 +1,23 @@
+# Template file for 'php8.0-redis'
+pkgname=php8.0-redis
+version=5.3.7
+revision=1
+build_style=gnu-configure
+configure_args="--with-php-config=/usr/bin/php-config8.0"
+hostmakedepends="php8.0-devel autoconf pkg-config"
+makedepends="php8.0-devel"
+depends="php8.0"
+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=b958166ccda4f40bd17c6998f9e2239021ae644467cd8ad5c15def420aad65b0
+
+pre_configure() {
+	phpize8.0
+}
+
+pre_install() {
+	make_install_args="INSTALL_ROOT=$DESTDIR"
+}
diff --git a/srcpkgs/php8.0-redis/update b/srcpkgs/php8.0-redis/update
new file mode 100644
index 000000000000..fb47044a964d
--- /dev/null
+++ b/srcpkgs/php8.0-redis/update
@@ -0,0 +1 @@
+pattern='<th.*Release \K[\d.]+(?=:</th>)'

From 2c63aebd5dd17d08d059ed3fe7a054a3111da705 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 26 Jun 2023 13:16:44 -0400
Subject: [PATCH 2/3] New package: php8.1-redis-5.3.7

---
 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 000000000000..2a9de04b421e
--- /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 000000000000..3fe5bd8dffc0
--- /dev/null
+++ b/srcpkgs/php8.1-redis/template
@@ -0,0 +1,23 @@
+# Template file for 'php8.1-redis'
+pkgname=php8.1-redis
+version=5.3.7
+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=b958166ccda4f40bd17c6998f9e2239021ae644467cd8ad5c15def420aad65b0
+
+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 000000000000..fb47044a964d
--- /dev/null
+++ b/srcpkgs/php8.1-redis/update
@@ -0,0 +1 @@
+pattern='<th.*Release \K[\d.]+(?=:</th>)'

From b459b4770a05721f7d7afe8d6ac1d4daadbc6121 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 26 Jun 2023 13:16:47 -0400
Subject: [PATCH 3/3] New package: php8.2-redis-5.3.7

---
 srcpkgs/php-redis                |  1 +
 srcpkgs/php/template             |  8 +++++++-
 srcpkgs/php8.2-redis/INSTALL.msg |  3 +++
 srcpkgs/php8.2-redis/template    | 23 +++++++++++++++++++++++
 srcpkgs/php8.2-redis/update      |  1 +
 5 files changed, 35 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/php-redis
 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/php-redis b/srcpkgs/php-redis
new file mode 120000
index 000000000000..fa557ad95d0a
--- /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 9fd1e27be27c..2419dd147d9f 100644
--- a/srcpkgs/php/template
+++ b/srcpkgs/php/template
@@ -1,7 +1,7 @@
 # Template file for 'php'
 pkgname=php
 version=8.2
-revision=2
+revision=3
 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.2-redis/INSTALL.msg b/srcpkgs/php8.2-redis/INSTALL.msg
new file mode 100644
index 000000000000..2a9de04b421e
--- /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 000000000000..22b17355b28b
--- /dev/null
+++ b/srcpkgs/php8.2-redis/template
@@ -0,0 +1,23 @@
+# Template file for 'php8.2-redis'
+pkgname=php8.2-redis
+version=5.3.7
+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=b958166ccda4f40bd17c6998f9e2239021ae644467cd8ad5c15def420aad65b0
+
+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 000000000000..fb47044a964d
--- /dev/null
+++ b/srcpkgs/php8.2-redis/update
@@ -0,0 +1 @@
+pattern='<th.*Release \K[\d.]+(?=:</th>)'

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-14 13:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).