commit:     9582130f1d099fe3149ee24eb7d054b96bdbf74e
Author:     David Hicks <david <AT> hicks <DOT> id <DOT> au>
AuthorDate: Sat Jul 29 10:53:32 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 30 09:15:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9582130f

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.

 eclass/leechcraft.eclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass
index 49eb6f5b988..1c80745f524 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

Reply via email to