From 5eff8d80515a004dd4bdd49784a42cfedd38d06d Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sat, 13 Jan 2024 16:19:22 +0100 Subject: [PATCH] app-emulation/xen-tools: use https for git clone git:// is unencrypted and could be used by an attacker (mitm) to insert malicious code, see also [1]. git:// runs on port 9418 which is also less likely open behind a firewall. [1] git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/34784 Signed-off-by: Conrad Kostecki --- app-emulation/xen-tools/xen-tools-4.16.6_pre1-r1.ebuild | 2 +- app-emulation/xen-tools/xen-tools-4.16.6_pre1.ebuild | 2 +- app-emulation/xen-tools/xen-tools-4.16.6_pre2.ebuild | 2 +- app-emulation/xen-tools/xen-tools-4.17.3.ebuild | 2 +- app-emulation/xen-tools/xen-tools-4.17.3_pre1-r1.ebuild | 2 +- app-emulation/xen-tools/xen-tools-4.17.3_pre1.ebuild | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app-emulation/xen-tools/xen-tools-4.16.6_pre1-r1.ebuild b/app-emulation/xen-tools/xen-tools-4.16.6_pre1-r1.ebuild index 91c6b780c701b..cedb095dc5138 100644 --- a/app-emulation/xen-tools/xen-tools-4.16.6_pre1-r1.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.16.6_pre1-r1.ebuild @@ -11,7 +11,7 @@ inherit bash-completion-r1 flag-o-matic multilib python-single-r1 readme.gentoo- if [[ ${PV} == *9999 ]]; then inherit git-r3 REPO="xen.git" - EGIT_REPO_URI="git://xenbits.xen.org/${REPO}" + EGIT_REPO_URI="https://xenbits.xen.org/git-http/${REPO}" S="${WORKDIR}/${REPO}" else KEYWORDS="amd64 ~arm ~arm64 x86" diff --git a/app-emulation/xen-tools/xen-tools-4.16.6_pre1.ebuild b/app-emulation/xen-tools/xen-tools-4.16.6_pre1.ebuild index 57a548e015b79..a09f8d1150216 100644 --- a/app-emulation/xen-tools/xen-tools-4.16.6_pre1.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.16.6_pre1.ebuild @@ -11,7 +11,7 @@ inherit bash-completion-r1 flag-o-matic multilib python-single-r1 readme.gentoo- if [[ ${PV} == *9999 ]]; then inherit git-r3 REPO="xen.git" - EGIT_REPO_URI="git://xenbits.xen.org/${REPO}" + EGIT_REPO_URI="https://xenbits.xen.org/git-http/${REPO}" S="${WORKDIR}/${REPO}" else KEYWORDS="amd64 ~arm ~arm64 x86" diff --git a/app-emulation/xen-tools/xen-tools-4.16.6_pre2.ebuild b/app-emulation/xen-tools/xen-tools-4.16.6_pre2.ebuild index 822fde9ed658a..d865eb635bd56 100644 --- a/app-emulation/xen-tools/xen-tools-4.16.6_pre2.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.16.6_pre2.ebuild @@ -11,7 +11,7 @@ inherit bash-completion-r1 flag-o-matic multilib python-single-r1 readme.gentoo- if [[ ${PV} == *9999 ]]; then inherit git-r3 REPO="xen.git" - EGIT_REPO_URI="git://xenbits.xen.org/${REPO}" + EGIT_REPO_URI="https://xenbits.xen.org/git-http/${REPO}" S="${WORKDIR}/${REPO}" else KEYWORDS="amd64 ~arm ~arm64 x86" diff --git a/app-emulation/xen-tools/xen-tools-4.17.3.ebuild b/app-emulation/xen-tools/xen-tools-4.17.3.ebuild index e91552b8c15f1..bf5e61f700a4e 100644 --- a/app-emulation/xen-tools/xen-tools-4.17.3.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.17.3.ebuild @@ -11,7 +11,7 @@ inherit bash-completion-r1 flag-o-matic multilib python-single-r1 readme.gentoo- if [[ ${PV} == *9999 ]]; then inherit git-r3 REPO="xen.git" - EGIT_REPO_URI="git://xenbits.xen.org/${REPO}" + EGIT_REPO_URI="https://xenbits.xen.org/git-http/${REPO}" S="${WORKDIR}/${REPO}" else KEYWORDS="~amd64 ~arm ~arm64 ~x86" diff --git a/app-emulation/xen-tools/xen-tools-4.17.3_pre1-r1.ebuild b/app-emulation/xen-tools/xen-tools-4.17.3_pre1-r1.ebuild index 4da473ff89682..57925301b4579 100644 --- a/app-emulation/xen-tools/xen-tools-4.17.3_pre1-r1.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.17.3_pre1-r1.ebuild @@ -11,7 +11,7 @@ inherit bash-completion-r1 flag-o-matic multilib python-single-r1 readme.gentoo- if [[ ${PV} == *9999 ]]; then inherit git-r3 REPO="xen.git" - EGIT_REPO_URI="git://xenbits.xen.org/${REPO}" + EGIT_REPO_URI="https://xenbits.xen.org/git-http/${REPO}" S="${WORKDIR}/${REPO}" else KEYWORDS="~amd64 ~arm ~arm64 ~x86" diff --git a/app-emulation/xen-tools/xen-tools-4.17.3_pre1.ebuild b/app-emulation/xen-tools/xen-tools-4.17.3_pre1.ebuild index 8bd7aee22216b..44e234064fb05 100644 --- a/app-emulation/xen-tools/xen-tools-4.17.3_pre1.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.17.3_pre1.ebuild @@ -11,7 +11,7 @@ inherit bash-completion-r1 flag-o-matic multilib python-single-r1 readme.gentoo- if [[ ${PV} == *9999 ]]; then inherit git-r3 REPO="xen.git" - EGIT_REPO_URI="git://xenbits.xen.org/${REPO}" + EGIT_REPO_URI="https://xenbits.xen.org/git-http/${REPO}" S="${WORKDIR}/${REPO}" else KEYWORDS="~amd64 ~arm ~arm64 ~x86"