Commit Graph

29 Commits

Author SHA1 Message Date
Torsten Zuehlsdorff
fc9e0b8327 lang/php73: Update from 7.3.9 to 7.3.10
Changelog:

    Core:
        Fixed bug #78220 (Can't access OneDrive folder).
        Fixed bug #77922 (Double release of doc comment on inherited shadow property).
        Fixed bug #78441 (Parse error due to heredoc identifier followed by digit).
        Fixed bug #77812 (Interactive mode does not support PHP 7.3-style heredoc).
    FastCGI:
        Fixed bug #78469 (FastCGI on_accept hook is not called when using named pipes on Windows).
    FPM:
        Fixed bug #78334 (fpm log prefix message includes wrong stdout/stderr notation).
    Intl:
        Ensure IDNA2003 rules are used with idn_to_ascii() and idn_to_utf8() when requested.
    MBString:
        Fixed bug #78559 (Heap buffer overflow in mb_eregi).
    MySQLnd:
        Fixed connect_attr issues and added the _server_host connection attribute.
    ODBC:
        Fixed bug #78473 (odbc_close() closes arbitrary resources).
    PDO_MySQL:
        Fixed bug #41997 (SP call yields additional empty result set).
    sodium:
        Fixed bug #78510 (Partially uninitialized buffer returned by sodium_crypto_generichash_init()).

Changelog taken from: https://www.php.net/ChangeLog-7.php#7.3.10

No MFH requested, because the new branch should be created in two days and i won't be able to commit
it before.
2019-09-29 21:08:25 +00:00
Torsten Zuehlsdorff
fd06eb1b8a lang/php73: Update from 7.3.8 to 7.3.9
Changelog:

    Core:
        Fixed bug #78363 (Buffer overflow in zendparse).
        Fixed bug #78379 (Cast to object confuses GC, causes crash).
        Fixed bug #78412 (Generator incorrectly reports non-releasable $this as GC child).
    Curl:
        Fixed bug #77946 (Bad cURL resources returned by curl_multi_info_read()).
    Exif:
        Fixed bug #78333 (Exif crash (bus error) due to wrong alignment and invalid cast).
    FPM:
        Fixed bug #77185 (Use-after-free in FPM master event handling).
    Iconv:
        Fixed bug #78342 (Bus error in configure test for iconv //IGNORE).
    LiteSpeed:
        Updated to LiteSpeed SAPI V7.5 (Fixed clean shutdown).
    MBString:
        Fixed bug #78380 (Oniguruma 6.9.3 fixes CVEs). (CVE-2019-13224)
    MySQLnd:
        Fixed bug #78179 (MariaDB server version incorrectly detected).
        Fixed bug #78213 (Empty row pocket).
    Opcache:
        Fixed bug #77191 (Assertion failure in dce_live_ranges() when silencing is used).
    Standard:
        Fixed bug #69100 (Bus error from stream_copy_to_stream (file -> SSL stream) with invalid length).
        Fixed bug #78282 (atime and mtime mismatch).
        Fixed bug #78326 (improper memory deallocation on stream_get_contents() with fixed length buffer).
        Fixed bug #78346 (strip_tags no longer handling nested php tags).

