+2025-06-28 Collin Funk <collin.funk1@gmail.com>
+
+ gnupload: adjust commentary regarding gnupg versions
+ Suggested by Bruno Haible in:
+ <https://lists.gnu.org/archive/html/bug-gnulib/2025-06/msg00310.html>.
+ * build-aux/gnupload: Remove misleading year comment. Mention that
+ Slackware requires 'gpg2' instead of 'gpg' instead of Ubuntu where they
+ are now the same.
+
2025-06-27 Paul Eggert <eggert@cs.ucla.edu>
_Noreturn: pacify gcc -std=gnu99 -Wpedantic
#!/bin/sh
# Sign files and upload them.
-scriptversion=2025-06-10.02; # UTC
+scriptversion=2025-06-28.18; # UTC
# Copyright (C) 2004-2025 Free Software Foundation, Inc.
#
# Choose the proper version of gpg, so as to avoid a
# "gpg-agent is not available in this session" error
# when gpg-agent is version 2 but gpg is still version 1.
-# FIXME-2020: remove, once all major distros ship gpg version 2 as /usr/bin/gpg
+# FIXME: remove, once all major distros ship gpg version 2 as /usr/bin/gpg
gpg_agent_version=`(gpg-agent --version) 2>/dev/null | sed -e '2,$d' -e 's/^[^0-9]*//'`
case "$gpg_agent_version" in
2.*)
# gpg2 is present.
GPG=gpg2
else
- # gpg2 is missing. Ubuntu users should install the package 'gnupg2'.
+ # gpg2 is missing. Slackware users should install the package 'gnupg2'.
echo "WARNING: Using 'gpg', which is too old. You should install 'gpg2'." 1>&2
fi
;;