Subject: CVS commit: [pkgsrc-2017Q4] pkgsrc/lang/php72
From: S.P.Zeidler
Date: 2018-03-03 10:23:45
Message id: 20180303092345.DD3BFFB40@cvs.NetBSD.org

Log Message:
Pullup ticket #5718 - requested by taca
lang/php72: security update

Revisions pulled up:
- lang/php72/Makefile                                           1.4-1.6
- lang/php72/Makefile.common                                    1.2
- lang/php72/Makefile.php                                       1.2-1.4
- lang/php72/PLIST                                              1.2
- lang/php72/buildlink3.mk                                      1.2-1.3
- lang/php72/distinfo                                           1.12-1.22
- lang/php72/patches/patch-configure                            1.5-1.10
- lang/php72/patches/patch-ext_curl_config.m4                   deleted
- lang/php72/patches/patch-ext_imap_config.m4                   deleted
- lang/php72/patches/patch-ext_pcre_pcrelib_config.h            deleted
- lang/php72/patches/patch-ext_pdo__mysql_config.m4             deleted
- lang/php72/patches/patch-ext_pdo_config.m4                    deleted
- lang/php72/patches/patch-ext_sqlite3_libsqlite_sqlite3.c      deleted
- lang/php72/patches/patch-makedist                             deleted
- lang/php72/patches/patch-sapi_fpm_fpm_events_port.c           1.2

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jperkin
   Date:		Tue Jan 16 10:49:57 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   php72: Don't automatically add libgcc on SunOS.

   To generate a diff of this commit:
   cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Wed Jan 31 21:10:18 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: Makefile.php

   Log Message:
   add new option argon2 to compile in the support for Argon2 password hashes
   (new in php 7.2.0)

   To generate a diff of this commit:
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/php72/Makefile.php

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Fri Feb  2 12:50:38 UTC 2018

   Modified Files:
   	pkgsrc/lang/php: phpversion.mk
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure
   Removed Files:
   	pkgsrc/lang/php72/patches: patch-ext_curl_config.m4
   	    patch-ext_pdo__mysql_config.m4 patch-ext_pdo_config.m4
   	    patch-makedist

   Log Message:
   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).

   To generate a diff of this commit:
   cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/php72/patches/patch-configure
   cvs rdiff -u -r1.2 -r0 pkgsrc/lang/php72/patches/patch-ext_curl_config.m4 \
       pkgsrc/lang/php72/patches/patch-ext_pdo_config.m4 \
       pkgsrc/lang/php72/patches/patch-makedist
   cvs rdiff -u -r1.3 -r0 \
       pkgsrc/lang/php72/patches/patch-ext_pdo__mysql_config.m4

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Sun Feb  4 15:38:41 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-ext_imap_config.m4
   	    patch-sapi_fpm_fpm_events_port.c

   Log Message:
   note upstream bug report numbers for two more patches

   To generate a diff of this commit:
   cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/php72/patches/patch-ext_imap_config.m4 \
       pkgsrc/lang/php72/patches/patch-sapi_fpm_fpm_events_port.c

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Sun Feb  4 16:19:00 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: Makefile Makefile.php distinfo
   Removed Files:
   	pkgsrc/lang/php72/patches: patch-ext_sqlite3_libsqlite_sqlite3.c

   Log Message:
   Switch php72 to use pkgsrc sqlite3 library instead of the bundled one

   PHP bundles a sqlite3 lib, it's used when the build can't find
   system one. Switch to the pkgsrc-provided one, eliminating also
   need to maintain a local patch for it. While here make this into a
   tunable compile option 'sqlite3', by default on, same as before.

   To generate a diff of this commit:
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/php72/Makefile
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/php72/Makefile.php
   cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.1 -r0 \
       pkgsrc/lang/php72/patches/patch-ext_sqlite3_libsqlite_sqlite3.c

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Mon Feb  5 08:51:25 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: Makefile Makefile.common Makefile.php PLIST
   	    buildlink3.mk distinfo
   Removed Files:
   	pkgsrc/lang/php72/patches: patch-ext_pcre_pcrelib_config.h

   Log Message:
   Switch lang/php72 to use pkgsrc pcre library instead of the bundled one

   PHP bundles it's own copy of pcre 8.41 with the distribution, which
   is used when build doesn't find system one. Switch to the pkgsrc
   pcre, so that we don't need to maintain local PHP JIT patch here.
   Upcoming PHP 7.3 already switched to pcre2, so no value maintaining
   private PCRE patch any more (if there ever was).

   XXX devel/pcre doesn't seem to enable PCRE JIT, might be good to do so

   To generate a diff of this commit:
   cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/php72/Makefile
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/php72/Makefile.common \
       pkgsrc/lang/php72/PLIST pkgsrc/lang/php72/buildlink3.mk
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/php72/Makefile.php
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.1 -r0 \
       pkgsrc/lang/php72/patches/patch-ext_pcre_pcrelib_config.h

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jperkin
   Date:		Mon Feb  5 11:21:56 UTC 2018

   Modified Files:
   	pkgsrc/lang/php70: buildlink3.mk
   	pkgsrc/lang/php71: buildlink3.mk
   	pkgsrc/lang/php72: buildlink3.mk

   Log Message:
   php7*: Standardise on major.minor.99 usage in buildlink3.mk

   With the introduction of beta and rc releases of php7* into pkgsrc the pattern
   matching is often incorrect (for example the current version of php-7.1.0rc6
   breaks both <7.1.0 and >=7.1.0).  Using .99 is not ideal but does at least
   avoid the confusion developers seem to be having with the pmatch ordering.

   To generate a diff of this commit:
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/php72/buildlink3.mk

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Thu Feb  8 20:55:42 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   remove part of configure patch related to sqlite3

   the part of the patch is not needed anymore, we use external sqlite3 lib,
   and the patch was for the bundled sqlite3 build

   To generate a diff of this commit:
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Thu Feb  8 21:23:04 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   drop patch removing pthread checks for apache <2.4.1 module build

   the patch predates php56, doesn't seem to be necessary when building
   with apache22, and we want to reduce diffs against upstream; maybe
   that part was needed with distant past with apache 1.3 or whatnot,
   but that is not in pkgsrc any more

   To generate a diff of this commit:
   cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Thu Feb  8 21:50:55 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   note configure meta_ccld was reported upstream as #75940

   To generate a diff of this commit:
   cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Fri Feb  9 00:01:13 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   Add upstream bug report number for the libgcc part of patch too

   Thanks Jonathan for elaboration of why it's necessary.

   To generate a diff of this commit:
   cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Fri Feb 16 22:26:29 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   Removed Files:
   	pkgsrc/lang/php72/patches: patch-ext_imap_config.m4

   Log Message:
   remove patches/patch-ext_imap_config.m4, it's not needed any more

   mail/php-imap was changed to not use the option this patch adds; it was
   also entirely ineffective in what it was supposed to do

   To generate a diff of this commit:
   cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.2 -r0 pkgsrc/lang/php72/patches/patch-ext_imap_config.m4

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Fri Mar  2 02:11:24 UTC 2018

   Modified Files:
   	pkgsrc/lang/php: phpversion.mk
   	pkgsrc/lang/php72: Makefile distinfo

   Log Message:
   lang/php72: update to 7.2.3

   01 Mar 2018, PHP 7.2.3

   - Core:
     . Fixed bug #75864 ("stream_isatty" returns wrong value on \ 
