Sun May 14 14:52:45 2023 UTC ()
lang/php81: update to 8.1.19

11 May 2023, PHP 8.1.19

- Core:
  . Fix inconsistent float negation in constant expressions. (ilutov)
  . Fixed bug GH-8841 (php-cli core dump calling a badly formed function).
    (nielsdos)
  . Fixed bug GH-10737 (PHP 8.1.16 segfaults on line 597 of
    sapi/apache2handler/sapi_apache2.c). (nielsdos, ElliotNB)
  . Fixed bug GH-11028 (Heap Buffer Overflow in zval_undefined_cv.). (nielsdos)
  . Fixed bug GH-11108 (Incorrect CG(memoize_mode) state after bailout in ??=).
    (ilutov)

- DOM:
  . Fixed bug #80602 (Segfault when using DOMChildNode::before()).
    (Nathan Freeman)
  . Fixed incorrect error handling in dom_zvals_to_fragment(). (nielsdos)

- Exif:
  . Fixed bug GH-9397 (exif read : warnings and errors : Potentially invalid
    endianess, Illegal IFD size and Undefined index). (nielsdos)

- Intl:
  . Fixed bug GH-11071 (TZData version not displayed anymore). (Remi)

- PCRE:
  . Fixed bug GH-10968 (Segfault in preg_replace_callback_array()). (ilutov)

- Standard:
  . Fixed bug GH-10990 (mail() throws TypeError after iterating over
    $additional_headers array by reference). (nielsdos)
  . Fixed bug GH-9775 (Duplicates returned by array_unique when using enums).
    (ilutov)


(taca)
diff -r1.396 -r1.397 pkgsrc/lang/php/phpversion.mk
diff -r1.15 -r1.16 pkgsrc/lang/php81/Makefile
diff -r1.22 -r1.23 pkgsrc/lang/php81/distinfo

cvs diff -r1.396 -r1.397 pkgsrc/lang/php/phpversion.mk (expand / switch to unified diff)

--- pkgsrc/lang/php/phpversion.mk 2023/05/14 14:46:15 1.396
+++ pkgsrc/lang/php/phpversion.mk 2023/05/14 14:52:45 1.397
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: phpversion.mk,v 1.396 2023/05/14 14:46:15 taca Exp $ 1# $NetBSD: phpversion.mk,v 1.397 2023/05/14 14:52:45 taca Exp $
2# 2#
3# This file selects a PHP version, based on the user's preferences and 3# This file selects a PHP version, based on the user's preferences and
4# the installed packages. It does not add a dependency on the PHP 4# the installed packages. It does not add a dependency on the PHP
5# package. 5# package.
6# 6#
7# === User-settable variables === 7# === User-settable variables ===
8# 8#
9# PHP_VERSION_DEFAULT 9# PHP_VERSION_DEFAULT
10# The PHP version to choose when more than one is acceptable to 10# The PHP version to choose when more than one is acceptable to
11# the package. 11# the package.
12# 12#
13# Possible: 56 74 80 81 82 13# Possible: 56 74 80 81 82
14# Default: 74 14# Default: 74
@@ -80,27 +80,27 @@ @@ -80,27 +80,27 @@
80# 80#
81# Example: lib/php/20181200 81# Example: lib/php/20181200
82# 82#
83# Keywords: php 83# Keywords: php
84# 84#
85 85
86.if !defined(PHPVERSION_MK) 86.if !defined(PHPVERSION_MK)
87PHPVERSION_MK= defined 87PHPVERSION_MK= defined
88 88
89# Define each PHP's version. 89# Define each PHP's version.
90PHP56_VERSION= 5.6.40 90PHP56_VERSION= 5.6.40
91PHP74_VERSION= 7.4.33 91PHP74_VERSION= 7.4.33
92PHP80_VERSION= 8.0.28 92PHP80_VERSION= 8.0.28
93PHP81_VERSION= 8.1.18 93PHP81_VERSION= 8.1.19
94PHP82_VERSION= 8.2.6 94PHP82_VERSION= 8.2.6
95 95
96# Define API version or initial release of major version. 96# Define API version or initial release of major version.
97PHP56_RELDATE= 20140828 97PHP56_RELDATE= 20140828
98PHP74_RELDATE= 20191128 98PHP74_RELDATE= 20191128
99PHP80_RELDATE= 20201124 99PHP80_RELDATE= 20201124
100PHP81_RELDATE= 20211125 100PHP81_RELDATE= 20211125
101PHP82_RELDATE= 20220829 101PHP82_RELDATE= 20220829
102 102
103_VARGROUPS+= php 103_VARGROUPS+= php
104_USER_VARS.php= PHP_VERSION_DEFAULT 104_USER_VARS.php= PHP_VERSION_DEFAULT
105_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD 105_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD
106_SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ 106_SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \

