Fri Feb 16 13:16:59 2024 UTC (111d)
lang/php82: update to 8.2.16

15 Feb 2024, PHP 8.2.16

- Core:
  . Fixed timer leak in zend-max-execution-timers builds. (withinboredom)
  . Fixed bug GH-12349 (linking failure on ARM with mold). (Jan Palus)
  . Fixed bug GH-13097 (Anonymous class reference in trigger_error / thrown
    Exception). (nielsdos)
  . Fixed bug GH-13215 (GCC 14 build failure). (Remi)

- Curl:
  . Fix missing error check in curl_multi_init(). (divinity76)

- FPM:
  . Fixed bug GH-12996 (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when
    plus in path). (Jakub Zelenka)

- GD:
  . Fixed bug GH-10344 (imagettfbbox(): Could not find/open font UNC path).
    (nielsdos)
  . Fixed bug GH-10614 (imagerotate will turn the picture all black, when
    rotated 90). (nielsdos)

- MySQLnd:
  . Fixed bug GH-12107 (When running a stored procedure (that returns a result
    set) twice, PHP crashes). (nielsdos)

- Opcache:
  . Fixed bug GH-13232 (Segmentation fault will be reported when JIT is off but
    JIT_debug is still on). (nielsdos)

- OpenSSL:
  . Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set.
   (David Carlier).

- PDO_Firebird:
  . Fix GH-13119 (Changed to convert float and double values ������into strings using
    `H` format). (SakiTakamachi)

- Phar:
  . Fixed bug #71465 (PHAR doesn't know about litespeed). (nielsdos)
  . Fixed bug GH-13037 (PharData incorrectly extracts zip file). (nielsdos)

- Random:
  . Fixed bug GH-13138 (Randomizer::pickArrayKeys() does not detect broken
    engines). (timwolla)

- Session:
  . Fixed bug GH-12504 (Corrupted session written when there's a fatal error
    in autoloader). (nielsdos)

- Streams:
  . Fixed bug GH-13071 (Copying large files using mmap-able source streams may
    exhaust available memory and fail). (nielsdos)


(taca)
diff -r1.422 -r1.423 pkgsrc/lang/php/phpversion.mk
diff -r1.17 -r1.18 pkgsrc/lang/php82/distinfo
diff -r1.15 -r1.16 pkgsrc/lang/php82/patches/patch-configure

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

--- pkgsrc/lang/php/phpversion.mk 2024/02/16 13:15:19 1.422
+++ pkgsrc/lang/php/phpversion.mk 2024/02/16 13:16:59 1.423
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: phpversion.mk,v 1.422 2024/02/16 13:15:19 taca Exp $ 1# $NetBSD: phpversion.mk,v 1.423 2024/02/16 13:16:59 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 83 13# Possible: 56 74 80 81 82 83
14# Default: 81 14# Default: 81
@@ -82,27 +82,27 @@ @@ -82,27 +82,27 @@
82# Example: lib/php/20181200 82# Example: lib/php/20181200
83# 83#
84# Keywords: php 84# Keywords: php
85# 85#
86 86
87.if !defined(PHPVERSION_MK) 87.if !defined(PHPVERSION_MK)
88PHPVERSION_MK= defined 88PHPVERSION_MK= defined
89 89
90# Define each PHP's version. 90# Define each PHP's version.
91PHP56_VERSION= 5.6.40 91PHP56_VERSION= 5.6.40
92PHP74_VERSION= 7.4.33 92PHP74_VERSION= 7.4.33
93PHP80_VERSION= 8.0.30 93PHP80_VERSION= 8.0.30
94PHP81_VERSION= 8.1.27 94PHP81_VERSION= 8.1.27
95PHP82_VERSION= 8.2.15 95PHP82_VERSION= 8.2.16
96PHP83_VERSION= 8.3.3 96PHP83_VERSION= 8.3.3
97 97
98# Define API version or initial release of major version. 98# Define API version or initial release of major version.
99PHP56_RELDATE= 20140828 99PHP56_RELDATE= 20140828
100PHP74_RELDATE= 20191128 100PHP74_RELDATE= 20191128
101PHP80_RELDATE= 20201124 101PHP80_RELDATE= 20201124
102PHP81_RELDATE= 20211125 102PHP81_RELDATE= 20211125
103PHP82_RELDATE= 20220829 103PHP82_RELDATE= 20220829
104PHP83_RELDATE= 20231123 104PHP83_RELDATE= 20231123
105 105
106_VARGROUPS+= php 106_VARGROUPS+= php
107_USER_VARS.php= PHP_VERSION_DEFAULT 107_USER_VARS.php= PHP_VERSION_DEFAULT
108_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD 108_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD

