Update php72 to php 7.2.2 Changes since 7.2.1: Core: Fixed bug #75742 (potential memleak in internal classes's static members). Fixed bug #75679 (Path 260 character problem). Fixed bug #75614 (Some non-portable == in shell scripts). Fixed bug #75786 (segfault when using spread operator on generator passed by reference). Fixed bug #75799 (arg of get_defined_functions is optional). Fixed bug #75396 (Exit inside generator finally results in fatal error). FCGI: Fixed bug #75794 (getenv() crashes on Windows 7.2.1 when second parameter is false). IMAP: Fixed bug #75774 (imap_append HeapCorruction). Opcache: Fixed bug #75720 (File cache not populated after SHM runs full). Fixed bug #75687 (var 8 (TMP) has array key type but not value type). Fixed bug #75698 (Using @ crashes php7.2-fpm). Fixed bug #75579 (Interned strings buffer overflow may cause crash). PDO: Fixed bug #75616 (PDO extension doesn't allow to be built shared on Darwin). PDO MySQL: Fixed bug #75615 (PDO Mysql module can't be built as module). PGSQL: Fixed bug #75671 (pg_version() crashes when called on a connection to cockroach). Readline: Fixed bug #75775 (readline_read_history segfaults with empty file). SAPI: Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry). SOAP: Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is used). Fixed bug #75502 (Segmentation fault in zend_string_release). SPL: Fixed bug #75717 (RecursiveArrayIterator does not traverse arrays by reference). Fixed bug #75242 (RecursiveArrayIterator doesn't have constants from parent class). Fixed bug #73209 (RecursiveArrayIterator does not iterate object properties). Standard: Fixed bug #75781 (substr_count incorrect result). Fixed bug #75653 (array_values don't work on empty array). Zip: Display headers (buildtime) and library (runtime) versions in phpinfo (with libzip >= 1.3.1).diff -r1.201 -r1.202 pkgsrc/lang/php/phpversion.mk
(jdolecek)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: phpversion.mk,v 1.201 2018/01/05 03:12:12 taca Exp $ | 1 | # $NetBSD: phpversion.mk,v 1.202 2018/02/02 12:50:38 jdolecek 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 70 71 72 | 13 | # Possible: 56 70 71 72 | |
14 | # Default: 56 | 14 | # Default: 56 | |
@@ -80,27 +80,27 @@ | @@ -80,27 +80,27 @@ | |||
80 | # | 80 | # | |
81 | # Example: lib/php/20140828 | 81 | # Example: lib/php/20140828 | |
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.33 | 90 | PHP56_VERSION= 5.6.33 | |
91 | PHP70_VERSION= 7.0.27 | 91 | PHP70_VERSION= 7.0.27 | |
92 | PHP71_VERSION= 7.1.13 | 92 | PHP71_VERSION= 7.1.13 | |
93 | PHP72_VERSION= 7.2.1 | 93 | PHP72_VERSION= 7.2.2 | |
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 | PHP70_RELDATE= 20151203 | 97 | PHP70_RELDATE= 20151203 | |
98 | PHP71_RELDATE= 20160303 | 98 | PHP71_RELDATE= 20160303 | |
99 | PHP72_RELDATE= 20170718 | 99 | PHP72_RELDATE= 20170718 | |
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,26 +1,22 @@ | @@ -1,26 +1,22 @@ | |||
1 | $NetBSD: distinfo,v 1.12 2018/01/16 10:49:56 jperkin Exp $ | 1 | $NetBSD: distinfo,v 1.13 2018/02/02 12:50:38 jdolecek Exp $ | |
2 | 2 | |||
3 | SHA1 (php-7.2.1.tar.bz2) = 3e5ad89b44fb83b9c356ba11c1c62b9ff3fad633 | 3 | SHA1 (php-7.2.2.tar.bz2) = 69903dabf7ceb4a84620683092e235b29d2d1066 | |
4 | RMD160 (php-7.2.1.tar.bz2) = 1959cd1fff0b222d20afd0aaf57f4c557ce72b51 | 4 | RMD160 (php-7.2.2.tar.bz2) = c7193e0298ae8e709ad19129023ff213085f50ca | |
5 | SHA512 (php-7.2.1.tar.bz2) = e9b6c013a06a771c2fa7581e49e6d6e019fe8fc6f8881a43905f7e87df5fc05420559fe40fb663d272ffc5cc188c4ef7c3ca835f5c542a28ca8de1cd42782865 | 5 | SHA512 (php-7.2.2.tar.bz2) = d2bc3725b51c61ded552cfde276bbe0f9e4cce3401303219d3784497d7f989e4a23c673fd2d2a827b7823664f922eededed0d242dc70a6f4863ce4f89573d211 | |
6 | Size (php-7.2.1.tar.bz2) = 14980278 bytes | 6 | Size (php-7.2.2.tar.bz2) = 14618006 bytes | |
7 | SHA1 (patch-configure) = 277e60446932fabb5ad1c696052de1c0a6248dc8 | 7 | SHA1 (patch-configure) = 5dad0ba760f5fb6aa55dc3136655b78c29e23bca | |
8 | SHA1 (patch-ext_curl_config.m4) = 86a293d57aafcd42d1feab4a6d0d4f88dbcfb5c8 | |||
9 | SHA1 (patch-ext_gd_config.m4) = 67730ccc13410adaf8829f77a6b044f16e412489 | 8 | SHA1 (patch-ext_gd_config.m4) = 67730ccc13410adaf8829f77a6b044f16e412489 | |
10 | SHA1 (patch-ext_imap_config.m4) = f4e10ab81697b72019313f63bc630627a08efd92 | 9 | SHA1 (patch-ext_imap_config.m4) = f4e10ab81697b72019313f63bc630627a08efd92 | |
11 | SHA1 (patch-ext_pcre_pcrelib_config.h) = c5fba95856628f68639fe63feeef04a5f83d3916 | 10 | SHA1 (patch-ext_pcre_pcrelib_config.h) = c5fba95856628f68639fe63feeef04a5f83d3916 | |
12 | SHA1 (patch-ext_pdo__mysql_config.m4) = f7026001b9c40ae92f13400bd8002e59d4c17311 | |||
13 | SHA1 (patch-ext_pdo_config.m4) = 95f3c1ccf696f6686da320e309b48cfcaadb5e43 | |||
14 | SHA1 (patch-ext_phar_Makefile.frag) = 558869b60f8ed6674a3ba1d595a65f010df4c426 | 11 | SHA1 (patch-ext_phar_Makefile.frag) = 558869b60f8ed6674a3ba1d595a65f010df4c426 | |
15 | SHA1 (patch-ext_phar_phar_phar.php) = f630e3946b21b76d4fe857a43e00e25c9445f2c8 | 12 | SHA1 (patch-ext_phar_phar_phar.php) = f630e3946b21b76d4fe857a43e00e25c9445f2c8 | |
16 | SHA1 (patch-ext_recode_recode.c) = 639bf762302c7a30c88d3f3fa862494e0f847bdb | 13 | SHA1 (patch-ext_recode_recode.c) = 639bf762302c7a30c88d3f3fa862494e0f847bdb | |
17 | SHA1 (patch-ext_sqlite3_libsqlite_sqlite3.c) = 8a529a1b3f7c97731f2e719d006f67c3a7259bb5 | 14 | SHA1 (patch-ext_sqlite3_libsqlite_sqlite3.c) = 8a529a1b3f7c97731f2e719d006f67c3a7259bb5 | |
18 | SHA1 (patch-ext_xsl_php__xsl.h) = a9877bff7bacc77926a4541a0ac171c00ad1a627 | 15 | SHA1 (patch-ext_xsl_php__xsl.h) = a9877bff7bacc77926a4541a0ac171c00ad1a627 | |
19 | SHA1 (patch-makedist) = 3e796ab59bece3f762f41fd0c6f142c88c2d88a8 | |||
20 | SHA1 (patch-php.ini-development) = dd65962000ec06439fae3c9bf252fa46be4e33fd | 16 | SHA1 (patch-php.ini-development) = dd65962000ec06439fae3c9bf252fa46be4e33fd | |
21 | SHA1 (patch-php.ini-production) = ae61dffedf574b688fe576b0b2af748b7a28cd89 | 17 | SHA1 (patch-php.ini-production) = ae61dffedf574b688fe576b0b2af748b7a28cd89 | |
22 | SHA1 (patch-run-tests.php) = 86c4d3f03eb8e31b5a35820f426533c9478571fb | 18 | SHA1 (patch-run-tests.php) = 86c4d3f03eb8e31b5a35820f426533c9478571fb | |
23 | SHA1 (patch-sapi_cgi_Makefile.frag) = 18769900f588ff81cc34474542afa1d65c070e65 | 19 | SHA1 (patch-sapi_cgi_Makefile.frag) = 18769900f588ff81cc34474542afa1d65c070e65 | |
24 | SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3 | 20 | SHA1 (patch-sapi_cli_Makefile.frag) = 1cd29d09042863acbf5330e406410fdcf75d06b3 | |
25 | SHA1 (patch-sapi_fpm_fpm_events_port.c) = 0f10fdb32fb7cab58e2abda49fb1fc658c410150 | 21 | SHA1 (patch-sapi_fpm_fpm_events_port.c) = 0f10fdb32fb7cab58e2abda49fb1fc658c410150 | |
26 | SHA1 (patch-sapi_fpm_php-fpm.conf.in) = b3c4fd499cbfd2dffd9176abb54e298ea542a5d7 | 22 | SHA1 (patch-sapi_fpm_php-fpm.conf.in) = b3c4fd499cbfd2dffd9176abb54e298ea542a5d7 |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | $NetBSD: patch-configure,v 1.5 2018/01/16 10:49:57 jperkin Exp $ | 1 | $NetBSD: patch-configure,v 1.6 2018/02/02 12:50:38 jdolecek Exp $ | |
2 | 2 | |||
3 | Don't automatically add libgcc on SunOS. | 3 | Don't automatically add libgcc on SunOS. | |
4 | 4 | |||
5 | --- configure.orig 2018-01-02 22:35:52.000000000 +0000 | 5 | --- configure.orig 2018-01-30 10:33:52.000000000 +0000 | |
6 | +++ configure | 6 | +++ configure | |
7 | @@ -5461,9 +5461,6 @@ fi | 7 | @@ -5461,9 +5461,6 @@ fi | |
8 | case $host_alias in | 8 | case $host_alias in | |
9 | *solaris*) | 9 | *solaris*) | |
10 | CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS" | 10 | CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS" | |
11 | - if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then | 11 | - if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then | |
12 | - enable_libgcc=yes | 12 | - enable_libgcc=yes | |
13 | - fi | 13 | - fi | |
14 | ;; | 14 | ;; | |
15 | *dgux*) | 15 | *dgux*) | |
16 | CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR" | 16 | CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR" | |
17 | @@ -7007,27 +7004,6 @@ EOF | 17 | @@ -7007,27 +7004,6 @@ EOF | |
18 | ;; | 18 | ;; | |
@@ -41,36 +41,27 @@ Don't automatically add libgcc on SunOS. | @@ -41,36 +41,27 @@ Don't automatically add libgcc on SunOS. | |||
41 | - fi | 41 | - fi | |
42 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 42 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
43 | $as_echo "yes" >&6; } | 43 | $as_echo "yes" >&6; } | |
44 | 44 | |||
45 | @@ -21090,7 +21066,7 @@ $as_echo "#define HAVE_SQLITE3_ERRSTR 1" | 45 | @@ -21090,7 +21066,7 @@ $as_echo "#define HAVE_SQLITE3_ERRSTR 1" | |
46 | PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite $other_flags $threadsafe_flags $debug_flags" | 46 | PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite $other_flags $threadsafe_flags $debug_flags" | |
47 | 47 | |||
48 | 48 | |||
49 | - for header_file in ext/sqlite3/libsqlite/sqlite3.h; do | 49 | - for header_file in ext/sqlite3/libsqlite/sqlite3.h; do | |
50 | + for header_file; do | 50 | + for header_file; do | |
51 | 51 | |||
52 | 52 | |||
53 | unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'` | 53 | unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'` | |
54 | @@ -23626,7 +23602,7 @@ fi | 54 | @@ -96116,12 +96092,7 @@ old_CC=$CC | |
55 | ||||
56 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl.pc" >&5 | |||
57 | $as_echo_n "checking for libcurl.pc... " >&6; } | |||
58 | - if test "$PHP_CURL" == "yes" -o "$PHP_CURL" == "/usr"; then | |||
59 | + if test "$PHP_CURL" = "yes" -o "$PHP_CURL" = "/usr"; then | |||
60 | PKNAME=libcurl | |||
61 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: using default path" >&5 | |||
62 | $as_echo "using default path" >&6; } | |||
63 | @@ -95975,12 +95951,7 @@ old_CC=$CC | |||
64 | if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then | 55 | if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then | |
65 | CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags" | 56 | CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags" | |
66 | INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags" | 57 | INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags" | |
67 | - cat >meta_ccld<<EOF | 58 | - cat >meta_ccld<<EOF | |
68 | -#! /bin/sh | 59 | -#! /bin/sh | |
69 | -exec $CC $ac_cv_pthreads_cflags \$@ | 60 | -exec $CC $ac_cv_pthreads_cflags \$@ | |
70 | -EOF | 61 | -EOF | |
71 | - CC="$abs_builddir/meta_ccld" | 62 | - CC="$abs_builddir/meta_ccld" | |
72 | - chmod +x meta_ccld | 63 | - chmod +x meta_ccld | |
73 | + CPPFLAGS="$CPPFLAGS $ac_cv_pthreads_cflags" | 64 | + CPPFLAGS="$CPPFLAGS $ac_cv_pthreads_cflags" | |
74 | fi | 65 | fi | |
75 | 66 | |||
76 | if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then | 67 | if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then |