MFH:		2019Q3
2019-09-03 20:24:13 +00:00
Torsten Zuehlsdorff
20b94380dc Update PHP 7.3 from 7.3.7 to 7.3.8
Changelog:

    Core:
        Added syslog.filter=raw option.
        Fixed bug #78212 (Segfault in built-in webserver).
    Date:
        Fixed bug #69044 (discrepency between time and microtime).
        Updated timelib to 2018.02.
    EXIF:
        Fixed bug #78256 (heap-buffer-overflow on exif_process_user_comment). (CVE-2019-11042)
        Fixed bug #78222 (heap-buffer-overflow on exif_scan_thumbnail). (CVE-2019-11041)
    FTP:
        Fixed bug #78039 (FTP with SSL memory leak).
    Libxml:
        Fixed bug #78279 (libxml_disable_entity_loader settings is shared between requests (cgi-fcgi)).
    LiteSpeed:
        Updated to LiteSpeed SAPI V7.4.3 (increased response header count limit from 100 to 1000, added crash handler to cleanly shutdown PHP request, added CloudLinux mod_lsapi mode).
        Fixed bug #76058 (After "POST data can't be buffered", using php://input makes huge tmp files).
    Openssl:
        Fixed bug #78231 (Segmentation fault upon stream_socket_accept of exported socket-to-stream).
    Opcache:
        Fixed bug #78341 (Failure to detect smart branch in DFA pass).
        Fixed bug #78189 (file cache strips last character of uname hash).
        Fixed bug #78202 (Opcache stats for cache hits are capped at 32bit NUM).
        Fixed bug #78271 (Invalid result of if-else).
        Fixed bug #78291 (opcache_get_configuration doesn't list all directives).
    PCRE:
        Fixed bug #78338 (Array cross-border reading in PCRE).
        Fixed bug #78197 (PCRE2 version check in configure fails for "##.##-xxx" version strings).
    PDO_Sqlite:
        Fixed bug #78192 (SegFault when reuse statement after schema has changed).
    Phar:
        Fixed bug #77919 (Potential UAF in Phar RSHUTDOWN).
    Phpdbg:
        Fixed bug #78297 (Include unexistent file memory leak).
    SQLite:
        Upgraded to SQLite 3.28.0.
    Standard:
        Fixed bug #78241 (touch() does not handle dates after 2038 in PHP 64-bit).
        Fixed bug #78269 (password_hash uses weak options for argon2).

Changelog taken from: https://www.php.net/ChangeLog-7.php#7.3.8

MFH:		2019Q3
2019-08-03 18:29:39 +00:00
Torsten Zuehlsdorff
9bb3de686b lang/php73: Update from 7.3.6 to 7.3.7
Changelog:

    Core:
        Fixed bug #76980 (Interface gets skipped if autoloader throws an exception).
    DOM:
        Fixed bug #78025 (segfault when accessing properties of DOMDocumentType).
    MySQLi:
        Fixed bug #77956 (When mysqli.allow_local_infile = Off, use a meaningful error message).
        Fixed bug #38546 (bindParam incorrect processing of bool types).
    MySQLnd:
        Fixed bug #77955 (Random segmentation fault in mysqlnd from php-fpm).
    Opcache:
        Fixed bug #78015 (Incorrect evaluation of expressions involving partials arrays in SCCP).
        Fixed bug #78106 (Path resolution fails if opcache disabled during request).
    OpenSSL:
        Fixed bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c).
    phpdbg:
        Fixed bug #78050 (SegFault phpdbg + opcache on include file twice).
    Sockets:
        Fixed bug #78038 (Socket_select fails when resource array contains references).
    Sodium:
        Fixed bug #78114 (segfault when calling sodium_* functions from eval).
    Standard:
        Fixed bug #77135 (Extract with EXTR_SKIP should skip $this).
        Fixed bug #77937 (preg_match failed).
    Zip:
        Fixed bug #76345 (zip.h not found).

Changelog taken from: https://www.php.net/ChangeLog-7.php#7.3.7

MFH:		2019Q3
2019-07-13 21:27:16 +00:00
Torsten Zuehlsdorff
a9b7c3a946 lang/php73: Update from 7.3.5 to 7.3.6
Changelog:

    cURL:
        Implemented FR #72189 (Add missing CURL_VERSION_* constants).
    EXIF:
        Fixed bug #77988 (heap-buffer-overflow on php_jpg_get16) (CVE-2019-11040).
    FPM:
        Fixed bug #77934 (php-fpm kill -USR2 not working).
        Fixed bug #77921 (static.php.net doesn't work anymore).
    GD:
        Fixed bug #77943 (imageantialias($image, false); does not work).
        Fixed bug #77973 (Uninitialized read in gdImageCreateFromXbm) (CVE-2019-11038).
    Iconv:
        Fixed bug #78069 (Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow) (CVE-2019-11039).
    JSON:
        Fixed bug #77843 (Use after free with json serializer).
    Opcache:
        Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset.
    PDO_MySQL:
        Fixed bug #77944 (Wrong meta pdo_type for bigint on LLP64).
    Reflection:
        Fixed bug #75186 (Inconsistent reflection of Closure:::__invoke()).
    Session:
        Fixed bug #77911 (Wrong warning for session.sid_bits_per_character).
    SOAP:
        Fixed bug #77945 (Segmentation fault when constructing SoapClient with WSDL_CACHE_BOTH).
    SPL:
        Fixed bug #77024 (SplFileObject::__toString() may return array).
    SQLite:
        Fixed bug #77967 (Bypassing open_basedir restrictions via file uris).
    Standard:
        Fixed bug #77931 (Warning for array_map mentions wrong type).
        Fixed bug #78003 (strip_tags output change since PHP 7.3).

