./lang/php72, PHP Hypertext Preprocessor version 7.2

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2017Q4, Version: 7.2.1, Package name: php-7.2.1, Maintainer: pkgsrc-users

PHP is a widely-used open source general-purpose scripting language
that is especially suited for web development and can be embedded
into HTML. It is modular, and object-oriented. Much of its syntax
is borrowed from C, Java and Perl with a couple of unique PHP-specific
features thrown in. The language is designed to allow web developers
to write dynamically generated pages quickly.

This package provides PHP version 7.2.x.

PHP 7.2.x builds upon 7.1.x, adding new features:

* Argument type declarations
* Object return type declarations
* Parameter Type Widening
* Trailing commas in list syntax
* HashContext as Object
* Argon2 in password hash
* Libsodium as part of PHP Core
* Deprecated: __autoload, $php_errormsg, create_function(),
mbstring.func_overload, parse_str() without second argument,
gmp_random(), each(), assert(), $errcontext
* uniqid() patch to avoid usleep() integrated, 10000x improvement on NetBSD,
about 10x on Linux


Required to run:
[devel/readline] [devel/pcre] [textproc/libxml2]

Required to build:
[pkgtools/cwrappers]

Package options: inet6, readline, sqlite3, ssl

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2018-03-03 10:23:45 by S.P.Zeidler | Files touched by this commit (15) | Package updated
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
   2018-01-07 19:01:22 by Benny Siegert | Files touched by this commit (1) | Package updated
Log message:
Pullup ticket #5676 - requested by taca
lang/php72: security fix

Revisions pulled up:
- lang/php/phpversion.mk                                        1.201
- lang/php72/distinfo                                           1.11

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Fri Jan  5 03:12:12 UTC 2018

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

   Log message:
   lang/php72: update to 7.2.1

   04 Jan 2018, PHP 7.2.1

   - Core:
     . Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26). (Laruence)
     . Fixed bug #75384 (PHP seems incompatible with OneDrive files on demand).
       (Anatol)
     . Fixed bug #75525 (Access Violation in vcruntime140.dll). (Anatol)
     . Fixed bug #74862 (Unable to clone instance when private __clone defined).
       (Daniel Ciochiu)
     . Fixed bug #75074 (php-process crash when is_file() is used with strings
       longer 260 chars). (Anatol)

   - CLI server:
     . Fixed bug #73830 (Directory does not exist). (Anatol)

   - FPM:
     . Fixed bug #64938 (libxml_disable_entity_loader setting is shared between
       requests). (Remi)

   - GD:
     . Fixed bug #75571 (Potential infinite loop in gdImageCreateFromGifCtx).
       (Christoph)

   - Opcache:
     . Fixed bug #75608 ("Narrowing occurred during type inference" error).
       (Laruence, Dmitry)
     . Fixed bug #75579 (Interned strings buffer overflow may cause crash).
       (Dmitry)
     . Fixed bug #75570 ("Narrowing occurred during type inference" error).
       (Dmitry)
     . Fixed bug #75556 (Invalid opcode 138/1/1). (Laruence)

   - PCRE:
     . Fixed bug #74183 (preg_last_error not returning error code after error).
       (Andrew Nester)

   - Phar:
     . Fixed bug #74782 (remove file name from output to avoid XSS). (stas)

   - Standard:
     . Fixed bug #75511 (fread not free unused buffer). (Laruence)
     . Fixed bug #75514 (mt_rand returns value outside [$min,$max]+ on 32-bit)
       (Remi)
     . Fixed bug #75535 (Inappropriately parsing HTTP response leads to PHP
       segment fault). (Nikita)
     . Fixed bug #75409 (accept EFAULT in addition to ENOSYS as indicator
       that getrandom() is missing). (sarciszewski)
     . Fixed bug #73124 (php_ini_scanned_files() not reporting correctly).
       (John Stevenson)
     . Fixed bug #75574 (putenv does not work properly if parameter contains
       non-ASCII unicode character). (Anatol)

   - Zip:
     . Fixed bug #75540 (Segfault with libzip 1.3.1). (Remi)