s390x). (Sam Ding)

   - Apache2Handler:
     . Fixed bug #75882 (a simple way for segfaults in threadsafe php just with
       configuration). (Anatol)

   - Date:
     . Fixed bug #75857 (Timezone gets truncated when formatted). (carusogabriel)
     . Fixed bug #75928 (Argument 2 for `DateTimeZone::listIdentifiers()` should
       accept `null`). (Pedro Lacerda)
     . Fixed bug #68406 (calling var_dump on a DateTimeZone object modifies it).
       (jhdxr)

   - LDAP:
     . Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros). (dzuelke)

   - libxml2:
     . Fixed bug #75871 (use pkg-config where available). (pmmaga)

   - PGSQL:
     . Fixed bug #75838 (Memory leak in pg_escape_bytea()). (ard_1 at mail dot ru)

   - Phar:
     . Fixed bug #54289 (Phar::extractTo() does not accept specific directories to
       be extracted). (bishop)
     . Fixed bug #65414 (deal with leading slash while adding files correctly).
       (bishopb)
     . Fixed bug #65414 (deal with leading slash when adding files correctly).
       (bishopb)

   - ODBC:
     . Fixed bug #73725 (Unable to retrieve value of varchar(max) type). (Anatol)

   - Opcache:
     . Fixed bug #75729 (opcache segfault when installing Bitrix). (Nikita)
     . Fixed bug #75893 (file_get_contents $http_response_header variable bugged
       with opcache). (Nikita)
     . Fixed bug #75938 (Modulus value not stored in variable). (Nikita)

   - SPL:
     . Fixed bug #74519 (strange behavior of AppendIterator). (jhdxr)

   - Standard:
     . Fixed bug #75916 (DNS_CAA record results contain garbage). (Mike,
       Philip Sharp)
     . Fixed bug #75981 (Prevent reading beyond buffer start in http wrapper).
       (Stas)

   To generate a diff of this commit:
   cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/php72/Makefile
   cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/php72/distinfo

Files:
RevisionActionfile
1.3.2.1modifypkgsrc/lang/php72/Makefile
1.1.2.1modifypkgsrc/lang/php72/Makefile.common
1.1.2.1modifypkgsrc/lang/php72/Makefile.php
1.1.2.1modifypkgsrc/lang/php72/PLIST
1.1.2.1modifypkgsrc/lang/php72/buildlink3.mk
1.10.2.2modifypkgsrc/lang/php72/distinfo
1.4.2.1modifypkgsrc/lang/php72/patches/patch-configure
1.1.2.1modifypkgsrc/lang/php72/patches/patch-ext_imap_config.m4
1.1.2.1modifypkgsrc/lang/php72/patches/patch-sapi_fpm_fpm_events_port.c
1.2removepkgsrc/lang/php72/patches/patch-ext_curl_config.m4
1.1removepkgsrc/lang/php72/patches/patch-ext_pcre_pcrelib_config.h
1.3removepkgsrc/lang/php72/patches/patch-ext_pdo__mysql_config.m4
1.2removepkgsrc/lang/php72/patches/patch-ext_pdo_config.m4
1.1removepkgsrc/lang/php72/patches/patch-ext_sqlite3_libsqlite_sqlite3.c
1.2removepkgsrc/lang/php72/patches/patch-makedist