diff options
author | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2020-03-25 11:22:19 +0000 |
---|---|---|
committer | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2020-03-25 11:22:19 +0000 |
commit | 4b71035cd94ff941b26cb05c0afab5f7a761ed62 (patch) | |
tree | 730b5dcba7d402f80e042d0cf47e646be8be0fa7 | |
parent | d7b1ed0570bd6a300fcd4481ca0374e6101aaeb9 (diff) | |
download | ports-4b71035cd94ff941b26cb05c0afab5f7a761ed62.tar.gz ports-4b71035cd94ff941b26cb05c0afab5f7a761ed62.zip |
MFH: r529014
lang/php74: Update from 7.4.3 to 7.4.4
Changelog:
Core:
Fixed bug #79329 (get_headers() silently truncates after a null byte) (CVE-2020-7066)
Fixed bug #79244 (php crashes during parsing INI file).
Fixed bug #63206 (restore_error_handler does not restore previous errors mask).
COM:
Fixed bug #66322 (COMPersistHelper::SaveToFile can save to wrong location).
Fixed bug #79242 (COM error constants don't match com_exception codes on x86).
Fixed bug #79247 (Garbage collecting variant objects segfaults).
Fixed bug #79248 (Traversing empty VT_ARRAY throws com_exception).
Fixed bug #79299 (com_print_typeinfo prints duplicate variables).
Fixed bug #79332 (php_istreams are never freed).
Fixed bug #79333 (com_print_typeinfo() leaks memory).
CURL:
Fixed bug #79019 (Copied cURL handles upload empty file).
Fixed bug #79013 (Content-Length missing when posting a curlFile with curl).
DOM:
Fixed bug #77569: (Write Access Violation in DomImplementation).
Fixed bug #79271 (DOMDocumentType::$childNodes is NULL).
Enchant:
Fixed bug #79311 (enchant_dict_suggest() fails on big endian architecture).
EXIF:
Fixed bug #79282 (Use-of-uninitialized-value in exif) (CVE-2020-7064).
Fileinfo:
Fixed bug #79283 (Segfault in libmagic patch contains a buffer overflow).
FPM:
Fixed bug #77653 (operator displayed instead of the real error message).
Fixed bug #79014 (PHP-FPM & Primary script unknown).
MBstring:
Fixed bug #79371 (mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full) (CVE-2020-7065).
MySQLi:
Fixed bug #64032 (mysqli reports different client_version).
MySQLnd:
Implemented FR #79275 (Support auth_plugin_caching_sha2_password on Windows).
Opcache:
Fixed bug #79252 (preloading causes php-fpm to segfault during exit).
PCRE:
Fixed bug #79188 (Memory corruption in preg_replace/preg_replace_callback and unicode).
Fixed bug #79241 (Segmentation fault on preg_match()).
Fixed bug #79257 (Duplicate named groups (?J) prefer last alternative even if not matched).
PDO_ODBC:
Fixed bug #79038 (PDOStatement::nextRowset() leaks column values).
Reflection:
Fixed bug #79062 (Property with heredoc default value returns false for getDocComment).
SQLite3:
Fixed bug #79294 (::columnType() may fail after SQLite3Stmt::reset()).
Standard:
Fixed bug #79254 (getenv() w/o arguments not showing changes).
Fixed bug #79265 (Improper injection of Host header when using fopen for http requests).
Zip:
Fixed bug #79315 (ZipArchive::addFile doesn't honor start/length parameters).
Changelog taken from: https://www.php.net/ChangeLog-7.php#7.4.4
Sponsored by: PHP Update Service
Approved by: ports-secteam (joneum)
Notes
Notes:
svn path=/branches/2020Q1/; revision=529093
-rw-r--r-- | devel/php74-json/files/patch-Makefile.frag | 9 | ||||
-rw-r--r-- | lang/php74/Makefile | 2 | ||||
-rw-r--r-- | lang/php74/Makefile.ext | 1 | ||||
-rw-r--r-- | lang/php74/distinfo | 6 |
4 files changed, 14 insertions, 4 deletions
diff --git a/devel/php74-json/files/patch-Makefile.frag b/devel/php74-json/files/patch-Makefile.frag new file mode 100644 index 000000000000..514a41aa61f4 --- /dev/null +++ b/devel/php74-json/files/patch-Makefile.frag @@ -0,0 +1,9 @@ +--- Makefile.frag.orig 2020-03-23 21:54:17 UTC ++++ Makefile.frag +@@ -1,5 +1,5 @@ + $(srcdir)/json_scanner.c: $(srcdir)/json_scanner.re +- @$(RE2C) $(RE2C_FLAGS) -t $(srcdir)/php_json_scanner_defs.h --no-generation-date -bci -o $@ $(srcdir)/json_scanner.re ++ $(LOCALBASE)/bin/re2c $(RE2C_FLAGS) -t $(srcdir)/php_json_scanner_defs.h --no-generation-date -bci -o $@ $(srcdir)/json_scanner.re + + $(srcdir)/json_parser.tab.c: $(srcdir)/json_parser.y + @$(YACC) --defines -l $(srcdir)/json_parser.y -o $@ diff --git a/lang/php74/Makefile b/lang/php74/Makefile index 3fca6b38602a..e9066b52ba45 100644 --- a/lang/php74/Makefile +++ b/lang/php74/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= php74 -DISTVERSION= 7.4.3 +DISTVERSION= 7.4.4 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions diff --git a/lang/php74/Makefile.ext b/lang/php74/Makefile.ext index dc47b4ae5df2..01f55e8392d3 100644 --- a/lang/php74/Makefile.ext +++ b/lang/php74/Makefile.ext @@ -167,6 +167,7 @@ USES+= pkgconfig .if ${PHP_MODNAME} == "json" CONFIGURE_ARGS+=--enable-json +BUILD_DEPENDS= re2c:devel/re2c .endif .if ${PHP_MODNAME} == "ldap" diff --git a/lang/php74/distinfo b/lang/php74/distinfo index a9c2d628f9dc..e5b91dd95c93 100644 --- a/lang/php74/distinfo +++ b/lang/php74/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1582291888 -SHA256 (php-7.4.3.tar.xz) = cf1f856d877c268124ded1ede40c9fb6142b125fdaafdc54f855120b8bc6982a -SIZE (php-7.4.3.tar.xz) = 10261432 +TIMESTAMP = 1584746791 +SHA256 (php-7.4.4.tar.xz) = 1873c4cefdd3df9a78dcffb2198bba5c2f0464f55c9c960720c84df483fca74c +SIZE (php-7.4.4.tar.xz) = 10267308 |