From: Janne Blomqvist Date: Wed, 20 Nov 2019 20:24:48 +0000 (+0200) Subject: Switch gcc ftp URL's to https X-Git-Tag: upstream/12.2.0~20154 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aeebd94c77c45cd60d44b87a00403cbe1edd8e62;p=platform%2Fupstream%2Fgcc.git Switch gcc ftp URL's to https The FTP protocol is getting long in the tooth, and we should emphasize HTTPS where that is available. This patch changes various gcc.gnu.org URL's to instead use HTTPS. For instance, kernel.org shut down FTP access in 2017, with the explanation: - The protocol is inefficient and requires adding awkward kludges to firewalls and load-balancing daemons - FTP servers have no support for caching or accelerators, which has significant performance impacts - Most software implementations have stagnated and see infrequent updates ChangeLog: 2019-11-20 Janne Blomqvist * configure.ac: Use https for gcc.gnu.org. * configure: Regenerated. gcc/ChangeLog: 2019-11-20 Janne Blomqvist * configure.ac: Use https for gcc.gnu.org. * configure: Regenerated. * doc/install.texi: Use https for gcc.gnu.org. * doc/sourcebuild.texi: Likewise. gcc/testsuite/ChangeLog: 2019-11-20 Janne Blomqvist * README: Use https for gcc.gnu.org. libstdc++-v3/ChangeLog: 2019-11-20 Janne Blomqvist * doc/html/api.html: Use https for gcc.gnu.org. * doc/xml/api.xml: Likewise. maintainer-scripts/ChangeLog: 2019-11-20 Janne Blomqvist * gcc_release: Use https for gcc.gnu.org. From-SVN: r278526 --- diff --git a/ChangeLog b/ChangeLog index e64bdd1..47672e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-11-20 Janne Blomqvist + + * configure.ac: Use https for gcc.gnu.org. + * configure: Regenerated. + 2019-11-19 James Greenhalgh * MAINTAINERS (aarch64 port): Remove my name, move to... diff --git a/configure b/configure index ce14659..00f7487 100755 --- a/configure +++ b/configure @@ -5902,7 +5902,7 @@ rm -f core conftest.err conftest.$ac_objext \ Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at -ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also +https://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header diff --git a/configure.ac b/configure.ac index d63a8ba..29e25f1 100644 --- a/configure.ac +++ b/configure.ac @@ -1665,7 +1665,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at -ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also +https://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d90015..4700de2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-11-20 Janne Blomqvist + + * configure.ac: Use https for gcc.gnu.org + * configure: Regenerated. + * doc/install.texi: Use https for gcc.gnu.org. + * doc/sourcebuild.texi: Likewise. + 2019-11-20 Julian Brown * config/gcn/gcn.c (gcn_asm_output_symbol_ref): Handle null cfun. diff --git a/gcc/configure b/gcc/configure index c608a96..24d27d3e 100755 --- a/gcc/configure +++ b/gcc/configure @@ -27134,7 +27134,7 @@ $as_echo "$gcc_cv_as_machine_directive" >&6; } if test x$gcc_cv_as_machine_directive != xyes; then echo "*** This target requires an assembler supporting \".machine\"" >&2 - echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2 + echo you can get it from: https://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2 test x$build = x$target && exit 1 fi ;; diff --git a/gcc/configure.ac b/gcc/configure.ac index 7235bcc..954c149 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4748,7 +4748,7 @@ gd: [ .machine ppc7400]) if test x$gcc_cv_as_machine_directive != xyes; then echo "*** This target requires an assembler supporting \".machine\"" >&2 - echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2 + echo you can get it from: https://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2 test x$build = x$target && exit 1 fi ;; diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 215a6fa..be20302 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -333,7 +333,7 @@ requirements. @itemx bzip2 version 1.0.2 (or later) Necessary to uncompress GCC @command{tar} files when source code is -obtained via FTP mirror sites. +obtained via HTTPS mirror sites. @item GNU make version 3.80 (or later) @@ -411,7 +411,7 @@ download_prerequisites installs. @item isl Library version 0.15 or later. Necessary to build GCC with the Graphite loop optimizations. -It can be downloaded from @uref{ftp://gcc.gnu.org/pub/gcc/infrastructure/}. +It can be downloaded from @uref{https://gcc.gnu.org/pub/gcc/infrastructure/}. If an isl source distribution is found in a subdirectory of your GCC sources named @file{isl}, it will be built together with GCC. Alternatively, the @option{--with-isl} configure @@ -513,7 +513,7 @@ files in the directories below @file{jit/docs}. @itemx SSH (any version) Necessary to access the SVN repository. Public releases and weekly -snapshots of the development sources are also available via FTP@. +snapshots of the development sources are also available via HTTPS@. @item GNU diffutils version 2.7 (or later) @@ -547,9 +547,8 @@ own sources. @cindex Downloading GCC @cindex Downloading the Source -GCC is distributed via @uref{http://gcc.gnu.org/svn.html,,SVN} and FTP -tarballs compressed with @command{gzip} or -@command{bzip2}. +GCC is distributed via @uref{http://gcc.gnu.org/svn.html,,SVN} and via +HTTPS as tarballs compressed with @command{gzip} or @command{bzip2}. Please refer to the @uref{http://gcc.gnu.org/releases.html,,releases web page} for information on how to obtain GCC@. diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index a3432bc..5fbe876 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -566,8 +566,8 @@ and the online manuals should be linked to from @file{onlinedocs/index.html}. @item Any old releases or CVS repositories of the front end, before its -inclusion in GCC, should be made available on the GCC FTP site -@uref{ftp://gcc.gnu.org/pub/gcc/old-releases/}. +inclusion in GCC, should be made available on the GCC web site at +@uref{https://gcc.gnu.org/pub/gcc/old-releases/}. @item The release and snapshot script @file{maintainer-scripts/gcc_release} should be updated to generate appropriate tarballs for this front end. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 995d201..2a4d5c6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-11-20 Janne Blomqvist + + * README: Use https for gcc.gnu.org. + 2019-11-20 Wilco Dijkstra * gcc.target/aarch64/simd/vrbit_1.c: Add -fno-ipa-icf. @@ -7,7 +11,7 @@ PR85678 * g++.dg/lto/odr-6_1.c: Add -fcommon. * gcc.dg/alias-15.c: Likewise. - * gcc.dg/fdata-sections-1.c: Likewise. + * gcc.dg/fdata-sections-1.c: Likewise. * gcc.dg/ipa/pr77653.c: Likewise. * gcc.dg/lto/20090729_0.c: Likewise. * gcc.dg/lto/20111207-1_0.c: Likewise. diff --git a/gcc/testsuite/README b/gcc/testsuite/README index dfacd93..2477e98 100644 --- a/gcc/testsuite/README +++ b/gcc/testsuite/README @@ -3,7 +3,7 @@ the C testsuite, see README.gcc. The driver that runs this testsuite is called DejaGnu and you will need a current DejaGnu snapshot, which is available from -ftp://gcc.gnu.org/pub/gcc/infrastructure, for example. +https://gcc.gnu.org/pub/gcc/infrastructure, for example. These tests are included "as is". If any of them fails, do not report a bug. Bug reports for DejaGnu can go to bug-dejagnu@gnu.org. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a8fbd3a..ec9039d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2019-11-20 Janne Blomqvist + + * doc/html/api.html: Use https for gcc.gnu.org. + * doc/xml/api.xml: Likewise. + 2019-11-19 Jonathan Wakely * include/bits/regex.h (ranges::__detail::__enable_view_impl): Fix diff --git a/libstdc++-v3/doc/html/api.html b/libstdc++-v3/doc/html/api.html index ec25525..c1d3eb1 100644 --- a/libstdc++-v3/doc/html/api.html +++ b/libstdc++-v3/doc/html/api.html @@ -30,7 +30,7 @@

