summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavid Hicks <david@hicks.id.au>2017-07-29 20:53:32 +1000
committerMichał Górny <mgorny@gentoo.org>2017-07-30 11:15:49 +0200
commit9582130f1d099fe3149ee24eb7d054b96bdbf74e (patch)
treeb2516a2c71e80e007e499d248f2897c755246de7 /eclass
parentbitcoincore.eclass: Always use HTTPS for accessing GitHub (diff)
downloadgentoo-9582130f1d099fe3149ee24eb7d054b96bdbf74e.tar.gz
gentoo-9582130f1d099fe3149ee24eb7d054b96bdbf74e.tar.bz2
gentoo-9582130f1d099fe3149ee24eb7d054b96bdbf74e.zip
leechcraft.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')
-rw-r--r--eclass/leechcraft.eclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass
index 49eb6f5b9886..1c80745f524c 100644
--- a/eclass/leechcraft.eclass
+++ b/eclass/leechcraft.eclass
@@ -28,8 +28,7 @@ esac
inherit cmake-utils
if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git
- https://github.com/0xd34df00d/leechcraft.git"
+ EGIT_REPO_URI="https://github.com/0xd34df00d/leechcraft.git"
inherit git-r3
else