From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/, sys-apps/portage/files/
Date: Sun, 26 Oct 2025 04:43:39 +0000 (UTC) [thread overview]
Message-ID: <1761453747.8af1e95b3b4ddf47e5300fd8a4c37888d9e1b8f2.sam@gentoo> (raw)
commit: 8af1e95b3b4ddf47e5300fd8a4c37888d9e1b8f2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 26 04:42:27 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 26 04:42:27 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8af1e95b
sys-apps/portage: backport fix for emerge-webrsync w/ curl
Signed-off-by: Sam James <sam <AT> gentoo.org>
...sync-restore-the-missing-option-arg-for-c.patch | 40 ++++++++++++++++++++++
...-3.0.69.3.ebuild => portage-3.0.69.3-r1.ebuild} | 4 +++
2 files changed, 44 insertions(+)
diff --git a/sys-apps/portage/files/0001-emerge-webrsync-restore-the-missing-option-arg-for-c.patch b/sys-apps/portage/files/0001-emerge-webrsync-restore-the-missing-option-arg-for-c.patch
new file mode 100644
index 000000000000..3dfe086566bc
--- /dev/null
+++ b/sys-apps/portage/files/0001-emerge-webrsync-restore-the-missing-option-arg-for-c.patch
@@ -0,0 +1,40 @@
+From b876d9b1c9ce58b8ba2440cf61bca7555a0dfb9b Mon Sep 17 00:00:00 2001
+Message-ID: <b876d9b1c9ce58b8ba2440cf61bca7555a0dfb9b.1761453668.git.sam@gentoo.org>
+From: Kerin Millar <kfm@plushkava.net>
+Date: Sun, 26 Oct 2025 02:46:02 +0000
+Subject: [PATCH] emerge-webrsync: restore the missing option-arg for curl
+ --continue-at
+
+The curl(1) user-agent supports a --continue-at option, which requires
+an option-argument. Where the option-argument is <hyphen-dash>, curl
+will automatically try to determine how to resume a transfer. Further,
+emerge-webrsync forcibly injects the option if it detects that the value
+of FETCHCOMMAND specifies a curl command.
+
+However, the option-argument was unintentionally removed during a bout
+of re-factoring and (otherwise unrelated) bug fixing. This went
+unnoticed until now because wget is more commonly used. Restore it.
+
+Fixes: f3af8263ce544750a9e9a155b1264d07a86677d4
+Signed-off-by: Kerin Millar <kfm@plushkava.net>
+Signed-off-by: Sam James <sam@gentoo.org>
+---
+ bin/emerge-webrsync | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
+index 53a3a12715..cca63ebb35 100755
+--- a/bin/emerge-webrsync
++++ b/bin/emerge-webrsync
+@@ -217,7 +217,7 @@ get_fetchcommand() {
+ fi
+ ;;
+ curl)
+- opts="--continue-at -f -S"
++ opts="--continue-at - -f -S"
+ if (( opt[quiet] )); then
+ opts+=" -s"
+ fi
+--
+2.51.1
+
diff --git a/sys-apps/portage/portage-3.0.69.3.ebuild b/sys-apps/portage/portage-3.0.69.3-r1.ebuild
similarity index 98%
rename from sys-apps/portage/portage-3.0.69.3.ebuild
rename to sys-apps/portage/portage-3.0.69.3-r1.ebuild
index c779d8c70057..699bd5e19994 100644
--- a/sys-apps/portage/portage-3.0.69.3.ebuild
+++ b/sys-apps/portage/portage-3.0.69.3-r1.ebuild
@@ -90,6 +90,10 @@ PDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/0001-emerge-webrsync-restore-the-missing-option-arg-for-c.patch
+)
+
pkg_pretend() {
local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS ~UTS_NS"
next reply other threads:[~2025-10-26 4:43 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-26 4:43 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-15 16:28 [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/, sys-apps/portage/files/ Eli Schwartz
2024-05-17 13:05 Sam James
2024-05-10 18:26 Sam James
2023-12-03 8:02 Sam James
2023-10-26 15:53 Mike Gilbert
2023-07-30 13:10 Sam James
2023-07-15 3:45 Sam James
2023-02-28 3:14 Sam James
2023-01-13 3:50 Sam James
2022-11-30 7:07 Sam James
2022-11-20 23:37 Sam James
2022-11-20 2:46 Sam James
2022-10-26 0:23 Mike Gilbert
2022-10-20 15:49 Mike Gilbert
2022-04-24 16:45 WANG Xuerui
2022-04-15 8:37 Sam James
2018-01-02 2:49 Mike Gilbert
2016-09-19 14:00 Mike Gilbert
2016-05-16 16:20 Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1761453747.8af1e95b3b4ddf47e5300fd8a4c37888d9e1b8f2.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox