aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Szakáts2015-03-02 09:36:01 +0100
committerMike McQuaid2015-03-02 11:53:53 +0000
commit10d5c4f97ba28a31b1e0221ac86365d321c7a3bd (patch)
treefe280951cb54cda5e148c58917b1ea856899e7a4
parent091ec41357757cfba2126e340e68cc05fc045c22 (diff)
downloadbrew-10d5c4f97ba28a31b1e0221ac86365d321c7a3bd.tar.bz2
brew audit: req https for archive.apache.org urls
Closes Homebrew/homebrew#37313. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 6a5c13a6a..220ccaa81 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -318,6 +318,8 @@ class FormulaAuditor
case p
when %r[^http://ftp\.gnu\.org/]
problem "ftp.gnu.org urls should be https://, not http:// (url is #{p})."
+ when %r[^http://archive\.apache\.org/]
+ problem "archive.apache.org urls should be https://, not http (url is #{p})."
when %r[^http://code\.google\.com/]
problem "code.google.com urls should be https://, not http (url is #{p})."
when %r[^http://fossies\.org/]