From a33ca44ca9fb95f9d009fa672b7a988286f8f4e8 Mon Sep 17 00:00:00 2001 From: Marc Henderkes Date: Tue, 18 Nov 2025 11:28:25 +0100 Subject: [PATCH] test curl --- config/lib.json | 104 +++++++++++++++----------------- config/source.json | 89 ++++++++++++--------------- src/globals/test-extensions.php | 8 +-- 3 files changed, 92 insertions(+), 109 deletions(-) diff --git a/config/lib.json b/config/lib.json index 11272f26..b0520fc5 100644 --- a/config/lib.json +++ b/config/lib.json @@ -249,6 +249,24 @@ "unicode" ] }, + "idn2": { + "source": "libidn2", + "pkg-configs": [ + "libidn2" + ], + "headers": [ + "idn2.h" + ], + "lib-suggests-unix": [ + "libiconv", + "libunistring", + "gettext" + ], + "lib-depends-macos": [ + "libiconv", + "gettext" + ] + }, "imagemagick": { "source": "imagemagick", "cpp-library": true, @@ -296,6 +314,16 @@ "jbig_ar.h" ] }, + "krb5": { + "source": "krb5", + "pkg-configs": [ + "krb5-gssapi" + ], + "headers": [ + "krb5.h", + "gssapi/gssapi.h" + ] + }, "ldap": { "source": "ldap", "pkg-configs": [ @@ -583,6 +611,16 @@ "zstd" ] }, + "libunistring": { + "source": "libunistring", + "static-libs-unix": [ + "libunistring.a" + ], + "headers": [ + "unistring.h", + "unistring/" + ] + }, "liburing": { "source": "liburing", "pkg-configs": [ @@ -847,6 +885,18 @@ "libpgcommon.lib" ] }, + "psl": { + "source": "libpsl", + "pkg-configs": [ + "libpsl" + ], + "headers": [ + "libpsl.h" + ], + "lib-depends": [ + "idn2" + ] + }, "pthreads4w": { "source": "pthreads4w", "static-libs-windows": [ @@ -956,56 +1006,6 @@ "libiconv" ] }, - "krb5": { - "source": "krb5", - "pkg-configs": [ - "krb5-gssapi" - ], - "headers": [ - "krb5.h", - "gssapi/gssapi.h" - ] - }, - "libunistring": { - "source": "libunistring", - "static-libs-unix": [ - "libunistring.a" - ], - "headers": [ - "unistring.h", - "unistring/" - ] - }, - "idn2": { - "source": "libidn2", - "pkg-configs": [ - "libidn2" - ], - "headers": [ - "idn2.h" - ], - "lib-suggests-linux": [ - "libiconv", - "libunistring", - "gettext" - ], - "lib-depends-macos": [ - "libiconv", - "gettext" - ] - }, - "psl": { - "source": "libpsl", - "pkg-configs": [ - "libpsl" - ], - "headers": [ - "libpsl.h" - ], - "lib-depends": [ - "idn2" - ] - }, "zlib": { "source": "zlib", "static-libs-unix": [ @@ -1039,9 +1039,5 @@ "zstd.h", "zstd_errors.h" ] - }, - "frankenphp": { - "source": "frankenphp", - "type": "target" } } diff --git a/config/source.json b/config/source.json index d10ecc5e..ba3b15d3 100644 --- a/config/source.json +++ b/config/source.json @@ -305,7 +305,6 @@ "type": "ghtar", "repo": "php/frankenphp", "prefer-stable": true, - "provide-pre-built": false, "license": { "type": "file", "path": "LICENSE" @@ -373,16 +372,6 @@ "path": "LICENSE" } }, - "frankenphp": { - "type": "ghtar", - "repo": "php/frankenphp", - "prefer-stable": true, - "provide-pre-build": false, - "license": { - "type": "file", - "path": "LICENSE" - } - }, "icu-static-win": { "type": "url", "url": "https://dl.static-php.dev/static-php-cli/deps/icu-static-windows-x64/icu-static-windows-x64.zip", @@ -441,6 +430,16 @@ "path": "COPYING" } }, + "krb5": { + "type": "ghtagtar", + "repo": "krb5/krb5", + "match": "krb5.+-final", + "prefer-stable": true, + "license": { + "type": "file", + "path": "NOTICE" + } + }, "ldap": { "type": "filelist", "url": "https://www.openldap.org/software/download/OpenLDAP/openldap-release/", @@ -599,6 +598,15 @@ "path": "source/COPYING" } }, + "libidn2": { + "type": "filelist", + "url": "https://ftp.gnu.org/gnu/libidn/", + "regex": "/href=\"(?libidn2-(?[^\"]+)\\.tar\\.gz)\"/", + "license": { + "type": "file", + "path": "COPYING" + } + }, "libjpeg": { "type": "ghtar", "repo": "libjpeg-turbo/libjpeg-turbo", @@ -652,6 +660,16 @@ "path": "LICENSE" } }, + "libpsl": { + "type": "ghrel", + "repo": "rockdaboot/libpsl", + "match": "libpsl.+\\.tar\\.gz", + "prefer-stable": true, + "license": { + "type": "file", + "path": "COPYING" + } + }, "librabbitmq": { "type": "git", "url": "https://github.com/alanxz/rabbitmq-c.git", @@ -700,6 +718,15 @@ "path": "LICENSE.md" } }, + "libunistring": { + "type": "filelist", + "url": "https://ftp.gnu.org/gnu/libunistring/", + "regex": "/href=\"(?libunistring-(?[^\"]+)\\.tar\\.gz)\"/", + "license": { + "type": "file", + "path": "COPYING.LIB" + } + }, "liburing": { "type": "ghtar", "repo": "axboe/liburing", @@ -1181,46 +1208,6 @@ "path": "LICENSE" } }, - "krb5": { - "type": "ghtagtar", - "repo": "krb5/krb5", - "match": "krb5.+-final", - "prefer-stable": true, - "license": { - "type": "file", - "path": "NOTICE" - } - }, - "libunistring": { - "type": "filelist", - "url": "https://ftp.gnu.org/gnu/libunistring/", - "regex": "/href=\"(?libunistring-(?[^\"]+)\\.tar\\.gz)\"/", - "prefer-stable": true, - "license": { - "type": "file", - "path": "COPYING.LIB" - } - }, - "libidn2": { - "type": "filelist", - "url": "https://ftp.gnu.org/gnu/libidn/", - "regex": "/href=\"(?libidn2-(?[^\"]+)\\.tar\\.gz)\"/", - "prefer-stable": true, - "license": { - "type": "file", - "path": "COPYING" - } - }, - "libpsl": { - "type": "ghrel", - "repo": "rockdaboot/libpsl", - "match": "libpsl.+\\.tar\\.gz", - "prefer-stable": true, - "license": { - "type": "file", - "path": "COPYING" - } - }, "zlib": { "type": "ghrel", "repo": "madler/zlib", diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index 62d7d411..dddcc0f2 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -31,7 +31,7 @@ $test_os = [ 'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64 'ubuntu-24.04-arm', // bin/spc for arm64 // 'windows-2022', // .\bin\spc.ps1 - 'windows-2025', + // 'windows-2025', ]; // whether enable thread safe @@ -50,14 +50,14 @@ $prefer_pre_built = false; // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). $extensions = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'rdkafka', + 'Linux', 'Darwin' => 'curl', 'Windows' => 'bcmath', }; // If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`). $shared_extensions = match (PHP_OS_FAMILY) { - 'Linux' => 'snmp', - 'Darwin' => 'snmp', + 'Linux' => '', + 'Darwin' => '', 'Windows' => '', };