Add repos.conf sync-webrsync-verify-signature = true|false setting that
enables sync-openpgp-key-path support like in the rsync and git sync
modules. This is disabled by default, in order to avoid interference
with legacy manual PORTAGE_GPG_DIR configuration.

When sync-webrsync-verify-signature = true is set in repos.conf,
if the PORTAGE_GPG_DIR has not been exported, emerge-webrsync will
assume that it has been called directly and it will output an error
message advising the user to instead call emerge --sync or emaint sync.

Bug: https://bugs.gentoo.org/661838

Zac Medico (2):
  emerge-webrsync: exit early for signature problem (bug 661838)
  webrsync: support sync-openpgp-key-path (bug 661838)

 bin/emerge-webrsync                           | 21 +++++++-
 lib/portage/sync/modules/webrsync/__init__.py |  4 +-
 lib/portage/sync/modules/webrsync/webrsync.py | 69 +++++++++++++++++++++++----
 man/portage.5                                 |  5 ++
 4 files changed, 88 insertions(+), 11 deletions(-)

-- 
2.13.6


Reply via email to