Skip to content

Make Travis CI use libcurl+openssl+gssapi for macOS - #5629

Merged
Dongbo Wang (daxian-dbw) merged 4 commits into
PowerShell:masterfrom
markekraus:macOsLibcurlFix
Dec 6, 2017
Merged

Dongbo Wang (daxian-dbw) merged 4 commits into
PowerShell:masterfrom
markekraus:macOsLibcurlFix

Conversation

@markekraus

@markekraus Mark Kraus (markekraus) commented Dec 5, 2017 •

Copy link
Copy Markdown
Contributor

Closes #5590

  • makes Travis CI use the brew installed libcurl that uses OpenSSL for the crypto provider and include the gssapi option. The native libcurl provides inconsistent feature support across OS versions.
  • re-enable tests marked pending in Make the '-SslProtocol' tests pending #5605
  • GSSAPI is required for PowerShellGet in order to support HttpClientHandler.UseDefaultCredentials which it sets as true (unless you supply credentials).

PR Checklist

Note: Please mark anything not applicable to this PR NA.

PR Summary

@markekraus Mark Kraus (markekraus) added the Documentation Needed in this repo Documentation is needed in this repo label Dec 5, 2017
@markekraus Mark Kraus (markekraus) changed the title Make Travis CI use libcurl+openssl Make Travis CI use libcurl+openssl+gssapi Dec 5, 2017
@markekraus

Copy link
Copy Markdown
Contributor Author

yay.. all passed this time.

So.. the question is where do I document this at? in the web cmdlets documentations? somewhere in this repo (install documentation)? both?

@daxian-dbw

Dongbo Wang (daxian-dbw) commented Dec 5, 2017 •

Copy link
Copy Markdown
Member

We need to document it in the web cmdlets help content, and point out what parameters are affected by this. docs/FAQ.md might also be a good place to keep this information.

@TravisEz13 Travis Plunk (TravisEz13) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment about another issue this PR brings up, Please file an issue or submit a PR for this and link in this PR.

Comment thread build.psm1

# Install patched version of curl
Start-NativeExecution { brew install curl --with-openssl } -IgnoreExitcode
Start-NativeExecution { brew install curl --with-openssl --with-gssapi } -IgnoreExitcode

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should update the PowerShell brew recipe as well.
https://github.com/caskroom/homebrew-cask/blob/master/Casks/powershell.rb#L33

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to figure out what to do with the powershell package about this limitation on macOS.
CoreCLR has explicitly moved away from OpenSSL on mac, see this PR: dotnet/corefx#17011.
Please open an issue to track the macOS packaging about this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread CHANGELOG.md
- Remove Pester as a module include with the PowerShell Packages.
In the future, you should be able to add it by running `Install-Module Pester`. (#5623, #5631)
- Make Travis CI use `libcurl+openssl` (#5629, @markekraus)
- Make Travis CI use `libcurl+openssl+gssapi` (#5629, @markekraus)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should only have one line for a single PR

@daxian-dbw

Copy link
Copy Markdown
Member

I didn't add the [feature] tag when resolving a conflict. Add the [feature] to trigger full test run.

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit ee7fbed into PowerShell:master Dec 6, 2017
@daxian-dbw Dongbo Wang (daxian-dbw) changed the title Make Travis CI use libcurl+openssl+gssapi Make Travis CI use libcurl+openssl+gssapi for macOS Dec 6, 2017
@TravisEz13 Travis Plunk (TravisEz13) added this to the 6.0.0-RC.2 milestone Dec 8, 2017
@markekraus
Mark Kraus (markekraus) deleted the macOsLibcurlFix branch January 19, 2018 19:00
@joeyaiello Joey Aiello (joeyaiello) removed the Documentation Needed in this repo Documentation is needed in this repo label Oct 15, 2018
@joeyaiello Joey Aiello (joeyaiello) removed the Documentation Needed in this repo Documentation is needed in this repo label Oct 15, 2018
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
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.

4 participants