Changelog taken from: https://www.php.net/ChangeLog-7.php#7.3.6

MFH:		2019Q2
2019-05-31 22:02:10 +00:00
Torsten Zuehlsdorff
e36808edb8 lang/php73: Upgrade from 7.3.4 to 7.3.5
Changelog:

    Core:
        Fixed bug #77903 (ArrayIterator stops iterating after offsetSet call).
    CLI:
        Fixed bug #77794 (Incorrect Date header format in built-in server).
    EXIF:
        Fixed bug #77950 (Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG).
    Interbase:
        Fixed bug #72175 (Impossibility of creating multiple connections to Interbase with php 7.x).
    Intl:
        Fixed bug #77895 (IntlDateFormatter::create fails in strict mode if $locale = null).
    litespeed:
        LiteSpeed SAPI 7.3.1, better process management, new API function litespeed_finish_request().
    LDAP:
        Fixed bug #77869 (Core dump when using server controls) (mcmic)
    Mail:
        Fixed bug #77821 (Potential heap corruption in TSendMail()).
    mbstring:
        Implemented FR #72777 (Implement regex stack limits for mbregex functions).
    MySQLi:
        Fixed bug #77773 (Unbuffered queries leak memory - MySQLi / mysqlnd).
    PCRE:
        Fixed bug #77827 (preg_match does not ignore \r in regex flags).
    PDO:
        Fixed bug #77849 (Disable cloning of PDO handle/connection objects).
    phpdbg:
        Fixed bug #76801 (too many open files).
        Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints).
        Fixed bug #77805 (phpdbg build fails when readline is shared).
    Reflection:
        Fixed bug #77772 (ReflectionClass::getMethods(null) doesn't work).
        Fixed bug #77882 (Different behavior: always calls destructor).
    Standard:
        Fixed bug #77793 (Segmentation fault in extract() when overwriting reference with itself).
        Fixed bug #77844 (Crash due to null pointer in parse_ini_string with INI_SCANNER_TYPED).
        Fixed bug #77853 (Inconsistent substr_compare behaviour with empty haystack).

Changelog taken from: https://www.php.net/ChangeLog-7.php#7.3.5

MFH:		2019Q2
2019-05-08 06:46:57 +00:00
Torsten Zuehlsdorff
f672fd2539 lang/php73: convert CPPFLAGS from /usr/local to ${LOCALBASE}
As mat point out too often: if you write /usr/local you should write ${LOCALBASE}

PR:		237722
Reported by:	mikael.urankar@gmail.com
2019-05-06 20:27:18 +00:00
Torsten Zuehlsdorff
fdac26fd29 lang/php73: enable PRCE2 JIT support
This will speed up certain PHP scripts relying on regex matches.

PR:		237722
Submitted by: Jon Tejnung <jon@herrskogen.se>
2019-05-03 22:31:46 +00:00
Antoine Brodin
c835f7625b Revert r500402 and unbreak all php73 ports
Pointy hat:	amdmi3
2019-04-30 05:28:40 +00:00
Dmitry Marakasov
e4d237e146 - Add LICENSE_FILE
- Update WWW

Approved by:	portmgr blanket
2019-04-29 09:31:25 +00:00
Torsten Zuehlsdorff
45aaa651f1 PHP: Change MOD_PRIO for imap to avoid core dumps
PR:		235917
Reported by:	Sergey Anokhin <admin@5034.ru>
MFH:		2019Q2
2019-04-11 09:49:39 +00:00
Sunpoet Po-Chuan Hsieh
40c9c7f7eb Update devel/readline to 8.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
2019-04-09 14:04:49 +00:00
Torsten Zuehlsdorff
3b3d389926 Update PHP 7.3 from 7.3.3 to 7.3.4
Changelog:

    Core:
        Fixed bug #77738 (Nullptr deref in zend_compile_expr).
        Fixed bug #77660 (Segmentation fault on break 2147483648).
        Fixed bug #77652 (Anonymous classes can lose their interface information).
        Fixed bug #77345 (Stack Overflow caused by circular reference in garbage collection).
        Fixed bug #76956 (Wrong value for 'syslog.filter' documented in php.ini).
    Apache2Handler:
        Fixed bug #77648 (BOM in sapi/apache2handler/php_functions.c).
    Bcmath:
        Fixed bug #77742 (bcpow() implementation related to gcc compiler optimization).
    CLI Server:
        Fixed bug #77722 (Incorrect IP set to $_SERVER['REMOTE_ADDR'] on the localhost).
    COM:
        Fixed bug #77578 (Crash when php unload).
    EXIF:
        Fixed bug #77753 (Heap-buffer-overflow in php_ifd_get32s).
        Fixed bug #77831 (Heap-buffer-overflow in exif_iif_add_value).
    FPM:
        Fixed bug #77677 (FPM fails to build on AIX due to missing WCOREDUMP).
    GD:
        Fixed bug #77700 (Writing truecolor images as GIF ignores interlace flag).
    MySQLi:
        Fixed bug #77597 (mysqli_fetch_field hangs scripts).
    Opcache:
        Fixed bug #77743 (Incorrect pi node insertion for jmpznz with identical successors).
    PCRE:
        Fixed bug #76127 (preg_split does not raise an error on invalid UTF-8).
    Phar:
        Fixed bug #77697 (Crash on Big_Endian platform).
    phpdbg:
        Fixed bug #77767 (phpdbg break cmd aliases listed in help do not match actual aliases).
    sodium:
        Fixed bug #77646 (sign_detached() strings not terminated).
    SQLite3:
        Added sqlite3.defensive INI directive.
    Standard:
        Fixed bug #77664 (Segmentation fault when using undefined constant in custom wrapper).
        Fixed bug #77669 (Crash in extract() when overwriting extracted array).
        Fixed bug #76717 (var_export() does not create a parsable value for PHP_INT_MIN).
        Fixed bug #77765 (FTP stream wrapper should set the directory as executable).

Changelog taken from: https://www.php.net/ChangeLog-7.php#7.3.4

MFH:		2019Q2
2019-04-05 13:51:57 +00:00
Torsten Zuehlsdorff
d4e048b22a lang/php73: Upgrade from 7.3.2 to 7.3.3
Changelog:

    Core:
        Fixed bug #77589 (Core dump using parse_ini_string with numeric sections).
        Fixed bug #77329 (Buffer Overflow via overly long Error Messages).
        Fixed bug #77494 (Disabling class causes segfault on member access).
        Fixed bug #77498 (Custom extension Segmentation fault when declare static property).
        Fixed bug #77530 (PHP crashes when parsing `(2)::class`).
        Fixed bug #77546 (iptcembed broken function).
        Fixed bug #77630 (rename() across the device may allow unwanted access during processing).
    COM:
        Fixed bug #77621 (Already defined constants are not properly reported).
        Fixed bug #77626 (Persistence confusion in php_com_import_typelib()).
    EXIF:
        Fixed bug #77509 (Uninitialized read in exif_process_IFD_in_TIFF).
        Fixed bug #77540 (Invalid Read on exif_process_SOFn).
        Fixed bug #77563 (Uninitialized read in exif_process_IFD_in_MAKERNOTE).
        Fixed bug #77659 (Uninitialized read in exif_process_IFD_in_MAKERNOTE).
    Mbstring:
        Fixed bug #77514 (mb_ereg_replace() with trailing backslash adds null byte).
    MySQL:
        Disabled LOCAL INFILE by default, can be enabled using php.ini directive mysqli.allow_local_infile for mysqli, or PDO::MYSQL_ATTR_LOCAL_INFILE attribute for pdo_mysql.
    OpenSSL:
        Fixed bug #77390 (feof might hang on TLS streams in case of fragmented TLS records).
    PDO_OCI:
        Support Oracle Database tracing attributes ACTION, MODULE, CLIENT_INFO, and CLIENT_IDENTIFIER.
    PHAR:
        Fixed bug #77396 (Null Pointer Dereference in phar_create_or_parse_filename).
        Fixed bug #77586 (phar_tar_writeheaders_int() buffer overflow).
    phpdbg:
        Fixed bug #76596 (phpdbg support for display_errors=stderr).
    SPL:
        Fixed bug #51068 (DirectoryIterator glob:// don't support current path relative queries).
        Fixed bug #77431 (openFile() silently truncates after a null byte).
    Standard:
        Fixed bug #77552 (Unintialized php_stream_statbuf in stat functions).
        Fixed bug #77612 (setcookie() sets incorrect SameSite header if all of its options filled).

