head 1.18; access; symbols pkgsrc-2026Q3:1.12.0.2 pkgsrc-2026Q3-base:1.12 pkgsrc-2026Q2:1.11.0.4 pkgsrc-2026Q2-base:1.11 pkgsrc-2026Q1:1.11.0.2 pkgsrc-2026Q1-base:1.11 pkgsrc-2025Q4:1.9.0.2 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.7.0.2 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.6.0.2 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @# @; 1.18 date 2026.11.19.14.59.03; author taca; state Exp; branches; next 1.17; commitid VHBqBeUViOCU954H; 1.17 date 2026.11.11.11.54.16; author wiz; state Exp; branches; next 1.16; commitid ibfBdhxkigxin23H; 1.16 date 2026.10.21.13.58.37; author taca; state Exp; branches; next 1.15; commitid qpfNfIbpT67ZKl0H; 1.15 date 2026.09.29.06.06.17; author wiz; state Exp; branches; next 1.14; commitid qal4xgy1mkCzPtXG; 1.14 date 2026.09.27.11.37.20; author tnn; state Exp; branches; next 1.13; commitid QJQtnAYom0oZIfXG; 1.13 date 2026.09.24.15.44.50; author taca; state Exp; branches; next 1.12; commitid qlrMExEbALCddTWG; 1.12 date 2026.09.02.19.03.13; author wiz; state Exp; branches 1.12.2.1; next 1.11; commitid vXszxoxOqka005UG; 1.11 date 2026.01.19.15.32.17; author taca; state Exp; branches; next 1.10; commitid MCri1JFAi6aa71rG; 1.10 date 2026.01.07.08.47.40; author wiz; state Exp; branches; next 1.9; commitid 1wQ3ICD8eebefrpG; 1.9 date 2025.11.23.12.40.14; author taca; state Exp; branches; next 1.8; commitid gXkf5vpI6KFGZFjG; 1.8 date 2025.10.23.20.38.05; author wiz; state Exp; branches; next 1.7; commitid 1V2hBZn9ypXaCJfG; 1.7 date 2025.07.04.01.21.45; author taca; state Exp; branches; next 1.6; commitid qGlr0OMPgEMENm1G; 1.6 date 2025.06.11.14.58.27; author taca; state Exp; branches 1.6.2.1; next 1.5; commitid kK3M1Ujj4BWR3uYF; 1.5 date 2025.05.19.15.04.50; author taca; state Exp; branches; next 1.4; commitid NPWrzaDmluRZPwVF; 1.4 date 2025.05.17.05.37.25; author taca; state Exp; branches; next 1.3; commitid Rcsevkfr51qkLdVF; 1.3 date 2025.05.14.15.54.26; author jperkin; state Exp; branches; next 1.2; commitid LlyCFvBHXA9ufTUF; 1.2 date 2025.04.17.21.51.22; author wiz; state Exp; branches; next 1.1; commitid xcIXAVA292fk6sRF; 1.1 date 2025.02.22.15.27.55; author taca; state Exp; branches; next ; commitid 09vYOZ688SojJtKF; 1.12.2.1 date 2026.10.21.00.51.17; author maya; state Exp; branches; next ; commitid 6HSg68ZnordUoh0H; 1.6.2.1 date 2025.07.04.15.25.33; author maya; state Exp; branches; next ; commitid HEj8faKBaOLstr1G; desc @@ 1.18 log @lang/php84: update to 8.4.28 8.4.28 (2026-11-19) - Core: . Fixed bug GH-24184 (System ID not being reinitialized after an Apache graceful restart, potentially causing incompatible OPcache file cache entries to be reused). (Levi Morrison) . Fixed memory leak when an exception already contains the pending exception in its previous chain. (Edmond) . Fixed bug GH-23979 (Nullsafe operator must not flush delayed oplines of an enclosing function). (ndossche) . Fixed memory manager keeping a block reallocated to exactly the size of the next smaller bin in its larger bin, which efree_size() then freed into the wrong one. (Marc Bennewitz) . Fixed bug GH-24218 (Invalid opcode for count() of a literal array without SCCP). (lazerg) . Fix throwing behaviour with recursive arrays in VM. (ndossche) . Fixed skipped catch block when switching fibers during exception unwinding (Nicolas Grekas) . Fix escape analysis for objects implementing ArrayAccess. (ndossche, Arnaud) . Fix UAF for resolved callable zval. (EdmondDantes) . Fix memory leak for nested HTTP calls. (EdmondDantes) . Fixed pthread attribute leak in zend_call_stack_get_netbsd_pthread(). (David Carlier) . Fixed bug GH-24321 (ZTS: global_map_ptr_last survives zend_shutdown(), so an in-process engine restart keeps growing the map_ptr table). (David Carlier) . Fix function and constant imports in compile_to_ast and add support for grouping. (Klaas Skelte van der Werf) . Fixed bug GH-24265 (Unwind/GracefulExit discarded in zend_fiber_execute()). (David Carlier) . Fixed bug GH-24668 (zend_set_local_var() leaks the previous value of an existing CV). (yasu20200121web-prog, lazerg) . Fixed unmapping of an unrelated range when the aligned chunk mmap fails (Marti2203). . Fixed bug GH-24989 (Use-after-free in GC when an exception is thrown). (David Carlier) . Fixed bug GH-24534 (Segfault in zend_try_early_bind when a parent class autoloads its cached child during linking). (David Carlier) . Fixed AST printing dropping final on class constants and properties, and abstract on properties. (Jorg Sowa) . Fixed AST export of readonly anonymous classes dropping the readonly modifier. (Jorg Sowa) . Fixed memory leak of a duplicate named argument in new in initializer. (Jorg Sowa) . Fixed bug GH-25061 ($x = $x - 1 on null is optimized to PRE_DEC). (Lazizbek Ergashev) . Fixed bug GH-24480 (Finally block running a second time when a VM interrupt throws as the finally block returns to a "return" in its try block). (C. Scott Ananian) - CGI: . Fixed GHSA-5j3f-64r7-f564 (PHP-CGI out-of-bounds read and write during PATH_INFO correction). (CVE-2026-129538) (Jakub Zelenka) - CLI: . Fixed bug GH-24697 (PHP_HTTP_PARSER_STRICT build option doesn't work). (ndossche, devnexen) . Fixed bug GH-9670 (List -C and -q in the CLI help). (Juan Versolato Lopes) . Fixed crash and leak in the built-in server on repeated request headers. (David Carlier) - COM: . Fixed bug GH-25008 (com_event_sink() and com_print_typeinfo() crash resolving an event source with no loaded typelib). (Ilia Alshanetsky) - Curl: . Fix use-after-free of CURLOPT_STDERR stream on cloned curl handle. (lacatoire) . Fix UAF on clone due to callback data pointer mismatch. (ndossche) - Date: . Fixed bug GH-20503 (Assertion failure with ext/date DateInterval property hash construction). (heathdutton) . Fixed bug GH-24350 (MINIT reads a stale external tz database after an in-process module restart). (Lazizbek Ergashev) . Fixed GHSA-gr4f-wgx5-jpfv (Timezone cache use-after-free can lead to remote code execution). (CVE-2026-129496) (Ilija Tovilo) - DBA: . Fixed bug GH-24641 (ndbm backend never checks dbm_open() return value, NULL deref on first use after a failed open). (Girgias) - DOM: . Fixed a use-after-free when reflected attribute setters replace an attribute whose child still has a live wrapper. (Jakub Zelenka) . Fixed bug GH-23352 (UAF reading an attribute value node retained across DOMDocument::adoptNode()). (David Carlier) . Fixed bug GH-24260 (querySelectorAll() returns duplicate elements for selector lists). (fivefilters) . Fixed bug GH-23334 (Use-after-free in php_dom_free_templated_content()). (David Carlier, ndossche) . Fixed bug GH-22077 (UAF in custom XPath function). (Joe Afflerbach) . Fixed bug GH-22554 (use-after-free with XPath callback returning a node from a foreign document). (David Carlier) . Fixed DOMXPath crash wrapping a foreign node after a nodeset callback. (Ilia Alshanetsky) . Fix error paths in dom_xml_serializing_a_document_node(). (ndossche) . Fixed use-after-free on namespace axis results with a foreign-document XPath callback node. (David Carlier) . Fixed GHSA-x8r7-mg3g-74hg (Double free during DOM XML serialization). (CVE-2026-129501) (ndossche) - FFI: . Fixed bug GH-24582 (Memory leaks in ext/ffi parser when finalize_type() bails out). (matyapiro31, David Carlier) - FPM: . Fixed bug GH-24229 (fcgi_close() passes shutdown() a literal 1, which is SHUT_RD in WASI). (Ryosuke Ishibashi) . Fixed crash and stack memory disclosure in the worker output logging with a pool name longer than the message prefix buffer or log_limit. (Martin Mirchev) . Fixed GHSA-jm4m-qfqx-967m (PHP-FPM epoll use-after-free can lead to local privilege escalation). (CVE-2026-129291) (Ian P. Christian, ndossche) . Fixed memory leaks of the _GET string on the status page error and HEAD request paths. (Marcel Hernandez) . Fixed use-after-free of the scoreboard copy when logging invalid status values. (Marcel Hernandez) . Fixed null pointer dereference in fpm_get_status() when the scoreboard copy fails. (Marcel Hernandez) . Fixed GHSA-qc49-hpvq-g2w6 (PHP-FPM request smuggling through an unread HTTP request body). (CVE-2026-129289) (Jakub Zelenka) . Fixed GHSA-3mg3-cr28-46gc (PHP-FPM status endpoint XSS via unescaped user and script fields). (CVE-2026-129292) (Jakub Zelenka) - Fileinfo: . Fixed bug GH-24289 (finfo::file() reports the wrong argument number for an invalid $filename). (Lazizbek Ergashev) - FTP: . Fix double free in ext/ftp data_accept() on accept failure. (alepacheco) - GD: . Fixed imagetruecolortopalette() error message. (Marc Bennewitz) - Hash: . Fix GOST and Snefru digests of 512 MiB or more. (Martin Mirchev) - Intl: . Fixed IntlDateFormatter parse functions truncating an $offset below INT_MIN. (Marc Bennewitz) - JSON: . Fixed json_encode() leaving the recursion guard set on objects with hooked properties after running out of memory while escaping a property name. (adapik) . Fixed json_encode() silently narrowing $depth values outside the int range, which wrapped to an unrelated depth. (cuishuang) . Fixed json_encode() continuing to encode after an array or object key failed to encode. (Ilia Alshanetsky) - LDAP: . Fix crash in ldap_exop_sync() when $response_data is omitted. (lacatoire) - MBString: . Fixed bug GH-23958 (truncated encoding names resolving to full names). (Kamil Tekiela) . Fixed out-of-bounds read in php_mb_rfc1867_getword() on a multibyte lead byte at the end of a multipart field name. (Jorg Sowa) . Fixed negative mbstring.regex_stack_limit and mbstring.regex_retry_limit on 32bit platforms. (Marc Bennewitz) - MySQLnd: . Fixed bug GH-24293 (Segfault on connect with an empty password to a MariaDB PAM account). (lazerg) . Fixed bug GH-24609 (OK packets without an info message rejected on x32 builds). (lazerg) - ODBC: . Fixed bug GH-24736 (php_odbc_connstr_is_quoted() treats a value with no closing brace as quoted). (lazerg) . Fixed bug GH-25036 (odbc_prepare() corrupts the heap when the driver cannot describe a parameter). (Ilia Alshanetsky) - Opcache: . Fixed bug GH-24397 (Assertion failure when dumping JIT IR). (Ilia Alshanetsky) . Fixed tracing JIT returning a wrapped integer instead of a float on integer overflow after an integer was compared with a float or numeric-string literal. (Ilia Alshanetsky) . Fixed bug GH-20890 (Segfault in zval_undefined_cv with non-simple property hook with minimal tracing JIT). (ndossche) . Fixed bug GH-17626 (JIT corrupts an opline handler when blacklisting a root trace at the opcache.jit_max_root_traces limit, causing spurious "Too few arguments" errors and crashes). (RV7PR) . Fix type inference of ADD_ARRAY_UNPACK with integer keys. (ndossche) . Fix too wide type inference for ASSIGN_DIM_OP. (ndossche) . Fix OSS-Fuzz #568005340 (FETCH_DIM_FUNC_ARG partial conversion). (ndossche) . Fixed bug GH-24218 (Invalid opcode for count() of a literal array when SCCP is disabled). (Lazizbek Ergashev) . Fixed bug GH-24337 (JIT: segfault when decrementing a non-numeric string property). (Lazizbek Ergashev) . Fix SIGFPE on LONG_MIN % -1 with a constant divisor. (waroad) . Fixed bug GH-24388 (Tracing JIT: segfault when a trace runs out of side exits). (Lazizbek Ergashev) . Fixed bug GH-24391 (JIT switch on constant null takes default instead of case 0). (ndossche) . Fixed bug GH-24206 (Tracing JIT loses loop-carried CV when its loop PHI is reloaded from memory). (ndossche) . Fixed bug GH-24386 (JIT: register operand must be loaded before the typed reference check). (ndossche) . Fixed bug GH-24437 (JIT: Fix OP_DATA read from an unwritten slot in zend_jit_assign_dim_op()). (waroad) . Fixed bug GH-24398 (JIT: minimal JIT segfault when a hooked property is passed to a run-time-resolved function). (waroad) . Fixed bug GH-24389 (Tracing JIT: type guard on entry of an inlined call exits with an uninitialized opline). (waroad) . Fixed use-after-free in JIT ASSIGN_DIM_OP when concatenating into an empty array element. (jorgsowa) . Fixed bug GH-24396 (Assertion failure in zend_jit_def_reg() "reg forwarding" with chained Pi nodes). (ndossche) . Fixed JIT treating an array as packed after a string key write turned it into a hash. (jorgsowa) . Fixed bug GH-24436 (Tracing JIT: keep the SEND_VAL type guard after assigning to a reference). (waroad) . Fixed bug GH-17733 (System entropy does not take into account function order, resulting in wrong functions possibly called in different configurations). (ndossche) . Fixed bug GH-24438 (Preserve indirect types in JIT side traces). (aasul) . Fixed bug GH-24577 (CE-cache flag on interned class name visible before map_ptr offset). (prateekbhujel) . Fixed tracing JIT losing register-allocated CVs when an interrupt is handled at the end of a loop trace. (Levi Morrison) . Fixed bug GH-24675 (function with >~1.7 MB of machine code corrupts JIT buffer accounting). (ndossche) . Call orig_post_shutdown_cb(). (ndossche) . Fixed JIT segfault on switch over a string reference holding a non-string value. (jorgsowa) . Fixed AArch64 JIT encoding of invalid logical immediates. (jorgsowa) . Fixed unsound shift_left_overflows range when shift wraps. (mkrishna793) . Fix block pass dropping ZEND_FAST_CALL OP2 definition. (Mrmaxmeier) . Fixed bug GH-23626 (orphaned temporaries cause leaks and assertions). (ndossche, khaledalam) . Fix preloaded functions JIT-compiled on load being overwritten after restart. (Pavel Gushcha) . Fix opcache.interned_strings_buffer being 0 in threads started later (ZTS). (Pavel Gushcha) . Fixed potential infinite recursion/hang (HYBRID/TAILCALL respectively) when zend_interrupt_function resets EG(vm_interrupt). (Levi Morrison) . Fixed preloaded functions not JIT-compiled again after OPcache restart. (Jorg Sowa) . Fixed bug GH-24988 (Incorrect opcode range check causes bugs with exceptions in function JIT). (ndossche, Jorg Sowa) . Fix opcache phar check. (ndossche) - OpenSSL: . Fixed build and test compatibility with OpenSSL 4.0 and 4.1. (Sam James, Weilin Du, Shivam Mathur) . Fixed bug GH-24784 (openssl_pkcs7_read() and openssl_cms_read() overwrite certificates with CRLs). (Alexander Danilov) - PDO: . Fixed invalid ATTR_ORACLE_NULLS values being accepted and truncated. (Ilia Alshanetsky) . Fixed a duplicate warning when ATTR_STATEMENT_CLASS is rejected on a persistent connection. (Ilia Alshanetsky) - PDO_Firebird: . Fixed bug GH-25006 (getColumnMeta() reads out of bounds for an out-of-range column index). (Ilia Alshanetsky) - PDO_PGSQL: . Fixed a use-after-free when a persistent connection receives a notice after the request that called Pdo\Pgsql::setNoticeCallback() has ended. (Ilia Alshanetsky) - PDO_SQLite: . Fixed bug GH-24990 (Statement unusable after a failed execute()). (lazerg) . Fixed bug GH-25021 (SQLite createFunction corrupts large integers). (mvorisek) - Phar: . Fixed bug GH-25093 (Phar::webPhar() redirect reads past the request URI). (lazerg) . Fixed bug GH-25089 (Heap buffer over-read via crafted alias size in zip-based phar). (Lazizbek Ergashev) . Fixed bug GH-8469 (Phar::decompressFiles() and Phar::compressFiles() retain compressed contents after changing compression). (Raphael Paez) . Fixed bug GH-24740 (Oversized tar metadata exhausts the memory limit). (Lazizbek Ergashev) . Fixed bug GH-25090 (UAF in phar rename() of an entry with metadata). (Lazizbek Ergashev) . Fixed bug GH-25091 (UAF in phar rename() when source and destination are equal). (Lazizbek Ergashev) . Fixed bug GH-25092 (Double free in Phar::copy() on link and mounted entries). (Lazizbek Ergashev) . Fixed bug GH-24531 (Crash when modifying a zip-based phar whose file was renamed). (Ilia Alshanetsky) . Fixed GHSA-68fq-fh7h-f8gr (PHAR OpenSSL signature bypass via algorithm downgrade). (CVE-2026-128090) (Alexandre Daubois) - Phpdbg: . Fix wrong command names. (ndossche, Weilin Du) . Fixed bug GH-22480 (Use-after-free when re-watching an already-watched variable). (Ilia Alshanetsky) . Fixed over-read when watching a packed array element. (Ilia Alshanetsky) . Fixed double free of watch element chains. (Arnaud) - Readline: . Fixed a crash in readline_info() when completion_append_character contains a non-ASCII byte. (Weilin Du) - SAPI: . Fixed infinite loop in sapi_header_op() for headers of 4 GiB or more. (Martin Mirchev) - SOAP: . Fixed use of uninitialized func in do_request() on OOM bailout. (David Carlier) . Fixed GHSA-q23r-hr55-xmpg (SOAP information disclosure through malformed array dimensions). (CVE-2026-15353) (Alexandre Daubois) . Fixed GHSA-4646-p932-gw34 (SOAP use-after-free when processing DTD entity references). (CVE-2026-129506) (Jakub Zelenka) - Session: . Validate whole session ID instead of stopping at the first NUL byte. (Sjoerd Langkemper) . Fixed GHSA-fm2m-fjf5-v3cp (Partially overwritten session files can lead to remote code execution). (CVE-2026-126714) (Ilija Tovilo) . Fixed GHSA-658j-r8rw-q6mx (Session serializer mismatch can lead to remote code execution). (CVE-2026-115560) (Arnaud Le Blanc) . Fixed GHSA-g3vh-838c-65v7 (Use-after-free after interrupted session shutdown). (CVE-2026-129481) (Arnaud Le Blanc, Jakub Zelenka) - SimpleXML: . Fixed bug GH-24488 (GC double-frees the SimpleXMLElement properties table). (evankford) - SPL: . Fixed bug GH-24264 (Unwind/GracefulExit discarded in spl_iterators.c). (Lazizbek Ergashev) - Sockets: . Fixed bug GH-24748 (socket_set_option() crashes with declared object properties). (Lazizbek Ergashev) - Standard: . Fixed memory leaks in checkdnsrr() and dns_check_record() on Windows. (Ilia Alshanetsky) . Fixed __unserialize() and __wakeup() being called for objects with a missing closing brace. (Ilia Alshanetsky) . Fixed bug GH-24308 (Request shutdown calls closelog() even when syslog was not opened by PHP). (lazerg) . Fixed bug GH-24399 (usleep() and time_nanosleep() ignore queued APCs on Windows). (Nicolas Grekas) . Fixed chown() and lchown() failing to resolve user names in ZTS builds when getpwnam_r() needs a larger buffer. (Ilia Alshanetsky) . Fixed password_get_info() and password_needs_rehash() accepting malformed bcrypt costs. (Ilia Alshanetsky) . Fixed proc_open() null descriptor not being inheritable on Windows. (Jorg Sowa) . Don't share the unserialize() context with enum autoloaders. (Nicolas Grekas) . Fixed bug GH-24373 (serialize() called from a destructor during var_hash destruction reuses the outer var_hash). (David Carlier) . Fixed bug GH-24552 (Case-insensitive substr_compare(), ksort() and krsort() are still locale-dependent). (Lazizbek Ergashev, Jon Surrell) . Fixed bug GH-24605 (var_export() crashes on deeply nested arrays and objects). (Labish Bardiya) . Fix use-after-free in Randomizer::shuffleArray() when the engine throws. (Marti2203) . Fixed GHSA-f6gg-rchx-xw8j (Mixed-case HTTPS and FTPS URLs can expose data in plaintext). (CVE-2026-128064) (Jakub Zelenka) . Fixed GHSA-mmf9-xm3v-hg2x (Denial of service through folded HTTP response headers). (CVE-2026-127960) (Jakub Zelenka) - Streams: . Fixed bug GH-24508 (HTTP wrapper leaks the dechunk filter when header parsing fails after Transfer-Encoding). (bercedev) . Fixed bug GH-24509 (HTTP wrapper leaks Location buffer on empty Location header). (bercedev) . Fix out-of-bounds reads parsing ftp:// wrapper server replies. (Alejandro Pacheco) - Tidy: . Fixed tidy_repair_string(), tidy_repair_file(), tidy::repairString() and tidy::repairFile() rejecting null for $encoding. (lacatoire) - Windows: . Fixed sapi_windows_cp_set() and sapi_windows_cp_conv() accepting a negative codepage on 32bit platforms. (Marc Bennewitz) . Fixed bug GH-25009 (GetConsoleTitleW() buffer size passed in bytes). (Lazizbek Ergashev) - Zip: . Reject broken libzip versions 1.3.1, 1.7.0 and 1.12.0 during Windows configuration. (Weilin Du) . Excluded libzip 1.12.0 due to a regression preventing additions and replacements in torrentzip archives. (Weilin Du) . Fixed use-after-free when re-entering ZipArchive during destruction or a close warning, and rejected opening streams while closing. (jvoisin) . Fixed a use-after-free when a ZipArchive method that modifies the archive is called from a progress or cancel callback during close(). (Ilia Alshanetsky) - Zlib: . Fixed use-after-free when an error handler removes a failing zlib.inflate filter (GH-24176). (Edmond) . Fixed bug GH-24533 (zlib.lib could not be found because zlib 1.3.2 CMake build does not emit it). (Lazizbek Ergashev) @ text @# $NetBSD: Makefile,v 1.17 2026/11/11 11:54:16 wiz Exp $ # # We can't omit PKGNAME here to handle PKG_OPTIONS. # PKGNAME= ${PHP_PKG_PREFIX}-${PHP_VERSION} CATEGORIES= lang COMMENT= PHP Hypertext Preprocessor version 8.4 LICENSE= php TEST_TARGET= test USE_TOOLS+= autoconf gmake lex LIBTOOL_OVERRIDE= # empty PHP_VERSIONS_ACCEPTED= 84 CONFLICTS+= php-[0-9]* SUPERSEDES+= php>=8.4<8.5 .include "Makefile.php" CGIDIR= ${PREFIX}/libexec/cgi-bin MESSAGE_SUBST+= CGIDIR=${CGIDIR} PHP_VER=${PHP_VER} CONFIGURE_ENV+= lt_cv_path_SED=${SED:Q} MAKE_ENV+= INSTALL_ROOT=${DESTDIR} CONF_FILES= ${PHP_EGDIR}/php.ini-production ${PKG_SYSCONFDIR}/php.ini PLIST_SUBST+= PHPEXTDIR="${PHP_EXTENSION_DIR}" # taken from devel/pkgconf/Makefile PKGCONFIG_PATHS= ${PREFIX}/lib/pkgconfig PKGCONFIG_PATHS+= ${PREFIX}/share/pkgconfig PKGCONFIG_PATHS+= /usr/lib/pkgconfig # At this point, PREFIX is not set yet. .if ${LOCALBASE} != ${X11BASE} PKGCONFIG_PATHS+= ${X11BASE}/lib/pkgconfig .endif PHP_PKGCONFIG_PATH= ${PKGCONFIG_PATHS:ts:} REPLACE_PHP= ext/phar/phar/phar.php run-tests.php INSTALLATION_DIRS+= ${CGIDIR} ${PHP_EXTENSION_DIR} ${PHP_EGDIR} \ ${PHP_SHAREDIR} # Make sure modules can link correctly .if ${OPSYS} == "Darwin" INSTALL_UNSTRIPPED= yes .endif # Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2) # and lacks the zone memory allocator .if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WITHOUT_ZONEMALLOC .endif pre-configure: cd ${WRKSRC} && ${PKGSRC_SETENV} ${CONFIGURE_ENV} autoconf -f post-install: cd ${WRKSRC}; ${INSTALL_DATA} php.ini-development php.ini-production \ ${DESTDIR}${PREFIX}/${PHP_EGDIR} .include "../../lang/php/phpversion.mk" .include "../../mk/bsd.pkg.mk" @ 1.17 log @*: recursive bump for icu 79 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2026/10/21 13:58:37 taca Exp $ a6 1 PKGREVISION= 1 @ 1.16 log @lang/php84: update to 8.4.27 PHP 8.4.27 (2026-10-22) - Core: . Fixed GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp (Avoid state corruption via bailout). (CVE-2026-109618, CVE-2026-109619) (Arnaud, ilutov, Jakub Zelenka, ndossche, Nicolas Grekas) . Fix GH-21999: GC inconsistency with lazy object, var_dump(), and object comparison. (Arnaud) . Fixed OSS-Fuzz #536440507 (Immutable class incorrect assertion). (ndossche) . Fixed AVX being reported as supported when the OS has not enabled AVX state. (Ilia Alshanetsky) . Fixed GH-23980 (ZEND_ASSERT violation @@ ZEND_INCLUDE_OR_EVAL). (ndossche) . Fixed bug GH-23896 (Assertion failure in zend_call_function() after a throwing deprecation). (lazerg) . Fixed use-after-free when a dl()-loaded extension declares a frameless function and a later request calls it. (Ilia Alshanetsky) . Fixed System V shared memory emulation for Windows attaching segments past the end of their mapping. (Ilia Alshanetsky) . Fixed bug GH-24050 (GC frees an object still held by a resurrected closure when (object) and use share an array). (David Carlier) . Fixed exception thrown by destructor during GC in a Fiber not being rethrown into the frame that triggered the GC. (Nicolas Grekas) - BCMath: . Fixed BcMath\Number results that truncate to zero keeping a negative sign and comparing less than zero. (Ilia Alshanetsky) - BZ2: . Fixed double close of the descriptor and use-after-free of the inner stream when bzopen() is given a stream resource. (Jakub Zelenka) - CLI: . Fix GH-22567 (Windows ZTS CLI SAPI should refresh its TSRMLS cache during request activation). (matyhtf) . Fixed bug GH-23764 (Built-in server leaks a file descriptor on every HEAD request for a static file). (jakubskopal) . Fixed crash in the built-in server when a client is reset before being accepted. (David Carlier) . Fixed the built-in server truncating an error page and leaking its unsent part after a partial socket write. (Ilia Alshanetsky) - DOM: . Fixed use-after-free when re-constructing a DOMXPath whose php:function registrations are freed while still reachable from the cycle collector. (Ilia Alshanetsky) . Fixed bug GH-23365 (DOMNode::insertBefore($n, $n) drops the node and leaves a self-referencing sibling list). (David Carlier) . Fixed Dom\HTMLDocument::getElementById() not finding ids of SVG and MathML elements. (Ilia Alshanetsky) . Fixed Dom\HTMLDocument giving attributes the namespace of their element when a fragment is parsed with an xlink, xml or xmlns context element. (Ilia Alshanetsky) . Fixed bug GH-23729 (DOMXPath::__construct() use-after-free during an evaluation). (David Carlier) . Fixed bug GH-23897 (php:function() assertion failure after a failed registerPHPFunctions()). (David Carlier) . Fixed DOMXPath and Dom\XPath losing the context node and in-scope namespaces of an evaluation after a php:function() callback evaluated another expression on the same object. (Ilia Alshanetsky) - FFI: . Fixed crashes with FFI callbacks created from __call() trampolines and array callables whose object is released. (Ilia Alshanetsky) - FTP: . Fixed bug GH-23619 (cryptic error on servers that don't support TLS session resumption on data connection). (ndossche) - GD: . Fixed undefined behavior with GD2 images with `INT_MAX`-sized chunks. (DanielEScherzer, cmb) . Fixed undefined behavior with GIFs with problematic LZW compression data. (DanielEScherzer, vapier) - Intl: . Fixed IntlDateFormatter::parse(), localtime() and parseToCalendar() treating the offset as UTF-16 code units instead of bytes. (Ilia Alshanetsky) . Fixed cloning IntlDateFormatter and MessageFormatter losing PHP-side state such as dateType, timeType, calendar and the message pattern. (Ilia Alshanetsky) . Fixed Collator attribute and strength methods not rejecting an unconstructed Collator. (Ilia Alshanetsky) . Fixed grapheme_strstr() and grapheme_stristr() returning incorrect substrings when supplementary characters precede the match. (Weilin Du) . Fixed grapheme_strstr() and grapheme_strpos() missing canonically equivalent matches, and grapheme searches reporting ICU errors for empty haystacks. (Weilin Du) . Fixed grapheme_strrpos() and grapheme_strripos() skipping overlapping matches when using a negative offset. (Weilin Du) - Lexbor: . Merge patches lexbor/lexbor@@8a14bc0 and lexbor/lexbor@@f67ce4b, fixing a heap buffer overflow in :lexbor-contains() parsing and buffer overflows in malformed decode replay. (alexandre-daubois) - MBString: . Fixed bug GH-23106 (mb_strpos() reads past the end of a haystack ending in a truncated UTF-8 sequence). (Lazizbek Ergashev) . Fixed mbstring functions emitting surrogates in UTF-8 output and flagging it as valid UTF-8. (Nicolas Grekas) - MySQLi: . Fix GH-22854: Fixed failed assertion when accessing mysqli property after failed reconnection. (Kamil Tekiela) - MySQLnd: . Fixed field_count not resetting on OK packet. (Kamil Tekiela) . Fixed memory leak when closing a prepared statement after its connection was killed. (Kamil Tekiela) - Opcache: . Fixed OSS-Fuzz #546798343 (Heap-buffer-overflow in optimizer with FCCs and inlining). (ndossche) . Fixed bug GH-23693 (Tracing JIT produces wrong results for a guard on a loop-invariant addition). (Ilia Alshanetsky) . Fixed OSS-Fuzz #5674034779193344 (Read of uninitialized memory in is_cacheable_stream_path()). (ndossche) . Fix zend_analyze_calls() call_stack buffer overrun. (Mrmaxmeier) . Fixed bug GH-23637 (PHP-FPM worker SIGSEGV: run_time_cache map_ptr offset beyond CG(map_ptr_last) when a class is reached through the CE cache). (David Carlier) . Fix multiple incorrect DCE due to unsound escape analysis. (ndossche, arnaud-lb) . Fixed bug GH-24063 (OPcache optimizer folds `$cond ? -0.0 : 0.0` into a single `-0.0` constant). (lazerg) . Fixed crash when a file cache is reused with a different set of extensions declaring frameless functions. (Ilia Alshanetsky) . Fixed bug GH-23991 (JIT generates invalid IR for multiple recursive calls). (ndossche) . Fix SCCP evaluation of isset()/empty() on dimension of non-escaping object. (ndossche) - OpenSSL: . Fixed stream_socket_enable_crypto() leaving the socket non-blocking after a handshake timeout. (Ilia Alshanetsky) . Fixed feof() on a TLS stream staying false after a close_notify on Windows. (Jakub Zelenka) - PCNTL: . Fixed pcntl_signal_dispatch() dropping the queued signals when it runs while an exception is pending. (nicolas-grekas) . Fixed pcntl_signal_dispatch() dropping the signals queued behind a handler that throws. (nicolas-grekas) . Fixed pcntl_setcpuaffinity() error message advertising the cpu count as the inclusive upper bound. (lacatoire) . Fixed pcntl_setqos_class() requiring its optional $qos_class argument. (lacatoire) . Fixed bug GH-23986 (/proc/self paths resolve to the parent process after pcntl_fork()). (Lazizbek Ergashev) - PDO: . Fixed PDOStatement::getColumnMeta() reading out of bounds for an invalid column index. (Ilia Alshanetsky) . Fixed PDOStatement::bindColumn() registering a binding for a column name that is not in the result set. (Ilia Alshanetsky) . Fixed PDOStatement::execute() leaving the previous result available after a failed execution. (Ilia Alshanetsky) . Fixed a use-after-free when bindValue()/execute()/closeCursor() is called from a bound parameter's __toString() during execute(). (Ilia Alshanetsky) . Fixed bug GH-23962 (Destroying a persistent PDO instance rolls back a transaction still in use by another instance). (Lazizbek Ergashev) . Fixed PDO::setAttribute() installing a PDO::ATTR_STATEMENT_CLASS class whose constructor arguments it rejects. (Ilia Alshanetsky) . Fixed PDO::ATTR_STATEMENT_CLASS constructor_args type errors reporting "array given" regardless of the value passed. (Ilia Alshanetsky) . Fixed PDOStatement::bindParam() and bindColumn() leaking the driver options value. (Ilia Alshanetsky) . Fixed PDOStatement not reporting its bound parameters and columns to the cycle collector. (Ilia Alshanetsky) . Fixed PDOStatement::setFetchMode() not applying changes atomically. (Ilia Alshanetsky) - PDO_DBLIB: . Fixed bug GH-23741 (segfault after a failed query inside a PDO transaction). Errors raised by beginTransaction(), commit(), rollBack() and lastInsertId() are now reported instead of being dropped. (Ilia Alshanetsky) - PDO_Firebird: . Fixed bug GH-23758 (PDO_Firebird returns null for non-null empty BLOBs). (Lazizbek Ergashev) - Readline: . Fixed a heap over-read in the interactive shell prompt when cli.prompt is set to an empty string. (Ilia Alshanetsky) - Session: . Fixed session_start() continuing after a failed create_sid() when session.use_strict_mode rejects the supplied ID. (Ilia Alshanetsky) . Fixed exceptions from user-defined create_sid() handlers being replaced by return-value validation errors. (Ilia Alshanetsky) - SimpleXML: . Fixed reconstructing a SimpleXMLElement freeing a child element that another variable still references. (Ilia Alshanetsky) - SOAP: . Fixed bug GH-22895 (Heap use-after-free while encoding a Traversable with an illegal key). (David Carlier) . Fixed memory leak when load_wsdl_ex() failed to load. (DanielEScherzer) - Sockets: . Fixed socket_select() silently truncating sets larger than FD_SETSIZE on Windows. (David Carlier) - SPL: . Fixed SplFixedArray::setSize() doing nothing on subclasses whose constructor does not call parent::__construct(). (Marc Bennewitz) . Fixed memory leak when __construct(), __wakeup() or __unserialize() is called from an element destructor during setSize(0). (Marc Bennewitz) - SQLite: . Fixed a crash when SQLite3::close() is called from a userland callback. (Ilia Alshanetsky) - Standard: . Fixed sha1_file() returning a digest for incomplete data after a stream read failure. (Ilia Alshanetsky) . Fixed iptcembed() corrupting JPEG headers when called recursively from an output handler. (Ilia Alshanetsky) . Fixed proc_open() leaking descriptor zero when descriptor setup fails. (Ilia Alshanetsky) . Fixed three Windows-only proc_open() defects: an uninitialized PROCESS_INFORMATION, an indeterminate comspec pointer after a failed lookup, and an unchecked CreateFileA() failure. (Ilia Alshanetsky) . Fix persistent stream context lifetime during shutdown (Levi Morrison) . Fix wordwrap() ignoring an existing break at the end of the string (Nicolas Grekas) . Fixed convert.quoted-printable-decode decoding lowercase hex digits to the wrong byte. (Ilia Alshanetsky) - Tidy: . Fixed a use-after-free when a tidyNode is used after its document is reparsed. (Ilia Alshanetsky) - XSL: . Fixed bug GH-23730 (use-after-free when XSLTProcessor::importStylesheet() is called during a transformation). (David Carlier) - Zip: . Fixed ZipArchive::extractTo() ignoring files given in a non-list array. (David Carlier) . Fixed bug GH-23747 (ZipArchive::close() use-after-free from a progress or cancel callback). (David Carlier) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2026/09/29 06:06:17 wiz Exp $ d7 1 @ 1.15 log @*: recursive bump for pcre2 10.49 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2026/09/27 11:37:20 tnn Exp $ a6 1 PKGREVISION= 2 @ 1.14 log @*: revbump for pcre2 symbol versioning change @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2026/09/24 15:44:50 taca Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.13 log @lang/php84: udpate to 8.4.26 PHP 8.4.26 (2026-09-24) - BCMath: . Fixed out-of-bounds read in bc_is_zero_for_scale() when scale exceeds n_scale. (Ilia Alshanetsky) - Core: . Fixed out-of-bounds reads during automatic UTF-16/32 encoding detection. (Yudai Takada) . Fixed bug GH-15375 (Nested "yield from" skips items after a valid() or next() call on the inner generator). (iliaal) . Fixed bug GH-23232 (lone namespace separator asks the autoloader for an empty class name). (spawnia) . Fixed bug GH-23301 (Nested "yield from" yields a value twice when the middle generator delegates again). (Lazizbek Ergashev) - CLI: . Fixed bug GH-23425 (sapi_cli_server_send_headers() does not check the return value of php_cli_server_client_send_through()). (Lazizbek Ergashev) - DOM: . Fixed NamedNodeMap::getNamedItemNS() with an empty URI not matching the null namespace in spec-following mode. (Ilia Alshanetsky) . Fixed a use-after-free when cloning a DOMNameSpaceNode after DOMDocument::xinclude(). (iliaal) . Fixed bug GH-23331 (UAF when node_list_unlink() skips attribute children that still have a live wrapper). (iliaal) . Fixed a use-after-free when Dom\Element::setAttributeNS() replaces the value of an attribute whose child still has a live wrapper. (iliaal) - GD: . Fixed imageaffinematrixget() and imageaffinematrixconcat() reporting the wrong argument in error messages. (Weilin Du) . Fixed bug GH-23457 (imagebmp() is extremely slow when writing to a file). (Lazizbek Ergashev) - FPM: . Fixed bug GH-19320 (FPM UID and GID overflow). (Pratik Bhujel) . Fixed GHSA-62xp-839h-2637 (IPv6 ACL bypass in FastCGI listen.allowed_clients due to partial address comparison). (CVE-2026-91768) (Alexandre Daubois) - Hash: . Fixed a buffer overflow in hash_pbkdf2() with a large output length. (Lazizbek Ergashev) - Intl: . Fixed grapheme_strpos() and grapheme_strrpos() with an empty needle returning UTF-16 offsets instead of grapheme offsets. (Ilia Alshanetsky) . Fixed a memory leak when dumping IntlCalendar instances. (Ilia Alshanetsky) . Fixed a memory leak when iterating IntlBreakIterator::getPartsIterator() results. (iliaal) . Fixed a double-free when IntlGregorianCalendar construction fails after the ICU constructor adopts the TimeZone. (iliaal) . Fixed bug GH-23094 (NumberFormatter parsing offsets use UTF-16 positions for UTF-8 strings). (ColumbusLabs) . Fixed Locale::parseLocale() reading past a trailing '-' or '_'. (iliaal, Xuyang Zhang) . Fixed grapheme_str_split() treating UBRK_DONE as a byte index. (iliaal) . Fixed a leak in Locale::getKeywords() when a keyword value cannot be read. (iliaal) . Fixed a use-after-free when IntlRuleBasedBreakIterator is constructed from compiled rules. (iliaal) - MBString: . Fixed mb_ereg_replace() emitting a NUL or out-of-bounds bytes in the replacement when a \k backref has no closing delimiter. (Ilia Alshanetsky) - MySQLnd: . Fixed GHSA-r6x9-5r99-36j7 (Various packet overreads in mysqlnd wire protocol). (CVE-2025-1218) (Jakub Zelenka, Nora Dossche) - ODBC: . Fixed odbc_field_len(), odbc_field_scale() and odbc_field_type() returning uninitialized memory when SQLColAttribute fails. (Ilia Alshanetsky) - Opcache: . Fixed a crash when the huge page SHM remap discarded mappings outside the reserved address range. (Piotr Hałas) . Fixed opcache.protect_memory race under ZTS. (realFlowControl) . Fixed bug GH-23288 (Crash on restart when opcache.interned_strings_buffer is overridden in an individual FPM pool). (David Carlier) . Fixed a tracing JIT crash when compiling a side trace for a method of a class that could not be stored in the inheritance cache. (GH-21710) (Arnaud, iliaal) - OpenSSL: . Fixed GHSA-vvx9-73fr-5jjx (TLS hostname verification falls back to CN after SAN mismatch). (CVE-2026-91769) (Jakub Zelenka) . Fixed GHSA-xr7j-rvgx-xq5p (Heap buffer overflow in php_openssl_matches_wildcard_name() on crafted server certificate wildcard CN). (CVE-2026-91767) (Jakub Zelenka) - PDO: . Fixed a leak when a persistent connection failed a liveness check with no other live PDO handle. (iliaal) - PDO_ODBC: . Fixed bug GH-23444 (ODBC_ATTR_ASSUME_UTF8 corrupts Unicode data outside Windows). (Calvin Buckley, Lazizbek Ergashev) - PDO_PGSQL: . Fixed PDO::CURSOR_SCROLL statements closing a cursor that does not exist. (KentarouTakeda) - PDO Sqlite: . Fixed bug GH-20214 (PDO::FETCH_DEFAULT unexpected behavior with PDOStatement::setFetchMode). (SakiTakamachi) - Phar: . Fixed bug GH-23418 (Use-after-free when looking up mounted directories). (Weilin Du) . Fixed bug GH-23477 (Memory leak on duplicate native Phar manifest entries). (Weilin Du) . Fixed GHSA-j3wh-g957-2m85 (Integer overflow in phar_tar_number() allowing TAR archive entry injection). (CVE-2026-6103) (Jakub Zelenka) - SNMP: . Fixed bug GH-23453 (SNMP::setSecurity() frees a non-malloced address with a context engine ID longer than 32 bytes). (Lazizbek Ergashev) - SOAP: . Fixed bug GH-23447 (Segfault when a class passed to SoapServer::setClass() fails to initialize). (Lazizbek Ergashev) . Fixed WSDL cache corruption when a soap:header defines headerfaults. (Ilia Alshanetsky) . Fixed stack overflow when parsing a WSDL with self-referential schema groups or attributeGroups. (Ilia Alshanetsky) . Fixed GHSA-rgrp-mwpx-f6rm (Unbounded recursion in server-side cleanup_xml_node()). (CVE-2026-91765) (Alexandre Daubois) . Fixed GHSA-cj93-vc83-wgqv (Integer overflow to buffer overflow in SOAP HTTP parsing). (CVE-2025-14181) (Nora Dossche, Jakub Zelenka) - Standard: . Fixed a segfault when a stream filter callback unsets StreamBucket::$data before re-attaching the bucket. (iliaal) . Fixed GHSA-7875-c8px-7q5f (Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header). (CVE-2026-93682) (Ilia Alshanetsky, Jordi Kroon) . Fixed a memory leak in array_merge_recursive() when the recursive merge of an object converted to an array fails. (David Carlier) . Fixed read buffer compaction in php_stream_filter_flush(). (crystarm) . Fixed bug GH-22410 (Incorrect float behavior with large numbers). (arshidkv12) . Fixed GH-23338 (fsockopen()/pfsockopen() ValueError reported wrong argument number for $timeout). (lacatoire) . Fixed bug GH-23576 (Next index for array returned from array_keys() is wrong). (Lazizbek Ergashev) . Fixed GHSA-88hq-2827-7pg6 (Out-of-bounds read in convert.* stream filters when line-break-chars contains NUL). (CVE-2026-92842) (geeknik) . Fixed GHSA-fpwc-w8rq-cr92 (Cross-origin credential leak in HTTP stream wrapper redirects). (CVE-2026-91766) (Alexandre Daubois, Jakub Zelenka) - SimpleXML: . Fixed writing to a dimension of the object returned by attributes() not creating the attribute. (Ilia Alshanetsky) . Fixed child elements of the element returned by SimpleXMLElement::addChild() not being accessible by property name when namespaces are involved. (Ilia Alshanetsky) - Windows: . Fixed GHSA-9f67-6fw4-hpfp (Reserved device names are not rejected before file and stream I/O). (CVE-2026-17545) (Shivam Mathur, Jakub Zelenka) - Zip: . Fixed bug GH-23276 (ZipArchive subclass storing its own stream cannot be garbage collected). (Weilin Du, ndossche) . Fixed ZipArchive::extractTo() and ZipArchive::getFrom*() reporting success on corrupted entries. (David Carlier) . Fixed ZipArchive::getNameIndex() truncating the entry index to int. (David Carlier) . Fixed fstat() on a zip:// stream reporting success when the archive cannot be opened. (David Carlier) - SAPI: . Fixed fuzzer targets failing to build in isolation. (Mrmaxmeier) . Fixed returns uninitialized value on LiteSpeed lsapi SAPI (Go Kudo) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2026/09/02 19:03:13 wiz Exp $ d7 1 @ 1.12 log @*: recursive bump for pcre2 10.48 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2026/01/19 15:32:17 taca Exp $ a6 1 PKGREVISION= 1 @ 1.12.2.1 log @Pullup ticket #7294 - requested by taca lang/php84: Security fix Revisions pulled up: - lang/php/phpversion.mk 1.517 - lang/php84/Makefile 1.13 - lang/php84/distinfo 1.26 --- Module Name: pkgsrc Committed By: taca Date: Thu Sep 24 15:44:50 UTC 2026 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php84: Makefile distinfo Log Message: lang/php84: udpate to 8.4.26 PHP 8.4.26 (2026-09-24) - BCMath: . Fixed out-of-bounds read in bc_is_zero_for_scale() when scale exceeds n_scale. (Ilia Alshanetsky) - Core: . Fixed out-of-bounds reads during automatic UTF-16/32 encoding detection. (Yudai Takada) . Fixed bug GH-15375 (Nested "yield from" skips items after a valid() or next() call on the inner generator). (iliaal) . Fixed bug GH-23232 (lone namespace separator asks the autoloader for an empty class name). (spawnia) . Fixed bug GH-23301 (Nested "yield from" yields a value twice when the middle generator delegates again). (Lazizbek Ergashev) - CLI: . Fixed bug GH-23425 (sapi_cli_server_send_headers() does not check the return value of php_cli_server_client_send_through()). (Lazizbek Ergashev) - DOM: . Fixed NamedNodeMap::getNamedItemNS() with an empty URI not matching the null namespace in spec-following mode. (Ilia Alshanetsky) . Fixed a use-after-free when cloning a DOMNameSpaceNode after DOMDocument::xinclude(). (iliaal) . Fixed bug GH-23331 (UAF when node_list_unlink() skips attribute children that still have a live wrapper). (iliaal) . Fixed a use-after-free when Dom\Element::setAttributeNS() replaces the value of an attribute whose child still has a live wrapper. (iliaal) - GD: . Fixed imageaffinematrixget() and imageaffinematrixconcat() reporting the wrong argument in error messages. (Weilin Du) . Fixed bug GH-23457 (imagebmp() is extremely slow when writing to a file). (Lazizbek Ergashev) - FPM: . Fixed bug GH-19320 (FPM UID and GID overflow). (Pratik Bhujel) . Fixed GHSA-62xp-839h-2637 (IPv6 ACL bypass in FastCGI listen.allowed_clients due to partial address comparison). (CVE-2026-91768) (Alexandre Daubois) - Hash: . Fixed a buffer overflow in hash_pbkdf2() with a large output length. (Lazizbek Ergashev) - Intl: . Fixed grapheme_strpos() and grapheme_strrpos() with an empty needle returning UTF-16 offsets instead of grapheme offsets. (Ilia Alshanetsky) . Fixed a memory leak when dumping IntlCalendar instances. (Ilia Alshanetsky) . Fixed a memory leak when iterating IntlBreakIterator::getPartsIterator() results. (iliaal) . Fixed a double-free when IntlGregorianCalendar construction fails after the ICU constructor adopts the TimeZone. (iliaal) . Fixed bug GH-23094 (NumberFormatter parsing offsets use UTF-16 positions for UTF-8 strings). (ColumbusLabs) . Fixed Locale::parseLocale() reading past a trailing '-' or '_'. (iliaal, Xuyang Zhang) . Fixed grapheme_str_split() treating UBRK_DONE as a byte index. (iliaal) . Fixed a leak in Locale::getKeywords() when a keyword value cannot be read. (iliaal) . Fixed a use-after-free when IntlRuleBasedBreakIterator is constructed from compiled rules. (iliaal) - MBString: . Fixed mb_ereg_replace() emitting a NUL or out-of-bounds bytes in the replacement when a \k backref has no closing delimiter. (Ilia Alshanetsky) - MySQLnd: . Fixed GHSA-r6x9-5r99-36j7 (Various packet overreads in mysqlnd wire protocol). (CVE-2025-1218) (Jakub Zelenka, Nora Dossche) - ODBC: . Fixed odbc_field_len(), odbc_field_scale() and odbc_field_type() returning uninitialized memory when SQLColAttribute fails. (Ilia Alshanetsky) - Opcache: . Fixed a crash when the huge page SHM remap discarded mappings outside the reserved address range. (Piotr Ha┅as) . Fixed opcache.protect_memory race under ZTS. (realFlowControl) . Fixed bug GH-23288 (Crash on restart when opcache.interned_strings_buffer is overridden in an individual FPM pool). (David Carlier) . Fixed a tracing JIT crash when compiling a side trace for a method of a class that could not be stored in the inheritance cache. (GH-21710) (Arnaud, iliaal) - OpenSSL: . Fixed GHSA-vvx9-73fr-5jjx (TLS hostname verification falls back to CN after SAN mismatch). (CVE-2026-91769) (Jakub Zelenka) . Fixed GHSA-xr7j-rvgx-xq5p (Heap buffer overflow in php_openssl_matches_wildcard_name() on crafted server certificate wildcard CN). (CVE-2026-91767) (Jakub Zelenka) - PDO: . Fixed a leak when a persistent connection failed a liveness check with no other live PDO handle. (iliaal) - PDO_ODBC: . Fixed bug GH-23444 (ODBC_ATTR_ASSUME_UTF8 corrupts Unicode data outside Windows). (Calvin Buckley, Lazizbek Ergashev) - PDO_PGSQL: . Fixed PDO::CURSOR_SCROLL statements closing a cursor that does not exist. (KentarouTakeda) - PDO Sqlite: . Fixed bug GH-20214 (PDO::FETCH_DEFAULT unexpected behavior with PDOStatement::setFetchMode). (SakiTakamachi) - Phar: . Fixed bug GH-23418 (Use-after-free when looking up mounted directories). (Weilin Du) . Fixed bug GH-23477 (Memory leak on duplicate native Phar manifest entries). (Weilin Du) . Fixed GHSA-j3wh-g957-2m85 (Integer overflow in phar_tar_number() allowing TAR archive entry injection). (CVE-2026-6103) (Jakub Zelenka) - SNMP: . Fixed bug GH-23453 (SNMP::setSecurity() frees a non-malloced address with a context engine ID longer than 32 bytes). (Lazizbek Ergashev) - SOAP: . Fixed bug GH-23447 (Segfault when a class passed to SoapServer::setClass() fails to initialize). (Lazizbek Ergashev) . Fixed WSDL cache corruption when a soap:header defines headerfaults. (Ilia Alshanetsky) . Fixed stack overflow when parsing a WSDL with self-referential schema groups or attributeGroups. (Ilia Alshanetsky) . Fixed GHSA-rgrp-mwpx-f6rm (Unbounded recursion in server-side cleanup_xml_node()). (CVE-2026-91765) (Alexandre Daubois) . Fixed GHSA-cj93-vc83-wgqv (Integer overflow to buffer overflow in SOAP HTTP parsing). (CVE-2025-14181) (Nora Dossche, Jakub Zelenka) - Standard: . Fixed a segfault when a stream filter callback unsets StreamBucket::$data before re-attaching the bucket. (iliaal) . Fixed GHSA-7875-c8px-7q5f (Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header). (CVE-2026-93682) (Ilia Alshanetsky, Jordi Kroon) . Fixed a memory leak in array_merge_recursive() when the recursive merge of an object converted to an array fails. (David Carlier) . Fixed read buffer compaction in php_stream_filter_flush(). (crystarm) . Fixed bug GH-22410 (Incorrect float behavior with large numbers). (arshidkv12) . Fixed GH-23338 (fsockopen()/pfsockopen() ValueError reported wrong argument number for $timeout). (lacatoire) . Fixed bug GH-23576 (Next index for array returned from array_keys() is wrong). (Lazizbek Ergashev) . Fixed GHSA-88hq-2827-7pg6 (Out-of-bounds read in convert.* stream filters when line-break-chars contains NUL). (CVE-2026-92842) (geeknik) . Fixed GHSA-fpwc-w8rq-cr92 (Cross-origin credential leak in HTTP stream wrapper redirects). (CVE-2026-91766) (Alexandre Daubois, Jakub Zelenka) - SimpleXML: . Fixed writing to a dimension of the object returned by attributes() not creating the attribute. (Ilia Alshanetsky) . Fixed child elements of the element returned by SimpleXMLElement::addChild() not being accessible by property name when namespaces are involved. (Ilia Alshanetsky) - Windows: . Fixed GHSA-9f67-6fw4-hpfp (Reserved device names are not rejected before file and stream I/O). (CVE-2026-17545) (Shivam Mathur, Jakub Zelenka) - Zip: . Fixed bug GH-23276 (ZipArchive subclass storing its own stream cannot be garbage collected). (Weilin Du, ndossche) . Fixed ZipArchive::extractTo() and ZipArchive::getFrom*() reporting success on corrupted entries. (David Carlier) . Fixed ZipArchive::getNameIndex() truncating the entry index to int. (David Carlier) . Fixed fstat() on a zip:// stream reporting success when the archive cannot be opened. (David Carlier) - SAPI: . Fixed fuzzer targets failing to build in isolation. (Mrmaxmeier) . Fixed returns uninitialized value on LiteSpeed lsapi SAPI (Go Kudo) @ text @d1 1 a1 1 # $NetBSD$ d7 1 @ 1.11 log @lang/php84: update to 8.4.17 8.4.17 (2025-01-15) - Core: . Fix OSS-Fuzz #465488618 (Wrong assumptions when dumping function signature with dynamic class const lookup default argument). (ilutov) . Fixed bug GH-20695 (Assertion failure in normalize_value() when parsing malformed INI input via parse_ini_string()). (ndossche) . Fixed bug GH-20714 (Uncatchable exception thrown in generator). (ilutov) . Fixed bug GH-20352 (UAF in php_output_handler_free via re-entrant ob_start() during error deactivation). (ndossche) - Bz2: . Fixed bug GH-20620 (bzcompress overflow on large source size). (David Carlier) - DOM: . Fixed bug GH-20722 (Null pointer dereference in DOM namespace node cloning via clone on malformed objects). (ndossche) . Fixed bug GH-20444 (Dom\XMLDocument::C14N() seems broken compared to DOMDocument::C14N()). (ndossche) - GD: . Fixed bug GH-20622 (imagestring/imagestringup overflow). (David Carlier) - Intl: . Fix leak in umsg_format_helper(). (ndossche) - LDAP: . Fix memory leak in ldap_set_options(). (ndossche) - Mbstring: . Fixed bug GH-20674 (mb_decode_mimeheader does not handle separator). (Yuya Hamada) - PCNTL: . Fixed bug with pcntl_getcpuaffinity() on solaris regarding invalid process ids handling. (David Carlier) - Phar: . Fixed bug GH-20732 (Phar::LoadPhar undefined behavior when reading fails). (ndossche) . Fix SplFileInfo::openFile() in write mode. (ndossche) . Fix build on legacy OpenSSL 1.1.0 systems. (Giovanni Giacobbi) . Fixed bug #74154 (Phar extractTo creates empty files). (ndossche) - POSIX: . Fixed crash on posix groups to php array creation on macos. (David Carlier) - SPL: . Fixed bug GH-20678 (resource created by GlobIterator crashes with fclose()). (David Carlier) - Sqlite3: . Fixed bug GH-20699 (SQLite3Result fetchArray return array|false, null returned). (ndossche, plusminmax) - Standard: . Fix error check for proc_open() command. (ndossche) . Fix memory leak in mail() when header key is numeric. (Girgias) . Fixed bug GH-20582 (Heap Buffer Overflow in iptcembed). (ndossche) - Zlib: . Fix OOB gzseek() causing assertion failure. (ndossche) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2026/01/07 08:47:40 wiz Exp $ d7 1 @ 1.10 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2025/11/23 12:40:14 taca Exp $ a6 1 PKGREVISION= 1 @ 1.9 log @lang/php84: update to 8.4.15 PHP 8.4.15 (2025-11-20) - Core: . Fixed bug GH-19934 (CGI with auto_globals_jit=0 causes uouv). (ilutov) . Fixed bug GH-20073 (Assertion failure in WeakMap offset operations on reference). (nielsdos) . Fixed bug GH-20085 (Assertion failure when combining lazy object get_properties exception with foreach loop). (nielsdos) . Fixed bug GH-19844 (Don't bail when closing resources on shutdown). (ilutov) . Fixed bug GH-20177 (Accessing overridden private property in get_object_vars() triggers assertion error). (ilutov) . Fixed bug GH-20270 (Broken parent hook call with named arguments). (ilutov) . Fixed bug GH-20183 (Stale EG(opline_before_exception) pointer through eval). (ilutov) - DOM: . Partially fixed bug GH-16317 (DOM classes do not allow __debugInfo() overrides to work). (nielsdos) . Fixed bug GH-20281 (\Dom\Document::getElementById() is inconsistent after nodes are removed). (nielsdos) - Exif: . Fix possible memory leak when tag is empty. (nielsdos) - FPM: . Fixed bug GH-19974 (fpm_status_export_to_zval segfault for parallel execution). (Jakub Zelenka, txuna) - FTP: . Fixed bug GH-20240 (FTP with SSL: ftp_fput(): Connection timed out on successful writes). (nielsdos) - GD: . Fixed bug GH-20070 (Return type violation in imagefilter when an invalid filter is provided). (Girgias) - Intl: . Fix memory leak on error in locale_filter_matches(). (nielsdos) - LibXML: . Fix not thread safe schema/relaxng calls. (SpencerMalone, nielsdos) - MySQLnd: . Fixed bug GH-8978 (SSL certificate verification fails (port doubled)). (nielsdos) . Fixed bug GH-20122 (getColumnMeta() for JSON-column in MySQL). (nielsdos) - Opcache: . Fixed bug GH-20081 (access to uninitialized vars in preload_load()). (Arnaud) . Fixed bug GH-20121 (JIT broken in ZTS builds on MacOS 15). (Arnaud, Shivam Mathur) . Fixed bug GH-19875 (JIT 1205 segfault on large file compiled in subprocess). (Arnaud) . Fixed bug GH-20012 (heap buffer overflow in jit). (Arnaud) . Partially fixed bug GH-17733 (Avoid calling wrong function when reusing file caches across differing environments). (ilutov) - PgSql: . Fix memory leak when first string conversion fails. (nielsdos) . Fix segfaults when attempting to fetch row into a non-instantiable class name. (Girgias, nielsdos) - Phar: . Fix memory leak of argument in webPhar. (nielsdos) . Fix memory leak when setAlias() fails. (nielsdos) . Fix a bunch of memory leaks in phar_parse_zipfile() error handling. (nielsdos) . Fix file descriptor/memory leak when opening central fp fails. (nielsdos) . Fix memleak+UAF when opening temp stream in buildFromDirectory() fails. (nielsdos) . Fix potential buffer length truncation due to usage of type int instead of type size_t. (Girgias) . Fix memory leak when openssl polyfill returns garbage. (nielsdos) . Fix file descriptor leak in phar_zip_flush() on failure. (nielsdos) . Fix memory leak when opening temp file fails while trying to open gzip-compressed archive. (nielsdos) . Fixed bug GH-20302 (Freeing a phar alias may invalidate PharFileInfo objects). (nielsdos) - Random: . Fix Randomizer::__serialize() w.r.t. INDIRECTs. (nielsdos) - Reflection: . Fixed bug GH-20217 (ReflectionClass::isIterable() incorrectly returns true for classes with property hooks). (alexandre-daubois) - SimpleXML: . Partially fixed bug GH-16317 (SimpleXML does not allow __debugInfo() overrides to work). (nielsdos) - Streams: . Fixed bug GH-19798: XP_SOCKET XP_SSL (Socket stream modules): Incorrect condition for Win32/Win64. (Jakub Zelenka) - Tidy: . Fixed GH-19021 (improved tidyOptGetCategory detection). (arjendekorte, David Carlier, Peter Kokot) . Fix UAF in tidy when tidySetErrorBuffer() fails. (nielsdos) - XMLReader: . Fix arginfo/zpp violations when LIBXML_SCHEMAS_ENABLED is not available. (nielsdos) - Windows: . Fix GH-19722 (_get_osfhandle asserts in debug mode when given a socket). (dktapps) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2025/10/23 20:38:05 wiz Exp $ d7 1 @ 1.8 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2025/07/04 01:21:45 taca Exp $ a6 1 PKGREVISION= 1 @ 1.7 log @lang/php84: update to 8.4.10 PHP 8.4.9 was skipped since it tagged without including security patches. PHP 8.4.10 (2025-07-03) - BcMath: . Fixed bug GH-18641 (Accessing a BcMath\Number property by ref crashes). (nielsdos) - Core: . Fixed bugs GH-17711 and GH-18022 (Infinite recursion on deprecated attribute evaluation) and GH-18464 (Recursion protection for deprecation constants not released on bailout). (DanielEScherzer and ilutov) . Fixed GH-18695 (zend_ast_export() - float number is not preserved). (Oleg Efimov) . Fix handling of references in zval_try_get_long(). (nielsdos) . Do not delete main chunk in zend_gc. (danog, Arnaud) . Fix compile issues with zend_alloc and some non-default options. (nielsdos) - Curl: . Fix memory leak when setting a list via curl_setopt fails. (nielsdos) - Date: . Fix leaks with multiple calls to DatePeriod iterator current(). (nielsdos) - DOM: . Fixed bug GH-18744 (classList works not correctly if copy HTMLElement by clone keyword). (nielsdos) - FPM: . Fixed GH-18662 (fpm_get_status segfault). (txuna) - Hash: . Fixed bug GH-14551 (PGO build fails with xxhash). (nielsdos) - Intl: . Fix memory leak in intl_datetime_decompose() on failure. (nielsdos) . Fix memory leak in locale lookup on failure. (nielsdos) - Opcache: . Fixed bug GH-18743 (Incompatibility in Inline TLS Assembly on Alpine 3.22). (nielsdos, Arnaud) - ODBC: . Fix memory leak on php_odbc_fetch_hash() failure. (nielsdos) - OpenSSL: . Fix memory leak of X509_STORE in php_openssl_setup_verify() on failure. (nielsdos) . Fixed bug #74796 (Requests through http proxy set peer name). (Jakub Zelenka) - PGSQL: . Fixed GHSA-hrwm-9436-5mv3 (pgsql extension does not check for errors during escaping). (CVE-2025-1735) (Jakub Zelenka) - PDO ODBC: . Fix memory leak if WideCharToMultiByte() fails. (nielsdos) - PDO Sqlite: . Fixed memory leak with Pdo_Sqlite::createCollation when the callback has an incorrect return type. (David Carlier) - Phar: . Add missing filter cleanups on phar failure. (nielsdos) . Fixed bug GH-18642 (Signed integer overflow in ext/phar fseek). (nielsdos) - PHPDBG: . Fix 'phpdbg --help' segfault on shutdown with USE_ZEND_ALLOC=0. (nielsdos) - PGSQL: . Fix warning not being emitted when failure to cancel a query with pg_cancel_query(). (Girgias) - Random: . Fix reference type confusion and leak in user random engine. (nielsdos, timwolla) - Readline: . Fix memory leak when calloc() fails in php_readline_completion_cb(). (nielsdos) - SimpleXML: . Fixed bug GH-18597 (Heap-buffer-overflow in zend_alloc.c when assigning string with UTF-8 bytes). (nielsdos) - SOAP: . Fix memory leaks in php_http.c when call_user_function() fails. (nielsdos) . Fixed GHSA-453j-q27h-5p8x (NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix). (CVE-2025-6491) (Lekssays, nielsdos) - Standard: . Fixed GHSA-3cr5-j632-f35r (Null byte termination in hostnames). (CVE-2025-1220) (Jakub Zelenka) - Tidy: . Fix memory leak in tidy output handler on error. (nielsdos) . Fix tidyOptIsReadonly deprecation, using tidyOptGetCategory. (David Carlier) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2025/06/11 14:58:27 taca Exp $ d7 1 @ 1.6 log @lang/php{74,81,82,83,84}: correct include_path Correct default include_path in configuration files. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2025/05/19 15:04:50 taca Exp $ a6 1 PKGREVISION= 1 @ 1.6.2.1 log @Pullup ticket #6979 - requested by taca lang/php84: Security fix Revisions pulled up: - lang/php/phpversion.mk 1.467 - lang/php84/Makefile 1.7 - lang/php84/distinfo 1.9 --- Module Name: pkgsrc Committed By: taca Date: Fri Jul 4 01:21:45 UTC 2025 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php84: Makefile distinfo Log Message: lang/php84: update to 8.4.10 PHP 8.4.9 was skipped since it tagged without including security patches. PHP 8.4.10 (2025-07-03) - BcMath: . Fixed bug GH-18641 (Accessing a BcMath\Number property by ref crashes). (nielsdos) - Core: . Fixed bugs GH-17711 and GH-18022 (Infinite recursion on deprecated attribute evaluation) and GH-18464 (Recursion protection for deprecation constants not released on bailout). (DanielEScherzer and ilutov) . Fixed GH-18695 (zend_ast_export() - float number is not preserved). (Oleg Efimov) . Fix handling of references in zval_try_get_long(). (nielsdos) . Do not delete main chunk in zend_gc. (danog, Arnaud) . Fix compile issues with zend_alloc and some non-default options. (nielsdos) - Curl: . Fix memory leak when setting a list via curl_setopt fails. (nielsdos) - Date: . Fix leaks with multiple calls to DatePeriod iterator current(). (nielsdos) - DOM: . Fixed bug GH-18744 (classList works not correctly if copy HTMLElement by clone keyword). (nielsdos) - FPM: . Fixed GH-18662 (fpm_get_status segfault). (txuna) - Hash: . Fixed bug GH-14551 (PGO build fails with xxhash). (nielsdos) - Intl: . Fix memory leak in intl_datetime_decompose() on failure. (nielsdos) . Fix memory leak in locale lookup on failure. (nielsdos) - Opcache: . Fixed bug GH-18743 (Incompatibility in Inline TLS Assembly on Alpine 3.22). (nielsdos, Arnaud) - ODBC: . Fix memory leak on php_odbc_fetch_hash() failure. (nielsdos) - OpenSSL: . Fix memory leak of X509_STORE in php_openssl_setup_verify() on failure. (nielsdos) . Fixed bug #74796 (Requests through http proxy set peer name). (Jakub Zelenka) - PGSQL: . Fixed GHSA-hrwm-9436-5mv3 (pgsql extension does not check for errors during escaping). (CVE-2025-1735) (Jakub Zelenka) - PDO ODBC: . Fix memory leak if WideCharToMultiByte() fails. (nielsdos) - PDO Sqlite: . Fixed memory leak with Pdo_Sqlite::createCollation when the callback has an incorrect return type. (David Carlier) - Phar: . Add missing filter cleanups on phar failure. (nielsdos) . Fixed bug GH-18642 (Signed integer overflow in ext/phar fseek). (nielsdos) - PHPDBG: . Fix 'phpdbg --help' segfault on shutdown with USE_ZEND_ALLOC=0. (nielsdos) - PGSQL: . Fix warning not being emitted when failure to cancel a query with pg_cancel_query(). (Girgias) - Random: . Fix reference type confusion and leak in user random engine. (nielsdos, timwolla) - Readline: . Fix memory leak when calloc() fails in php_readline_completion_cb(). (nielsdos) - SimpleXML: . Fixed bug GH-18597 (Heap-buffer-overflow in zend_alloc.c when assigning string with UTF-8 bytes). (nielsdos) - SOAP: . Fix memory leaks in php_http.c when call_user_function() fails. (nielsdos) . Fixed GHSA-453j-q27h-5p8x (NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix). (CVE-2025-6491) (Lekssays, nielsdos) - Standard: . Fixed GHSA-3cr5-j632-f35r (Null byte termination in hostnames). (CVE-2025-1220) (Jakub Zelenka) - Tidy: . Fix memory leak in tidy output handler on error. (nielsdos) . Fix tidyOptIsReadonly deprecation, using tidyOptGetCategory. (David Carlier) @ text @d1 1 a1 1 # $NetBSD$ d7 1 @ 1.5 log @lang/php84: update to 8.4.7 PHP 8.4.7 (2025-05-08) Core: * Fixed bug GH-18038 (Lazy proxy calls magic methods twice). * Fixed bug GH-18209 (Use-after-free in extract() with EXTR_REFS). * Fixed bug GH-18268 (Segfault in array_walk() on object with added property hooks). * Fixed bug GH-18304 (Changing the properties of a DateInterval through dynamic properties triggers a SegFault). * Fix some leaks in php_scandir. DBA: * FIxed bug GH-18247 dba_popen() memory leak on invalid path. Filter: * Fixed bug GH-18309 (ipv6 filter integer overflow). GD: * Fixed imagecrop() overflow with rect argument with x/width y/heigh usage in gdImageCrop(). * Fixed GH-18243 imagettftext() overflow/underflow on font size value. Intl: * Fix reference support for intltz_get_offset(). LDAP: * Fixed bug GH-17776 (LDAP_OPT_X_TLS_* options can't be overridden). * Fix NULL deref on high modification key. libxml: * Fixed custom external entity loader returning an invalid resource leading to a confusing TypeError message. Opcache: * Fixed bug GH-18294 (assertion failure zend_jit_ir.c). * Fixed bug GH-18289 (Fix segfault in JIT). * Fixed bug GH-18136 (tracing JIT floating point register clobbering on Windows and ARM64). OpenSSL: * Fix memory leak in openssl_sign() when passing invalid algorithm. * Fix potential leaks when writing to BIO fails. PDO Firebird: * Fixed bug GH-18276 (persistent connection - "zend_mm_heap corrupted" with setAttribute()) (SakiTakamachi). * Fixed bug GH-17383 (PDOException has wrong code and message since PHP 8.4) (SakiTakamachi). PDO Sqlite: * Fix memory leak on error return of collation callback. PgSql: * Fix uouv in pg_put_copy_end(). SPL: * Fixed bug GH-18322 (SplObjectStorage debug handler mismanages memory). Standard: * Fixed bug GH-18145 (php8ts crashes in php_clear_stat_cache()). * Fix resource leak in iptcembed() on error. Tests: * Address deprecated PHP 8.4 session options to prevent test failures. Zip: * Fix uouv when handling empty options in ZipArchive::addGlob(). * Fix memory leak when handling a too long path in ZipArchive::addGlob(). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2025/05/17 05:37:25 taca Exp $ d7 1 @ 1.4 log @lang/php{56,74,81,82,83}: explictly specify libdir and datadir Explictly specify libdir and datadir to set PHP_LIBDIR and PHP_DATADIR correctly. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2025/05/14 15:54:26 jperkin Exp $ a6 1 PKGREVISION= 3 @ 1.3 log @php*: Improve SUPERSEDES matches. By using a generic catch-all of php-[0-9]* it was impossible for tools to correctly determine what package should be the successor when there are multiple to choose from. Matching against exact versions will mean that improved SUPERSEDES handling in the next version of pkgin should hopefully be able to support upgrades Past the php renovation. At least with a hand-modified pkgin.db and a test pkgin binary it correctly detects the php-8.2.26 => php82-8.2.28nb1 rename. Bump PKGREVISION for each. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2025/04/17 21:51:22 wiz Exp $ d7 1 a7 1 PKGREVISION= 2 @ 1.2 log @*: recursive bump for icu 77 and libxml2 2.14 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2025/02/22 15:27:55 taca Exp $ d7 1 a7 1 PKGREVISION= 1 d21 1 a21 1 SUPERSEDES+= php-[0-9]* @ 1.1 log @lang/php84: add package version 8.4.4 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. PHP 8.4 comes with numerous improvements and new features such as * Property Hooks * Asymmetric Property Visibility * Lazy Objects * #[\Deprecated] attribute * Parsing RFC1867 (multipart) requests in non-POST HTTP requests * Chaining new expressions without parentheses * Improved Debugging Info for WeakReference * Improved Debugging Info for Closure * Defining Identical Symbols in Different Namespace Blocks * And much much more... @ text @d1 1 a1 1 # $NetBSD$ d7 1 @