Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] php8.0: update to 8.0.21.
@ 2022-08-02  0:57 TinfoilSubmarine
  2022-08-02 13:58 ` [PR PATCH] [Updated] " TinfoilSubmarine
  2022-08-03 22:55 ` [PR PATCH] [Merged]: php8.0: update to 8.0.21. composer8.[01]: update to 2.3.10 paper42
  0 siblings, 2 replies; 3+ messages in thread
From: TinfoilSubmarine @ 2022-08-02  0:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages maint/php8
https://github.com/void-linux/void-packages/pull/38417

php8.0: update to 8.0.21.
fix .so links in man pages, add changelog URL (thanks @subnut)

<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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/38417.patch is attached

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

From 805a036c0c28fba17fb58eb0fac1d706c6fdfb5e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 1 Aug 2022 20:47:41 -0400
Subject: [PATCH] php8.0: update to 8.0.21.

fix .so links in man pages, add changelog URL (thanks @subnut)
---
 srcpkgs/php8.0/patches/fix-manpages.patch | 25 +++++++++++++++++++++++
 srcpkgs/php8.0/template                   |  7 ++++---
 2 files changed, 29 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/php8.0/patches/fix-manpages.patch

diff --git a/srcpkgs/php8.0/patches/fix-manpages.patch b/srcpkgs/php8.0/patches/fix-manpages.patch
new file mode 100644
index 000000000000..d956c2904653
--- /dev/null
+++ b/srcpkgs/php8.0/patches/fix-manpages.patch
@@ -0,0 +1,25 @@
+This patch fixes .so links in man pages.
+It's needed because of the configure option -
+
+    --program-suffix=${_php_version}
+
+The changes made by this patch should be the same as the changes made by this
+block of code -
+
+    _regexp='^[[:space:]]*\.so[[:space:]]'
+    for file in $(grep -l -e "$_regexp" -R .); do
+    	vsed -i "$file" -e "/$_regexp/"'s=^[[:space:]]*\.[^.]*=&'${_php_version}=
+    done
+
+Where _php_version is defined in the template file.
+
+--- a/ext/phar/phar.phar.1.in
++++ b/ext/phar/phar.phar.1.in
+@@ -1 +1 @@
+-.so man1/phar.1
++.so man1/phar8.0.1
+--- a/sapi/cgi/php-cgi.1.in
++++ b/sapi/cgi/php-cgi.1.in
+@@ -1 +1 @@
+-.so man1/php.1
++.so man1/php8.0.1
diff --git a/srcpkgs/php8.0/template b/srcpkgs/php8.0/template
index 7746ee52c732..48c8f2d386cc 100644
--- a/srcpkgs/php8.0/template
+++ b/srcpkgs/php8.0/template
@@ -1,7 +1,7 @@
 # Template file for 'php8.0'
 pkgname=php8.0
-version=8.0.20
-revision=2
+version=8.0.21
+revision=1
 _php_version=8.0
 wrksrc="php-${version}"
 hostmakedepends="bison pkg-config apache-devel"
@@ -14,8 +14,9 @@ short_desc="HTML-embedded scripting language"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="PHP-3.01"
 homepage="https://www.php.net"
+changelog="https://raw.githubusercontent.com/php/php-src/php-${version}/NEWS"
 distfiles="https://www.php.net/distributions/php-${version}.tar.gz"
-checksum=7e21fd985966264194cde63503b57fd0f0170b32a39bd7af2384c1071b50f164
+checksum=2f51f6e90e2e8efd3a20db08f0dd61d7f8d5a9362f8c7325f1ad28ccea5be0ac
 
 conf_files="/etc/php${_php_version}/php.ini"
 

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

* Re: [PR PATCH] [Updated] php8.0: update to 8.0.21.
  2022-08-02  0:57 [PR PATCH] php8.0: update to 8.0.21 TinfoilSubmarine
@ 2022-08-02 13:58 ` TinfoilSubmarine
  2022-08-03 22:55 ` [PR PATCH] [Merged]: php8.0: update to 8.0.21. composer8.[01]: update to 2.3.10 paper42
  1 sibling, 0 replies; 3+ messages in thread
From: TinfoilSubmarine @ 2022-08-02 13:58 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages maint/php8
https://github.com/void-linux/void-packages/pull/38417

php8.0: update to 8.0.21.
fix .so links in man pages, add changelog URL (thanks @subnut)

<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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/38417.patch is attached

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

From aaa4d99f533f0904cee4fa2a3a7a1659d717c535 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 1 Aug 2022 20:47:41 -0400
Subject: [PATCH 1/3] php8.0: update to 8.0.21.

fix .so links in man pages, add changelog URL (thanks @subnut)
---
 srcpkgs/php8.0/patches/fix-manpages.patch | 25 +++++++++++++++++++++++
 srcpkgs/php8.0/template                   |  7 ++++---
 2 files changed, 29 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/php8.0/patches/fix-manpages.patch

