Prefer https: for GNU and FSF URLs
Commit Message
On 9/9/19 9:27 AM, Joseph Myers wrote:
> It looks like this is missing regeneration of locale/programs/charmap-kw.h
> to reflect the use of https in charmap-kw.gperf.
Thanks for spotting that. I rebuilt that file as follows:
cd locale
rm ../../glibc/locale/programs/charmap-kw.h \
../../glibc/locale/programs/locfile-kw.h
make objdir=$(cd .. && pwd) -C ../../glibc/locale \
programs/charmap-kw.h \
programs/locfile-kw.h
The locfile-kw.h rebuild was needed because gperf 3.1 changed its API. I
tweaked the localedef internals accordingly, and installed the first
attached patch.
In looking for similar glitches I noticed a few "http:"s in 'configure'
that can be fixed by adding a URL to AC_INIT. So I installed the second
attached patch to do that.
From 9975ad0298c9e772d8d98634ae36ad9aee210b59 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon, 9 Sep 2019 14:10:23 -0700
Subject: [PATCH 2/2] Fix http: URL in 'configure'
* configure.ac: Add URL to AC_INIT so that it generates an
https: URL instead of an http: URL.
* configure: Regenerate.
---
ChangeLog | 5 +++++
configure | 6 +++---
configure.ac | 3 ++-
3 files changed, 10 insertions(+), 4 deletions(-)
@@ -1,5 +1,10 @@
2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
+ Fix http: URL in 'configure'
+ * configure.ac: Add URL to AC_INIT so that it generates an
+ https: URL instead of an http: URL.
+ * configure: Regenerate.
+
Regenerate charmap-kw.h, locfile-kw.h
This propagates the recent http->https URL changes.
Since I used gperf 3.1 to regenerate, this is also a minor
@@ -582,7 +582,7 @@ PACKAGE_TARNAME='glibc'
PACKAGE_VERSION='(see version.h)'
PACKAGE_STRING='GNU C Library (see version.h)'
PACKAGE_BUGREPORT='https://sourceware.org/bugzilla/'
-PACKAGE_URL='http://www.gnu.org/software/glibc/'
+PACKAGE_URL='https://www.gnu.org/software/glibc/'
ac_unique_file="include/features.h"
enable_option_checking=no
@@ -1505,7 +1505,7 @@ Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <https://sourceware.org/bugzilla/>.
-GNU C Library home page: <http://www.gnu.org/software/glibc/>.
+GNU C Library home page: <https://www.gnu.org/software/glibc/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
_ACEOF
ac_status=$?
@@ -7473,7 +7473,7 @@ Configuration commands:
$config_commands
Report bugs to <https://sourceware.org/bugzilla/>.
-GNU C Library home page: <http://www.gnu.org/software/glibc/>.
+GNU C Library home page: <https://www.gnu.org/software/glibc/>.
General help using GNU software: <http://www.gnu.org/gethelp/>."
_ACEOF
@@ -1,6 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Note we do not use AC_PREREQ here! See aclocal.m4 for what we use instead.
-AC_INIT([GNU C Library], [(see version.h)], [https://sourceware.org/bugzilla/], [glibc])
+AC_INIT([GNU C Library], [(see version.h)], [https://sourceware.org/bugzilla/],
+ [glibc], [https://www.gnu.org/software/glibc/])
AC_CONFIG_SRCDIR([include/features.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([scripts])
--
2.21.0