From 9046e9aa394428901facdaf35823b26e01e87364 Mon Sep 17 00:00:00 2001 From: Yasuhiro Kimura Date: Fri, 22 May 2020 16:38:59 +0900 Subject: [PATCH] Mk/bsd.sites.mk: Update MASTER_SITE_DEBIAN Update MASTER_SITE_DEBIAN so it includes global CDN backed mirror (deb.debian.org) and per-country Debian mirror aliases listed in https://www.debian.org/mirror/list --- Mk/bsd.sites.mk | 43 ++++++++----------------------------------- 1 file changed, 8 insertions(+), 35 deletions(-) diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index 628809db1f25..0c938f23b7bc 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -131,42 +131,15 @@ MASTER_SITE_CRAN_ARCHIVE+= ${MASTER_SITE_CRAN:S,$,Archive/${PORTNAME}/,} MASTER_SITE_CRATESIO+= https://crates.io/api/v1/crates/%SUBDIR%/download?dummy=/ .endif +# List: https://www.debian.org/mirror/list +# Updated: 2021-10-20 .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%/ \ - ftp://ftp.bg.debian.org/debian/%SUBDIR%/ \ - ftp://ftp.br.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.es.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%/ \ - ftp://ftp.is.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%/ \ - ftp://ftp.uk.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%/ \ - ftp://mirror.symnds.com/debian/%SUBDIR%/ +MASTER_SITE_DEBIAN+= https://deb.debian.org/debian/%SUBDIR%/ +.for country in am au at by be br ca cl cn hr cz dk sv ee fi fr de hk hu is it \ + jp kr lt md nl nz no pl pt ru sk si es se ch tw tr uk us +MASTER_SITE_DEBIAN+= http://ftp.${country}.debian.org/debian/%SUBDIR%/ +.endfor +MASTER_SITE_DEBIAN+= http://ftp2.de.debian.org/debian/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_DEBIAN_POOL) -- 2.33.1