pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang Update php72 to php 7.2.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af3cc32294de
branches:  trunk
changeset: 375046:af3cc32294de
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Fri Feb 02 12:50:38 2018 +0000

description:
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).

diffstat:

 lang/php/phpversion.mk                            |   4 +-
 lang/php72/distinfo                               |  16 +++++--------
 lang/php72/patches/patch-configure                |  15 ++----------
 lang/php72/patches/patch-ext_curl_config.m4       |  15 ------------
 lang/php72/patches/patch-ext_pdo__mysql_config.m4 |  15 ------------
 lang/php72/patches/patch-ext_pdo_config.m4        |  27 -----------------------
 lang/php72/patches/patch-makedist                 |  15 ------------
 7 files changed, 11 insertions(+), 96 deletions(-)

diffs (170 lines):

diff -r e809a5d70c45 -r af3cc32294de lang/php/phpversion.mk
--- a/lang/php/phpversion.mk    Fri Feb 02 12:49:58 2018 +0000
+++ b/lang/php/phpversion.mk    Fri Feb 02 12:50:38 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: phpversion.mk,v 1.201 2018/01/05 03:12:12 taca Exp $
+# $NetBSD: phpversion.mk,v 1.202 2018/02/02 12:50:38 jdolecek Exp $
 #
 # This file selects a PHP version, based on the user's preferences and
 # the installed packages. It does not add a dependency on the PHP
@@ -90,7 +90,7 @@
 PHP56_VERSION= 5.6.33
 PHP70_VERSION= 7.0.27
 PHP71_VERSION= 7.1.13
-PHP72_VERSION= 7.2.1
+PHP72_VERSION= 7.2.2
 
 # Define initial release of major version.
 PHP56_RELDATE= 20140828
diff -r e809a5d70c45 -r af3cc32294de lang/php72/distinfo
--- a/lang/php72/distinfo       Fri Feb 02 12:49:58 2018 +0000
+++ b/lang/php72/distinfo       Fri Feb 02 12:50:38 2018 +0000
@@ -1,22 +1,18 @@
-$NetBSD: distinfo,v 1.12 2018/01/16 10:49:56 jperkin Exp $
+$NetBSD: distinfo,v 1.13 2018/02/02 12:50:38 jdolecek Exp $
 
-SHA1 (php-7.2.1.tar.bz2) = 3e5ad89b44fb83b9c356ba11c1c62b9ff3fad633
-RMD160 (php-7.2.1.tar.bz2) = 1959cd1fff0b222d20afd0aaf57f4c557ce72b51
-SHA512 (php-7.2.1.tar.bz2) = e9b6c013a06a771c2fa7581e49e6d6e019fe8fc6f8881a43905f7e87df5fc05420559fe40fb663d272ffc5cc188c4ef7c3ca835f5c542a28ca8de1cd42782865
-Size (php-7.2.1.tar.bz2) = 14980278 bytes
-SHA1 (patch-configure) = 277e60446932fabb5ad1c696052de1c0a6248dc8
-SHA1 (patch-ext_curl_config.m4) = 86a293d57aafcd42d1feab4a6d0d4f88dbcfb5c8
+SHA1 (php-7.2.2.tar.bz2) = 69903dabf7ceb4a84620683092e235b29d2d1066
+RMD160 (php-7.2.2.tar.bz2) = c7193e0298ae8e709ad19129023ff213085f50ca
+SHA512 (php-7.2.2.tar.bz2) = d2bc3725b51c61ded552cfde276bbe0f9e4cce3401303219d3784497d7f989e4a23c673fd2d2a827b7823664f922eededed0d242dc70a6f4863ce4f89573d211
+Size (php-7.2.2.tar.bz2) = 14618006 bytes
+SHA1 (patch-configure) = 5dad0ba760f5fb6aa55dc3136655b78c29e23bca
 SHA1 (patch-ext_gd_config.m4) = 67730ccc13410adaf8829f77a6b044f16e412489
 SHA1 (patch-ext_imap_config.m4) = f4e10ab81697b72019313f63bc630627a08efd92
 SHA1 (patch-ext_pcre_pcrelib_config.h) = c5fba95856628f68639fe63feeef04a5f83d3916
-SHA1 (patch-ext_pdo__mysql_config.m4) = f7026001b9c40ae92f13400bd8002e59d4c17311
-SHA1 (patch-ext_pdo_config.m4) = 95f3c1ccf696f6686da320e309b48cfcaadb5e43
 SHA1 (patch-ext_phar_Makefile.frag) = 558869b60f8ed6674a3ba1d595a65f010df4c426
 SHA1 (patch-ext_phar_phar_phar.php) = f630e3946b21b76d4fe857a43e00e25c9445f2c8
 SHA1 (patch-ext_recode_recode.c) = 639bf762302c7a30c88d3f3fa862494e0f847bdb
 SHA1 (patch-ext_sqlite3_libsqlite_sqlite3.c) = 8a529a1b3f7c97731f2e719d006f67c3a7259bb5
 SHA1 (patch-ext_xsl_php__xsl.h) = a9877bff7bacc77926a4541a0ac171c00ad1a627
-SHA1 (patch-makedist) = 3e796ab59bece3f762f41fd0c6f142c88c2d88a8
 SHA1 (patch-php.ini-development) = dd65962000ec06439fae3c9bf252fa46be4e33fd
 SHA1 (patch-php.ini-production) = ae61dffedf574b688fe576b0b2af748b7a28cd89
 SHA1 (patch-run-tests.php) = 86c4d3f03eb8e31b5a35820f426533c9478571fb
