tags 56512 + patch
thanks

Maxim Cournoyer <maxim.courno...@gmail.com> writes:

> To coreutils maintainers: the suggested change would be to adjust URLs
> everywhere in the documentation of coreutils to use HTTPS rather than
> HTTP.

Most of these were already fixed in commit be87d6129 and subsequently.

The attached patch fixes all remaining HTTP links in the tree where the
links still worked when using HTTPS, in my testing.
From 5f55ae1c257da889a0387228b82ba0664838ccda Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankan...@gmail.com>
Date: Sun, 18 Sep 2022 16:15:16 +0200
Subject: [PATCH] all: prefer HTTPS to HTTP

* README-hacking:
* README-prereq:
* THANKS.in:
* doc/sort-version.texi (Other version/natural sort implementations):
* gl/lib/rand-isaac.c:
* gl/tests/test-rand-isaac.c:
* src/operand2sig.c (operand2sig):
* src/remove.c (nonexistent_file_errno):
* tests/misc/env-signal-handler.sh:
* tests/misc/sort-debug-warn.sh (LC_ALL): Prefer HTTPS to HTTP.
Addresses https://bugs.gnu.org/56512
---
 README-hacking                   | 2 +-
 README-prereq                    | 2 +-
 THANKS.in                        | 2 +-
 doc/sort-version.texi            | 4 ++--
 gl/lib/rand-isaac.c              | 2 +-
 gl/tests/test-rand-isaac.c       | 2 +-
 src/operand2sig.c                | 2 +-
 src/remove.c                     | 2 +-
 tests/misc/env-signal-handler.sh | 2 +-
 tests/misc/sort-debug-warn.sh    | 2 +-
 10 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/README-hacking b/README-hacking
index 1343011bc..60e40cabe 100644
--- a/README-hacking
+++ b/README-hacking
@@ -16,7 +16,7 @@ Specific development tools and versions will be checked for and listed by
 the bootstrap script.  See README-prereq for specific notes on obtaining
 these prerequisite tools.
 
-Valgrind <http://valgrind.org/> is also highly recommended, if
+Valgrind <https://valgrind.org/> is also highly recommended, if
 Valgrind supports your architecture.  See also README-valgrind
 (if present).
 
diff --git a/README-prereq b/README-prereq
index 176fb2199..9ae4b12af 100644
--- a/README-prereq
+++ b/README-prereq
@@ -15,7 +15,7 @@ as well as by 'make'.  They include:
 - Perl       <https://www.cpan.org/>
 - Tar        <https://www.gnu.org/software/tar/>
 - Texinfo    <https://www.gnu.org/software/texinfo/>
-- Wget       <http://www.gnu.org/software/wget/>
+- Wget       <https://www.gnu.org/software/wget/>
 - XZ Utils   <https://tukaani.org/xz/>
 
 It is generally better to use official packages for your system.
diff --git a/THANKS.in b/THANKS.in
index c67a64b88..b3827a22c 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -132,7 +132,7 @@ Clark Morgan                        cmor...@aracnet.com
 Clement Wang                        clem.w...@overture.com
 Colin Plumb                         co...@nyx.net
 Collin Rogowski                     col...@rogowski.de
-Cray-Cyber Project                  http://www.cray-cyber.org
+Cray-Cyber Project                  https://www.cray-cyber.org
 Cristian Cadar                      cris...@stanford.edu
 Cyril Bouthors                      cy...@bouthors.org
 Dale Scheetz                        dw...@polaris.net
diff --git a/doc/sort-version.texi b/doc/sort-version.texi
index 175559f7a..c136e6292 100644
--- a/doc/sort-version.texi
+++ b/doc/sort-version.texi
@@ -864,9 +864,9 @@ glob modifier} @samp{*(n)} will expand to files in natural sort order.
 @item
 When writing C programs, the GNU libc library (@samp{glibc})
 provides the