Changelog taken from: http://www.php.net/ChangeLog-7.php#7.3.3

MFH:		2019Q1
2019-03-08 15:49:06 +00:00
Torsten Zuehlsdorff
d9625e2b8f lang/php73: Upgrade from 7.3.1 to 7.3.2
Changelog:

    Core:
        Fixed bug #77369 (memcpy with negative length via crafted DNS response).
        Fixed bug #77387 (Recursion detection broken when printing GLOBALS).
        Fixed bug #77376 ("undefined function" message no longer includes namespace).
        Fixed bug #77357 (base64_encode / base64_decode doest not work on nested VM).
        Fixed bug #77339 (__callStatic may get incorrect arguments).
        Fixed bug #77317 (__DIR__, __FILE__, realpath() reveal physical path for subst virtual drive).
        Fixed bug #77263 (Segfault when using 2 RecursiveFilterIterator).
        Fixed bug #77447 (PHP 7.3 built with ASAN crashes in zend_cpu_supports_avx2).
        Fixed bug #77484 (Zend engine crashes when calling realpath in invalid working dir).
    Curl:
        Fixed bug #76675 (Segfault with H2 server push).
    Fileinfo:
        Fixed bug #77346 (webm files incorrectly detected as application/octet-stream).
    FPM:
        Fixed bug #77430 (php-fpm crashes with Main process exited, code=dumped, status=11/SEGV).
    GD:
        Fixed bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border).
        Fixed bug #73614 (gdImageFilledArc() doesn't properly draw pies).
        Fixed bug #77272 (imagescale() may return image resource on failure).
        Fixed bug #77391 (1bpp BMPs may fail to be loaded).
        Fixed bug #77479 (imagewbmp() segfaults with very large images).
    ldap:
        Fixed bug #77440 (ldap_bind using ldaps or ldap_start_tls()=exception in libcrypto-1_1-x64.dll).
    Mbstring:
        Fixed bug #77428 (mb_ereg_replace() doesn't replace a substitution variable).
        Fixed bug #77454 (mb_scrub() silently truncates after a null byte).
    MySQLnd:
        Fixed bug #77308 (Unbuffered queries memory leak).
        Fixed bug #75684 (In mysqlnd_ext_plugin.h the plugin methods family has no external visibility).
    Opcache:
        Fixed bug #77266 (Assertion failed in dce_live_ranges).
        Fixed bug #77257 (value of variable assigned in a switch() construct gets lost).
        Fixed bug #77434 (php-fpm workers are segfaulting in zend_gc_addre).
        Fixed bug #77361 (configure fails on 64-bit AIX when opcache enabled).
        Fixed bug #77287 (Opcache literal compaction is incompatible with EXT opcodes).
    PCRE:
        Fixed bug #77338 (get_browser with empty string).
    PDO:
        Fixed bug #77273 (array_walk_recursive corrupts value types leading to PDO failure).
    PDO MySQL:
        Fixed bug #77289 (PDO MySQL segfaults with persistent connection).
    SOAP:
        Fixed bug #77410 (Segmentation Fault when executing method with an empty parameter).
    Sockets:
        Fixed bug #76839 (socket_recvfrom may return an invalid 'from' address on MacOS).
    SPL:
        Fixed bug #77298 (segfault occurs when add property to unserialized empty ArrayObject).
    Standard:
        Fixed bug #77395 (segfault about array_multisort).
        Fixed bug #77439 (parse_str segfaults when inserting item into existing array).

