Skip to content

Conversation

@dzuelke
Copy link
Contributor

@dzuelke dzuelke commented Jul 4, 2023

On macOS, if libcurl is built against SecureTransport, the platform repository will contain an invalid package name:

% composer show --platform | grep curl
ext-curl                           8.2.7    The curl PHP extension
lib-curl                           8.1.2    The curl library
lib-curl-(securetransport) openssl 3.1.1    curl (securetransport) openss...
lib-curl-libssh2                   1.11.0   curl libssh2 version
lib-curl-zlib                      1.2.11   curl zlib version

This change fixes it:

% bin/composer show --platform | grep curl
lib-curl                 8.1.2              The curl library
lib-curl-libssh2         1.11.0             curl libssh2 version
lib-curl-securetransport 3.1.1              curl (securetransport) openssl ...
lib-curl-zlib            1.2.11             curl zlib version

(second column width difference comes from the Composer dev version number)

Should this target 2.2, too? Or 2.5?

Fixes #11548

On macOS, if libcurl is built against SecureTransport, the platform repository will contain an invalid package name:

    % composer show --platform | grep curl
    ext-curl                           8.2.7    The curl PHP extension
    lib-curl                           8.1.2    The curl library
    lib-curl-(securetransport) openssl 3.1.1    curl (securetransport) openss...
    lib-curl-libssh2                   1.11.0   curl libssh2 version
    lib-curl-zlib                      1.2.11   curl zlib version

This change fixes it:

    % bin/composer show --platform | grep curl
    lib-curl                 8.1.2              The curl library
    lib-curl-libssh2         1.11.0             curl libssh2 version
    lib-curl-securetransport 3.1.1              curl (securetransport) openssl ...
    lib-curl-zlib            1.2.11             curl zlib version

(second column width difference comes from the Composer dev version number)
@cdayjr
Copy link
Contributor

cdayjr commented Jul 10, 2023

Seems like this would fix #11548 as well

@Seldaek
Copy link
Member

Seldaek commented Jul 21, 2023

Thanks, I do the 2.2 backports myself it's fine.

Seldaek pushed a commit that referenced this pull request Sep 28, 2023
On macOS, if libcurl is built against SecureTransport, the platform repository will contain an invalid package name:

    % composer show --platform | grep curl
    ext-curl                           8.2.7    The curl PHP extension
    lib-curl                           8.1.2    The curl library
    lib-curl-(securetransport) openssl 3.1.1    curl (securetransport) openss...
    lib-curl-libssh2                   1.11.0   curl libssh2 version
    lib-curl-zlib                      1.2.11   curl zlib version

This change fixes it:

    % bin/composer show --platform | grep curl
    lib-curl                 8.1.2              The curl library
    lib-curl-libssh2         1.11.0             curl libssh2 version
    lib-curl-securetransport 3.1.1              curl (securetransport) openssl ...
    lib-curl-zlib            1.2.11             curl zlib version

(second column width difference comes from the Composer dev version number)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid platform package name in config.platform: lib-curl-(securetransport) openssl

4 participants