1313function build_native_binutils()
1414{
1515 # https://www.gnu.org/software/binutils/
16- # https://ftp .gnu.org/gnu/binutils/
16+ # https://ftpmirror .gnu.org/gnu/binutils/
1717
1818 # https://github.com/archlinux/svntogit-packages/blob/packages/binutils/trunk/PKGBUILD
1919 # https://archlinuxarm.org/packages/aarch64/binutils/files/PKGBUILD
@@ -44,7 +44,7 @@ function build_native_binutils()
4444 local native_binutils_src_folder_name=" binutils-${native_binutils_version} "
4545
4646 local native_binutils_archive=" ${native_binutils_src_folder_name} .tar.xz"
47- local native_binutils_url=" https://ftp .gnu.org/gnu/binutils/${native_binutils_archive} "
47+ local native_binutils_url=" https://ftpmirror .gnu.org/gnu/binutils/${native_binutils_archive} "
4848
4949 local native_binutils_folder_name=" native-binutils${step} -${native_binutils_version} "
5050
@@ -278,7 +278,7 @@ function test_native_binutils()
278278function build_native_gdb()
279279{
280280 # https://www.gnu.org/software/gdb/
281- # https://ftp .gnu.org/gnu/gdb/
281+ # https://ftpmirror .gnu.org/gnu/gdb/
282282
283283 # https://archlinuxarm.org/packages/aarch64/gdb/files/PKGBUILD
284284 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gdb-git
@@ -300,7 +300,7 @@ function build_native_gdb()
300300 local native_gdb_src_folder_name=" gdb-${native_gdb_version} "
301301
302302 local native_gdb_archive=" ${native_gdb_src_folder_name} .tar.xz"
303- local native_gdb_url=" https://ftp .gnu.org/gnu/gdb/${native_gdb_archive} "
303+ local native_gdb_url=" https://ftpmirror .gnu.org/gnu/gdb/${native_gdb_archive} "
304304
305305 local native_gdb_folder_name=" native-gdb${step} -${native_gdb_version} "
306306
@@ -442,7 +442,7 @@ function test_native_gdb()
442442function build_native_gcc()
443443{
444444 # https://gcc.gnu.org
445- # https://ftp .gnu.org/gnu/gcc/
445+ # https://ftpmirror .gnu.org/gnu/gcc/
446446 # https://gcc.gnu.org/wiki/InstallingGCC
447447 # https://gcc.gnu.org/install/build.html
448448
@@ -505,7 +505,7 @@ function build_native_gcc()
505505 else
506506 local native_gcc_src_folder_name=" gcc-${native_gcc_version} "
507507 local native_gcc_archive=" ${native_gcc_src_folder_name} .tar.xz"
508- local native_gcc_url=" https://ftp .gnu.org/gnu/gcc/gcc-${native_gcc_version} /${native_gcc_archive} "
508+ local native_gcc_url=" https://ftpmirror .gnu.org/gnu/gcc/gcc-${native_gcc_version} /${native_gcc_archive} "
509509 fi
510510
511511 local native_gcc_folder_name=" native-gcc${step} -${native_gcc_version} "
@@ -1050,7 +1050,7 @@ __EOF__
10501050
10511051function build_mingw_binutils()
10521052{
1053- # https://ftp .gnu.org/gnu/binutils/
1053+ # https://ftpmirror .gnu.org/gnu/binutils/
10541054
10551055 # https://github.com/archlinux/svntogit-community/blob/packages/mingw-w64-binutils/trunk/PKGBUILD
10561056 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mingw-w64-binutils
@@ -1066,7 +1066,7 @@ function build_mingw_binutils()
10661066 local mingw_binutils_src_folder_name=" binutils-${mingw_binutils_version} "
10671067
10681068 local mingw_binutils_archive=" ${mingw_binutils_src_folder_name} .tar.xz"
1069- local mingw_binutils_url=" https://ftp .gnu.org/gnu/binutils/${mingw_binutils_archive} "
1069+ local mingw_binutils_url=" https://ftpmirror .gnu.org/gnu/binutils/${mingw_binutils_archive} "
10701070
10711071 local mingw_binutils_folder_name=" mingw-binutils-${mingw_binutils_version} "
10721072
@@ -1474,7 +1474,7 @@ function build_mingw_gcc_first()
14741474 # https://github.com/archlinux/svntogit-community/blob/packages/mingw-w64-gcc/trunk/PKGBUILD
14751475 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mingw-w64-gcc
14761476
1477- # https://ftp .gnu.org/gnu/gcc/
1477+ # https://ftpmirror .gnu.org/gnu/gcc/
14781478 # 2018-12-06, "7.4.0"
14791479 # 2019-11-14, "7.5.0"
14801480 # 2019-02-22, "8.3.0"
@@ -1488,7 +1488,7 @@ function build_mingw_gcc_first()
14881488 local mingw_gcc_src_folder_name=" gcc-${mingw_gcc_version} "
14891489
14901490 local mingw_gcc_archive=" ${mingw_gcc_src_folder_name} .tar.xz"
1491- local mingw_gcc_url=" https://ftp .gnu.org/gnu/gcc/gcc-${mingw_gcc_version} /${mingw_gcc_archive} "
1491+ local mingw_gcc_url=" https://ftpmirror .gnu.org/gnu/gcc/gcc-${mingw_gcc_version} /${mingw_gcc_archive} "
14921492
14931493 export mingw_gcc_folder_name=" mingw-gcc-${mingw_gcc_version} "
14941494
@@ -2712,7 +2712,7 @@ function test_xz()
27122712function build_tar()
27132713{
27142714 # https://www.gnu.org/software/tar/
2715- # https://ftp .gnu.org/gnu/tar/
2715+ # https://ftpmirror .gnu.org/gnu/tar/
27162716
27172717 # https://archlinuxarm.org/packages/aarch64/tar/files/PKGBUILD
27182718 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=tar-git
@@ -2732,7 +2732,7 @@ function build_tar()
27322732 else
27332733 local tar_archive=" ${tar_src_folder_name} .tar.xz"
27342734 fi
2735- local tar_url=" https://ftp .gnu.org/gnu/tar/${tar_archive} "
2735+ local tar_url=" https://ftpmirror .gnu.org/gnu/tar/${tar_archive} "
27362736
27372737 local tar_folder_name=" ${tar_src_folder_name} "
27382738
@@ -2907,7 +2907,7 @@ function test_tar()
29072907function build_coreutils()
29082908{
29092909 # https://www.gnu.org/software/coreutils/
2910- # https://ftp .gnu.org/gnu/coreutils/
2910+ # https://ftpmirror .gnu.org/gnu/coreutils/
29112911
29122912 # https://archlinuxarm.org/packages/aarch64/coreutils/files/PKGBUILD
29132913
@@ -2921,7 +2921,7 @@ function build_coreutils()
29212921 local coreutils_src_folder_name=" coreutils-${coreutils_version} "
29222922
29232923 local coreutils_archive=" ${coreutils_src_folder_name} .tar.xz"
2924- local coreutils_url=" https://ftp .gnu.org/gnu/coreutils/${coreutils_archive} "
2924+ local coreutils_url=" https://ftpmirror .gnu.org/gnu/coreutils/${coreutils_archive} "
29252925
29262926 local coreutils_folder_name=" ${coreutils_src_folder_name} "
29272927
@@ -3217,7 +3217,7 @@ function test_pkg_config()
32173217function build_m4()
32183218{
32193219 # https://www.gnu.org/software/m4/
3220- # https://ftp .gnu.org/gnu/m4/
3220+ # https://ftpmirror .gnu.org/gnu/m4/
32213221
32223222 # https://archlinuxarm.org/packages/aarch64/m4/files/PKGBUILD
32233223 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=m4-git
@@ -3232,7 +3232,7 @@ function build_m4()
32323232 local m4_src_folder_name=" m4-${m4_version} "
32333233
32343234 local m4_archive=" ${m4_src_folder_name} .tar.xz"
3235- local m4_url=" https://ftp .gnu.org/gnu/m4/${m4_archive} "
3235+ local m4_url=" https://ftpmirror .gnu.org/gnu/m4/${m4_archive} "
32363236
32373237 local m4_folder_name=" ${m4_src_folder_name} "
32383238
@@ -3360,7 +3360,7 @@ function test_m4()
33603360function build_gawk()
33613361{
33623362 # https://www.gnu.org/software/gawk/
3363- # https://ftp .gnu.org/gnu/gawk/
3363+ # https://ftpmirror .gnu.org/gnu/gawk/
33643364
33653365 # https://archlinuxarm.org/packages/aarch64/gawk/files/PKGBUILD
33663366 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gawk-git
@@ -3376,7 +3376,7 @@ function build_gawk()
33763376 local gawk_src_folder_name=" gawk-${gawk_version} "
33773377
33783378 local gawk_archive=" ${gawk_src_folder_name} .tar.xz"
3379- local gawk_url=" https://ftp .gnu.org/gnu/gawk/${gawk_archive} "
3379+ local gawk_url=" https://ftpmirror .gnu.org/gnu/gawk/${gawk_archive} "
33803380
33813381 local gawk_folder_name=" ${gawk_src_folder_name} "
33823382
@@ -3506,7 +3506,7 @@ function test_gawk()
35063506function build_sed()
35073507{
35083508 # https://www.gnu.org/software/sed/
3509- # https://ftp .gnu.org/gnu/sed/
3509+ # https://ftpmirror .gnu.org/gnu/sed/
35103510
35113511 # https://archlinuxarm.org/packages/aarch64/sed/files/PKGBUILD
35123512
@@ -3518,7 +3518,7 @@ function build_sed()
35183518 local sed_src_folder_name=" sed-${sed_version} "
35193519
35203520 local sed_archive=" ${sed_src_folder_name} .tar.xz"
3521- local sed_url=" https://ftp .gnu.org/gnu/sed/${sed_archive} "
3521+ local sed_url=" https://ftpmirror .gnu.org/gnu/sed/${sed_archive} "
35223522
35233523 local sed_folder_name=" ${sed_src_folder_name} "
35243524
@@ -3654,7 +3654,7 @@ function test_sed()
36543654function build_autoconf()
36553655{
36563656 # https://www.gnu.org/software/autoconf/
3657- # https://ftp .gnu.org/gnu/autoconf/
3657+ # https://ftpmirror .gnu.org/gnu/autoconf/
36583658
36593659 # https://archlinuxarm.org/packages/any/autoconf2.13/files/PKGBUILD
36603660 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=autoconf-git
@@ -3669,7 +3669,7 @@ function build_autoconf()
36693669 local autoconf_src_folder_name=" autoconf-${autoconf_version} "
36703670
36713671 local autoconf_archive=" ${autoconf_src_folder_name} .tar.xz"
3672- local autoconf_url=" https://ftp .gnu.org/gnu/autoconf/${autoconf_archive} "
3672+ local autoconf_url=" https://ftpmirror .gnu.org/gnu/autoconf/${autoconf_archive} "
36733673
36743674 local autoconf_folder_name=" ${autoconf_src_folder_name} "
36753675
@@ -3774,7 +3774,7 @@ function test_autoconf()
37743774function build_automake()
37753775{
37763776 # https://www.gnu.org/software/automake/
3777- # https://ftp .gnu.org/gnu/automake/
3777+ # https://ftpmirror .gnu.org/gnu/automake/
37783778
37793779 # https://archlinuxarm.org/packages/any/automake/files/PKGBUILD
37803780 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=automake-git
@@ -3791,7 +3791,7 @@ function build_automake()
37913791 local automake_src_folder_name=" automake-${automake_version} "
37923792
37933793 local automake_archive=" ${automake_src_folder_name} .tar.xz"
3794- local automake_url=" https://ftp .gnu.org/gnu/automake/${automake_archive} "
3794+ local automake_url=" https://ftpmirror .gnu.org/gnu/automake/${automake_archive} "
37953795
37963796 local automake_folder_name=" ${automake_src_folder_name} "
37973797
@@ -4061,7 +4061,7 @@ function test_libtool()
40614061function build_gettext()
40624062{
40634063 # https://www.gnu.org/software/gettext/
4064- # https://ftp .gnu.org/gnu/gettext/
4064+ # https://ftpmirror .gnu.org/gnu/gettext/
40654065
40664066 # https://archlinuxarm.org/packages/aarch64/gettext/files/PKGBUILD
40674067 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gettext-git
@@ -4075,7 +4075,7 @@ function build_gettext()
40754075 local gettext_src_folder_name=" gettext-${gettext_version} "
40764076
40774077 local gettext_archive=" ${gettext_src_folder_name} .tar.xz"
4078- local gettext_url=" https://ftp .gnu.org/gnu/gettext/${gettext_archive} "
4078+ local gettext_url=" https://ftpmirror .gnu.org/gnu/gettext/${gettext_archive} "
40794079
40804080 local gettext_folder_name=" ${gettext_src_folder_name} "
40814081
@@ -4290,7 +4290,7 @@ function test_gettext()
42904290function build_patch()
42914291{
42924292 # https://www.gnu.org/software/patch/
4293- # https://ftp .gnu.org/gnu/patch/
4293+ # https://ftpmirror .gnu.org/gnu/patch/
42944294
42954295 # https://archlinuxarm.org/packages/aarch64/patch/files/PKGBUILD
42964296 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=patch-git
@@ -4303,7 +4303,7 @@ function build_patch()
43034303 local patch_src_folder_name=" patch-${patch_version} "
43044304
43054305 local patch_archive=" ${patch_src_folder_name} .tar.xz"
4306- local patch_url=" https://ftp .gnu.org/gnu/patch/${patch_archive} "
4306+ local patch_url=" https://ftpmirror .gnu.org/gnu/patch/${patch_archive} "
43074307
43084308 local patch_folder_name=" ${patch_src_folder_name} "
43094309
@@ -4407,7 +4407,7 @@ function test_patch()
44074407function build_diffutils()
44084408{
44094409 # https://www.gnu.org/software/diffutils/
4410- # https://ftp .gnu.org/gnu/diffutils/
4410+ # https://ftpmirror .gnu.org/gnu/diffutils/
44114411
44124412 # https://archlinuxarm.org/packages/aarch64/diffutils/files/PKGBUILD
44134413 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=diffutils-git
@@ -4421,7 +4421,7 @@ function build_diffutils()
44214421 local diffutils_src_folder_name=" diffutils-${diffutils_version} "
44224422
44234423 local diffutils_archive=" ${diffutils_src_folder_name} .tar.xz"
4424- local diffutils_url=" https://ftp .gnu.org/gnu/diffutils/${diffutils_archive} "
4424+ local diffutils_url=" https://ftpmirror .gnu.org/gnu/diffutils/${diffutils_archive} "
44254425
44264426 local diffutils_folder_name=" ${diffutils_src_folder_name} "
44274427
@@ -4547,7 +4547,7 @@ function test_diffutils()
45474547function build_bison()
45484548{
45494549 # https://www.gnu.org/software/bison/
4550- # https://ftp .gnu.org/gnu/bison/
4550+ # https://ftpmirror .gnu.org/gnu/bison/
45514551
45524552 # https://archlinuxarm.org/packages/aarch64/bison/files/PKGBUILD
45534553 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=bison-git
@@ -4564,7 +4564,7 @@ function build_bison()
45644564 local bison_src_folder_name=" bison-${bison_version} "
45654565
45664566 local bison_archive=" ${bison_src_folder_name} .tar.xz"
4567- local bison_url=" https://ftp .gnu.org/gnu/bison/${bison_archive} "
4567+ local bison_url=" https://ftpmirror .gnu.org/gnu/bison/${bison_archive} "
45684568
45694569 local bison_folder_name=" ${bison_src_folder_name} "
45704570
@@ -4854,7 +4854,7 @@ function test_flex()
48544854function build_make()
48554855{
48564856 # https://www.gnu.org/software/make/
4857- # https://ftp .gnu.org/gnu/make/
4857+ # https://ftpmirror .gnu.org/gnu/make/
48584858
48594859 # https://archlinuxarm.org/packages/aarch64/make/files/PKGBUILD
48604860 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=make-git
@@ -4870,7 +4870,7 @@ function build_make()
48704870
48714871 # bz2 available up to 4.2.1, gz available on all.
48724872 local make_archive=" ${make_src_folder_name} .tar.gz"
4873- local make_url=" https://ftp .gnu.org/gnu/make/${make_archive} "
4873+ local make_url=" https://ftpmirror .gnu.org/gnu/make/${make_archive} "
48744874
48754875 local make_folder_name=" ${make_src_folder_name} "
48764876
@@ -4994,7 +4994,7 @@ function test_make()
49944994function build_wget()
49954995{
49964996 # https://www.gnu.org/software/wget/
4997- # https://ftp .gnu.org/gnu/wget/
4997+ # https://ftpmirror .gnu.org/gnu/wget/
49984998
49994999 # https://archlinuxarm.org/packages/aarch64/wget/files/PKGBUILD
50005000 # https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/wget
@@ -5015,7 +5015,7 @@ function build_wget()
50155015 local wget_src_folder_name=" wget-${wget_version} "
50165016
50175017 local wget_archive=" ${wget_src_folder_name} .tar.gz"
5018- local wget_url=" https://ftp .gnu.org/gnu/wget/${wget_archive} "
5018+ local wget_url=" https://ftpmirror .gnu.org/gnu/wget/${wget_archive} "
50195019
50205020 local wget_folder_name=" ${wget_src_folder_name} "
50215021
@@ -5140,7 +5140,7 @@ function test_wget()
51405140function build_texinfo()
51415141{
51425142 # https://www.gnu.org/software/texinfo/
5143- # https://ftp .gnu.org/gnu/texinfo/
5143+ # https://ftpmirror .gnu.org/gnu/texinfo/
51445144
51455145 # https://archlinuxarm.org/packages/aarch64/texinfo/files/PKGBUILD
51465146 # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=texinfo-svn
@@ -5155,7 +5155,7 @@ function build_texinfo()
51555155 local texinfo_src_folder_name=" texinfo-${texinfo_version} "
51565156
51575157 local texinfo_archive=" ${texinfo_src_folder_name} .tar.gz"
5158- local texinfo_url=" https://ftp .gnu.org/gnu/texinfo/${texinfo_archive} "
5158+ local texinfo_url=" https://ftpmirror .gnu.org/gnu/texinfo/${texinfo_archive} "
51595159
51605160 local texinfo_folder_name=" ${texinfo_src_folder_name} "
51615161
@@ -8130,7 +8130,7 @@ function test_tcl()
81308130function build_guile()
81318131{
81328132 # https://www.gnu.org/software/guile/
8133- # https://ftp .gnu.org/gnu/guile/
8133+ # https://ftpmirror .gnu.org/gnu/guile/
81348134
81358135 # https://archlinuxarm.org/packages/aarch64/guile/files/PKGBUILD
81368136 # https://github.com/Homebrew/homebrew-core/blob/master/Formula/guile.rb
@@ -8146,7 +8146,7 @@ function build_guile()
81468146 local guile_src_folder_name=" guile-${guile_version} "
81478147
81488148 local guile_archive=" ${guile_src_folder_name} .tar.xz"
8149- local guile_url=" https://ftp .gnu.org/gnu/guile/${guile_archive} "
8149+ local guile_url=" https://ftpmirror .gnu.org/gnu/guile/${guile_archive} "
81508150
81518151 local guile_folder_name=" ${guile_src_folder_name} "
81528152
@@ -8635,8 +8635,8 @@ function test_sphinx()
86358635function build_autogen()
86368636{
86378637 # https://www.gnu.org/software/autogen/
8638- # https://ftp .gnu.org/gnu/autogen/
8639- # https://ftp .gnu.org/gnu/autogen/rel5.18.16/autogen-5.18.16.tar.xz
8638+ # https://ftpmirror .gnu.org/gnu/autogen/
8639+ # https://ftpmirror .gnu.org/gnu/autogen/rel5.18.16/autogen-5.18.16.tar.xz
86408640
86418641 # https://archlinuxarm.org/packages/aarch64/autogen/files/PKGBUILD
86428642 # https://github.com/Homebrew/homebrew-core/blob/master/Formula/autogen.rb
@@ -8648,7 +8648,7 @@ function build_autogen()
86488648 local autogen_src_folder_name=" autogen-${autogen_version} "
86498649
86508650 local autogen_archive=" ${autogen_src_folder_name} .tar.xz"
8651- local autogen_url=" https://ftp .gnu.org/gnu/autogen/rel${autogen_version} /${autogen_archive} "
8651+ local autogen_url=" https://ftpmirror .gnu.org/gnu/autogen/rel${autogen_version} /${autogen_archive} "
86528652
86538653 local autogen_folder_name=" ${autogen_src_folder_name} "
86548654
@@ -8800,8 +8800,8 @@ function test_autogen()
88008800function build_bash()
88018801{
88028802 # https://www.gnu.org/software/bash/
8803- # https://ftp .gnu.org/gnu/bash/
8804- # https://ftp .gnu.org/gnu/bash/bash-5.0.tar.gz
8803+ # https://ftpmirror .gnu.org/gnu/bash/
8804+ # https://ftpmirror .gnu.org/gnu/bash/bash-5.0.tar.gz
88058805
88068806 # https://archlinuxarm.org/packages/aarch64/bash/files/PKGBUILD
88078807
@@ -8815,7 +8815,7 @@ function build_bash()
88158815 local bash_src_folder_name=" bash-${bash_version} "
88168816
88178817 local bash_archive=" ${bash_src_folder_name} .tar.gz"
8818- local bash_url=" https://ftp .gnu.org/gnu/bash/${bash_archive} "
8818+ local bash_url=" https://ftpmirror .gnu.org/gnu/bash/${bash_archive} "
88198819
88208820 local bash_folder_name=" ${bash_src_folder_name} "
88218821
0 commit comments