summaryrefslogtreecommitdiff
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2022-10-13 08:59:29 +0900
committerYasuhiro Kimura <yasu@FreeBSD.org>2022-10-13 09:36:52 +0900
commitc564ea289a87426b4550ac418101a919990488ad (patch)
treece26f21b8ab52517150f11c45b436c70bae21ff8 /Mk/bsd.sites.mk
parentmail/snappymail: Update to 2.18.6 (diff)
Mk/bsd.sites.mk: Update MASTER_SITE_DEBIAN
1. cdn.debian.net and http.debian.net are obsolete, so replace them with deb.debian.org. 2. Sync per-country mirrors with current official mirrors list. Reference: https://www.debian.org/mirror/list (1,2) Reference: https://wiki.debian.org/DebianGeoMirror (1)
Diffstat (limited to '')
-rw-r--r--Mk/bsd.sites.mk34
1 files changed, 5 insertions, 29 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index ec15d0a70df5..185299f43ce0 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -128,35 +128,11 @@ MASTER_SITE_CRATESIO+= https://crates.io/api/v1/crates/%SUBDIR%/download?dummy=/
.endif
.if !defined(IGNORE_MASTER_SITE_DEBIAN)
-MASTER_SITE_DEBIAN+= \
- http://cdn.debian.net/debian/%SUBDIR%/ \
- http://http.debian.net/debian/%SUBDIR%/ \
- http://www.gtlib.gatech.edu/pub/debian/%SUBDIR%/ \
- ftp://ftp.us.debian.org/debian/%SUBDIR%/ \
- http://ftp.au.debian.org/debian/%SUBDIR%/ \
- http://ftp.cl.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.cz.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.de.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.ee.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.fi.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.fr.debian.org/debian/%SUBDIR%/ \
- http://ftp.hk.debian.org/debian/%SUBDIR%/ \
- http://ftp.hr.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.hu.debian.org/debian/%SUBDIR%/ \
- http://ftp.ie.debian.org/debian/%SUBDIR%/ \
- http://ftp.it.debian.org/debian/%SUBDIR%/ \
- http://ftp.jp.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.nl.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.no.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.pl.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.ru.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.se.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.si.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.sk.debian.org/debian/%SUBDIR%/ \
- http://ftp.wa.au.debian.org/debian/%SUBDIR%/ \
- ftp://ftp2.de.debian.org/debian/%SUBDIR%/ \
- ftp://ftp.snt.utwente.nl/pub/linux/debian/%SUBDIR%/ \
- ftp://ftp.acc.umu.se/debian/%SUBDIR%/
+MASTER_SITE_DEBIAN+= http://deb.debian.org/debian/%SUBDIR%/
+. for country in am au at by be br bg ca cl cn hr cz dk fi fr de hk hu is it \
+ jp kr lt md nl nc nz no pl pt ru sk si es se ch tw uk us
+MASTER_SITE_DEBIAN+= http://ftp.${country}.debian.org/debian/%SUBDIR%/
+. endfor
.endif
.if !defined(IGNORE_MASTER_SITE_DEBIAN_POOL)