Changelog taken from: http://www.php.net/ChangeLog-7.php#7.3.2

PR:		235576 235578
MFH:		2019Q1
2019-02-08 11:09:22 +00:00
Torsten Zuehlsdorff
9701585d4e lang/php73: disable DTRACE option on PowerPC
DTRACE causes ld(1) link probe failures and therefore fails the build.

PR:           233850
Submitted by: Chip Cuccio <chip.cuccio@gmail.com>
MFH:		  2019Q1
2019-01-23 10:48:57 +00:00
Torsten Zuehlsdorff
d32899cde3 lang/php7*: Rename option MYSQL to MYSQLND
Renaming the option to be inline with the already existing MYSQLND option
in the mysqli and pdo_mysqli ports.

Reported by:	Jarrod Sayers <jarrod@downtools.com.au>
2019-01-21 13:19:30 +00:00
Torsten Zuehlsdorff
ffa9cd8f50 lang/php73: Make enabling MYSQL native driver optional
Currently PHP is always compiled with --enable-mysqlnd, to allow the use
of the native MySQL Native Driver. MySQL Native Driver is a replacement for the
MySQL Client Library.

While this is handy when working with MySQL there is no need for
it when MySQL is *not* used at all. This happens frequently when
working without databases or simply with other databases.

To avoid POLA the newly introduced option is a default option.

Disabling it will reduce the size of the package by ca. 175 KB,
which also helps in modern constraint VM run environments.

Submitted by:	Reko Turja <reko.turja@liukuma.net>
2019-01-17 10:41:25 +00:00
Torsten Zuehlsdorff
4a9033e840 lang/php73: Upgrade from 7.3.0 to 7.3.1
Changelog:

    Core:
        Fixed bug #76654 (Build failure on Mac OS X on 32-bit Intel).
        Fixed bug #71041 (zend_signal_startup() needs ZEND_API).
        Fixed bug #76046 (PHP generates "FE_FREE" opcode on the wrong line).
        Fixed bug #77291 (magic methods inherited from a trait may be ignored).
    CURL:
        Fixed bug #77264 (curl_getinfo returning microseconds, not seconds).
    COM:
        Fixed bug #77177 (Serializing or unserializing COM objects crashes).
    Exif:
        Fixed bug #77184 (Unsigned rational numbers are written out as signed rationals).
    GD:
        Fixed bug #77195 (Incorrect error handling of imagecreatefromjpeg()).
        Fixed bug #77198 (auto cropping has insufficient precision).
        Fixed bug #77200 (imagecropauto(…, GD_CROP_SIDES) crops left but not right).
        Fixed bug #77269 (efree() on uninitialized Heap data in imagescale leads to use-after-free).
        Fixed bug #77270 (imagecolormatch Out Of Bounds Write on Heap).
    MBString:
        Fixed bug #77367 (Negative size parameter in mb_split).
        Fixed bug #77370 (Buffer overflow on mb regex functions - fetch_token).
        Fixed bug #77371 (heap buffer overflow in mb regex functions - compile_string_node).
        Fixed bug #77381 (heap buffer overflow in multibyte match_at).
        Fixed bug #77382 (heap buffer overflow due to incorrect length in expand_case_fold_string).
        Fixed bug #77385 (buffer overflow in fetch_token).
        Fixed bug #77394 (Buffer overflow in multibyte case folding - unicode).
        Fixed bug #77418 (Heap overflow in utf32be_mbc_to_code).
    OCI8:
        Fixed bug #76804 (oci_pconnect with OCI_CRED_EXT not working).
        Added oci_set_call_timeout() for call timeouts.
        Added oci_set_db_operation() for the DBOP end-to-end-tracing attribute.
    Opcache:
        Fixed bug #77215 (CFG assertion failure on multiple finalizing switch frees in one block).
        Fixed bug #77275 (OPcache optimization problem for ArrayAccess->offsetGet).
    PCRE:
        Fixed bug #77193 (Infinite loop in preg_replace_callback).
    PDO:
        Handle invalid index passed to PDOStatement::fetchColumn() as error.
    Phar:
        Fixed bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext).
    Soap:
        Fixed bug #77088 (Segfault when using SoapClient with null options).
    Sockets:
        Fixed bug #77136 (Unsupported IPV6_RECVPKTINFO constants on macOS).
    Sodium:
        Fixed bug #77297 (SodiumException segfaults on PHP 7.3).
    SPL:
        Fixed bug #77359 (spl_autoload causes segfault).
        Fixed bug #77360 (class_uses causes segfault).
    SQLite3:
        Fixed bug #77051 (Issue with re-binding on SQLite3).
    Xmlrpc:
        Fixed bug #77242 (heap out of bounds read in xmlrpc_decode()).
        Fixed bug #77380 (Global out of bounds read in xmlrpc base64 code).

