Summary: | emerge-webrsync is broken on macos | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Mamoru KOMACHI (RETIRED) <usata> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, osx, sejo |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 35535 | ||
Bug Blocks: | |||
Attachments: |
emerge-webrsync.diff
integrated emerge-webrsync.patch Adjusted the last patch to curl emerge-webrsync.diff3 |
Description
Mamoru KOMACHI (RETIRED)
2004-07-21 12:48:26 UTC
Created attachment 35907 [details, diff]
emerge-webrsync.diff
Using fetchcommand="$(/usr/lib/portage/bin/portageq FETCHCOMMAND)" instead is a better solution imo, considering it's the user's defined fetcher. Would require a few tweaks of course, but it's a cleaner (and simpler to maintain) solution imo. covered by the sync refactoring which will obsolete `emerge-webrsync`. *** Bug 57879 has been marked as a duplicate of this bug. *** Created attachment 36576 [details, diff]
integrated emerge-webrsync.patch
please take this patch for a spin- it's basically usata's patch, only modified
to use FETCHCOMMAND's usual distdir/file/uri .
It'll be pushed into cvs in the near future, so please test it (both bsd and
gnu).
*** Bug 56775 has been marked as a duplicate of this bug. *** Created attachment 36632 [details, diff]
Adjusted the last patch to curl
The last patch doesn't work (missing $DISTDIR in several places).
Please use this patch instead.
FETCHCOMMAND="/usr/bin/curl ..." didn't work properly when
the first attempt had failed because curl saved "Not found" page as
portage-20040801.tar.bz2. I added ugly hack to use file
in order to check portage-YYYYMMDD.tar.bz2 is bzip2 compressed
file. I'm not happy with it but emerge-webrsync aborts without it.
Hmm. I did miss a couple of things, didn't I? :-/ Couple of tweaks here and there, but your additions will end up in pre14. Created attachment 36652 [details, diff]
emerge-webrsync.diff3
wget is broken with diff2; this is a revised version of diff2 that is
happy with both wget and curl.
Released in pre17 iirc. |