/etc/portage/mirrors
From Gentoo Wiki
Jump to:navigation
Jump to:search
/etc/portage/mirrors is a file that is used to modify mirror behavior. It is useful for defining a local mirror that can contain fetch-restricted packages when using multiple Gentoo machines.
Portage will check the /etc/portage/mirrors file before looking at GENTOO_MIRRORS in /etc/portage/make.conf
Example
# A list of local, private mirrors used by a company
local ftp://192.168.0.3/mirrors/gentoo https://192.168.0.4/distfiles
# People in Japan would want to use the Japanese mirror first
sourceforge https://keihanna.dl.sourceforge.net/sourceforge
# People in Tawain would want to use the local GNU mirror first
gnu ftp://ftp.nctu.edu.tw/UNIX/gnu/
See also
- /etc/portage — the primary configuration directory for Portage, Gentoo's package manager.