BuildSystem: Use ftpmirror.gnu.org for downloads

ftp.gnu.org is really slow :(
This commit is contained in:
Bananymous 2025-09-30 16:13:38 +03:00
parent da39e98adf
commit da6b8eb2ab
10 changed files with 15 additions and 15 deletions

View File

@ -2,7 +2,7 @@
NAME='bash' NAME='bash'
VERSION='5.2.37' VERSION='5.2.37'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/bash/bash-$VERSION.tar.gz#9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff" DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/bash/bash-$VERSION.tar.gz#9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff"
DEPENDENCIES=('ncurses') DEPENDENCIES=('ncurses')
CONFIG_SUB=('support/config.sub') CONFIG_SUB=('support/config.sub')
CONFIGURE_OPTIONS=( CONFIGURE_OPTIONS=(

View File

@ -2,7 +2,7 @@
NAME='binutils' NAME='binutils'
VERSION='2.44' VERSION='2.44'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/binutils/binutils-$VERSION.tar.gz#0cdd76777a0dfd3dd3a63f215f030208ddb91c2361d2bcc02acec0f1c16b6a2e" DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/binutils/binutils-$VERSION.tar.gz#0cdd76777a0dfd3dd3a63f215f030208ddb91c2361d2bcc02acec0f1c16b6a2e"
DEPENDENCIES=('zlib' 'zstd') DEPENDENCIES=('zlib' 'zstd')
MAKE_INSTALL_TARGETS=('install-strip') MAKE_INSTALL_TARGETS=('install-strip')
CONFIGURE_OPTIONS=( CONFIGURE_OPTIONS=(

View File

@ -2,7 +2,7 @@
NAME='gcc' NAME='gcc'
VERSION='15.2.0' VERSION='15.2.0'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/gcc/gcc-$VERSION/gcc-$VERSION.tar.xz#438fd996826b0c82485a29da03a72d71d6e3541a83ec702df4271f6fe025d24e" DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/gcc/gcc-$VERSION/gcc-$VERSION.tar.xz#438fd996826b0c82485a29da03a72d71d6e3541a83ec702df4271f6fe025d24e"
DEPENDENCIES=('binutils' 'gmp' 'mpfr' 'mpc') DEPENDENCIES=('binutils' 'gmp' 'mpfr' 'mpc')
MAKE_INSTALL_TARGETS=('install-strip-gcc' 'install-strip-target-libgcc' 'install-strip-target-libstdc++-v3') MAKE_INSTALL_TARGETS=('install-strip-gcc' 'install-strip-target-libgcc' 'install-strip-target-libstdc++-v3')
CONFIGURE_OPTIONS=( CONFIGURE_OPTIONS=(

View File

@ -2,11 +2,11 @@
NAME='gmp' NAME='gmp'
VERSION='6.3.0' VERSION='6.3.0'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/gmp/gmp-$VERSION.tar.xz#a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898" DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/gmp/gmp-$VERSION.tar.xz#a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898"
CONFIG_SUB=('configfsf.sub') CONFIG_SUB=('configfsf.sub')
CONFIGURE_OPTIONS=(
# configure does not work with (default) c23 'CFLAGS=-std=c17'
export CFLAGS="--std=c17 $CFLAGS" )
post_install() { post_install() {
# remove libtool file # remove libtool file

View File

@ -2,7 +2,7 @@
NAME='libiconv' NAME='libiconv'
VERSION='1.18' VERSION='1.18'
DOWNLOAD_URL="https://ftp.gnu.org/pub/gnu/libiconv/libiconv-$VERSION.tar.gz#3b08f5f4f9b4eb82f151a7040bfd6fe6c6fb922efe4b1659c66ea933276965e8" DOWNLOAD_URL="https://ftpmirror.gnu.org/pub/gnu/libiconv/libiconv-$VERSION.tar.gz#3b08f5f4f9b4eb82f151a7040bfd6fe6c6fb922efe4b1659c66ea933276965e8"
CONFIG_SUB=('build-aux/config.sub' 'libcharset/build-aux/config.sub') CONFIG_SUB=('build-aux/config.sub' 'libcharset/build-aux/config.sub')
CONFIGURE_OPTIONS=( CONFIGURE_OPTIONS=(
'--disable-nls' '--disable-nls'

View File

@ -2,7 +2,7 @@
NAME='make' NAME='make'
VERSION='4.4.1' VERSION='4.4.1'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/make/make-$VERSION.tar.gz#dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3" DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/make/make-$VERSION.tar.gz#dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3"
CONFIG_SUB=('build-aux/config.sub') CONFIG_SUB=('build-aux/config.sub')
CONFIGURE_OPTIONS=( CONFIGURE_OPTIONS=(
'--with-sysroot=/' '--with-sysroot=/'

View File

@ -2,7 +2,7 @@
NAME='mpc' NAME='mpc'
VERSION='1.3.1' VERSION='1.3.1'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/mpc/mpc-$VERSION.tar.gz#ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8" DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/mpc/mpc-$VERSION.tar.gz#ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8"
DEPENDENCIES=('gmp' 'mpfr') DEPENDENCIES=('gmp' 'mpfr')
CONFIG_SUB=('build-aux/config.sub') CONFIG_SUB=('build-aux/config.sub')
CONFIGURE_OPTIONS=( CONFIGURE_OPTIONS=(

View File

@ -2,7 +2,7 @@
NAME='mpfr' NAME='mpfr'
VERSION='4.2.2' VERSION='4.2.2'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/mpfr/mpfr-$VERSION.tar.gz#826cbb24610bd193f36fde172233fb8c009f3f5c2ad99f644d0dea2e16a20e42" DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/mpfr/mpfr-$VERSION.tar.gz#826cbb24610bd193f36fde172233fb8c009f3f5c2ad99f644d0dea2e16a20e42"
DEPENDENCIES=('gmp') DEPENDENCIES=('gmp')
CONFIG_SUB=('config.sub') CONFIG_SUB=('config.sub')
CONFIGURE_OPTIONS=( CONFIGURE_OPTIONS=(

View File

@ -2,7 +2,7 @@
NAME='ncurses' NAME='ncurses'
VERSION='6.5' VERSION='6.5'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/ncurses/ncurses-$VERSION.tar.gz#136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6" DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/ncurses/ncurses-$VERSION.tar.gz#136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6"
CONFIG_SUB=('config.sub') CONFIG_SUB=('config.sub')
CONFIGURE_OPTIONS=( CONFIGURE_OPTIONS=(
"--with-pkg-config='$PKG_CONFIG'" "--with-pkg-config='$PKG_CONFIG'"

View File

@ -3,15 +3,15 @@ set -e
BINUTILS_VERSION="binutils-2.45" BINUTILS_VERSION="binutils-2.45"
BINUTILS_TAR="$BINUTILS_VERSION.tar.xz" BINUTILS_TAR="$BINUTILS_VERSION.tar.xz"
BINUTILS_URL="https://ftp.gnu.org/gnu/binutils/$BINUTILS_TAR" BINUTILS_URL="https://ftpmirror.gnu.org/gnu/binutils/$BINUTILS_TAR"
GCC_VERSION="gcc-15.2.0" GCC_VERSION="gcc-15.2.0"
GCC_TAR="$GCC_VERSION.tar.xz" GCC_TAR="$GCC_VERSION.tar.xz"
GCC_URL="https://ftp.gnu.org/gnu/gcc/$GCC_VERSION/$GCC_TAR" GCC_URL="https://ftpmirror.gnu.org/gnu/gcc/$GCC_VERSION/$GCC_TAR"
GRUB_VERSION="grub-2.06" GRUB_VERSION="grub-2.06"
GRUB_TAR="$GRUB_VERSION.tar.xz" GRUB_TAR="$GRUB_VERSION.tar.xz"
GRUB_URL="https://ftp.gnu.org/gnu/grub/$GRUB_TAR" GRUB_URL="https://ftpmirror.gnu.org/gnu/grub/$GRUB_TAR"
CMAKE_VERSION="cmake-3.26.6-linux-x86_64" CMAKE_VERSION="cmake-3.26.6-linux-x86_64"
CMAKE_TAR="$CMAKE_VERSION.tar.gz" CMAKE_TAR="$CMAKE_VERSION.tar.gz"