diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 82e53a35a3..e77e14cfe7 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -623,6 +623,10 @@ class ResourceAuditor end def audit_download_strategy + if url =~ %r[^(cvs|bzr|hg|fossil)://] || url =~ %r[^(svn)\+http://] + problem "Use of the #{$&} scheme is deprecated, pass `:using => :#{$1}` instead" + end + return unless using if using == :ssl3 || using == CurlSSL3DownloadStrategy