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
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All All
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 668334 920537
Blocks:
  Show dependency tree
 
Reported: 2021-02-06 10:35 UTC by Zac Medico
Modified: 2024-01-14 05:19 UTC (History)
6 users (show)

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


Attachments

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:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=5ebc8a249b08318da5a2ca89cee2eed604f7e639
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:

[lto-binpkg]
sync-uri=file:///var/cache/binpkg-host
fetchcommand=/usr/bin/curl --fail --output \${DISTDIR}/\${FILE} \${URI}
resumecommand=/usr/bin/curl -fail --continue-at - --output \${DISTDIR}/\${FILE} \${URI}
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-14 05:19:37 UTC
This was done in bug 920537.