cvs diff -r1.15 -r1.16 pkgsrc/lang/php81/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/php81/Makefile 2023/04/19 08:08:28 1.15
+++ pkgsrc/lang/php81/Makefile 2023/05/14 14:52:45 1.16
@@ -1,20 +1,19 @@ @@ -1,20 +1,19 @@
1# $NetBSD: Makefile,v 1.15 2023/04/19 08:08:28 adam Exp $ 1# $NetBSD: Makefile,v 1.16 2023/05/14 14:52:45 taca Exp $
2 2
3# 3#
4# We can't omit PKGNAME here to handle PKG_OPTIONS. 4# We can't omit PKGNAME here to handle PKG_OPTIONS.
5# 5#
6PKGNAME= php-${PHP_VERSION:S/RC/rc/} 6PKGNAME= php-${PHP_VERSION:S/RC/rc/}
7PKGREVISION= 1 
8 7
9COMMENT= PHP Hypertext Preprocessor version 8.1 8COMMENT= PHP Hypertext Preprocessor version 8.1
10LICENSE= php 9LICENSE= php
11 10
12TEST_TARGET= test 11TEST_TARGET= test
13 12
14USE_TOOLS+= gmake lex 13USE_TOOLS+= gmake lex
15LIBTOOL_OVERRIDE= # empty 14LIBTOOL_OVERRIDE= # empty
16PHP_CHECK_INSTALLED= No 15PHP_CHECK_INSTALLED= No
17 16
18PHP_VERSIONS_ACCEPTED= 81 17PHP_VERSIONS_ACCEPTED= 81
19 18
20.include "Makefile.php" 19.include "Makefile.php"

cvs diff -r1.22 -r1.23 pkgsrc/lang/php81/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/php81/distinfo 2023/04/15 02:19:13 1.22
+++ pkgsrc/lang/php81/distinfo 2023/05/14 14:52:45 1.23
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1$NetBSD: distinfo,v 1.22 2023/04/15 02:19:13 taca Exp $ 1$NetBSD: distinfo,v 1.23 2023/05/14 14:52:45 taca Exp $
2 2
3BLAKE2s (php-8.1.18.tar.xz) = bd083314dbd93c65225951fc0c24da991aa44b459f2c23c1535e7aed78d146d5 3BLAKE2s (php-8.1.19.tar.xz) = 0ba8e59d522e678b3812e751b7c07fe15cdf7aa8a08cf81196d5db7204679770
4SHA512 (php-8.1.18.tar.xz) = e30dba23ab8711a04c21ad040d69807f479760a20f363fe3f91a297e9e6463d9558299b15231e00e2b1c95d03309e03bde8cbbe4043fce3e1b965236ece1d0f3 4SHA512 (php-8.1.19.tar.xz) = 37c27cc627f59b4fdb1242287b58e1b7a2c266696a5a3baa0047445c9b122721187fbc233799c7f57cfc1732b27e67761fd3fd43b89a7ad216ea154a90913999
5Size (php-8.1.18.tar.xz) = 11782240 bytes 5Size (php-8.1.19.tar.xz) = 11847576 bytes
6SHA1 (patch-build_libtool.m4) = e58a2bcebe9e9d7dc7255354fd9fe57878e3f8a6 6SHA1 (patch-build_libtool.m4) = e58a2bcebe9e9d7dc7255354fd9fe57878e3f8a6
7SHA1 (patch-configure) = e91e22267a9b7ebcc16a586ba6f325c772adb13c 7SHA1 (patch-configure) = e91e22267a9b7ebcc16a586ba6f325c772adb13c
8SHA1 (patch-disable-filter-url) = 0a2c19c18f089448a8d842e99738b292ab9e5640 8SHA1 (patch-disable-filter-url) = 0a2c19c18f089448a8d842e99738b292ab9e5640
9SHA1 (patch-ext_enchant_enchant.c) = 7924acc5fdadea89b3a385cf744ef982795bf89d 9SHA1 (patch-ext_enchant_enchant.c) = 7924acc5fdadea89b3a385cf744ef982795bf89d
10SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd 10SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd
11SHA1 (patch-ext_tidy_config.m4) = 380f4e8927582b2781faf58b17ad81b6dc967ba7 11SHA1 (patch-ext_tidy_config.m4) = 380f4e8927582b2781faf58b17ad81b6dc967ba7
12SHA1 (patch-ext_xsl_php__xsl.h) = cf930c5d6d9dab29b12558d265c67d3534a006fd 12SHA1 (patch-ext_xsl_php__xsl.h) = cf930c5d6d9dab29b12558d265c67d3534a006fd
13SHA1 (patch-main_streams_streams.c) = d699ce7d3a300ffb39494b3f1fa5e0958f714483 13SHA1 (patch-main_streams_streams.c) = d699ce7d3a300ffb39494b3f1fa5e0958f714483
14SHA1 (patch-php.ini-development) = 373d76cc7a022b578f1d5e296d1f0ac88bc26b72 14SHA1 (patch-php.ini-development) = 373d76cc7a022b578f1d5e296d1f0ac88bc26b72
15SHA1 (patch-php.ini-production) = 5ab7fa6bf8403907160b0a62b56c1ee527f8eda6 15SHA1 (patch-php.ini-production) = 5ab7fa6bf8403907160b0a62b56c1ee527f8eda6
16SHA1 (patch-sapi_cgi_Makefile.frag) = f4cd64d334884c49787d8854115c8cd69cc79bb8 16SHA1 (patch-sapi_cgi_Makefile.frag) = f4cd64d334884c49787d8854115c8cd69cc79bb8
17SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3 17SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3
18SHA1 (patch-sapi_fpm_php-fpm.conf.in) = acf9b4e70d4c5ea2b96e37e7bbf9005379ecc4d0 18SHA1 (patch-sapi_fpm_php-fpm.conf.in) = acf9b4e70d4c5ea2b96e37e7bbf9005379ecc4d0