commit:     39eca52d93521a58c4205411d4ab11eca1cb1756
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 28 06:08:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 29 02:28:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39eca52d

sys-cluster/legion: remove conceptually invalid repository clone url

This clearly wasn't tested (or else it was a cunning form of troll) to
list the primary clone url as git://directoryname/reponame.git given
that the directory name "StanfordLegion" is not a valid hostname or IP
address.

If I had to hazard the wildest of wild guesses as to what this was
intended to do, it was intended to allow cloning from github.com over
your choice of git:// or https:// protocols. Which leaves open the
alternative question "why in G-ds name...".

In any case, it doesn't matter since github hasn't offered git://
support for quite some time, so even if it worked, it wouldn't work.
This change was made by github for the same reason that portage scolds
you for using it:

 * git-r3: git protocol is completely insecure and may render the ebuild
 * easily susceptible to MITM attacks (even if used only as fallback). Please
 * use https instead.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/legion/legion-21.09.0-r1.ebuild | 2 +-
 sys-cluster/legion/legion-23.03.0.ebuild    | 2 +-
 sys-cluster/legion/legion-9999.ebuild       | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/legion/legion-21.09.0-r1.ebuild 
b/sys-cluster/legion/legion-21.09.0-r1.ebuild
index 55c79a8cda25..8a7849ea2d4e 100644
--- a/sys-cluster/legion/legion-21.09.0-r1.ebuild
+++ b/sys-cluster/legion/legion-21.09.0-r1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A data-centric parallel programming system"
 HOMEPAGE="https://legion.stanford.edu/";
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
-       EGIT_REPO_URI="git://StanfordLegion/${PN}.git 
https://github.com/StanfordLegion/${PN}.git";
+       EGIT_REPO_URI="https://github.com/StanfordLegion/${PN}.git";
 else
        SRC_URI="https://github.com/StanfordLegion/${PN}/archive/${P}.tar.gz";
        S="${WORKDIR}"/${PN}-${P}

diff --git a/sys-cluster/legion/legion-23.03.0.ebuild 
b/sys-cluster/legion/legion-23.03.0.ebuild
index 95cdbf4b0a3c..bc099c90fc81 100644
--- a/sys-cluster/legion/legion-23.03.0.ebuild
+++ b/sys-cluster/legion/legion-23.03.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A data-centric parallel programming system"
 HOMEPAGE="https://legion.stanford.edu/";
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
-       EGIT_REPO_URI="git://StanfordLegion/${PN}.git 
https://github.com/StanfordLegion/${PN}.git";
+       EGIT_REPO_URI="https://github.com/StanfordLegion/${PN}.git";
 else
        SRC_URI="https://github.com/StanfordLegion/${PN}/archive/${P}.tar.gz";
        S="${WORKDIR}"/${PN}-${P}

diff --git a/sys-cluster/legion/legion-9999.ebuild 
b/sys-cluster/legion/legion-9999.ebuild
index 55c79a8cda25..0857561f4b4a 100644
--- a/sys-cluster/legion/legion-9999.ebuild
+++ b/sys-cluster/legion/legion-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -9,7 +9,7 @@ DESCRIPTION="A data-centric parallel programming system"
 HOMEPAGE="https://legion.stanford.edu/";
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
-       EGIT_REPO_URI="git://StanfordLegion/${PN}.git 
https://github.com/StanfordLegion/${PN}.git";
+       EGIT_REPO_URI="https://github.com/StanfordLegion/${PN}.git";
 else
        SRC_URI="https://github.com/StanfordLegion/${PN}/archive/${P}.tar.gz";
        S="${WORKDIR}"/${PN}-${P}

Reply via email to