| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Before the rsync call, chmod 755 the temporary directory so that the
root directory of the repository will have appropriate permissions.
Fixes: fa0f8720e168 ("emerge-delta-webrsync: handle gentoo-YYYYMMDD directory name")
Bug: https://bugs.gentoo.org/704256
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/693454
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable sync-webrsync-verify-signature by default in repos.conf (due to
dependencies the ebuild will make this conditional on USE=rsync-verify
in the same way as the default sync-rsync-verify-metamanifest value).
Use a new PORTAGE_TEMP_GPG_DIR variable to distinguish indirect
emerge-webrsync calls that use gemato for secure key refresh, and
disable direct emerge-webrsync calls.
Deprecate FEATURES=webrsync-gpg and use it to trigger a
backward-compatibility mode where direct emerge-webrsync calls are
allowed (but trigger a warning message). Since direct emerge-webrsync
calls do not use gemato for secure key refresh, this behavior will
not be supported in a future release.
Bug: https://bugs.gentoo.org/689506
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
|
|
| |
Since vecho now outputs to stderr, the output has to be redirected
to stdout when command substitution is intended.
Fixes: 2b6210463300 ("isolated-functions.sh: Ensure informational command output to stderr")
|
|
|
|
|
|
|
|
|
| |
Add a repos.conf sync-webrsync-delta setting that makes the webrsync
module call emerge-delta-webrsync, so that emerge-delta-webrsync users
can benefit from sync-openpgp-key-path support in the webrsync module.
Bug: https://bugs.gentoo.org/661838
Reviewed-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Exit early after signature verification failure, since it's
typically inappropriate to try other mirrors in this case
(it may indicate a keyring problem).
Bug: https://bugs.gentoo.org/661838
Reviewed-by: Brian Dolbec <dolsen@gentoo.org>
|
| |
|
|
|
|
|
|
| |
This reverts commit 2cde1f65e9c585e78415857fdcac1fe5deaa60da. This was
unreviewed and is a breaking change made without any discussion or
announcement.
|
|
|
|
| |
support for repositories with missing or invalid names.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the sync_local function so that it doesn't prematurely remove
the whole TMPDIR when tarsync is not installed. In this case, we really
only want to remove the "${TMPDIR}"/portage directory which contains a
temporary copy of the portage tree. The faulty code was introduced in
commit 24f6a9599bcf445c468022264cd6952aad4d4076 when a bunch of code
from emerge-webrsync was merged into emerge-delta-webrsync.
Fixes: 24f6a9599bcf ("emerge-delta-webrsync: check full snapshot sig")
X-Gentoo-Bug: 506192
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=506192
|
|
|
|
|
|
|
|
| |
Use PATH instead of PORTAGE_BIN_PATH to locate emerge.
Fixes: 0cc4c1ac21a2 ("Install Portage using setup.py")
X-Gentoo-Bug: 523494
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=523494
|
| |
|
|
|
|
|
| |
Using this variable allows us to get all required configuration data
with a singe portageq envvar call.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This patch merges a lot of code from emerge-webrsync, so that the same
code is used when it's necessary to download a full snapshot and check
the signature. This will fix bug #286373.
|
| |
|
|
|
|
|
| |
This fixes a regression since the -a option was removed in
commit e672b5ccbbbe38eda5c733fc799a20d92a8bdf75.
|
|
|
|
| |
Broken since commit 9b19ac5696c487dab58d7c10990fe07fd7f1f731.
|
|
|
|
| |
FEATURES=webrsync-gpg forces it to recompress in the foreground.
|
|
|
|
| |
This borrows some code from emerge-webrsync, and will fix bug #153513.
|
| |
|
| |
|
|
|
|
| |
This will fix bug #198362.
|
| |
|
|
|
|
| |
This prevents interactive mode as reported in bug #176008.
|
|
|
|
| |
This will fix bug #124072.
|
| |
|
| |
|
|
|
|
| |
This will fix bug #176008.
|
| |
|
|
|
|
|
|
|
|
| |
This will fix bug #286373.
BUG: Signature verification will fail if the local bzip2 program does
not produce output that is perfectly identical to the bzip2 program
used to compress the signed tar file.
|
|
|
|
| |
This will fix bug #189084.
|
| |
|
|
|