[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Update URLs of the latest version of config.guess and config.sub
From: |
Dmitry V. Levin |
Subject: |
[PATCH] Update URLs of the latest version of config.guess and config.sub scripts |
Date: |
Thu, 19 Nov 2020 20:49:43 +0300 |
Prefer cgit URLs over gitweb as the former are usually served faster:
$ time -f %e wget -q
'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
1.06
$ time -f %e wget -q
'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess'
0.73
---
ChangeLog | 5 +++++
config.guess | 8 ++++----
config.sub | 4 ++--
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 665054d..835617a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-19 Dmitry V. Levin <ldv@altlinux.org>
+
+ * config.guess: Prefer cgit URLs over gitweb.
+ * config.sub: Likewise.
+
2020-11-17 Dmitry V. Levin <ldv@altlinux.org>
* config.guess: Combine two heuristics to detect musl libc.
diff --git a/config.guess b/config.guess
index 31f610c..699b3a1 100755
--- a/config.guess
+++ b/config.guess
@@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2020 Free Software Foundation, Inc.
-timestamp='2020-11-17'
+timestamp='2020-11-19'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -27,7 +27,7 @@ timestamp='2020-11-17'
# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
#
# You can get the latest version of this script from:
-# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
+# https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
#
# Please send patches to <config-patches@gnu.org>.
@@ -1650,9 +1650,9 @@ This script (version $timestamp), has failed to recognize
the
operating system you are using. If your script is old, overwrite *all*
copies of config.guess and config.sub with the latest versions from:
- https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
+ https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
and
- https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
+ https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
EOF
year=$(echo $timestamp | sed 's,-.*,,')
diff --git a/config.sub b/config.sub
index e676896..f2ead8d 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2020 Free Software Foundation, Inc.
-timestamp='2020-11-17'
+timestamp='2020-11-19'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -33,7 +33,7 @@ timestamp='2020-11-17'
# Otherwise, we print the canonical config type on stdout and succeed.
# You can get the latest version of this script from:
-# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
+# https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
--
ldv
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Update URLs of the latest version of config.guess and config.sub scripts,
Dmitry V. Levin <=