-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
wget 1.19.1 #9873
wget 1.19.1 #9873
Conversation
Formula/wget.rb
Outdated
depends_on "openssl" => :recommended | ||
depends_on "libidn" if build.with? "iri" | ||
depends_on "openssl" | ||
depends_on "libidn" => :recommended |
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.
- Make openssl mandatory and libidn recommended per discussions in Homebrew#9613; - Test: write retrieved page to /dev/null (the hundreds of kilobytes of output on stdout is useless).
@MikeMcQuaid Internationalized domain name. "IRI support" is somewhat confusing because Wget can handle Unicode in path, query and fragment (which is simply a matter of percent-encoding) just fine without libidn; however, it requires libidn to support Unicode characters in the domain name. As I said in #9613 (comment), I'm recommending libidn on principle: 1. Wget defaults to supporting IDNs (when libidn is available, that is); 2. The web is increasingly internationalized; I've certainly encountered IDNs in the wild, and I expect to see more. (I do realize you can translate IDNs elsewhere and feed the ASCII version to a Wget without IDN support, e.g., copying from browser's address bar.) However, I just realized that Wget 1.19 dropped support for libidn in favor of libidn2 (commit bettermirror/wget@00ae9b4). Therefore, I removed libidn-related code from the formula. Someone could contribute a libidn2 formula to bring the option back. |
Also probably important to note the security concerns with idn: https://en.wikipedia.org/wiki/Internationalized_domain_name#ASCII_spoofing_concerns
|
Thanks for your contribution to Homebrew! Without people like you submitting PRs we couldn't run this project. You rock! |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?openssl
mandatory andlibidn
recommended per discussions in wget 1.19 #9613;/dev/null
(the hundreds of kilobytes of output on stdout is useless).