Changelog taken from: http://www.php.net/ChangeLog-7.php#7.3.1

Also removing the patch committed in r489721. The patch disables the use of
ifuncs and is part of the new relase 7.3.1.

MFH:		2019Q1
2019-01-14 11:05:43 +00:00
Torsten Zuehlsdorff
dfd2e3f597 lang/php73: Fix "Bus error (core dumped)" by disabling ifuncs
PHP 7.3 uses ifuncs optimisations which generates a list of problems on FreeBSD:
https://bugs.php.net/bug.php?id=77284
https://bugs.php.net/bug.php?id=77279
https://bugs.php.net/bug.php?id=77261

Therefore ifuncs will be disabled in PHP 7.3.1. To make it usable until the release,
we import the patch until then:
291589114a

PR:		233024
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
MFH:		2019Q1
2019-01-08 15:54:23 +00:00
Torsten Zuehlsdorff
b83be14ee6 lang/php73: Upgrade from RC6 to 7.3.0
Changelog: http://www.php.net/ChangeLog-7.php#7.3.0
2018-12-07 07:50:31 +00:00
Jochen Neumeister
6253b1e00e Update to RC6
Changelog: https://github.com/php/php-src/blob/php-7.3.0RC6/NEWS

Approved by:	tz (implicit)
Sponsored by:	Netzkommune GmbH
2018-11-23 10:28:43 +00:00
Ed Maste
8da74486b6 lang/php73: link with -znotext on i386
This port links some non-PIC code, which fails with lld as it defaults
to disallowing relocations against read-only segments. For i386 we can
just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's
existing default.

PR:		214864, 230207
Sponsored by:	The FreeBSD Foundation
2018-11-22 20:20:58 +00:00
Jochen Neumeister
ce1ed0e645 Update to RC5
Changelog: https://github.com/php/php-src/blob/php-7.3.0RC5/NEWS

Approved by:	tz (implicit)
Sponsored by:	Netzkommune GmbH
2018-11-07 21:05:55 +00:00
Jochen Neumeister
0b78c1ac33 Update to RC4
Changelog: https://github.com/php/php-src/blob/php-7.3.0RC4/NEWS

Approved by:	tz (implicit)
Sponsored by:	Netzkommune GmbH
2018-10-26 10:15:42 +00:00
Jochen Neumeister
bd6de34b84 Update to RC3
Changelog: https://github.com/php/php-src/blob/php-7.3.0RC3/NEWS

Approved by:	tz (implicit)
Sponsored by:	Netzkommune GmbH
2018-10-12 14:19:56 +00:00
Jochen Neumeister
f53adb8366 bump PORTREVISON after fix in r481618
Approved by:	tz (implicit)
Sponsored by:	Netzkommune HmbH
2018-10-09 17:32:29 +00:00
Torsten Zuehlsdorff
676a54f7ce PHP 7.3: Convert PCRE2 dependency from BUILD to LIB_DEPENDS
This fixes fallout located to PEAR.

Reported by:	mat, antoine
2018-10-09 10:02:36 +00:00
Torsten Zuehlsdorff
3a5533b48d Add PHP 7.3 RC2 to the ports-tree.
Notable changes:
- Switch from PCRE to PCRE2
- Many modules now require PCRE2 for building
- graphics/php73-gd: X11 option is no longer default

Changes to Mk/Uses/php.mk approved by ale
2018-10-08 08:52:51 +00:00