aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index c3c407f71..83d37051a 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -941,6 +941,11 @@ class ResourceAuditor
problem "Please use \"http://ftpmirror.gnu.org\" instead of #{url}."
end
+ # GNU's ftpmirror does NOT support SSL/TLS.
+ if url =~ %r[^https://ftpmirror\.gnu\.org/]
+ problem "Please use http:// for #{url}"
+ end
+
if mirrors.include?(url)
problem "URL should not be duplicated as a mirror: #{url}"
end
@@ -950,9 +955,6 @@ class ResourceAuditor
# Check a variety of SSL/TLS URLs that don't consistently auto-redirect
# or are overly common errors that need to be reduced & fixed over time.
urls.each do |p|
- # Skip the main url link, as it can't be made SSL/TLS yet.
- next if p =~ %r[/ftpmirror\.gnu\.org]
-
case p
when %r[^http://ftp\.gnu\.org/],
%r[^http://[^/]*\.apache\.org/],