Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 28 Dec 2021 10:42:13
Message-Id: 1640688116.399689a049bc66a5dfb9ff5ff2e7b32d5281a280.sam@gentoo
1 commit: 399689a049bc66a5dfb9ff5ff2e7b32d5281a280
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 28 10:41:31 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 28 10:41:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399689a0
7
8 toolchain.eclass: use HTTPS for snapshots
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 eclass/toolchain.eclass | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
16 index fd03ba176276..dfca9ecee0d0 100644
17 --- a/eclass/toolchain.eclass
18 +++ b/eclass/toolchain.eclass
19 @@ -373,7 +373,7 @@ get_gcc_src_uri() {
20 # pull gcc tarball from another location. Frequently used by gnat-gpl.
21 GCC_SRC_URI="${GCC_TARBALL_SRC_URI}"
22 elif [[ -n ${SNAPSHOT} ]] ; then
23 - GCC_SRC_URI="ftp://gcc.gnu.org/pub/gcc/snapshots/${SNAPSHOT}/gcc-${SNAPSHOT}.tar.xz"
24 + GCC_SRC_URI="https://gcc.gnu.org/pub/gcc/snapshots/${SNAPSHOT}/gcc-${SNAPSHOT}.tar.xz"
25 else
26 if tc_version_is_between 5.5 6 || tc_version_is_between 6.4 7 || tc_version_is_at_least 7.2 ; then
27 GCC_SRC_URI="mirror://gnu/gcc/gcc-${GCC_PV}/gcc-${GCC_RELEASE_VER}.tar.xz"