Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673616 - REQUEST: Portage is unable to fetch source with variable
Summary: REQUEST: Portage is unable to fetch source with variable
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Lowest normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-23 16:14 UTC by Jakub Hrbek
Modified: 2018-12-25 21:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Source + terminal output (file_673616.txt,8.40 KB, text/plain)
2018-12-23 16:14 UTC, Jakub Hrbek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Hrbek 2018-12-23 16:14:15 UTC
Based on https://forums.gentoo.org/viewtopic-p-8293520.html#8293520 i understand that portage is unable to fetch source with variable.

This prevents to download correct installer for LeagueOfLegends ebuild and end-user is forced to re-update the client after the build is finished.

Recommends implementing a RESTRICT which allows SRC_URI to be downloaded after pkg_setup phase with security warning and displaying URL.

OR

Allowing portage to whitelist multiple sources that can be fetch on demand in pkg_setup.
Comment 1 Jakub Hrbek 2018-12-23 16:14:58 UTC
Created attachment 558414 [details]
Source + terminal output
Comment 2 Jakub Hrbek 2018-12-25 17:17:48 UTC
Found a workaround that is just as effective, lowering priority.
Comment 3 Zac Medico gentoo-dev 2018-12-25 19:44:35 UTC
Unverified downloads typically occur in the src_unpack function, and bug 481434 would introduce a separate src_fetch function.
Comment 4 Jakub Hrbek 2018-12-25 21:37:01 UTC
Or in theory this feature can be implemented with SHA256 verification to solve the issue with (multiple) unsafe(?) sources alike winetricks: https://github.com/Winetricks/winetricks/pull/1160/commits/23a1548ee9bfb64eae7c33b81c2e3bb8002c07d7