1 |
commit: 9582130f1d099fe3149ee24eb7d054b96bdbf74e |
2 |
Author: David Hicks <david <AT> hicks <DOT> id <DOT> au> |
3 |
AuthorDate: Sat Jul 29 10:53:32 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=9582130f |
7 |
|
8 |
leechcraft.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/leechcraft.eclass | 3 +-- |
16 |
1 file changed, 1 insertion(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass |
19 |
index 49eb6f5b988..1c80745f524 100644 |
20 |
--- a/eclass/leechcraft.eclass |
21 |
+++ b/eclass/leechcraft.eclass |
22 |
@@ -28,8 +28,7 @@ esac |
23 |
inherit cmake-utils |
24 |
|
25 |
if [[ ${PV} == 9999 ]]; then |
26 |
- EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git |
27 |
- https://github.com/0xd34df00d/leechcraft.git" |
28 |
+ EGIT_REPO_URI="https://github.com/0xd34df00d/leechcraft.git" |
29 |
|
30 |
inherit git-r3 |
31 |
else |