xulrunner: use new canonical domain

This commit is contained in:
Dominyk Tiller 2015-11-03 22:31:34 +00:00
parent 1df2ab61a9
commit 340b650522

View file

@ -1,4 +1,4 @@
# speed up head clone, see: https://developer.mozilla.org/en-US/docs/Developer_Guide/Source_Code/Mercurial/Bundles
# Speed up head clone, see: https://developer.mozilla.org/en-US/docs/Developer_Guide/Source_Code/Mercurial/Bundles
class HgBundleDownloadStrategy < CurlDownloadStrategy
def stage
mkdir "mozilla-central"
@ -25,7 +25,7 @@ class Xulrunner < Formula
stable do
# Always use direct URLs (releases/<version>/) instead of releases/latest/
url "https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/33.0/source/xulrunner-33.0.source.tar.bz2"
url "https://archive.mozilla.org/pub/mozilla.org/xulrunner/releases/33.0/source/xulrunner-33.0.source.tar.bz2"
sha256 "99402cf84949e06bac72d8abbdecde57e8af465727001ed6849a34632f20bcdb"
# https://github.com/Homebrew/homebrew/issues/33558
@ -39,8 +39,9 @@ class Xulrunner < Formula
end
head do
url "https://ftp.mozilla.org/pub/mozilla.org/firefox/bundles/mozilla-central.hg",
url "https://archive.mozilla.org/pub/mozilla.org/firefox/bundles/mozilla-central.hg",
:using => HgBundleDownloadStrategy, :repo => "https://hg.mozilla.org/mozilla-central"
depends_on :hg => :build
depends_on "gettext" => :build
end