commit:     296c23bb554813d1dbaf0541169b13a415a94912
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Aug 24 08:06:07 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 18:37:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=296c23bb

app-mobilephone/dfu-util: use https:// instead of git:// for cloning

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 <mmk <AT> levelnine.at>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-mobilephone/dfu-util/dfu-util-0.11.ebuild | 2 +-
 app-mobilephone/dfu-util/dfu-util-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-mobilephone/dfu-util/dfu-util-0.11.ebuild 
b/app-mobilephone/dfu-util/dfu-util-0.11.ebuild
index 93350d080235..c5eac4319329 100644
--- a/app-mobilephone/dfu-util/dfu-util-0.11.ebuild
+++ b/app-mobilephone/dfu-util/dfu-util-0.11.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 if [[ ${PV} == *9999 ]] ; then
-       EGIT_REPO_URI="git://git.code.sf.net/p/dfu-util/dfu-util"
+       EGIT_REPO_URI="https://git.code.sf.net/p/dfu-util/dfu-util";
        inherit autotools git-r3
 else
        SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz";

diff --git a/app-mobilephone/dfu-util/dfu-util-9999.ebuild 
b/app-mobilephone/dfu-util/dfu-util-9999.ebuild
index 7204f3fb82a4..86f93de93c65 100644
--- a/app-mobilephone/dfu-util/dfu-util-9999.ebuild
+++ b/app-mobilephone/dfu-util/dfu-util-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 if [[ ${PV} == *9999 ]] ; then
-       EGIT_REPO_URI="git://git.code.sf.net/p/dfu-util/dfu-util"
+       EGIT_REPO_URI="https://git.code.sf.net/p/dfu-util/dfu-util";
        inherit autotools git-r3
 else
        SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz";

Reply via email to