Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 30 Jul 2017 09:16:15
Message-Id: 1501406149.30e6e7c605e506448f12365eed2aa56faba71b2e.mgorny@gentoo
1 commit: 30e6e7c605e506448f12365eed2aa56faba71b2e
2 Author: David Hicks <david <AT> hicks <DOT> id <DOT> au>
3 AuthorDate: Sat Jul 29 10:48:45 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 30 09:15:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30e6e7c6
7
8 bitcoincore.eclass: Always use HTTPS for accessing GitHub
9
10 To prevent MITM attacks, always use HTTPS with GitHub domains. GitHub
11 supports "Smart HTTPS" git which means that shallow clones are possible
12 over HTTPS. Don't use a git:// fallback because this would allow an
13 attacker to always force fallback to an unsafe protocol.
14
15 eclass/bitcoincore.eclass | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/eclass/bitcoincore.eclass b/eclass/bitcoincore.eclass
19 index 6144fb8ee68..22bc5db1df7 100644
20 --- a/eclass/bitcoincore.eclass
21 +++ b/eclass/bitcoincore.eclass
22 @@ -131,7 +131,7 @@ HOMEPAGE="http://bitcoincore.org/"
23
24 if [ -z "$BITCOINCORE_COMMITHASH" ]; then
25 EGIT_PROJECT='bitcoin'
26 - EGIT_REPO_URI="git://github.com/bitcoin/bitcoin.git https://github.com/bitcoin/bitcoin.git"
27 + EGIT_REPO_URI="https://github.com/bitcoin/bitcoin.git"
28 else
29 SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> ${MyPN}-v${PV}${BITCOINCORE_SRC_SUFFIX}.tgz"
30 if [ -z "${BITCOINCORE_NO_SYSLIBS}" ]; then