Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768957 - sys-apps/portage: binrepos.conf src-uri file:// support
Summary: sys-apps/portage: binrepos.conf src-uri file:// support
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Portage team
Depends on: 668334
  Show dependency tree
Reported: 2021-02-06 10:35 UTC by Zac Medico
Modified: 2021-06-17 19:29 UTC (History)
5 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2021-02-06 10:35:36 UTC
If binrepos.conf src-uri supports file:// then it can be used to configure local binary package repositories.
Comment 1 Aisha Tammy 2021-02-07 19:33:39 UTC Comment hidden (obsolete)
Comment 2 Aisha Tammy 2021-02-07 20:42:51 UTC Comment hidden (obsolete)
Comment 3 Aisha Tammy 2021-02-07 21:16:01 UTC Comment hidden (obsolete)
Comment 4 Zac Medico gentoo-dev 2021-02-08 00:46:40 UTC
In binrepos.conf, lowercase fetchcommand and resumecommand attributes are supported by this patch from bug 668302:
Comment 5 Aisha Tammy 2021-02-20 00:30:38 UTC
With the new information from Zac, the following is my configuration in /etc/binrepos.conf:

fetchcommand=/usr/bin/curl --fail --output \${DISTDIR}/\${FILE} \${URI}
resumecommand=/usr/bin/curl -fail --continue-at - --output \${DISTDIR}/\${FILE} \${URI}