cvs diff -r1.17 -r1.18 pkgsrc/lang/php82/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/php82/distinfo 2024/01/21 07:56:15 1.17
+++ pkgsrc/lang/php82/distinfo 2024/02/16 13:16:59 1.18
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1$NetBSD: distinfo,v 1.17 2024/01/21 07:56:15 taca Exp $ 1$NetBSD: distinfo,v 1.18 2024/02/16 13:16:59 taca Exp $
2 2
3BLAKE2s (php-8.2.15.tar.xz) = 90387e484fff82a8edcae18163887683e954433ab402f95d876d2aa6fb35a49e 3BLAKE2s (php-8.2.16.tar.xz) = 614dd7361b8d9e4e11d9cfe47aa132304c2bca536a35d59ff3953ba7163b68d7
4SHA512 (php-8.2.15.tar.xz) = 56c94bcafe07cf4bf5eb5fc6c67fcf16654c44a262ffb18188fc3ffac5e9bb11d39093bfb26c26bc8d2dec7e530d1a175180909262c9b5c30130cf5a4a293166 4SHA512 (php-8.2.16.tar.xz) = 99e5c9eee4c5a35b3e1939c748ded87c8bff4a340d677516ed24dcf4207c51403d38524c46d6e79de5efe90d7368ba82052ec8a29dd5955f549e8198c1e917f6
5Size (php-8.2.15.tar.xz) = 12075384 bytes 5Size (php-8.2.16.tar.xz) = 12085228 bytes
6SHA1 (patch-configure) = 0bb05c49092342e4ea9a13bf237273fd48f3fd99 6SHA1 (patch-configure) = be06e1a0450240beafad7de98f8b6309954989d8
7SHA1 (patch-ext_enchant_enchant.c) = 7d999de1b2fde2ea11e4a6e16e7b59c085924b9b 7SHA1 (patch-ext_enchant_enchant.c) = 7d999de1b2fde2ea11e4a6e16e7b59c085924b9b
8SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd 8SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd
9SHA1 (patch-ext_standard_php__fopen__wrapper.c) = 0a2c19c18f089448a8d842e99738b292ab9e5640 9SHA1 (patch-ext_standard_php__fopen__wrapper.c) = 0a2c19c18f089448a8d842e99738b292ab9e5640
10SHA1 (patch-ext_tidy_config.m4) = 380f4e8927582b2781faf58b17ad81b6dc967ba7 10SHA1 (patch-ext_tidy_config.m4) = 380f4e8927582b2781faf58b17ad81b6dc967ba7
11SHA1 (patch-ext_xsl_php__xsl.h) = cf930c5d6d9dab29b12558d265c67d3534a006fd 11SHA1 (patch-ext_xsl_php__xsl.h) = cf930c5d6d9dab29b12558d265c67d3534a006fd
12SHA1 (patch-main_streams_streams.c) = d699ce7d3a300ffb39494b3f1fa5e0958f714483 12SHA1 (patch-main_streams_streams.c) = d699ce7d3a300ffb39494b3f1fa5e0958f714483
13SHA1 (patch-php.ini-development) = 373d76cc7a022b578f1d5e296d1f0ac88bc26b72 13SHA1 (patch-php.ini-development) = 373d76cc7a022b578f1d5e296d1f0ac88bc26b72
14SHA1 (patch-php.ini-production) = 5ab7fa6bf8403907160b0a62b56c1ee527f8eda6 14SHA1 (patch-php.ini-production) = 5ab7fa6bf8403907160b0a62b56c1ee527f8eda6
15SHA1 (patch-sapi_cgi_Makefile.frag) = f4cd64d334884c49787d8854115c8cd69cc79bb8 15SHA1 (patch-sapi_cgi_Makefile.frag) = f4cd64d334884c49787d8854115c8cd69cc79bb8
16SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3 16SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3
17SHA1 (patch-sapi_fpm_php-fpm.conf.in) = acf9b4e70d4c5ea2b96e37e7bbf9005379ecc4d0 17SHA1 (patch-sapi_fpm_php-fpm.conf.in) = acf9b4e70d4c5ea2b96e37e7bbf9005379ecc4d0

cvs diff -r1.15 -r1.16 pkgsrc/lang/php82/patches/patch-configure (expand / switch to unified diff)

