From a49ae055998f8138b7247709c3f0db3213e511c4 Mon Sep 17 00:00:00 2001 From: henderkes Date: Mon, 6 Oct 2025 21:00:45 +0200 Subject: [PATCH 1/3] use latest zip version for building shared --- config/ext.json | 5 +++-- config/source.json | 10 ++++++++++ src/SPC/builder/extension/zip.php | 17 +++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 src/SPC/builder/extension/zip.php diff --git a/config/ext.json b/config/ext.json index 188aea58..6d84dc3a 100644 --- a/config/ext.json +++ b/config/ext.json @@ -1154,8 +1154,9 @@ "support": { "BSD": "wip" }, - "type": "builtin", - "arg-type": "with-path", + "type": "external", + "source": "ext-zip", + "arg-type": "custom", "arg-type-windows": "enable", "lib-depends-unix": [ "libzip" diff --git a/config/source.json b/config/source.json index 4a0e0fdb..93668df7 100644 --- a/config/source.json +++ b/config/source.json @@ -263,6 +263,16 @@ "path": "LICENSE" } }, + "ext-zip": { + "type": "url", + "url": "https://pecl.php.net/get/zip", + "path": "php-src/ext/zip/latest", + "filename": "ext-zip.tgz", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "ext-zstd": { "type": "git", "path": "php-src/ext/zstd", diff --git a/src/SPC/builder/extension/zip.php b/src/SPC/builder/extension/zip.php new file mode 100644 index 00000000..eab5e40a --- /dev/null +++ b/src/SPC/builder/extension/zip.php @@ -0,0 +1,17 @@ + Date: Mon, 6 Oct 2025 21:05:05 +0200 Subject: [PATCH 2/3] don't test macos 13 --- src/globals/test-extensions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index 764cfc7d..d0c459d2 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -23,7 +23,7 @@ $test_php_version = [ // test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available) $test_os = [ - 'macos-13', // bin/spc for x86_64 + // 'macos-13', // bin/spc for x86_64 // 'macos-14', // bin/spc for arm64 'macos-15', // bin/spc for arm64 'ubuntu-latest', // bin/spc-alpine-docker for x86_64 From a3acad4ef306a7ff639e95af9fcd3e9133ad3cfe Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 13 Oct 2025 10:59:31 +0200 Subject: [PATCH 3/3] Update config/source.json --- config/source.json | 1 - 1 file changed, 1 deletion(-) diff --git a/config/source.json b/config/source.json index 8b556ca8..7b5b6c25 100644 --- a/config/source.json +++ b/config/source.json @@ -266,7 +266,6 @@ "ext-zip": { "type": "url", "url": "https://pecl.php.net/get/zip", - "path": "php-src/ext/zip/latest", "filename": "ext-zip.tgz", "license": { "type": "file",