The rendered HTML, as above, is also available for download on the gcc.gnu.org site in a directory located at - <URL:ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/>. + <URL:https://gcc.gnu.org/pub/gcc/libstdc++/doxygen/>. You will almost certainly need to use one of the mirror sites to download the tarball. After unpacking, simply load libstdc++-html-*/index.html @@ -38,4 +38,4 @@

In addition, a rendered set of man pages are available in the same location specified above. Start with C++Intro(3). -

\ No newline at end of file +

diff --git a/libstdc++-v3/doc/xml/api.xml b/libstdc++-v3/doc/xml/api.xml index 238d813..1b011aa 100644 --- a/libstdc++-v3/doc/xml/api.xml +++ b/libstdc++-v3/doc/xml/api.xml @@ -52,7 +52,7 @@ The rendered HTML, as above, is also available for download on the gcc.gnu.org site in a directory located at - <URL:ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/>. + <URL:https://gcc.gnu.org/pub/gcc/libstdc++/doxygen/>. You will almost certainly need to use one of the mirror sites to download the tarball. After unpacking, simply load libstdc++-html-*/index.html diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 5064e58..6182cf7 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,7 @@ +2019-11-20 Janne Blomqvist + + * gcc_release: Use https for gcc.gnu.org. + 2019-11-14 Richard Biener * update_version_svn (IGNORE_BRANCHES): Add 7. diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index bfb6b03..10da704 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -430,7 +430,7 @@ announce_snapshot() { changedir "${SNAPSHOTS_DIR}" echo \ "Snapshot gcc-"${RELEASE}" is now available on - ftp://gcc.gnu.org/pub/gcc/snapshots/"${RELEASE}"/ + https://gcc.gnu.org/pub/gcc/snapshots/"${RELEASE}"/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC "${BRANCH}" SVN branch