bootstrap: Use https by default for source tarballs
commita470ed4877f5ea1ed08716fccc65cd8c3cbae83c
authorOlly Betts <olly@survex.com>
Wed, 11 Apr 2018 21:18:03 +0000 (12 09:18 +1200)
committerOlly Betts <olly@survex.com>
Wed, 11 Apr 2018 22:21:02 +0000 (12 10:21 +1200)
tree7195257054b7e762b6a8ccfe9a70425fef70fa37
parent76b10e719f21f358237d3a05ebc2a36d56ac7048
bootstrap: Use https by default for source tarballs

Download via https from a mirror we've set up on github.  This should
mean fewer CI build failures due to hitting a bad mirror (the CI will
already fail already if github is down), and using https is less likely
to hit issues with firewalls and ISPs interfering with downloads, and
also preserves user privacy a little more.

You can now run ./bootstrap --http to request use of http: URLs (where
available - for "file" there doesn't seem to be an http: download, and
http: mirror URLs might redirect to https:.  As before, --ftp will use
ftp: URLs where they are still available).

We've always checked cryptographic hashes of the tarballs, so this
makes little difference to security.
bootstrap