diff -r e809a5d70c45 -r af3cc32294de lang/php72/patches/patch-configure
--- a/lang/php72/patches/patch-configure        Fri Feb 02 12:49:58 2018 +0000
+++ b/lang/php72/patches/patch-configure        Fri Feb 02 12:50:38 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-configure,v 1.5 2018/01/16 10:49:57 jperkin Exp $
+$NetBSD: patch-configure,v 1.6 2018/02/02 12:50:38 jdolecek Exp $
 
 Don't automatically add libgcc on SunOS.
 
---- configure.orig     2018-01-02 22:35:52.000000000 +0000
+--- configure.orig     2018-01-30 10:33:52.000000000 +0000
 +++ configure
 @@ -5461,9 +5461,6 @@ fi
  case $host_alias in
@@ -51,16 +51,7 @@
  
  
    unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'`
-@@ -23626,7 +23602,7 @@ fi
- 
-     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl.pc" >&5
- $as_echo_n "checking for libcurl.pc... " >&6; }
--    if test "$PHP_CURL" == "yes" -o "$PHP_CURL" == "/usr"; then
-+    if test "$PHP_CURL" = "yes" -o "$PHP_CURL" = "/usr"; then
-       PKNAME=libcurl
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: using default path" >&5
- $as_echo "using default path" >&6; }
-@@ -95975,12 +95951,7 @@ old_CC=$CC
+@@ -96116,12 +96092,7 @@ old_CC=$CC
  if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then
    CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags"
    INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags"
diff -r e809a5d70c45 -r af3cc32294de lang/php72/patches/patch-ext_curl_config.m4
--- a/lang/php72/patches/patch-ext_curl_config.m4       Fri Feb 02 12:49:58 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ext_curl_config.m4,v 1.2 2017/12/03 12:22:59 jdolecek Exp $
-
-Reported upstream as #75614
-
---- ext/curl/config.m4.orig    2017-11-15 10:50:33.000000000 +0000
-+++ ext/curl/config.m4
-@@ -14,7 +14,7 @@ if test "$PHP_CURL" != "no"; then
-     dnl using pkg-config output
- 
-     AC_MSG_CHECKING(for libcurl.pc)
--    if test "$PHP_CURL" == "yes" -o "$PHP_CURL" == "/usr"; then
-+    if test "$PHP_CURL" = "yes" -o "$PHP_CURL" = "/usr"; then
-       PKNAME=libcurl
-       AC_MSG_RESULT(using default path)
-     elif test -r $PHP_CURL/$PHP_LIBDIR/pkgconfig/libcurl.pc; then
diff -r e809a5d70c45 -r af3cc32294de lang/php72/patches/patch-ext_pdo__mysql_config.m4
--- a/lang/php72/patches/patch-ext_pdo__mysql_config.m4 Fri Feb 02 12:49:58 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ext_pdo__mysql_config.m4,v 1.3 2017/12/24 13:37:12 jdolecek Exp $
-
-Reported upstream as #75615
-
---- ext/pdo_mysql/config.m4.orig       2015-06-23 17:33:33.000000000 +0000
-+++ ext/pdo_mysql/config.m4
-@@ -156,7 +156,7 @@ if test "$PHP_PDO_MYSQL" != "no"; then
-   fi
- 
-   dnl fix after renaming to pdo_mysql
--  PHP_NEW_EXTENSION(pdo_mysql, pdo_mysql.c mysql_driver.c mysql_statement.c, $ext_shared,,-I$pdo_cv_inc_path -I -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
-+  PHP_NEW_EXTENSION(pdo_mysql, pdo_mysql.c mysql_driver.c mysql_statement.c, $ext_shared,,-I$pdo_cv_inc_path -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
-   ifdef([PHP_ADD_EXTENSION_DEP],
-   [
-     PHP_ADD_EXTENSION_DEP(pdo_mysql, pdo)
diff -r e809a5d70c45 -r af3cc32294de lang/php72/patches/patch-ext_pdo_config.m4
--- a/lang/php72/patches/patch-ext_pdo_config.m4        Fri Feb 02 12:49:58 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-ext_pdo_config.m4,v 1.2 2017/12/03 12:48:56 jdolecek Exp $
-
-Reported upstream as #75616
-
---- ext/pdo/config.m4.orig     2015-06-23 17:33:33.000000000 +0000
-+++ ext/pdo/config.m4
-@@ -37,20 +37,6 @@ if test "$PHP_PDO" != "no"; then
- 
-   PHP_PDO_PEAR_CHECK
- 
--  if test "$ext_shared" = "yes" ; then
--    case $host_alias in
--      *darwin*)
--          AC_MSG_ERROR([
--Due to the way that loadable modules work on OSX/Darwin, you need to
--compile the PDO package statically into the PHP core.
--
--Please follow the instructions at: http://netevil.org/node.php?nid=202
--for more detail on this issue.
--          ])
--        ext_shared=no
--        ;;
--    esac
--  fi
-   PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared)
-   ifdef([PHP_ADD_EXTENSION_DEP],
-   [
diff -r e809a5d70c45 -r af3cc32294de lang/php72/patches/patch-makedist
--- a/lang/php72/patches/patch-makedist Fri Feb 02 12:49:58 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-makedist,v 1.2 2017/12/03 12:22:59 jdolecek Exp $
-
-Reported upstream as #75614
-
---- makedist.orig      2015-06-23 17:33:33.000000000 +0000
-+++ makedist
-@@ -35,7 +35,7 @@ if test "${1}" = "1" -a "${2}" -lt "28";
- fi
- IFS="$old_IFS"
- 
--if test "x$PHPROOT" == "x"; then
-+if test "x$PHPROOT" = "x"; then
-     PHPROOT=git%git.php.net@localhost:php-src.git;
- fi
- 



Home | Main Index | Thread Index | Old Index