use HTTPS when retrieving code from the internet

This commit is contained in:
Viktor Szakats 2023-08-30 08:57:42 +00:00 committed by Rich Felker
parent 1f5f342295
commit 26bb551045
2 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@ MPFR_SITE = $(GNU_SITE)/mpfr
ISL_SITE = https://downloads.sourceforge.net/project/libisl/ ISL_SITE = https://downloads.sourceforge.net/project/libisl/
MUSL_SITE = https://musl.libc.org/releases MUSL_SITE = https://musl.libc.org/releases
MUSL_REPO = git://git.musl-libc.org/musl MUSL_REPO = https://git.musl-libc.org/git/musl
LINUX_SITE = https://cdn.kernel.org/pub/linux/kernel LINUX_SITE = https://cdn.kernel.org/pub/linux/kernel
LINUX_HEADERS_SITE = http://ftp.barfooze.de/pub/sabotage/tarballs/ LINUX_HEADERS_SITE = https://ftp.barfooze.de/pub/sabotage/tarballs/
DL_CMD = wget -c -O DL_CMD = wget -c -O
SHA1_CMD = sha1sum -c SHA1_CMD = sha1sum -c
@ -76,7 +76,7 @@ $(SOURCES):
$(SOURCES)/config.sub: | $(SOURCES) $(SOURCES)/config.sub: | $(SOURCES)
mkdir -p $@.tmp mkdir -p $@.tmp
cd $@.tmp && $(DL_CMD) $(notdir $@) "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=$(CONFIG_SUB_REV)" cd $@.tmp && $(DL_CMD) $(notdir $@) "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=$(CONFIG_SUB_REV)"
cd $@.tmp && touch $(notdir $@) cd $@.tmp && touch $(notdir $@)
cd $@.tmp && $(SHA1_CMD) $(CURDIR)/hashes/$(notdir $@).$(CONFIG_SUB_REV).sha1 cd $@.tmp && $(SHA1_CMD) $(CURDIR)/hashes/$(notdir $@).$(CONFIG_SUB_REV).sha1
mv $@.tmp/$(notdir $@) $@ mv $@.tmp/$(notdir $@) $@

View File

@ -7,7 +7,7 @@ GCC_CONFIG += --enable-default-pie
# the above --with-cpu=mj2 in order to try: # the above --with-cpu=mj2 in order to try:
# GCC_VER = 4.2.1 # GCC_VER = 4.2.1
# BINUTILS_VER = 397a64b3 # BINUTILS_VER = 397a64b3
# BINUTILS_SITE = http://landley.net/aboriginal/mirror # BINUTILS_SITE = https://landley.net/aboriginal/mirror
# Optional to produce a smaller toolchain: # Optional to produce a smaller toolchain:
# COMMON_CONFIG += --disable-nls # COMMON_CONFIG += --disable-nls