aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorViktor Szakáts2015-03-02 09:36:01 +0100
committerMike McQuaid2015-03-02 11:53:53 +0000
commit527e800d51177cfa27c6f9dec7fe8ca385894e05 (patch)
treef3c6ecc2215ab79b9c085fe1acbe2fa4500673a6 /Library/Homebrew/cmd
parent525c535bea5ecc97d6dd651ae75a681af41a64e4 (diff)
downloadhomebrew-527e800d51177cfa27c6f9dec7fe8ca385894e05.tar.bz2
brew audit: req https for archive.apache.org urls
Closes #37313. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-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/]