From patchwork Wed Nov 13 20:37:04 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Patchwork-Submitter: Janne Blomqvist
X-Patchwork-Id: 1194456
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org
Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized)
smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131;
helo=sourceware.org;
envelope-from=gcc-patches-return-513300-incoming=patchwork.ozlabs.org@gcc.gnu.org;
receiver=)
Authentication-Results: ozlabs.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: ozlabs.org; dkim=pass (1024-bit key;
unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org
header.b="lRSDIXoT"; dkim=pass (2048-bit key;
unprotected) header.d=gmail.com header.i=@gmail.com
header.b="NIoluI5O"; dkim-atps=neutral
Received: from sourceware.org (server1.sourceware.org [209.132.180.131])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
bits)) (No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 47CxHw6ByDz9sP4
for ;
Thu, 14 Nov 2019 07:37:30 +1100 (AEDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id
:list-unsubscribe:list-archive:list-post:list-help:sender:from
:to:cc:subject:date:message-id:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=pD6kNG5j08M2qp3Z
UHpsoxTH6v9WfRBr+o5Vol4GvbeR6/TAtN0WWI1ulRHfIje3sJhC6Yzu++BIjrHY
Aud2c6MVMbl6+BhDpYQ70DaCstNdrDWUeJL+gYgsl8mNdmHSSZTlK/zPL/XWCvk2
5ZeWGqZzYZ5h6uhQq09ibvZduAc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id
:list-unsubscribe:list-archive:list-post:list-help:sender:from
:to:cc:subject:date:message-id:mime-version:content-type
:content-transfer-encoding; s=default; bh=QEqOXV4/0WfWfnxCcAl7Vq
hS9Tk=; b=lRSDIXoTwLCTOjlu5K3qL2vObAlMMD2HTQtsPEC9jcDq2v7+hoHN5s
gK2gnXOuicm/9e6IuqdzWgr3JyanKUPpyvx/gl4mw+DhxwED/Pgls8hwzVkoYGMb
/4zGRpwEZpMUNcp5BkBgZtplZVb2UVT0p/YrKkwQ9WNmeAdydtdmw=
Received: (qmail 29200 invoked by alias); 13 Nov 2019 20:37:23 -0000
Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id:
List-Unsubscribe:
List-Archive:
List-Post:
List-Help:
Sender: gcc-patches-owner@gcc.gnu.org
Delivered-To: mailing list gcc-patches@gcc.gnu.org
Received: (qmail 29191 invoked by uid 89); 13 Nov 2019 20:37:22 -0000
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-26.8 required=5.0 tests=AWL, BAYES_00,
FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2,
GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE,
SPF_PASS autolearn=ham version=3.3.1 spammy=valign, snapshots,
RELEASE, 1.0.2
X-HELO: mail-lf1-f41.google.com
Received: from mail-lf1-f41.google.com (HELO mail-lf1-f41.google.com)
(209.85.167.41) by sourceware.org
(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;
Wed, 13 Nov 2019 20:37:15 +0000
Received: by mail-lf1-f41.google.com with SMTP id y186so3086586lfa.1 for
; Wed, 13 Nov 2019 12:37:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:cc:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=hZb0mZVZO07fovYeFE1ct0snkmpRr9gt+cD12zPpRIU=;
b=NIoluI5OEerKAQa8QJvey72H8+B0AZqPsZ2ns8ZWGAO3xRqBJ6Co/ML3ViljH+YSMN
9UysLjuaiNY0X3awPJSFHOfUdGtaYh1GDSAb2Yanp/GXYlv8Bc569AT58WZ51ZgSYw2l
OoMojop1tUazIWKVNDgzuEOvMyI2sDoKwW7bWs1FE0KaN1ZupoIP2Xy6gIprEHGI+iJW
CUXd6nhzI4rdWtg+yKNCEWuq+EVRoW3vVzywJudYl6HpbLh2Dy7/LIbTfjjtSqIrQh8T
cCBqQOLoCvl4oPDsovlUfBbwsjfFD4KSIsLeCYFGGOboMoVqU2tb9bdr+FqHbTy77s2v
oDXw==
Received: from ws.lan (88-114-247-254.elisa-laajakaista.fi.
[88.114.247.254]) by smtp.gmail.com with ESMTPSA id
i190sm1956958lfi.45.2019.11.13.12.37.10 (version=TLS1_3
cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 13 Nov 2019 12:37:11 -0800 (PST)
From: Janne Blomqvist
To: gcc-patches@gcc.gnu.org
Cc: Janne Blomqvist
Subject: [PATCH] Switch gcc ftp URL's to http
Date: Wed, 13 Nov 2019 22:37:04 +0200
Message-Id: <20191113203704.19958-1-blomqvist.janne@gmail.com>
MIME-Version: 1.0
The FTP protocol is getting long in the tooth, and we should emphasize
HTTP where that is available. This patch changes various gcc.gnu.org
URL's to instead use HTTP.
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-13 Janne Blomqvist
* configure.ac: Use http for gcc.gnu.org.
* configure: Regenerated.
gcc/ChangeLog:
2019-11-13 Janne Blomqvist
* configure.ac: Use http for gcc.gnu.org
* configure: Regenerated.
* doc/install.texi: Use http for gcc.gnu.org.
* doc/sourcebuild.texi: Likewise.
gcc/testsuite/ChangeLog:
2019-11-13 Janne Blomqvist
* README: Likewise.
libstdc++-v3/ChangeLog:
2019-11-13 Janne Blomqvist
* doc/html/api.html: Likewise.
* doc/xml/api.xml: Likewise.
maintainer-scripts/ChangeLog:
2019-11-13 Janne Blomqvist
* gcc_release: Likewise.
---
configure.ac | 2 +-
gcc/configure.ac | 2 +-
gcc/doc/install.texi | 11 +++++------
gcc/doc/sourcebuild.texi | 4 ++--
gcc/testsuite/README | 2 +-
libstdc++-v3/doc/html/api.html | 4 ++--
libstdc++-v3/doc/xml/api.xml | 2 +-
maintainer-scripts/gcc_release | 2 +-
8 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/configure.ac b/configure.ac
index d63a8bae940..774e95a989f 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
+http://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/configure.ac b/gcc/configure.ac
index b9cc2435cdf..7bb77f4e7a0 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: http://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 215a6fa38ff..c88d73f10cc 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 HTTP 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{http://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 HTTP@.
@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
+HTTP 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 f3bf66c44ee..2650fc078b3 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 HTTP site
+@uref{http://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/README b/gcc/testsuite/README
index dfacd937a29..07e7e81957a 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.
+http://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/doc/html/api.html b/libstdc++-v3/doc/html/api.html
index ec25525b9d9..d795488a3f8 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:http://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).
-