--- pkgsrc/lang/php82/patches/patch-configure 2024/01/21 07:56:16 1.15
+++ pkgsrc/lang/php82/patches/patch-configure 2024/02/16 13:16:59 1.16
@@ -1,59 +1,59 @@ @@ -1,59 +1,59 @@
1$NetBSD: patch-configure,v 1.15 2024/01/21 07:56:16 taca Exp $ 1$NetBSD: patch-configure,v 1.16 2024/02/16 13:16:59 taca Exp $
2 2
3* Do not include "PKG_CONFIG*" in CONFIGURE_OPTIONS. 3* Do not include "PKG_CONFIG*" in CONFIGURE_OPTIONS.
4* Don't autodetect maintainer-zts. 4* Don't autodetect maintainer-zts.
5* Shell portability. 5* Shell portability.
6 6
7--- configure.orig 2024-01-16 12:19:32.000000000 +0000 7--- configure.orig 2024-02-13 15:22:59.000000000 +0000
8+++ configure 8+++ configure
9@@ -4323,6 +4323,10 @@ EOF 9@@ -3732,6 +3732,10 @@ EOF
10 else 10 else
11 break 11 break
12 fi 12 fi
13+ case "$CURRENT_ARG" in 13+ case "$CURRENT_ARG" in
14+ \'PKG_CONFIG\=*) CURRENT_ARG="'PKG_CONFIG=@TOOLS_PATH.pkg-config@'";; 14+ \'PKG_CONFIG\=*) CURRENT_ARG="'PKG_CONFIG=@TOOLS_PATH.pkg-config@'";;
15+ \'PKG_CONFIG_LIBDIR\=*) CURRENT_ARG="'PKG_CONFIG_LIBDIR=@PHP_PKGCONFIG_PATH@'";; 15+ \'PKG_CONFIG_LIBDIR\=*) CURRENT_ARG="'PKG_CONFIG_LIBDIR=@PHP_PKGCONFIG_PATH@'";;
16+ esac 16+ esac
17 printf "%s\n" "$CURRENT_ARG \\" >>config.nice 17 $as_echo "$CURRENT_ARG \\" >>config.nice
18 CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS $CURRENT_ARG" 18 CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS $CURRENT_ARG"
19 done 19 done
20@@ -7554,30 +7558,6 @@ EOF 20@@ -7023,30 +7027,6 @@ EOF
21 ;; 21 ;;
22 esac 22 esac
23  23
24- if test "$APACHE_VERSION" -lt 2004001; then 24- if test "$APACHE_VERSION" -lt 2004001; then
25- APXS_MPM=`$APXS -q MPM_NAME` 25- APXS_MPM=`$APXS -q MPM_NAME`
26- if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM" != "itk"; then 26- if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM" != "itk"; then
27- 27-
28- enable_zts=yes 28- enable_zts=yes
29- if test "$pthreads_working" != "yes"; then 29- if test "$pthreads_working" != "yes"; then
30- as_fn_error $? "ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads." "$LINENO" 5 30- as_fn_error $? "ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads." "$LINENO" 5
31- fi 31- fi
32- 32-
33- fi 33- fi
34- else 34- else
35- APACHE_THREADED_MPM=`$APXS_HTTPD -V 2>/dev/null | grep 'threaded:.*yes'` 35- APACHE_THREADED_MPM=`$APXS_HTTPD -V 2>/dev/null | grep 'threaded:.*yes'`
36- if test -n "$APACHE_THREADED_MPM"; then 36- if test -n "$APACHE_THREADED_MPM"; then
37- 37-
38- enable_zts=yes 38- enable_zts=yes
39- if test "$pthreads_working" != "yes"; then 39- if test "$pthreads_working" != "yes"; then
40- as_fn_error $? "ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads." "$LINENO" 5 40- as_fn_error $? "ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads." "$LINENO" 5
41- fi 41- fi
42- 42-
43- fi 43- fi
44- fi 44- fi
45- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 45- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46-printf "%s\n" "yes" >&6; } 46-$as_echo "yes" >&6; }
47- 47-
48 PHP_VAR_SUBST="$PHP_VAR_SUBST APXS" 48 PHP_VAR_SUBST="$PHP_VAR_SUBST APXS"
49  49
50 else 50 else
51@@ -81254,7 +81234,7 @@ printf "%s\n" "#define HAVE_TIDYBUFFIO_H 51@@ -78642,7 +78622,7 @@ $as_echo "#define HAVE_TIDYBUFFIO_H 1" >
52 fi 52 fi
53  53
54 TIDY_LIBDIR=$TIDY_DIR/$PHP_LIBDIR 54 TIDY_LIBDIR=$TIDY_DIR/$PHP_LIBDIR
55- if test "$TIDY_LIB_NAME" == 'tidyp'; then 55- if test "$TIDY_LIB_NAME" == 'tidyp'; then
56+ if test "$TIDY_LIB_NAME" = 'tidyp'; then 56+ if test "$TIDY_LIB_NAME" = 'tidyp'; then
57  57
58 printf "%s\n" "#define HAVE_TIDYP_H 1" >>confdefs.h 58 $as_echo "#define HAVE_TIDYP_H 1" >>confdefs.h
59  59