From c86b7c6cb7a394b24d9763cc317dda868bd8e68b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 2 Dec 2026 15:41:20 +0100 Subject: [PATCH 1/3] build: drop static-php-cli default options doctor and download already default to true. --- craft.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/craft.yml b/craft.yml index 63ee2b9926..dbda6b6ac6 100644 --- a/craft.yml +++ b/craft.yml @@ -46,7 +46,3 @@ extra-env: SPC_CMD_VAR_FRANKENPHP_XCADDY_MODULES: "--with github.com/dunglas/caddy-cbrotli --with github.com/dunglas/mercure/caddy --with github.com/dunglas/vulcain/caddy" EXTENSION_DIR: "/usr/lib/frankenphp/modules" OPENSSLDIR: "/etc/ssl" - -craft-options: - doctor: true - download: true From 51218c120dff3e7cbf94ae98364ae8563a0f779b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 2 Dec 2026 15:41:35 +0100 Subject: [PATCH 2/3] build: drop the macOS Kerberos workaround The spc nightly has linked the frameworks configure needs on macOS since static-php-cli PR 1241, merged in September. --- build-static.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build-static.sh b/build-static.sh index 5aa4a04c8c..c64357368a 100755 --- a/build-static.sh +++ b/build-static.sh @@ -72,12 +72,6 @@ if [ "${bin_os}" = "linux" ]; then export SPC_TOOLCHAIN="${SPC_TOOLCHAIN:-}" fi -# TODO: drop once the macOS spc nightly ships https://github.com/crazywhalecc/static-php-cli/pull/1241, -# without it PHP's configure probes can't resolve krb5's Kerberos framework symbols -if [ "${bin_os}" = "mac" ]; then - export SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS="${SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS:--framework Kerberos}" -fi - # Check out the requested version, if any if [ -z "${FRANKENPHP_VERSION}" ]; then FRANKENPHP_VERSION="$(git -C "${CURRENT_DIR}" rev-parse --verify HEAD)" From e79558fab7e76307d009c16269e441109ac23a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 2 Dec 2026 18:03:00 +0100 Subject: [PATCH 3/3] build: drop the lz4 fork pin The PHP 8.6 static build fix was merged into kjdev/php-ext-lz4 and released in 0.8.2, and static-php-cli builds lz4 from its master branch. --- craft.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/craft.yml b/craft.yml index dbda6b6ac6..7249604986 100644 --- a/craft.yml +++ b/craft.yml @@ -32,7 +32,6 @@ download-options: - "ext-apcu:master:https://github.com/krakjoe/apcu.git" - "ext-igbinary:master:https://github.com/igbinary/igbinary.git" - "ext-imagick:master:https://github.com/Imagick/imagick.git" - - "ext-lz4:fix/static-zts-tsrm-cache:https://github.com/dunglas/php-ext-lz4.git" - "ext-memcached:master:https://github.com/php-memcached-dev/php-memcached.git" - "ext-msgpack:master:https://github.com/msgpack/msgpack-php.git" - "ext-redis:develop:https://github.com/phpredis/phpredis.git"