head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.2 pkgsrc-2026Q1-base:1.2; locks; strict; comment @# @; 1.2 date 2026.03.15.15.30.49; author taca; state Exp; branches; next 1.1; commitid ATQ5rwbpac13l5yG; 1.1 date 2026.01.08.13.38.00; author taca; state Exp; branches; next ; commitid h0n1I71fiLUQPApG; desc @@ 1.2 log @lang/php85: update to 8.5.4 PHP 8.5.4 (2026-03-12) - Core: . Fixed bug GH-21029 (zend_mm_heap corrupted on Aarch64, LTO builds). (Arnaud) . Fixed bug GH-21059 (Segfault when preloading constant AST closure). (ilutov) . Fixed bug GH-21072 (Crash on (unset) cast in constant expression). (arshidkv12) . Fix deprecation now showing when accessing null key of an array with JIT. (alexandre-daubois) . Fixed bug GH-20657 (Assertion failure in zend_lazy_object_get_info triggered by setRawValueWithoutLazyInitialization() and newLazyGhost()). (Arnaud) . Fixed bug GH-20504 (Assertion failure in zend_get_property_guard when accessing properties on Reflection LazyProxy via isset()). (Arnaud) . Fixed OSS-Fuzz #478009707 (Borked assign-op/inc/dec on untyped hooked property backing value). (ilutov) . Fixed bug GH-21215 (Build fails with -std=). (Arnaud) . Fixed bug GH-13674 (Build system installs libtool wrappers when using slibtool). (Michael Orlitzky) - Curl: . Don't truncate length. (ndossche) - Date: . Fixed bug GH-20936 (DatePeriod::__set_state() cannot handle null start). (ndossche) . Fix timezone offset with seconds losing precision. (ndossche) - DOM: . Fixed bug GH-21077 (Accessing Dom\Node::baseURI can throw TypeError). (ndossche) . Fixed bug GH-21097 (Accessing Dom\Node properties can can throw TypeError). (ndossche) - LDAP: . Fixed bug GH-21262 (ldap_modify() too strict controls argument validation makes it impossible to unset attribute). (David Carlier) - MBString: . Fixed bug GH-21223; mb_guess_encoding no longer crashes when passed huge list of candidate encodings (with 200,000+ entries). (Jordi Kroon) - Opcache: . Fixed bug GH-20718 ("Insufficient shared memory" when using JIT on Solaris). (Petr Sumbera) . Fixed bug GH-21227 (Borked SCCP of array containing partial object). (ilutov) - OpenSSL: . Fix a bunch of leaks and error propagation. (ndossche) - Windows: . Fixed compilation with clang (missing intrin.h include). (Kévin Dunglas) @ text @$NetBSD: patch-sapi_cgi_Makefile.frag,v 1.1 2026/01/08 13:38:00 taca Exp $ Install to CGI directory. --- sapi/cgi/Makefile.frag.orig 2026-03-10 23:15:23.000000000 +0000 +++ sapi/cgi/Makefile.frag @@@@ -4,9 +4,9 @@@@ $(SAPI_CGI_PATH): $(PHP_GLOBAL_OBJS) $(P $(BUILD_CGI) install-cgi: $(SAPI_CGI_PATH) - @@echo "Installing PHP CGI binary: $(INSTALL_ROOT)$(bindir)/" + @@echo "Installing PHP CGI binary: $(INSTALL_ROOT)@@CGIDIR@@/" @@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) - @@$(LIBTOOL) --mode=install $(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)$(bindir)/$(program_prefix)php-cgi$(program_suffix)$(EXEEXT) + @@$(LIBTOOL) --mode=install $(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)@@CGIDIR@@/$(program_prefix)php$(program_suffix)$(EXEEXT) @@echo "Installing PHP CGI man page: $(INSTALL_ROOT)$(mandir)/man1/" @@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1 @@$(INSTALL_DATA) sapi/cgi/php-cgi.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php-cgi$(program_suffix).1 @ 1.1 log @lang/php: add package version 8.5.1 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.5 comes with numerous improvements and new features such as * Built-in URI Extension to parse, normalize and handle URL. * Pipe Operator |> enables chaining callables and passing values. * Clone objects and update properties with the new clone() syntax. * A new attribute #[\NoDiscard] for a function. * Static closures and first-class-callables in constatnt expressisons. * cURL shared handles support. * array_first() and array_last() functions are added to array. * And much much more... @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- sapi/cgi/Makefile.frag.orig 2015-06-23 17:33:33.000000000 +0000 d14 2 a15 2 - @@$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)$(bindir)/$(program_prefix)php-cgi$(program_suffix)$(EXEEXT) + @@$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)@@CGIDIR@@/$(program_prefix)php$(program_suffix)$(EXEEXT) @