From: Collin Funk Date: Sat, 28 Jun 2025 19:04:50 +0000 (-0700) Subject: gnupload: adjust commentary regarding gnupg versions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=827464ed05129232a525fb82bc276d74e4c91978;p=thirdparty%2Fgnulib.git gnupload: adjust commentary regarding gnupg versions Suggested by Bruno Haible in: . * build-aux/gnupload: Remove misleading year comment. Mention that Slackware requires 'gpg2' instead of 'gpg' instead of Ubuntu where they are now the same. --- diff --git a/ChangeLog b/ChangeLog index 317862e1ec..a5be14e7fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2025-06-28 Collin Funk + + gnupload: adjust commentary regarding gnupg versions + Suggested by Bruno Haible in: + . + * 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 _Noreturn: pacify gcc -std=gnu99 -Wpedantic diff --git a/build-aux/gnupload b/build-aux/gnupload index 6eac75c163..d93feab71e 100755 --- a/build-aux/gnupload +++ b/build-aux/gnupload @@ -1,7 +1,7 @@ #!/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. # @@ -28,7 +28,7 @@ GPG=gpg # 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.*) @@ -39,7 +39,7 @@ case "$gpg_agent_version" in # 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 ;;