PHP 8.2.13 (2023-11-23) - Core: . Fixed double-free of non-interned enum case name. (ilutov) . Fixed bug GH-12457 (Incorrect result of stripos with single character needle). (SakiTakamachi) . Fixed bug GH-12468 (Double-free of doc_comment when overriding static property via trait). (ilutov) . Fixed segfault caused by weak references to FFI objects. (sj-i) . Fixed max_execution_time: don't delete an unitialized timer. (K辿vin Dunglas) . Fixed bug GH-12558 (Arginfo soft-breaks with namespaced class return type if the class name starts with N). (kocsismate) - DOM: . Fix registerNodeClass with abstract class crashing. (nielsdos) . Add missing NULL pointer error check. (icy17) . Fix validation logic of php:function() callbacks. (nielsdos) - Fiber: . Fixed bug GH-11121 (ReflectionFiber segfault). (danog, trowski, bwoebi) - FPM: . Fixed bug GH-9921 (Loading ext in FPM config does not register module handlers). (Jakub Zelenka) . Fixed bug GH-12232 (FPM: segfault dynamically loading extension without opcache). (Jakub Zelenka) . Fixed bug #76922 (FastCGI terminates conn after FCGI_GET_VALUES). (Jakub Zelenka) - Intl: . Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale. (David Carlier) - Opcache: . Added warning when JIT cannot be enabled. (danog) . Fixed bug GH-8143 (Crashes in zend_accel_inheritance_cache_find since upgrading to 8.1.3 due to corrupt on-disk file cache). (turchanov) - OpenSSL: . Fixed bug GH-12489 (Missing sigbio creation checking in openssl_cms_verify). (Jakub Zelenka) - PCRE: . Fixed bug GH-11374 (Backport upstream fix, Different preg_match result with -d pcre.jit=0). (mvorisek) - SOAP: . Fixed bug GH-12392 (Segmentation fault on SoapClient::__getTypes). (nielsdos) . Fixed bug #66150 (SOAP WSDL cache race condition causes Segmentation Fault). (nielsdos) . Fixed bug #67617 (SOAP leaves incomplete cache file on ENOSPC). (nielsdos) . Fix incorrect uri check in SOAP caching. (nielsdos) . Fix segfault and assertion failure with refcounted props and arrays. (nielsdos) . Fix potential crash with an edge case of persistent encoders. (nielsdos) . Fixed bug #75306 (Memleak in SoapClient). (nielsdos) - Streams: . Fixed bug #75708 (getimagesize with "&$imageinfo" fails on StreamWrappers). (Jakub Zelenka) - XMLReader: . Add missing NULL pointer error check. (icy17) - XMLWriter: . Add missing NULL pointer error check. (icy17) - XSL: . Add missing module dependency. (nielsdos) . Fix validation logic of php:function() callbacks. (nielsdos)diff -r1.413 -r1.414 pkgsrc/lang/php/phpversion.mk
(taca)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: phpversion.mk,v 1.413 2023/11/13 16:33:10 taca Exp $ | 1 | # $NetBSD: phpversion.mk,v 1.414 2023/11/24 06:01:26 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: 81 | 14 | # Default: 81 | |
@@ -81,27 +81,27 @@ | @@ -81,27 +81,27 @@ | |||
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) | |
87 | PHPVERSION_MK= defined | 87 | PHPVERSION_MK= defined | |
88 | 88 | |||
89 | # Define each PHP's version. | 89 | # Define each PHP's version. | |
90 | PHP56_VERSION= 5.6.40 | 90 | PHP56_VERSION= 5.6.40 | |
91 | PHP74_VERSION= 7.4.33 | 91 | PHP74_VERSION= 7.4.33 | |
92 | PHP80_VERSION= 8.0.30 | 92 | PHP80_VERSION= 8.0.30 | |
93 | PHP81_VERSION= 8.1.25 | 93 | PHP81_VERSION= 8.1.25 | |
94 | PHP82_VERSION= 8.2.12 | 94 | PHP82_VERSION= 8.2.13 | |
95 | 95 | |||
96 | # Define API version or initial release of major version. | 96 | # Define API version or initial release of major version. | |
97 | PHP56_RELDATE= 20140828 | 97 | PHP56_RELDATE= 20140828 | |
98 | PHP74_RELDATE= 20191128 | 98 | PHP74_RELDATE= 20191128 | |
99 | PHP80_RELDATE= 20201124 | 99 | PHP80_RELDATE= 20201124 | |
100 | PHP81_RELDATE= 20211125 | 100 | PHP81_RELDATE= 20211125 | |
101 | PHP82_RELDATE= 20220829 | 101 | PHP82_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 \ | |
107 | PKG_PHP_MAJOR_VERS | 107 | PKG_PHP_MAJOR_VERS |
@@ -1,20 +1,19 @@ | @@ -1,20 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.6 2023/11/08 13:19:51 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.7 2023/11/24 06:01:26 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 | # | |
6 | PKGNAME= php-${PHP_VERSION:S/RC/rc/} | 6 | PKGNAME= php-${PHP_VERSION:S/RC/rc/} | |
7 | PKGREVISION= 1 | |||
8 | 7 | |||
9 | COMMENT= PHP Hypertext Preprocessor version 8.2 | 8 | COMMENT= PHP Hypertext Preprocessor version 8.2 | |
10 | LICENSE= php | 9 | LICENSE= php | |
11 | 10 | |||
12 | TEST_TARGET= test | 11 | TEST_TARGET= test | |
13 | 12 | |||
14 | USE_TOOLS+= gmake lex | 13 | USE_TOOLS+= gmake lex | |
15 | LIBTOOL_OVERRIDE= # empty | 14 | LIBTOOL_OVERRIDE= # empty | |
16 | PHP_CHECK_INSTALLED= No | 15 | PHP_CHECK_INSTALLED= No | |
17 | 16 | |||
18 | PHP_VERSIONS_ACCEPTED= 82 | 17 | PHP_VERSIONS_ACCEPTED= 82 | |
19 | 18 | |||
20 | .include "Makefile.php" | 19 | .include "Makefile.php" |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | $NetBSD: distinfo,v 1.14 2023/10/27 15:02:43 taca Exp $ | 1 | $NetBSD: distinfo,v 1.15 2023/11/24 06:01:26 taca Exp $ | |
2 | 2 | |||
3 | BLAKE2s (php-8.2.12.tar.xz) = 9aa2c22e92bfdf90f289d2272a1ad7796c1b1e8aa3010ae33b58fd76c1cfe694 | 3 | BLAKE2s (php-8.2.13.tar.xz) = 166a7dad259a21763ccace43350e136db5829bb003c39ca33bbd9317d71cddb4 | |
4 | SHA512 (php-8.2.12.tar.xz) = d3fa01ade4094cb2a1b36f1d0bbfdf7c590997e13566ffcfdbd5a307b30ad9456099116f44fe2d612158a0017d9f05346932ce47768c760c7cfacfa56acf294e | 4 | SHA512 (php-8.2.13.tar.xz) = 8031e33d148c5acbfbb3ed00d7a266813c8919db86ba260ba65e1837d6db8d0bd66d8ddef66884466dd3fe51ece7882b03f8d8db6ff4383f80a68b7beafc03af | |
5 | Size (php-8.2.12.tar.xz) = 12048788 bytes | 5 | Size (php-8.2.13.tar.xz) = 12069092 bytes | |
6 | SHA1 (patch-configure) = c8578bf4893665cb8dee242bbdc866d100912436 | 6 | SHA1 (patch-configure) = e9fd05416c4780cb9ce74cda32b0166186eb1d48 | |
7 | SHA1 (patch-ext_enchant_enchant.c) = 7d999de1b2fde2ea11e4a6e16e7b59c085924b9b | 7 | SHA1 (patch-ext_enchant_enchant.c) = 7d999de1b2fde2ea11e4a6e16e7b59c085924b9b | |
8 | SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd | 8 | SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd | |
9 | SHA1 (patch-ext_standard_php__fopen__wrapper.c) = 0a2c19c18f089448a8d842e99738b292ab9e5640 | 9 | SHA1 (patch-ext_standard_php__fopen__wrapper.c) = 0a2c19c18f089448a8d842e99738b292ab9e5640 | |
10 | SHA1 (patch-ext_tidy_config.m4) = 380f4e8927582b2781faf58b17ad81b6dc967ba7 | 10 | SHA1 (patch-ext_tidy_config.m4) = 380f4e8927582b2781faf58b17ad81b6dc967ba7 | |
11 | SHA1 (patch-ext_xsl_php__xsl.h) = cf930c5d6d9dab29b12558d265c67d3534a006fd | 11 | SHA1 (patch-ext_xsl_php__xsl.h) = cf930c5d6d9dab29b12558d265c67d3534a006fd | |
12 | SHA1 (patch-main_streams_streams.c) = d699ce7d3a300ffb39494b3f1fa5e0958f714483 | 12 | SHA1 (patch-main_streams_streams.c) = d699ce7d3a300ffb39494b3f1fa5e0958f714483 | |
13 | SHA1 (patch-php.ini-development) = 373d76cc7a022b578f1d5e296d1f0ac88bc26b72 | 13 | SHA1 (patch-php.ini-development) = 373d76cc7a022b578f1d5e296d1f0ac88bc26b72 | |
14 | SHA1 (patch-php.ini-production) = 5ab7fa6bf8403907160b0a62b56c1ee527f8eda6 | 14 | SHA1 (patch-php.ini-production) = 5ab7fa6bf8403907160b0a62b56c1ee527f8eda6 | |
15 | SHA1 (patch-sapi_cgi_Makefile.frag) = f4cd64d334884c49787d8854115c8cd69cc79bb8 | 15 | SHA1 (patch-sapi_cgi_Makefile.frag) = f4cd64d334884c49787d8854115c8cd69cc79bb8 | |
16 | SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3 | 16 | SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3 | |
17 | SHA1 (patch-sapi_fpm_php-fpm.conf.in) = acf9b4e70d4c5ea2b96e37e7bbf9005379ecc4d0 | 17 | SHA1 (patch-sapi_fpm_php-fpm.conf.in) = acf9b4e70d4c5ea2b96e37e7bbf9005379ecc4d0 |
@@ -1,59 +1,59 @@ | @@ -1,59 +1,59 @@ | |||
1 | $NetBSD: patch-configure,v 1.12 2023/10/27 15:02:43 taca Exp $ | 1 | $NetBSD: patch-configure,v 1.13 2023/11/24 06:01:26 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 2023-10-24 19:22:16.000000000 +0000 | 7 | --- configure.orig 2023-11-21 09:55:59.000000000 +0000 | |
8 | +++ configure | 8 | +++ configure | |
9 | @@ -3732,6 +3732,10 @@ EOF | 9 | @@ -4323,6 +4323,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 | $as_echo "$CURRENT_ARG \\" >>config.nice | 17 | printf "%s\n" "$CURRENT_ARG \\" >>config.nice | |
18 | CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS $CURRENT_ARG" | 18 | CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS $CURRENT_ARG" | |
19 | done | 19 | done | |
20 | @@ -7023,30 +7027,6 @@ EOF | 20 | @@ -7554,30 +7558,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 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 45 | - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
46 | -$as_echo "yes" >&6; } | 46 | -printf "%s\n" "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 | @@ -78641,7 +78621,7 @@ $as_echo "#define HAVE_TIDYBUFFIO_H 1" > | 51 | @@ -81253,7 +81233,7 @@ printf "%s\n" "#define HAVE_TIDYBUFFIO_H | |
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 | $as_echo "#define HAVE_TIDYP_H 1" >>confdefs.h | 58 | printf "%s\n" "#define HAVE_TIDYP_H 1" >>confdefs.h | |
59 | 59 |