Switch HTTP mirror to rsync for more efficient partial download support. Create sections for each country of mirror locations. Add GB and JP mirrors.

This commit is contained in:
inference 2022-12-27 04:30:14 +00:00
parent 0d972b546f
commit 35c6661ae9

View File

@ -3,7 +3,7 @@
# Copyright 2022-2023 Inference # Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear # SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 0.0.2.2 # Version: 1.0.0.3
# System. # System.
@ -19,7 +19,12 @@ PKGDIR="/var/cache/bin/"
LC_MESSAGES=C LC_MESSAGES=C
## Gentoo mirrors. ## Gentoo mirrors.
GENTOO_MIRRORS="https://mirror.init7.net/gentoo/" ### GB.
GENTOO_MIRRORS="rsync://mirror.bytemark.co.uk/gentoo/ rsync://rsync.mirrorservice.org/sites/distfiles.gentoo.org/"
### CH.
GENTOO_MIRRORS="rsync://mirror.init7.net/gentoo/"
### JP.
GENTOO_MIRRORS="rsync://ftp.iij.ad.jp/pub/linux/gentoo/ rsync://ftp.jaist.ac.jp/pub/Linux/gentoo/"
## Emerge. ## Emerge.
EMERGE_DEFAULT_OPTS="--ask --verbose" EMERGE_DEFAULT_OPTS="--ask --verbose"