aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2016-08-27 03:07:10 +0100
committerDominyk Tiller2016-09-01 17:29:03 +0100
commit4422bd1f341e57038a8852ca9f8c46c31dbdbcad (patch)
tree6c94a389b375d60fea4d01338c2ac340f4ae4c50 /Library
parent8bb3dda24317350d59c94f805665b8d5dfa3553f (diff)
downloadbrew-4422bd1f341e57038a8852ca9f8c46c31dbdbcad.tar.bz2
audit: enforce https for Debian's anonscm
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 3c26eeb97..b237ede0d 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -1192,6 +1192,7 @@ class ResourceAuditor
%r{^http://tools\.ietf\.org/},
%r{^http://launchpad\.net/},
%r{^http://bitbucket\.org/},
+ %r{^http://anonscm\.debian\.org/},
%r{^http://cpan\.metacpan\.org/},
%r{^http://hackage\.haskell\.org/},
%r{^http://(?:[^/]*\.)?archive\.org},
@@ -1202,6 +1203,8 @@ class ResourceAuditor
problem "#{p} should be `https://cpan.metacpan.org/#{$1}`"
when %r{^(http|ftp)://ftp\.gnome\.org/pub/gnome/(.*)}i
problem "#{p} should be `https://download.gnome.org/#{$2}`"
+ when %r{^git://anonscm\.debian\.org/users/(.*)}i
+ problem "#{p} should be `https://anonscm.debian.org/git/users/#{$1}`"
end
end