summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hicks <david@hicks.id.au>2017-07-29 20:48:45 +1000
committerMichał Górny <mgorny@gentoo.org>2017-07-30 11:15:49 +0200
commit30e6e7c605e506448f12365eed2aa56faba71b2e (patch)
tree402a94f2633ccfe76ac933e870344e511121f902 /eclass/bitcoincore.eclass
parentdev-python/SaltTesting: use HTTPS for GitHub and HOMEPAGE (diff)
downloadgentoo-30e6e7c605e506448f12365eed2aa56faba71b2e.tar.gz
gentoo-30e6e7c605e506448f12365eed2aa56faba71b2e.tar.bz2
gentoo-30e6e7c605e506448f12365eed2aa56faba71b2e.zip
bitcoincore.eclass: Always use HTTPS for accessing GitHub
To prevent MITM attacks, always use HTTPS with GitHub domains. GitHub supports "Smart HTTPS" git which means that shallow clones are possible over HTTPS. Don't use a git:// fallback because this would allow an attacker to always force fallback to an unsafe protocol.
Diffstat (limited to 'eclass/bitcoincore.eclass')
-rw-r--r--eclass/bitcoincore.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/bitcoincore.eclass b/eclass/bitcoincore.eclass
index 6144fb8ee68c..22bc5db1df75 100644
--- a/eclass/bitcoincore.eclass
+++ b/eclass/bitcoincore.eclass
@@ -131,7 +131,7 @@ HOMEPAGE="http://bitcoincore.org/"
if [ -z "$BITCOINCORE_COMMITHASH" ]; then
EGIT_PROJECT='bitcoin'
- EGIT_REPO_URI="git://github.com/bitcoin/bitcoin.git https://github.com/bitcoin/bitcoin.git"
+ EGIT_REPO_URI="https://github.com/bitcoin/bitcoin.git"
else
SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> ${MyPN}-v${PV}${BITCOINCORE_SRC_SUFFIX}.tgz"
if [ -z "${BITCOINCORE_NO_SYSLIBS}" ]; then