commit: 5f758d2fe319ae59c3e8b33b797936714975f1f1
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Thu Jun 19 03:01:18 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 19 18:13:11 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=5f758d2f
emerge-webrsync: comment as to the provenance of PORTAGE_GPG_KEY{,_SERVER}
Add some comments explaining that both the 'PORTAGE_GPG_KEY' and
'PORTAGE_GPG_KEY_SERVER' environment variables are defined by the
webrsync module.
See-also: 865860503c1279a1b5880aa180ecf67206640e45
See-also: e1f8478c666de6c2310381457e846b4fe8fa8b39
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/emerge-webrsync | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index 005548cf90..17e46767ca 100755
--- a/bin/emerge-webrsync
+++ b/bin/emerge-webrsync
@@ -273,7 +273,10 @@ check_file_signature_gemato() {
)
fi
- [[ -n ${PORTAGE_GPG_KEY_SERVER} ]] && gemato_args+=( --keyserver
"${PORTAGE_GPG_KEY_SERVER}" )
+ # PORTAGE_GPG_KEY_SERVER is directly exported by the webrsync module.
+ if [[ ${PORTAGE_GPG_KEY_SERVER} ]]; then
+ gemato_args+=( --keyserver "${PORTAGE_GPG_KEY_SERVER}" )
+ fi
(( opt[quiet] )) && gemato_args+=( --quiet )
(( opt[debug] )) && gemato_args+=( --debug )
@@ -309,6 +312,7 @@ check_file_signature_gpg() {
}
assign_key() {
+ # PORTAGE_GPG_KEY is directly exported by the webrsync module.
if [[ ${PORTAGE_GPG_KEY} ]]; then
key=${PORTAGE_GPG_KEY}
else