-@uref{http://man7.org/linux/man-pages/man3/strverscmp.3.html,
+@uref{https://man7.org/linux/man-pages/man3/strverscmp.3.html,
 strvercmp(3)} function to compare two strings, and
-@uref{http://man7.org/linux/man-pages/man3/versionsort.3.html,versionsort(3)}
+@uref{https://man7.org/linux/man-pages/man3/versionsort.3.html,versionsort(3)}
 function to compare two directory entries (despite the names, they are
 not identical to GNU Coreutils version sort ordering).
 
diff --git a/gl/lib/rand-isaac.c b/gl/lib/rand-isaac.c
index e19c47a67..9a3268ed3 100644
--- a/gl/lib/rand-isaac.c
+++ b/gl/lib/rand-isaac.c
@@ -25,7 +25,7 @@
  * so I can be a little bit experimental in the choice of RNGs here.
  *
  * This generator is based somewhat on RC4, but has analysis
- * <http://burtleburtle.net/bob/rand/isaacafa.html>
+ * <https://burtleburtle.net/bob/rand/isaacafa.html>
  * pointing to it actually being better.  I like it because it's nice
  * and fast, and because the author did good work analyzing it.
  * --------------------------------------------------------------------
diff --git a/gl/tests/test-rand-isaac.c b/gl/tests/test-rand-isaac.c
index 47ad5d580..f414b2d2b 100644
--- a/gl/tests/test-rand-isaac.c
+++ b/gl/tests/test-rand-isaac.c
@@ -28,7 +28,7 @@
 #include "macros.h"
 
 /* This expected output was generated by running the programs in
-   <http://burtleburtle.net/bob/rand/isaacafa.html>, as last modified
+   <https://burtleburtle.net/bob/rand/isaacafa.html>, as last modified
    on 2010-01-22. The 32-bit numbers were output by rand.c, and the
    64-bit by isaac64.c, both on x86, as those programs are not
    portable to 64-bit platforms.  */
diff --git a/src/operand2sig.c b/src/operand2sig.c
index 3de1c84e6..3ae2484e7 100644
--- a/src/operand2sig.c
+++ b/src/operand2sig.c
@@ -48,7 +48,7 @@ operand2sig (char const *operand, char *signame)
          But some shells may use other adjustments in future to be
          (forward) compatible with systems that support
          wider exit status values as discussed at
-         http://austingroupbugs.net/view.php?id=947  */
+         https://austingroupbugs.net/view.php?id=947  */
 
       char *endp;
       long int l = (errno = 0, strtol (operand, &endp, 10));
diff --git a/src/remove.c b/src/remove.c
index e2f27ca4f..6756c409d 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -323,7 +323,7 @@ nonexistent_file_errno (int errnum)
      Another case to consider is when a particular name is invalid for
      a given file system.  In 2011, smbfs returns EINVAL, but the next
      revision of POSIX will require EILSEQ for that situation:
-     http://austingroupbugs.net/view.php?id=293
+     https://austingroupbugs.net/view.php?id=293
   */
 
   switch (errnum)
diff --git a/tests/misc/env-signal-handler.sh b/tests/misc/env-signal-handler.sh
index ff4ffa14c..182d422e1 100755
--- a/tests/misc/env-signal-handler.sh
+++ b/tests/misc/env-signal-handler.sh
@@ -25,7 +25,7 @@ trap_sigpipe_or_skip_
 # https://lists.gnu.org/archive/html/coreutils/2020-03/msg00004.html
 require_bash_as_SHELL_
 
-# Paraphrasing http://bugs.gnu.org/34488#8:
+# Paraphrasing https://bugs.gnu.org/34488#8:
 # POSIX requires that sh started with an inherited ignored SIGPIPE must
 # silently ignore all attempts from within the shell to restore SIGPIPE
 # handling to child processes of the shell:
diff --git a/tests/misc/sort-debug-warn.sh b/tests/misc/sort-debug-warn.sh
index beb11c97e..4898c0495 100755
--- a/tests/misc/sort-debug-warn.sh
+++ b/tests/misc/sort-debug-warn.sh
@@ -125,7 +125,7 @@ EOF
 LC_ALL=missing sort --debug /dev/null 2>out || fail=1
 # musl libc maps unknown locales to the default utf8 locale
 # with no way to determine failures.  This is discussed at:
-# http://www.openwall.com/lists/musl/2016/04/02/1
+# https://www.openwall.com/lists/musl/2016/04/02/1
 if ! grep -E 'using .*(missing|C.UTF-8).* sorting rules' out; then
   compare exp out || fail=1
 fi
-- 
2.30.2

Reply via email to