Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] update xdebug and composer and add PHP 8.3 packages
@ 2023-12-17  4:19 TinfoilSubmarine
  2023-12-28  9:42 ` [PR PATCH] [Merged]: " sgn
  0 siblings, 1 reply; 2+ messages in thread
From: TinfoilSubmarine @ 2023-12-17  4:19 UTC (permalink / raw)
  To: ml

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

There is a new pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages maint/composer
https://github.com/void-linux/void-packages/pull/47797

update xdebug and composer and add PHP 8.3 packages
- composer8.1: update to 2.6.6.
- composer8.2: update to 2.6.6.
- New package: composer8.3-2.6.6
- xdebug8.1: update to 3.3.1.
- xdebug8.2: update to 3.3.1.
- New package: xdebug8.3-3.3.1
- php: update to 8.3.

<!-- 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/47797.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maint/composer-47797.patch --]
[-- Type: text/x-diff, Size: 8964 bytes --]

From c8cede24bd73693e3927ae456c42864d62b5092f Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sat, 16 Dec 2023 23:16:35 -0500
Subject: [PATCH 1/7] composer8.1: update to 2.6.6.

---
 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 a78bb37bcc2b8..155c2ab1fd45c 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.5.8
+version=2.6.6
 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="f07934fad44f9048c0dc875a506cca31cc2794d6aebfc1867f3b1fbf48dce2c5
+checksum="72600201c73c7c4b218f1c0511b36d8537963e36aafa244757f52309f885b314
  7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
 alternatives="composer:composer:/usr/bin/composer8.1"
 

From 6c25596ae1a361cdee1700eaef7caac1993e3b23 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sat, 16 Dec 2023 23:16:38 -0500
Subject: [PATCH 2/7] composer8.2: update to 2.6.6.

---
 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 20130503eae8e..944519955d19e 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.5.8
+version=2.6.6
 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="f07934fad44f9048c0dc875a506cca31cc2794d6aebfc1867f3b1fbf48dce2c5
+checksum="72600201c73c7c4b218f1c0511b36d8537963e36aafa244757f52309f885b314
  7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
 alternatives="composer:composer:/usr/bin/composer8.2"
 

From 5d67bccdf782f1ad4d032fbdefa448277b26deae Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sat, 16 Dec 2023 23:14:45 -0500
Subject: [PATCH 3/7] New package: composer8.3-2.6.6

---
 srcpkgs/composer8.3/files/composer8.3 |  2 ++
 srcpkgs/composer8.3/template          | 27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 srcpkgs/composer8.3/files/composer8.3
 create mode 100644 srcpkgs/composer8.3/template

diff --git a/srcpkgs/composer8.3/files/composer8.3 b/srcpkgs/composer8.3/files/composer8.3
new file mode 100644
index 0000000000000..83984e3ea5eff
--- /dev/null
+++ b/srcpkgs/composer8.3/files/composer8.3
@@ -0,0 +1,2 @@
+#!/bin/sh
+php8.3 /usr/libexec/composer.phar8.3 "$@"
diff --git a/srcpkgs/composer8.3/template b/srcpkgs/composer8.3/template
new file mode 100644
index 0000000000000..ad6fc0a6ccd03
--- /dev/null
+++ b/srcpkgs/composer8.3/template
@@ -0,0 +1,27 @@
+# Template file for 'composer8.3'
+pkgname=composer8.3
+version=2.6.6
+revision=1
+build_style=fetch
+depends="php8.3"
+short_desc="Dependency manager for PHP"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="MIT"
+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="72600201c73c7c4b218f1c0511b36d8537963e36aafa244757f52309f885b314
+ 7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
+alternatives="composer:composer:/usr/bin/composer8.3"
+
+do_install() {
+	vbin ${FILESDIR}/composer8.3
+
+	vinstall composer.phar 644 usr/libexec composer.phar8.3
+	vlicense LICENSE
+
+	vmkdir /etc/php8.3/conf.d
+	printf 'extension=%s\n' phar iconv openssl zip \
+		>${DESTDIR}/etc/php8.3/conf.d/composer.ini
+}

From b205c5a2d5ae178ef166b5c396b2a89309c7aede Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sat, 16 Dec 2023 23:16:28 -0500
Subject: [PATCH 4/7] xdebug8.1: update to 3.3.1.

---
 srcpkgs/xdebug8.1/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/xdebug8.1/template b/srcpkgs/xdebug8.1/template
index d8d13c0349040..583e6b940f898 100644
--- a/srcpkgs/xdebug8.1/template
+++ b/srcpkgs/xdebug8.1/template
@@ -1,6 +1,6 @@
 # Template file for 'xdebug8.1'
 pkgname=xdebug8.1
-version=3.2.2
+version=3.3.1
 revision=1
 build_style=gnu-configure
 configure_args="--with-php-config=/usr/bin/php-config8.1"
@@ -12,7 +12,7 @@ license="PHP-3.0"
 homepage="http://xdebug.org"
 changelog="https://xdebug.org/updates"
 distfiles="http://xdebug.org/files/xdebug-${version}.tgz"
-checksum=f48777371f90cbb315ea4ea082a1ede6765bcfb35d7d6356ab8f71fd6dfcc157
+checksum=4eb4ee270bbcc5f14195c38f6ee58580e007cf4886ce32e11430318ab5bc2315
 
 pre_configure() {
 	phpize8.1

From 87f06a35a0ad3cb8d58db1163a1d9de7af823ba5 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sat, 16 Dec 2023 23:16:30 -0500
Subject: [PATCH 5/7] xdebug8.2: update to 3.3.1.

---
 srcpkgs/xdebug8.2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/xdebug8.2/template b/srcpkgs/xdebug8.2/template
index 94d61346db1eb..e89f4ec8df9e1 100644
--- a/srcpkgs/xdebug8.2/template
+++ b/srcpkgs/xdebug8.2/template
@@ -1,6 +1,6 @@
 # Template file for 'xdebug8.2'
 pkgname=xdebug8.2
-version=3.2.2
+version=3.3.1
 revision=1
 build_style=gnu-configure
 configure_args="--with-php-config=/usr/bin/php-config8.2"
@@ -12,7 +12,7 @@ license="PHP-3.0"
 homepage="http://xdebug.org"
 changelog="https://xdebug.org/updates"
 distfiles="http://xdebug.org/files/xdebug-${version}.tgz"
-checksum=f48777371f90cbb315ea4ea082a1ede6765bcfb35d7d6356ab8f71fd6dfcc157
+checksum=4eb4ee270bbcc5f14195c38f6ee58580e007cf4886ce32e11430318ab5bc2315
 
 pre_configure() {
 	phpize8.2

From 2938b901c009e99c90c7fc9d4d2bc3337c28b39b Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sat, 16 Dec 2023 23:16:20 -0500
Subject: [PATCH 6/7] New package: xdebug8.3-3.3.1

---
 srcpkgs/xdebug8.3/files/README.voidlinux |  1 +
 srcpkgs/xdebug8.3/template               | 25 ++++++++++++++++++++++++
 srcpkgs/xdebug8.3/update                 |  2 ++
 3 files changed, 28 insertions(+)
 create mode 100644 srcpkgs/xdebug8.3/files/README.voidlinux
 create mode 100644 srcpkgs/xdebug8.3/template
 create mode 100644 srcpkgs/xdebug8.3/update

diff --git a/srcpkgs/xdebug8.3/files/README.voidlinux b/srcpkgs/xdebug8.3/files/README.voidlinux
new file mode 100644
index 0000000000000..04e3343216f7f
--- /dev/null
+++ b/srcpkgs/xdebug8.3/files/README.voidlinux
@@ -0,0 +1 @@
+You should add 'zend_extension="xdebug.so"' to php.ini
diff --git a/srcpkgs/xdebug8.3/template b/srcpkgs/xdebug8.3/template
new file mode 100644
index 0000000000000..1fe1e03eca455
--- /dev/null
+++ b/srcpkgs/xdebug8.3/template
@@ -0,0 +1,25 @@
+# Template file for 'xdebug8.3'
+pkgname=xdebug8.3
+version=3.3.1
+revision=1
+build_style=gnu-configure
+configure_args="--with-php-config=/usr/bin/php-config8.3"
+hostmakedepends="autoconf php8.3-devel"
+makedepends="php8.3-devel"
+short_desc="PHP debugging extension"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="PHP-3.0"
+homepage="http://xdebug.org"
+changelog="https://xdebug.org/updates"
+distfiles="http://xdebug.org/files/xdebug-${version}.tgz"
+checksum=4eb4ee270bbcc5f14195c38f6ee58580e007cf4886ce32e11430318ab5bc2315
+
+pre_configure() {
+	phpize8.3
+}
+
+do_install() {
+	make INSTALL_ROOT=${DESTDIR} install
+	vlicense LICENSE
+	vdoc "${FILESDIR}/README.voidlinux"
+}
diff --git a/srcpkgs/xdebug8.3/update b/srcpkgs/xdebug8.3/update
new file mode 100644
index 0000000000000..280b0bc7e3ac9
--- /dev/null
+++ b/srcpkgs/xdebug8.3/update
@@ -0,0 +1,2 @@
+site="https://xdebug.org/updates"
+pattern='<dt><a name=.*></a>.*Xdebug \K[\d.]+(?=</dt>)'

From b39493f221a9208db879633904532716174c0935 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sat, 16 Dec 2023 23:16:41 -0500
Subject: [PATCH 7/7] php: update to 8.3.

---
 srcpkgs/php/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/php/template b/srcpkgs/php/template
index 9fd1e27be27cf..16d392f66f24c 100644
--- a/srcpkgs/php/template
+++ b/srcpkgs/php/template
@@ -1,7 +1,7 @@
 # Template file for 'php'
 pkgname=php
-version=8.2
-revision=2
+version=8.3
+revision=1
 build_style=meta
 depends="php${version}"
 short_desc="Meta package for PHP"

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

* Re: [PR PATCH] [Merged]: update xdebug and composer and add PHP 8.3 packages
  2023-12-17  4:19 [PR PATCH] update xdebug and composer and add PHP 8.3 packages TinfoilSubmarine
@ 2023-12-28  9:42 ` sgn
  0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2023-12-28  9:42 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

update xdebug and composer and add PHP 8.3 packages
https://github.com/void-linux/void-packages/pull/47797

Description:
- composer8.1: update to 2.6.6.
- composer8.2: update to 2.6.6.
- New package: composer8.3-2.6.6
- xdebug8.1: update to 3.3.1.
- xdebug8.2: update to 3.3.1.
- New package: xdebug8.3-3.3.1
- php: update to 8.3.

<!-- 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
-->


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

end of thread, other threads:[~2023-12-28  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-17  4:19 [PR PATCH] update xdebug and composer and add PHP 8.3 packages TinfoilSubmarine
2023-12-28  9:42 ` [PR PATCH] [Merged]: " sgn

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