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.
This commit is contained in:
David Hicks
2017-07-29 20:53:32 +10:00
committed by Michał Górny
parent 30e6e7c605
commit 9582130f1d

View File

@@ -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