lang/php80: update to 8.0.11 * pkgsrc change: fix PLIST problem when php-embed PKG_OPTIONS is enabled. * This release conintas security fix for CVE-2021-21706. 23 Sep 2021, PHP 8.0.11 - Core: . Fixed bug #81302 (Stream position after stream filter removed). (cmb) . Fixed bug #81346 (Non-seekable streams don't update position after write). (cmb) . Fixed bug #73122 (Integer Overflow when concatenating strings). (cmb) -GD: . Fixed bug #53580 (During resize gdImageCopyResampled cause colors change). (cmb) - Opcache: . Fixed bug #81353 (segfault with preloading and statically bound closure). (Nikita) - Shmop: . Fixed bug #81407 (shmop_open won't attach and causes php to crash). (cmb) - Standard: . Fixed bug #71542 (disk_total_space does not work with relative paths). (cmb) . Fixed bug #81400 (Unterminated string in dns_get_record() results). (cmb) - SysVMsg: . Fixed bug #78819 (Heap Overflow in msg_send). (cmb) - XML: . Fixed bug #81351 (xml_parse may fail, but has no error code). (cmb, Nikita) - Zip: . Fixed bug #80833 (ZipArchive::getStream doesn't use setPassword). (Remi) . Fixed bug #81420 (ZipArchive::extractTo extracts outside of destination). (cmb)diff -r1.339 -r1.340 pkgsrc/lang/php/phpversion.mk
(taca)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: phpversion.mk,v 1.339 2021/09/23 14:11:48 taca Exp $ | 1 | # $NetBSD: phpversion.mk,v 1.340 2021/09/23 15:48:37 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 73 74 80 | 13 | # Possible: 56 73 74 80 | |
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) | |
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 | PHP73_VERSION= 7.3.31 | 91 | PHP73_VERSION= 7.3.31 | |
92 | PHP74_VERSION= 7.4.23 | 92 | PHP74_VERSION= 7.4.23 | |
93 | PHP80_VERSION= 8.0.10 | 93 | PHP80_VERSION= 8.0.11 | |
94 | 94 | |||
95 | # Define initial release of major version. | 95 | # Define initial release of major version. | |
96 | PHP56_RELDATE= 20140828 | 96 | PHP56_RELDATE= 20140828 | |
97 | PHP73_RELDATE= 20181200 | 97 | PHP73_RELDATE= 20181200 | |
98 | PHP74_RELDATE= 20191128 | 98 | PHP74_RELDATE= 20191128 | |
99 | PHP80_RELDATE= 20201124 | 99 | PHP80_RELDATE= 20201124 | |
100 | 100 | |||
101 | _VARGROUPS+= php | 101 | _VARGROUPS+= php | |
102 | _USER_VARS.php= PHP_VERSION_DEFAULT | 102 | _USER_VARS.php= PHP_VERSION_DEFAULT | |
103 | _PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD | 103 | _PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD | |
104 | _SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ | 104 | _SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ | |
105 | PKG_PHP_MAJOR_VERS | 105 | PKG_PHP_MAJOR_VERS | |
106 | 106 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2021/03/07 13:41:36 taca Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2021/09/23 15:48:37 taca Exp $ | |
2 | bin/phar | 2 | bin/phar | |
3 | bin/phar.phar | 3 | bin/phar.phar | |
4 | bin/php | 4 | bin/php | |
5 | bin/php-config | 5 | bin/php-config | |
6 | bin/phpdbg | 6 | bin/phpdbg | |
7 | bin/phpize | 7 | bin/phpize | |
8 | include/php/TSRM/TSRM.h | 8 | include/php/TSRM/TSRM.h | |
9 | include/php/TSRM/tsrm_win32.h | 9 | include/php/TSRM/tsrm_win32.h | |
10 | include/php/Zend/zend.h | 10 | include/php/Zend/zend.h | |
11 | include/php/Zend/zend_API.h | 11 | include/php/Zend/zend_API.h | |
12 | include/php/Zend/zend_alloc.h | 12 | include/php/Zend/zend_alloc.h | |
13 | include/php/Zend/zend_alloc_sizes.h | 13 | include/php/Zend/zend_alloc_sizes.h | |
14 | include/php/Zend/zend_arena.h | 14 | include/php/Zend/zend_arena.h | |
@@ -259,27 +259,27 @@ include/php/main/php_version.h | @@ -259,27 +259,27 @@ include/php/main/php_version.h | |||
259 | include/php/main/rfc1867.h | 259 | include/php/main/rfc1867.h | |
260 | include/php/main/snprintf.h | 260 | include/php/main/snprintf.h | |
261 | include/php/main/spprintf.h | 261 | include/php/main/spprintf.h | |
262 | include/php/main/streams/php_stream_context.h | 262 | include/php/main/streams/php_stream_context.h | |
263 | include/php/main/streams/php_stream_filter_api.h | 263 | include/php/main/streams/php_stream_filter_api.h | |
264 | include/php/main/streams/php_stream_glob_wrapper.h | 264 | include/php/main/streams/php_stream_glob_wrapper.h | |
265 | include/php/main/streams/php_stream_mmap.h | 265 | include/php/main/streams/php_stream_mmap.h | |
266 | include/php/main/streams/php_stream_plain_wrapper.h | 266 | include/php/main/streams/php_stream_plain_wrapper.h | |
267 | include/php/main/streams/php_stream_transport.h | 267 | include/php/main/streams/php_stream_transport.h | |
268 | include/php/main/streams/php_stream_userspace.h | 268 | include/php/main/streams/php_stream_userspace.h | |
269 | include/php/main/streams/php_streams_int.h | 269 | include/php/main/streams/php_streams_int.h | |
270 | include/php/sapi/cli/cli.h | 270 | include/php/sapi/cli/cli.h | |
271 | ${PLIST.embed}include/php/sapi/embed/php_embed.h | 271 | ${PLIST.embed}include/php/sapi/embed/php_embed.h | |
272 | ${PLIST.embed}lib/libphp7.so | 272 | ${PLIST.embed}lib/libphp.so | |
273 | lib/php/build/Makefile.global | 273 | lib/php/build/Makefile.global | |
274 | lib/php/build/ax_check_compile_flag.m4 | 274 | lib/php/build/ax_check_compile_flag.m4 | |
275 | lib/php/build/ax_gcc_func_attribute.m4 | 275 | lib/php/build/ax_gcc_func_attribute.m4 | |
276 | lib/php/build/config.guess | 276 | lib/php/build/config.guess | |
277 | lib/php/build/config.sub | 277 | lib/php/build/config.sub | |
278 | lib/php/build/gen_stub.php | 278 | lib/php/build/gen_stub.php | |
279 | lib/php/build/libtool.m4 | 279 | lib/php/build/libtool.m4 | |
280 | lib/php/build/ltmain.sh | 280 | lib/php/build/ltmain.sh | |
281 | lib/php/build/php.m4 | 281 | lib/php/build/php.m4 | |
282 | lib/php/build/php_cxx_compile_stdcxx.m4 | 282 | lib/php/build/php_cxx_compile_stdcxx.m4 | |
283 | lib/php/build/phpize.m4 | 283 | lib/php/build/phpize.m4 | |
284 | lib/php/build/pkg.m4 | 284 | lib/php/build/pkg.m4 | |
285 | lib/php/build/run-tests.php | 285 | lib/php/build/run-tests.php |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: options.mk,v 1.1 2021/03/07 13:41:36 taca Exp $ | 1 | # $NetBSD: options.mk,v 1.2 2021/09/23 15:48:37 taca Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX} | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX} | |
4 | PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline argon2 php-embed | 4 | PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline argon2 php-embed | |
5 | PKG_SUPPORTED_OPTIONS+= disable-filter-url | 5 | PKG_SUPPORTED_OPTIONS+= disable-filter-url | |
6 | PKG_SUGGESTED_OPTIONS+= inet6 ssl readline | 6 | PKG_SUGGESTED_OPTIONS+= inet6 ssl readline | |
7 | 7 | |||
8 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD" | 8 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD" | |
9 | PKG_SUPPORTED_OPTIONS+= dtrace | 9 | PKG_SUPPORTED_OPTIONS+= dtrace | |
10 | .endif | 10 | .endif | |
11 | 11 | |||
12 | .include "../../mk/bsd.options.mk" | 12 | .include "../../mk/bsd.options.mk" | |
13 | 13 | |||
14 | .if !empty(PKG_OPTIONS:Minet6) | 14 | .if !empty(PKG_OPTIONS:Minet6) | |
@@ -59,16 +59,16 @@ CFLAGS+= -DDISABLE_FILTER_URL | @@ -59,16 +59,16 @@ CFLAGS+= -DDISABLE_FILTER_URL | |||
59 | 59 | |||
60 | PLIST_VARS+= embed | 60 | PLIST_VARS+= embed | |
61 | 61 | |||
62 | .if !empty(PKGNAME:Mphp-[7-9]*) | 62 | .if !empty(PKGNAME:Mphp-[7-9]*) | |
63 | .if !empty(PKG_OPTIONS:Mphp-embed) | 63 | .if !empty(PKG_OPTIONS:Mphp-embed) | |
64 | CONFIGURE_ARGS+= --enable-embed | 64 | CONFIGURE_ARGS+= --enable-embed | |
65 | INSTALLATION_DIRS+= include/php/sapi/embed | 65 | INSTALLATION_DIRS+= include/php/sapi/embed | |
66 | PLIST.embed= yes | 66 | PLIST.embed= yes | |
67 | 67 | |||
68 | .PHONY: post-install-embed | 68 | .PHONY: post-install-embed | |
69 | post-install: post-install-embed | 69 | post-install: post-install-embed | |
70 | post-install-embed: | 70 | post-install-embed: | |
71 | ${INSTALL_DATA} ${WRKSRC}/sapi/embed/php_embed.h ${DESTDIR}${PREFIX}/include/php/sapi/embed/ | 71 | ${INSTALL_DATA} ${WRKSRC}/sapi/embed/php_embed.h ${DESTDIR}${PREFIX}/include/php/sapi/embed/ | |
72 | ${INSTALL_LIB} ${WRKSRC}/libs/libphp7.so ${DESTDIR}${PREFIX}/lib/ | 72 | ${INSTALL_LIB} ${WRKSRC}/libs/libphp.so ${DESTDIR}${PREFIX}/lib/ | |
73 | .endif | 73 | .endif | |
74 | .endif | 74 | .endif |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2021/08/28 06:24:05 taca Exp $ | 1 | $NetBSD: distinfo,v 1.8 2021/09/23 15:48:37 taca Exp $ | |
2 | 2 | |||
3 | SHA1 (php-8.0.10.tar.xz) = 2a8b7efaaa8e2a34473597575182a8366f7f9ec5 | 3 | SHA1 (php-8.0.11.tar.xz) = a69e003e68abe2a511fa7632f1cfa017f32be34d | |
4 | RMD160 (php-8.0.10.tar.xz) = 8eb73de80c5db052a7a5895a81a0c2a46ba3ae0b | 4 | RMD160 (php-8.0.11.tar.xz) = 291d6e4d7e331bb43f570ef053b4fb484ff40c3c | |
5 | SHA512 (php-8.0.10.tar.xz) = 25f23822a45eab837645a0259c7dbb999766506de35c1bba53e928e2b5935ba70278b931d5085966178e08013ec69407fc68eb041b3ae2e619b81f20ec8ce736 | 5 | SHA512 (php-8.0.11.tar.xz) = 2d346959b2691ea0d5334dc9cad225b7a65ec53d6a6493f3b95c4819a0c088bec36aa1bf4ab3c8044a631bcfefb689d85463ff2259d42000e65dac30badcc59d | |
6 | Size (php-8.0.10.tar.xz) = 10703088 bytes | 6 | Size (php-8.0.11.tar.xz) = 10804388 bytes | |
7 | SHA1 (patch-build_libtool.m4) = e58a2bcebe9e9d7dc7255354fd9fe57878e3f8a6 | 7 | SHA1 (patch-build_libtool.m4) = e58a2bcebe9e9d7dc7255354fd9fe57878e3f8a6 | |
8 | SHA1 (patch-configure) = 6c3d2537eb4d1c2ed05e8e1e411701d316c67d8b | 8 | SHA1 (patch-configure) = 6c3d2537eb4d1c2ed05e8e1e411701d316c67d8b | |
9 | SHA1 (patch-disable-filter-url) = 0a2c19c18f089448a8d842e99738b292ab9e5640 | 9 | SHA1 (patch-disable-filter-url) = 0a2c19c18f089448a8d842e99738b292ab9e5640 | |
10 | SHA1 (patch-ext_enchant_enchant.c) = 74e0ec62928c84998ea41863088203f2511911fd | 10 | SHA1 (patch-ext_enchant_enchant.c) = 74e0ec62928c84998ea41863088203f2511911fd | |
11 | SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd | 11 | SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd | |
12 | SHA1 (patch-ext_tidy_config.m4) = 380f4e8927582b2781faf58b17ad81b6dc967ba7 | 12 | SHA1 (patch-ext_tidy_config.m4) = 380f4e8927582b2781faf58b17ad81b6dc967ba7 | |
13 | SHA1 (patch-ext_xsl_php__xsl.h) = cf930c5d6d9dab29b12558d265c67d3534a006fd | 13 | SHA1 (patch-ext_xsl_php__xsl.h) = cf930c5d6d9dab29b12558d265c67d3534a006fd | |
14 | SHA1 (patch-php.ini-development) = e6815f2774ba071baa510fd5490fb5fa377d2462 | 14 | SHA1 (patch-php.ini-development) = e6815f2774ba071baa510fd5490fb5fa377d2462 | |
15 | SHA1 (patch-php.ini-production) = 3ee4d2e2e4fb4dbcb5b64df86751f7feeef0e20d | 15 | SHA1 (patch-php.ini-production) = 3ee4d2e2e4fb4dbcb5b64df86751f7feeef0e20d | |
16 | SHA1 (patch-sapi_cgi_Makefile.frag) = f4cd64d334884c49787d8854115c8cd69cc79bb8 | 16 | SHA1 (patch-sapi_cgi_Makefile.frag) = f4cd64d334884c49787d8854115c8cd69cc79bb8 | |
17 | SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3 | 17 | SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3 | |
18 | SHA1 (patch-sapi_fpm_fpm_events_port.c) = 30ecee10f6d34b7422972e1e275b4f73c7fd964d | 18 | SHA1 (patch-sapi_fpm_fpm_events_port.c) = 30ecee10f6d34b7422972e1e275b4f73c7fd964d | |
19 | SHA1 (patch-sapi_fpm_php-fpm.conf.in) = acf9b4e70d4c5ea2b96e37e7bbf9005379ecc4d0 | 19 | SHA1 (patch-sapi_fpm_php-fpm.conf.in) = acf9b4e70d4c5ea2b96e37e7bbf9005379ecc4d0 |