powershell 6.0.0-alpha.12: add dependency on openssl and a note with … #26617
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After making all changes to the cask:
brew cask audit --download {{cask_file}}
is error-free.brew cask style --fix {{cask_file}}
reports no offenses.According to official docs, Homebrew's
openssl
andcurl --with-openssl
are the prerequisites for PowerShell.openssl
is specified withdepends_on
because it is required for some commands such asInvoke-WebRequest
(a PowerShell's parallel to wget and curl).In contrast,
curl
is not specified but noted in caveats for the some reasons.The OpenSSL-backed libcurl is difficult to depend on because it requires a non-standard option (
--with-openssl
).Furthermore, the parts depending on it are hard to invoke from PowerShell (but #C).
For more infomation, see PowerShell/PowerShell#2211