-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl: Split package to openssl, winssl and gnutls #8469
Conversation
b5d33cc
to
e71bf1d
Compare
Why do you need this? |
For deploying ScummVM without ca dependencies. See the complex instructions here. |
@dscho I see git4win uses winssl and you added mutli backend support to curl some time ago (https://curl.se/mail/lib-2017-08/0118.html). Do you have any thoughts on this change? What would make your life easier (or not harder)? |
3ca2967
to
17a9032
Compare
I don't know how to fix (or test locally) clang64. It fails when linking gnutls. Is it possible to opt out some of the sub-packages on clang? |
Right. In many ways, what I did is the opposite of what this change does. My intention was to have a single package providing all SSL backends, while this PR intends to host the different SSL backends in different packages.
I can see how it makes more sense for MSYS2 to have the three separate packages. After all, users specify precisely what packages they want, and they can then specify which backend they want by using the appropriate package name. The main problem I see with this is dependencees. I.e. if there is a package that depends on I am not familiar enough with
Since Git for Windows builds its own |
Regarding the dependency issue, it is already handled. The alternative packages have |
Thanks, for some reason I had missed that (I did see the |
480feaa
to
0e62f5e
Compare
The gnutls issue falls under lld issues, I gave it up. |
I don't mind. But anyway, you can always pull out the exclusions here in the same commit when you fix the gnutls build. Either way is fine with me. |
@Biswa96 did you report to lld? From my experience, they're glad to help with reported bugs. |
Nope. Experts are discussing things here https://github.com/msys2/CLANG-packages/issues/39 |
Waiting for review then. @lazka? |
Will https://stackoverflow.com/a/37553616:
Or "curl with default Windows certs" should be yet another package, and separate PR? |
Looks like it does. No further changes are needed. |
I'd be willing to work on that in a follow-up pull request though, don't need to hold this up for that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gnutls and rtmpdump are now in staging for clang32, so it is now safe to remove the *-clang-*
exclusion for the -gnutls
variant. clangarm64 is also built.
BTW, if you rebase to master you'll get a CLANG32 CI job to verify that works. |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the changes LGTM technically, but I have no opinion as to their desirability
Time to merge? |
@jeremyd2019 ability to statically link libcurl to single executable without any .dll and certificates folder dependencies is desired for years: #436 #823 #950 #3617 |
Thinking it over once more - maybe better choice was to leave packages |
But all the build logic and version number is exactly the same. What's the point in duplicating it? This will require the maintainers to remember to update 3 different packages on every new release, or when the build script should change. What's the advantage? |
Well, as it done now - it have to change something |
I have no objection to this, but it's complicated enough that I leave it to a more experienced member/collaborator to review and merge. |
ping? 7.77 is released... |
By creating a file named .ci-sequential in the package directory. Required for conflicting sub-packages.
openssl keeps the default name. The other package has a suffixes.
openssl keeps the default name. The other packages have suffixes.
Rebased and adapted to static/shared separation (hopefully). |
thanks, I'll have another look shortly |
ping? |
Hello? |
@lazka? Anybody else? |
openssl keeps the default name. The other packages have suffixes.