From efd69b16ed3c29cc1f65b010e43515495257ff00 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 27 Jan 2019 16:25:40 +0000 Subject: [PATCH] audit: no longer need openssl/curl HTTP mirrors. Mavericks' `curl` can download these fine over HTTPS. --- Library/Homebrew/dev-cmd/audit.rb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index a5afaf6789..e0965add21 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1122,20 +1122,9 @@ module Homebrew end def audit_urls - urls = [url] + mirrors - - curl_openssl_or_deps = ResourceAuditor.curl_openssl_and_deps.include?(owner.name) - - if spec_name == :stable && curl_openssl_or_deps - problem "should not use xz tarballs" if url.end_with?(".xz") - - unless urls.find { |u| u.start_with?("http://") } - problem "should always include at least one HTTP mirror" - end - end - return unless @online + urls = [url] + mirrors urls.each do |url| next if !@strict && mirrors.include?(url)