Up to [cvs.NetBSD.org] / pkgsrc / lang / php71
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
lang/php71: remove php71 package Remove php71 pacakge since PHP 7.1.x is EOL.
Pullup ticket #6077 - requested by taca
lang/php71: security fix
Revisions pulled up:
- lang/php/phpversion.mk 1.273
- lang/php71/Makefile 1.21
- lang/php71/Makefile.php 1.14
- lang/php71/distinfo 1.55
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Oct 25 02:58:33 UTC 2019
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php71: Makefile Makefile.php distinfo
Log Message:
lang/php71: update to 7.1.33
Update php71 to 7.1.33.
24 Oct 2019, PHP 7.1.33
- FPM:
. Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE).
(CVE-2019-11043) (Jakub Zelenka)
lang/php71: update to 7.1.33
Update php71 to 7.1.33.
24 Oct 2019, PHP 7.1.33
- FPM:
. Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE).
(CVE-2019-11043) (Jakub Zelenka)
lang/php: remove sqlite3 library Remove sqlite3 library extension and make it separate package to prevent dependency to databases/sqlite3 pacakge.
lang/php7?: revert previous commit
Revert previous commit and unbreak lang/php7{0,1,2}.
sqlite3 problem would be another way, after update current PHP versions.
Link PHP with shared libsqlite3 isntead of built-in We used to build PHP with its built-in, statically linked libsqlite3. When used in an executable with dynamically looaded modules such as Apache, some module may load a shared libsqlite3, which has the same symbols as PHP's built-in libsqlite3. This causes unreliable cross-version calls and is source of crashes. The fix is to disable PHP's built-in libslite3 and always use an external, shared libsqlite3.
Pullup ticket #5832 - requested by taca
lang/php71: security fix
Revisions pulled up:
- lang/php71/Makefile 1.16
- lang/php71/Makefile.php 1.9-1.10
- lang/php71/distinfo 1.41-1.42
---
Module Name: pkgsrc
Committed By: manu
Date: Mon Jul 30 07:17:16 UTC 2018
Modified Files:
pkgsrc/lang/php70: Makefile.php
pkgsrc/lang/php71: Makefile.php
pkgsrc/lang/php72: Makefile.php
Log Message:
Fix PHP buidl on i386
The --disable-gcc-global-regs fix is not enough, we really need
GCC 6 to avoid php crashing during www/ap-ph build.
---
Module Name: pkgsrc
Committed By: maya
Date: Tue Jul 31 01:17:56 UTC 2018
Modified Files:
pkgsrc/lang/php70: Makefile Makefile.php
pkgsrc/lang/php71: Makefile Makefile.php
pkgsrc/lang/php72: Makefile Makefile.php
Log Message:
move --disable-gcc-global-regs to Makefile.php.
Seems to make a previously segfaulting netbsd-8/i386's build not segfau=
lt.
ap-php runs PHP's configure and builds some of its code, so it needs th=
e
same flag.
Now we can stop requiring an arbitrary GCC version. The test case in th=
e
GCC bugzilla fails on all GCC versions I tested, but magically some
versions of GCC manage to build a working PHP.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Aug 19 13:55:24 UTC 2018
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php71: distinfo
Log Message:
lang/php71: Update to 7.1.21
PHP =
NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||=
||||||||
16 Aug 2018, PHP 7.1.21
- Calendar:
. Fixed bug #52974 (jewish.c: compile error under Windows with GBK ch=
arset).
(cmb)
- Filter:
. Fixed bug #76366 (References in sub-array for filtering breaks the =
filter).
(ZiHang Gao)
- PDO_Firebird:
. Fixed bug #76488 (Memory leak when fetching a BLOB field). (Simonov=
Denis)
- PDO_PgSQL:
. Fixed bug #75402 (Possible Memory Leak using PDO::CURSOR_SCROLL opt=
ion).
(Anatol)
- SQLite3:
. Fixed #76665 (SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't j=
uggle).
(cmb)
- Standard:
. Fixed bug #68553 (array_column: null values in $index_key become in=
crementing
keys in result). (Laruence)
. Fixed bug #73817 (Incorrect entries in get_html_translation_table).=
(cmb)
. Fixed bug #76643 (Segmentation fault when using `output_add_rewrite=
_var`).
(cmb)
- Zip:
. Fixed bug #76524 (ZipArchive memory leak (OVERWRITE flag and empty =
archive)).
(Timur Ibragimov)
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Sep 13 15:44:06 UTC 2018
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php71: distinfo
Log Message:
lang/php71: Update to 7.1.22
13 Sep 2018, PHP 7.1.22
- Core:
. Fixed bug #76754 (parent private constant in extends class memory l=
eak).
(Laruence)
. Fixed bug #72443 (Generate enabled extension). (petk)
- Apache2:
. Fixed bug #76582 (Apache bucket brigade sometimes becomes invalid).=
(stas)
- Bz2:
. Fixed arginfo for bzcompress. (Tyson Andre)
- gettext:
. Fixed bug #76517 (incorrect restoring of LDFLAGS). (sji)
- iconv:
. Fixed bug #68180 (iconv_mime_decode can return extra characters in =
a
header). (cmb)
. Fixed bug #63839 (iconv_mime_decode_headers function is skipping he=
aders).
(cmb)
. Fixed bug #60494 (iconv_mime_decode does ignore special characters)=
. (cmb)
. Fixed bug #55146 (iconv_mime_decode_headers() skips some headers). =
(cmb)
- intl:
. Fixed bug #74484 (MessageFormatter::formatMessage memory corruption=
with
11+ named placeholders). (Anatol)
- libxml:
. Fixed bug #76777 ("public id" parameter of libxml_set_external_enti=
ty_loader
callback undefined). (Ville Hukkam=E4ki)
- mbstring:
. Fixed bug #76704 (mb_detect_order return value varies based on argu=
ment
type). (cmb)
- Opcache:
. Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" =
as a phar
file). (Laruence)
- OpenSSL:
. Fixed bug #76705 (unusable ssl =3D> peer_fingerprint in
stream_context_create()). (Jakub Zelenka)
- phpdbg:
. Fixed bug #76595 (phpdbg man page contains outdated information).
(Kevin Abel)
- SPL:
. Fixed bug #68825 (Exception in DirectoryIterator::getLinkTarget()).=
(cmb)
. Fixed bug #68175 (RegexIterator pregFlags are NULL instead of 0). (=
Tim
Siebels)
- Standard:
. Fixed bug #76778 (array_reduce leaks memory if callback throws exce=
ption).
(cmb)
- zlib:
. Fixed bug #65988 (Zlib version check fails when an include/zlib/ st=
yle dir
is passed to the --with-zlib configure option). (Jay Bonci)
. Fixed bug #76709 (Minimal required zlib library is 1.2.0.4). (petk)=
Pullup ticket #5797 - requested by taca
lang/php71: security fix
Revisions pulled up:
- lang/php/phpversion.mk 1.222
- lang/php71/Makefile 1.14-1.15
- lang/php71/Makefile.php 1.7-1.8
- lang/php71/distinfo 1.39-1.40
- lang/php71/patches/patch-disable-filter-url 1.1
---
Module Name: pkgsrc
Committed By: maya
Date: Mon Jul 16 10:58:50 UTC 2018
Modified Files:
pkgsrc/lang/php70: Makefile Makefile.php
pkgsrc/lang/php71: Makefile Makefile.php
pkgsrc/lang/php72: Makefile Makefile.php
Log Message:
php*: disable global regs on i386.
Fixes PR pkg/53222 that resurfaced
Remove the previous workaround to add GCC_REQD, which isn't sufficient
any more, possibly due to enabling ssp/fortify?
XXX bumping PKGREVISION might not be sufficient, for the same reason the
GCC_REQD had to be moved to Makefile.php, it affects modules too.
---
Module Name: pkgsrc
Committed By: manu
Date: Wed Jul 18 07:33:12 UTC 2018
Modified Files:
pkgsrc/lang/php56: Makefile.php distinfo
pkgsrc/lang/php70: Makefile.php distinfo
pkgsrc/lang/php71: Makefile.php distinfo
pkgsrc/lang/php72: Makefile.php distinfo
Added Files:
pkgsrc/lang/php56/patches: patch-disable-filter-url
pkgsrc/lang/php70/patches: patch-disable-filter-url
pkgsrc/lang/php71/patches: patch-disable-filter-url
pkgsrc/lang/php72/patches: patch-disable-filter-url
Log Message:
Add pkgsrc build option disable-filter-url to disable php://filter URL
php://filter URL is a feature documented here:
http://php.net/manual/en/wrappers.php.php
Unfortunately, it allows remote control of include() behavior
beyond what many developpers expected, enabling easy dump of
PHP source files. The administrator may want to disable the
feature for security sake, and this option makes that possible.
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Jul 20 13:23:47 UTC 2018
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php71: Makefile distinfo
Log Message:
lang/php71: update to 7.1.20
19 Jul 2018, PHP 7.1.20
- Core:
. Fixed bug #76534 (PHP hangs on 'illegal string offset on string references
with an error handler). (Laruence)
. Fixed bug #76502 (Chain of mixed exceptions and errors does not serialize
properly). (Nikita)
- Date:
. Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol)
- exif:
. Fixed bug #76423 (Int Overflow lead to Heap OverFlow in
exif_thumbnail_extract of exif.c). (Stas)
. Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif
data). (Stas)
- FPM:
. Fixed bug #73342 (Vulnerability in php-fpm by changing stdin to
non-blocking). (Nikita)
- GMP:
. Fixed bug #74670 (Integer Underflow when unserializing GMP and possible
other classes). (Nikita)
- intl:
. Fixed bug #76556 (get_debug_info handler for BreakIterator shows wrong
type). (cmb)
- mbstring:
. Fixed bug #76532 (Integer overflow and excessive memory usage
in mb_strimwidth). (MarcusSchwarz)
- PGSQL:
. Fixed bug #76548 (pg_fetch_result did not fetch the next row). (Anatol)
- phpdbg:
. Fix arginfo wrt. optional/required parameters. (cmb)
- Reflection:
. Fixed bug #76536 (PHP crashes with core dump when throwing exception in
error handler). (Laruence)
. Fixed bug #75231 (ReflectionProperty#getValue() incorrectly works with
inherited classes). (Nikita)
- Standard:
. Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys).
(Laruence)
. Fixed bug #71848 (getimagesize with $imageinfo returns false). (cmb)
- Win32:
. Fixed bug #76459 (windows linkinfo lacks openbasedir check). (Anatol)
move --disable-gcc-global-regs to Makefile.php. Seems to make a previously segfaulting netbsd-8/i386's build not segfault. ap-php runs PHP's configure and builds some of its code, so it needs the same flag. Now we can stop requiring an arbitrary GCC version. The test case in the GCC bugzilla fails on all GCC versions I tested, but magically some versions of GCC manage to build a working PHP.
Fix PHP buidl on i386 The --disable-gcc-global-regs fix is not enough, we really need GCC 6 to avoid php crashing during www/ap-ph build.
Add pkgsrc build option disable-filter-url to disable php://filter URL php://filter URL is a feature documented here: http://php.net/manual/en/wrappers.php.php Unfortunately, it allows remote control of include() behavior beyond what many developpers expected, enabling easy dump of PHP source files. The administrator may want to disable the feature for security sake, and this option makes that possible.
php*: disable global regs on i386. Fixes PR pkg/53222 that resurfaced Remove the previous workaround to add GCC_REQD, which isn't sufficient any more, possibly due to enabling ssp/fortify? XXX bumping PKGREVISION might not be sufficient, for the same reason the GCC_REQD had to be moved to Makefile.php, it affects modules too.
Pullup ticket #5532 - requested by taca
lang/php71: security fix
Revisions pulled up:
- lang/php/phpversion.mk 1.186
- lang/php71/Makefile.php 1.6
- lang/php71/distinfo 1.26
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Aug 4 23:08:47 UTC 2017
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php71: Makefile.php distinfo
Log Message:
Update php71 to 7.1.8.
* pkgsrc change: enable readline PKG_OPTIONS default.
03 Aug 2017, PHP 7.1.8
- Core:
. Fixed bug #74832 (Loading PHP extension with already registered function
name leads to a crash). (jpauli)
. Fixed bug #74780 (parse_url() broken when query string contains colon).
(jhdxr)
. Fixed bug #74761 (Unary operator expected error on some systems). (petk)
. Fixed bug #73900 (Use After Free in unserialize() SplFixedArray). (nikic)
. Fixed bug #74923 (Crash when crawling through network share). (Anatol)
. Fixed bug #74913 (fixed incorrect poll.h include). (petk)
. Fixed bug #74906 (fixed incorrect errno.h include). (petk)
- Date:
. Fixed bug #74852 (property_exists returns true on unknown DateInterval
property). (jhdxr)
- OCI8:
. Fixed bug #74625 (Integer overflow in oci_bind_array_by_name). (Ingmar Runge)
- Opcache:
. Fixed bug #74623 (Infinite loop in type inference when using HTMLPurifier).
(nikic)
- OpenSSL:
. Fixed bug #74798 (pkcs7_en/decrypt does not work if \x0a is used in content).
(Anatol)
. Added OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key padding and fix bug
#71917 (openssl_open() returns junk on envelope < 16 bytes) and bug #72362
(OpenSSL Blowfish encryption is incorrect for short keys). (Jakub Zelenka)
- PDO:
. Fixed bug #69356 (PDOStatement::debugDumpParams() truncates query). (Adam
Baratz)
- SPL:
. Fixed bug #73471 (PHP freezes with AppendIterator). (jhdxr)
- SQLite3:
. Fixed bug #74883 (SQLite3::__construct() produces "out of memory" exception
with invalid flags). (Anatol)
- Wddx:
. Fixed bug #73173 (huge memleak when wddx_unserialize).
(tloi at fortinet dot com)
- zlib:
. Fixed bug #73944 (dictionary option of inflate_init() does not work).
(wapmorgan)
Update php71 to 7.1.8.
* pkgsrc change: enable readline PKG_OPTIONS default.
03 Aug 2017, PHP 7.1.8
- Core:
. Fixed bug #74832 (Loading PHP extension with already registered function
name leads to a crash). (jpauli)
. Fixed bug #74780 (parse_url() broken when query string contains colon).
(jhdxr)
. Fixed bug #74761 (Unary operator expected error on some systems). (petk)
. Fixed bug #73900 (Use After Free in unserialize() SplFixedArray). (nikic)
. Fixed bug #74923 (Crash when crawling through network share). (Anatol)
. Fixed bug #74913 (fixed incorrect poll.h include). (petk)
. Fixed bug #74906 (fixed incorrect errno.h include). (petk)
- Date:
. Fixed bug #74852 (property_exists returns true on unknown DateInterval
property). (jhdxr)
- OCI8:
. Fixed bug #74625 (Integer overflow in oci_bind_array_by_name). (Ingmar Runge)
- Opcache:
. Fixed bug #74623 (Infinite loop in type inference when using HTMLPurifier).
(nikic)
- OpenSSL:
. Fixed bug #74798 (pkcs7_en/decrypt does not work if \x0a is used in content).
(Anatol)
. Added OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key padding and fix bug
#71917 (openssl_open() returns junk on envelope < 16 bytes) and bug #72362
(OpenSSL Blowfish encryption is incorrect for short keys). (Jakub Zelenka)
- PDO:
. Fixed bug #69356 (PDOStatement::debugDumpParams() truncates query). (Adam
Baratz)
- SPL:
. Fixed bug #73471 (PHP freezes with AppendIterator). (jhdxr)
- SQLite3:
. Fixed bug #74883 (SQLite3::__construct() produces "out of memory" exception
with invalid flags). (Anatol)
- Wddx:
. Fixed bug #73173 (huge memleak when wddx_unserialize).
(tloi at fortinet dot com)
- zlib:
. Fixed bug #73944 (dictionary option of inflate_init() does not work).
(wapmorgan)
Back out the calendar option for PHP The functionnality is already avaialable from pkgsrc/time/php-calendar moduke. Thnaks to Takahiro Kambe for pointing it out.
Add calendar package option to build PHP with calendar support
Fix crash on i386 in www/ap-php build with PHP 7.x PHP 7.x on i386 crashes unless built with GCC >= 4.9. There was the necessary tweak for the lang/php70 and lang/php71 packages, but not for dependencies such www/ap-php. As a result, www/ap-php crashed during the build. We fix this by moving the GCC_REQD to Makefile.php which is included by dependent packages
Pullup ticket #5243 - requested by sevan
lang/php56: build fix
lang/php70: build fix
lang/php71: build fix
Revisions pulled up:
- lang/php56/Makefile 1.13
- lang/php56/Makefile.php 1.2
- lang/php56/PLIST 1.3
- lang/php56/distinfo 1.41
- lang/php56/patches/patch-ext_xsl_php__xsl.h 1.1
- lang/php70/Makefile 1.6
- lang/php70/Makefile.php 1.3
- lang/php70/PLIST 1.3
- lang/php70/distinfo 1.31
- lang/php70/patches/patch-ext_xsl_php__xsl.h 1.1
- lang/php71/Makefile 1.9
- lang/php71/Makefile.php 1.2
- lang/php71/PLIST 1.3
- lang/php71/distinfo 1.17
- lang/php71/patches/patch-ext_xsl_php__xsl.h 1.1
- textproc/Makefile 1.918
- textproc/php-dom/DESCR deleted
- textproc/php-dom/Makefile deleted
---
Module Name: pkgsrc
Committed By: fhajny
Date: Wed Apr 5 12:28:59 UTC 2017
Modified Files:
pkgsrc/lang/php56: Makefile Makefile.php PLIST distinfo
pkgsrc/lang/php70: Makefile Makefile.php PLIST distinfo
pkgsrc/lang/php71: Makefile Makefile.php PLIST distinfo
Added Files:
pkgsrc/lang/php56/patches: patch-ext_xsl_php__xsl.h
pkgsrc/lang/php70/patches: patch-ext_xsl_php__xsl.h
pkgsrc/lang/php71/patches: patch-ext_xsl_php__xsl.h
Log Message:
Build the dom extension embedded. This enables full functionality in xmlreader and fixes joyent/pkgsrc/issues/477. Bump PKREVISION.
---
Module Name: pkgsrc
Committed By: fhajny
Date: Wed Apr 5 12:34:47 UTC 2017
Modified Files:
pkgsrc/textproc: Makefile
Removed Files:
pkgsrc/textproc/php-dom: DESCR Makefile
Log Message:
Remove textproc/php-dom, the module is now built into the resp. PHP packages.
Build the dom extension embedded. This enables full functionality in xmlreader and fixes joyent/pkgsrc/issues/477. Bump PKREVISION.
Add php 7.1.0beta1 PHP 7.1.x builds upon 7.0.x, adding new features (so far) * Iterable type. * HTTP/2 Server Push Support in ext/curl & other ext/curl improvements * Fix inconsistent behavior in $this variable * Square bracket syntax for array destructuring assignment * Create closure from callable * More precise float values * Asynchronous Signal Handling (without ticks) in ext/pcntl. * Additional Context in pcntl_signal Handler NOTE: this is BETA, not suitable for production environment