diff --git a/srcpkgs/php8.0/patches/fix-manpages.patch b/srcpkgs/php8.0/patches/fix-manpages.patch
new file mode 100644
index 000000000000..d956c2904653
--- /dev/null
+++ b/srcpkgs/php8.0/patches/fix-manpages.patch
@@ -0,0 +1,25 @@
+This patch fixes .so links in man pages.
+It's needed because of the configure option -
+
+    --program-suffix=${_php_version}
+
+The changes made by this patch should be the same as the changes made by this
+block of code -
+
+    _regexp='^[[:space:]]*\.so[[:space:]]'
+    for file in $(grep -l -e "$_regexp" -R .); do
+    	vsed -i "$file" -e "/$_regexp/"'s=^[[:space:]]*\.[^.]*=&'${_php_version}=
+    done
+
+Where _php_version is defined in the template file.
+
+--- a/ext/phar/phar.phar.1.in
++++ b/ext/phar/phar.phar.1.in
+@@ -1 +1 @@
+-.so man1/phar.1
++.so man1/phar8.0.1
+--- a/sapi/cgi/php-cgi.1.in
++++ b/sapi/cgi/php-cgi.1.in
+@@ -1 +1 @@
+-.so man1/php.1
++.so man1/php8.0.1
diff --git a/srcpkgs/php8.0/template b/srcpkgs/php8.0/template
index 7746ee52c732..48c8f2d386cc 100644
--- a/srcpkgs/php8.0/template
+++ b/srcpkgs/php8.0/template
@@ -1,7 +1,7 @@
 # Template file for 'php8.0'
 pkgname=php8.0
-version=8.0.20
-revision=2
+version=8.0.21
+revision=1
 _php_version=8.0
 wrksrc="php-${version}"
 hostmakedepends="bison pkg-config apache-devel"
@@ -14,8 +14,9 @@ short_desc="HTML-embedded scripting language"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="PHP-3.01"
 homepage="https://www.php.net"
+changelog="https://raw.githubusercontent.com/php/php-src/php-${version}/NEWS"
 distfiles="https://www.php.net/distributions/php-${version}.tar.gz"
-checksum=7e21fd985966264194cde63503b57fd0f0170b32a39bd7af2384c1071b50f164
+checksum=2f51f6e90e2e8efd3a20db08f0dd61d7f8d5a9362f8c7325f1ad28ccea5be0ac
 
 conf_files="/etc/php${_php_version}/php.ini"
 

From af4c683e967ca85480e92e45fdd96cd483b75a15 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 2 Aug 2022 09:27:47 -0400
Subject: [PATCH 2/3] composer8.0: update to 2.3.10.

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

diff --git a/srcpkgs/composer8.0/template b/srcpkgs/composer8.0/template
index 1781bba63c84..ac5fc310df4a 100644
--- a/srcpkgs/composer8.0/template
+++ b/srcpkgs/composer8.0/template
@@ -1,6 +1,6 @@
 # Template file for 'composer8.0'
 pkgname=composer8.0
-version=2.3.7
+version=2.3.10
 revision=1
 build_style=fetch
 depends="php8.0"
@@ -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="3f2d46787d51070f922bf991aa08324566f726f186076c2a5e4e8b01a8ea3fd0
+checksum="d808272f284fa8e0f8b470703e1438ac8f362030bbc9d12e29530277d767aff0
  7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
 
 do_install() {

From c4778e1b66161458dc2731ea1b22aaa5eb5c6815 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 2 Aug 2022 09:27:50 -0400
Subject: [PATCH 3/3] composer8.1: update to 2.3.10.

---
 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 9c69c8868749..e78c09bd575f 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.3.7
+version=2.3.10
 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="3f2d46787d51070f922bf991aa08324566f726f186076c2a5e4e8b01a8ea3fd0
+checksum="d808272f284fa8e0f8b470703e1438ac8f362030bbc9d12e29530277d767aff0
  7855ac293067aebe7e51afdd23b9dea54b8be24187dbecc9b9142581c37f596c"
 
 do_install() {

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

* Re: [PR PATCH] [Merged]: php8.0: update to 8.0.21. composer8.[01]: update to 2.3.10.
  2022-08-02  0:57 [PR PATCH] php8.0: update to 8.0.21 TinfoilSubmarine
  2022-08-02 13:58 ` [PR PATCH] [Updated] " TinfoilSubmarine
@ 2022-08-03 22:55 ` paper42
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2022-08-03 22:55 UTC (permalink / raw)
  To: ml

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

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

php8.0: update to 8.0.21. composer8.[01]: update to 2.3.10.
https://github.com/void-linux/void-packages/pull/38417

Description:
fix .so links in man pages, add changelog URL (thanks @subnut)

<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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] 3+ messages in thread

end of thread, other threads:[~2022-08-03 22:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02  0:57 [PR PATCH] php8.0: update to 8.0.21 TinfoilSubmarine
2022-08-02 13:58 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-08-03 22:55 ` [PR PATCH] [Merged]: php8.0: update to 8.0.21. composer8.[01]: update to 2.3.10 paper42

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