aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk436
1 files changed, 132 insertions, 304 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 57f9d80f5fa3..25019117c79a 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -47,15 +47,12 @@ MASTER_SITE_AFTERSTEP+= \
.if !defined(IGNORE_MASTER_SITE_APACHE)
MASTER_SITE_APACHE+= \
https://dlcdn.apache.org/%SUBDIR%/ \
- https://mirror.netcologne.de/apache.org/%SUBDIR%/ \
https://ftp.wayne.edu/apache/%SUBDIR%/ \
https://mirror.its.dal.ca/apache/%SUBDIR%/ \
http://mirror.cogentco.com/pub/apache/%SUBDIR%/ \
http://mirror.navercorp.com/apache/%SUBDIR%/ \
http://ftp.kddi-research.jp/infosystems/apache/%SUBDIR%/ \
- http://miroir.univ-lorraine.fr/apache/%SUBDIR%/ \
- ftp://ftp.acc.umu.se/mirror/apache.org/%SUBDIR%/ \
- ftp://ftp.nluug.nl/internet/apache/%SUBDIR%/
+ http://miroir.univ-lorraine.fr/apache/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_APACHE_COMMONS_BINARIES)
@@ -93,12 +90,6 @@ MASTER_SITE_BERLIOS+= \
${MASTER_SITE_SOURCEFORGE}
.endif
-.if !defined(IGNORE_MASTER_SITE_CHEESESHOP)
-MASTER_SITE_CHEESESHOP+= \
- https://files.pythonhosted.org/packages/%SUBDIR%/ \
- https://pypi.org/packages/%SUBDIR%/
-.endif
-
.if !defined(IGNORE_MASTER_SITE_COMP_SOURCES)
MASTER_SITE_COMP_SOURCES+= \
http://ftp.isc.org/pub/usenet/comp.sources.%SUBDIR%/ \
@@ -111,13 +102,10 @@ MASTER_SITE_CRAN+= \
https://cloud.r-project.org/%SUBDIR%/ \
https://stat.ethz.ch/CRAN/%SUBDIR%/ \
http://cran.utstat.utoronto.ca/%SUBDIR%/ \
- https://cran.cnr.berkeley.edu/%SUBDIR%/ \
https://cran.csiro.au/%SUBDIR%/ \
https://mirrors.tuna.tsinghua.edu.cn/CRAN/%SUBDIR%/ \
- http://camoruco.ing.uc.edu.ve/cran/%SUBDIR%/ \
https://mirror.las.iastate.edu/CRAN/%SUBDIR%/ \
https://cran.ma.imperial.ac.uk/%SUBDIR%/ \
- https://cran.gis-lab.info/%SUBDIR%/ \
https://cran.ism.ac.jp/%SUBDIR%/
.endif
@@ -130,41 +118,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%/ \
- 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+= 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)
@@ -172,42 +130,23 @@ MASTER_SITE_DEBIAN_POOL+= \
${MASTER_SITE_DEBIAN:C|(/%SUBDIR%/)|/pool/main/${PORTNAME:C/^(.).*$/\1/}/${PORTNAME}/|}
.endif
-.if !defined(IGNORE_MASTER_SITE_EASYSW)
-MASTER_SITE_EASYSW+= \
- http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/%SUBDIR%/ \
- ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/%SUBDIR%/
-.endif
-
.if !defined(IGNORE_MASTER_SITE_ECLIPSE)
MASTER_SITE_ECLIPSE+= \
- ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse.org/%SUBDIR%/ \
- ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse/%SUBDIR%/ \
https://ftp-stud.hs-esslingen.de/pub/Mirrors/eclipse/%SUBDIR%/ \
- https://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/%SUBDIR%/ \
- http://eclipse.stu.edu.tw/%SUBDIR%/
+ https://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/%SUBDIR%/
.endif
+# List: https://www.exim.org/mirmon/ftp_mirrors.html
.if !defined(IGNORE_MASTER_SITE_EXIM)
MASTER_SITE_EXIM+= \
- ftp://ftp.exim.org/pub/exim/%SUBDIR%/ \
- ftp://mirror.easyname.at/exim-ftp/%SUBDIR%/ \
- http://dl.ambiweb.de/mirrors/ftp.exim.org/exim/%SUBDIR%/ \
- ftp://exim.noris.de/exim/%SUBDIR%/ \
- ftp://ftp.bytemine.net/exim/exim/%SUBDIR%/ \
- ftp://ftp.heanet.ie/pub/exim/%SUBDIR%/ \
- https://ftp.heanet.ie/pub/exim/%SUBDIR%/ \
- http://washitake.com/mail/exim/mirror/exim/%SUBDIR%/ \
- ftp://ftp.kaist.ac.kr/exim/%SUBDIR%/ \
- http://ftp.kaist.ac.kr/exim/%SUBDIR%/ \
- ftp://sunsite.uio.no/pub/mail/exim/exim/%SUBDIR%/ \
- ftp://sunsite.icm.edu.pl/pub/unix/mail/exim/exim/%SUBDIR%/ \
- https://sunsite.icm.edu.pl/pub/unix/mail/exim/exim/%SUBDIR%/ \
- ftp://mirrors.dominios.pt/pub/ftp.exim.org/exim/%SUBDIR%/ \
- ftp://mirror.switch.ch/mirror/exim/exim/%SUBDIR%/ \
- http://mirror.switch.ch/ftp/mirror/exim/exim/%SUBDIR%/ \
- ftp://ftp.mirrorservice.org/sites/ftp.exim.org/pub/%SUBDIR%/ \
- http://exim.telcom.net.ua/ftp/%SUBDIR/ \
- ftp://idcnetwork.org/pub/exim/exim/%SUBDIR%/
+ https://exim.mirror.globo.tech/exim/%SUBDIR%/ \
+ https://mirror.easyname.at/exim-ftp/exim/%SUBDIR%/ \
+ https://www.mirrorservice.org/sites/ftp.exim.org/pub/exim/%SUBDIR%/ \
+ https://exim.mirror.iphh.net/ftp/exim/%SUBDIR%/ \
+ http://ftp.carnet.hr/misc/exim/exim/%SUBDIR%/ \
+ http://ftp.kaist.ac.kr/exim/exim/%SUBDIR%/ \
+ http://sunsite.icm.edu.pl/pub/unix/mail/exim/exim/%SUBDIR%/ \
+ https://ftp.exim.org/pub/exim/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_CENTOS_LINUX)
@@ -216,16 +155,6 @@ MASTER_SITE_CENTOS_LINUX+= \
http://vault.centos.org/%SUBDIR%/:DEFAULT,aarch64,amd64,i386,SOURCE
.endif
-.if !defined(IGNORE_MASTER_SITE_EPEL)
-MASTER_SITE_EPEL+= \
- https://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/%SUBDIR%/:DEFAULT,amd64 \
- https://dl.fedoraproject.org/pub/epel/6/i386/Packages/%SUBDIR%/:DEFAULT,i386 \
- https://dl.fedoraproject.org/pub/epel/6/SRPMS/Packages/%SUBDIR%/:SOURCE \
- http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/%SUBDIR%/:DEFAULT,amd64 \
- http://dl.fedoraproject.org/pub/epel/6/i386/Packages/%SUBDIR%/:DEFAULT,i386 \
- http://dl.fedoraproject.org/pub/epel/6/SRPMS/Packages/%SUBDIR%/:SOURCE
-.endif
-
.if !defined(IGNORE_MASTER_SITE_EPEL7)
MASTER_SITE_EPEL7+= \
https://dl.fedoraproject.org/pub/epel/7/aarch64/Packages/%SUBDIR%/:DEFAULT,aarch64 \
@@ -236,16 +165,6 @@ MASTER_SITE_EPEL7+= \
http://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/%SUBDIR%/:SOURCE
.endif
-.if !defined(IGNORE_MASTER_SITE_FEDORA_LINUX)
-MASTER_SITE_FEDORA_LINUX+= \
- https://archives.fedoraproject.org/pub/archive/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
- https://archives.fedoraproject.org/pub/archive/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
- ftp://ftp.pbone.net/vol4/archive.fedoraproject.org/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
- ftp://ftp.gmd.de/archives.fedoraproject.org/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
- ftp://mirror.fraunhofer.de/archives.fedoraproject.org/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
- ftp://ftp-mirror.bi.fraunhofer.de/archives.fedoraproject.org/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE
-.endif
-
.if !defined(IGNORE_MASTER_SITE_FARSIGHT)
MASTER_SITE_FARSIGHT+= \
https://dl.farsightsecurity.com/dist/%SUBDIR%/
@@ -259,7 +178,6 @@ MASTER_SITE_FESTIVAL+= \
.if !defined(IGNORE_MASTER_SITE_FESTIVAL_OGI)
MASTER_SITE_FESTIVAL_OGI+= \
- ftp://ftp.tuwien.ac.at/opsys/linux/blinux/festival/mirror.ogi-synth_home/ \
http://www.cslu.ogi.edu/tts/download/data/
.endif
@@ -272,7 +190,7 @@ MASTER_SITE_FESTIVAL_OGI+= \
#
.if !defined(IGNORE_MASTER_SITE_FREEBSD_ORG)
MASTER_SITE_FREEBSD_ORG+= \
- https://download.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
+ https://download.FreeBSD.org/%SUBDIR%/ \
ftp://ftp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
@@ -283,60 +201,32 @@ MASTER_SITE_FREEBSD_ORG+= \
.if !defined(IGNORE_MASTER_SITE_FRUGALWARE)
MASTER_SITE_FRUGALWARE+= \
ftp://ftp7.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ \
- ftp://ftp2.frugalware.org/mirror/ftp.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ \
ftp://ftp6.frugalware.org/mirrors/linux/frugalware/frugalware-stable/source/%SUBDIR%/ \
- ftp://ftp4.frugalware.org/pub/linux/distributions/frugalware/frugalware-stable/source/%SUBDIR%/ \
- ftp://ftp12.frugalware.org/mirrors/ftp.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ \
- ftp://ftp10.frugalware.org/pub/linux/frugalware/frugalware-stable/source/%SUBDIR%/
-# ftp://ftp5.frugalware.org/packages/frugalware/pub/frugalware/frugalware-stable/source/%SUBDIR%/
-# ftp://ftp3.frugalware.org/mirrors/frugalware/pub/frugalware/frugalware-stable/source/%SUBDIR%/
-# ftp://ftp9.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/
+ ftp://ftp12.frugalware.org/mirrors/ftp.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_GCC)
MASTER_SITE_GCC+= \
https://mirrors.kernel.org/sourceware/gcc/%SUBDIR%/ \
- http://gcc.parentingamerica.com/%SUBDIR%/ \
- http://gcc.cybermirror.org/%SUBDIR%/ \
- http://gcc-uk.internet.bs/%SUBDIR%/ \
- http://www.netgull.com/gcc/%SUBDIR%/ \
- http://robotlab.itk.ppke.hu/gcc/%SUBDIR%/ \
- http://gcc.fyxm.net/%SUBDIR%/ \
https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/%SUBDIR%/ \
- ftp://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/%SUBDIR%/ \
- ftp://gcc.gnu.org/pub/gcc/%SUBDIR%/ \
- ftp://ftp.lip6.fr/pub/gcc/%SUBDIR%/ \
- ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/%SUBDIR%/ \
- ftp://ftp.uvsq.fr/pub/gcc/%SUBDIR%/ \
- ftp://ftp.gwdg.de/pub/misc/gcc/%SUBDIR%/ \
- ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/%SUBDIR%/ \
- ftp://ftp.nluug.nl/mirror/languages/gcc/%SUBDIR%/ \
- ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/%SUBDIR%/ \
- ftp://ftp.ntua.gr/pub/gnu/gcc/%SUBDIR%/
+ https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/%SUBDIR%/ \
+ https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/%SUBDIR%/ \
+ https://mirrorservice.org/sites/sourceware.org/pub/gcc/%SUBDIR%/ \
+ http://mirror.koddos.net/gcc/%SUBDIR%/ \
+ http://ftp.ntua.gr/pub/gnu/gcc/%SUBDIR%/ \
+ http://gcc.gnu.org/pub/gcc/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_GENTOO)
MASTER_SITE_GENTOO+= \
- http://gentoo.mirrors.pair.com/%SUBDIR%/ \
- http://mirrors.tds.net/pub/gentoo/%SUBDIR%/ \
- ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/%SUBDIR%/ \
- http://ftp.snt.utwente.nl/pub/os/linux/gentoo/%SUBDIR%/ \
- http://trumpetti.atm.tut.fi/gentoo/%SUBDIR%/ \
- https://ftp.uni-erlangen.de/pub/mirrors/gentoo/%SUBDIR%/ \
- http://gentoo.inode.at/%SUBDIR%/ \
- http://gentoo.gg3.net/%SUBDIR%/ \
- http://mirrors.163.com/gentoo/%SUBDIR%/ \
- ftp://ftp.gtlib.gatech.edu/pub/gentoo/%SUBDIR%/ \
- ftp://ftp.ussg.iu.edu/pub/linux/gentoo/%SUBDIR%/ \
- ftp://mirrors.tds.net/pub/gentoo/%SUBDIR%/ \
- ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/%SUBDIR%/ \
- ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/%SUBDIR%/ \
- ftp://trumpetti.atm.tut.fi/gentoo/%SUBDIR%/ \
- ftp://ftp.tu-clausthal.de/pub/linux/gentoo/%SUBDIR%/ \
- ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/%SUBDIR%/ \
- ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/%SUBDIR%/ \
- ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/%SUBDIR%/ \
- ftp://gentoo.inode.at/source/%SUBDIR%/
+ https://mirror.leaseweb.com/gentoo/%SUBDIR%/ \
+ https://mirror.rackspace.com/gentoo/%SUBDIR%/ \
+ https://mirror.init7.net/gentoo/%SUBDIR%/ \
+ https://mirrors.rit.edu/gentoo/%SUBDIR%/ \
+ http://ftp.iij.ad.jp/pub/linux/gentoo/%SUBDIR%/ \
+ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/%SUBDIR%/ \
+ http://ftp.uni-hannover.de/gentoo/%SUBDIR%/ \
+ http://gentoo-mirror.flux.utah.edu/%SUBDIR%/
.endif
# Keep this before USE_GITHUB
@@ -374,10 +264,10 @@ IGNORE?= Using master as GH_TAGNAME is invalid. \
. if defined(GH_TUPLE)
. for _tuple in ${GH_TUPLE}
_t_tmp=${_tuple}
-. if ${_t_tmp:C@^([^:]*):([^:]*):([^:]*)((:[^:/]*)?)((/.*)?)@\4@:S/://:C/[a-zA-Z0-9_]//g}
+. if ${_t_tmp:C@^([^:]*):([^:]*):([^:]*)((:[^:/]*)?)((/.*)?)@\4@:S/://:C/[a-zA-Z0-9_.+-]//g}
check-makevars::
@${ECHO_MSG} "The ${_tuple} GH_TUPLE line has"
- @${ECHO_MSG} "a tag containing something else than [a-zA-Z0-9_]"
+ @${ECHO_MSG} "a tag containing something else than [a-zA-Z0-9_.+-]"
@${FALSE}
. endif
. endfor
@@ -507,9 +397,19 @@ git-clone-${_group}: ${_GITHUB_CLONE_DIR}
. endif
convert-to-gh-tuple:
@${ECHO_MSG} ${GH_ACCOUNT}:${GH_PROJECT}:${GH_TAGNAME} ${_GH_TUPLE_OUT:S/\/$//}
+WWW?= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/
. endif # defined(USE_GITHUB)
.endif # !defined(IGNORE_MASTER_SITE_GITHUB)
+# Keep this before USE_GITLAB
+# first try to detect when fetch was called by makesum, which passes
+# MASTER_SITES and would cause a bogus warning here.
+.if !(make(fetch) && !empty(NO_CHECKSUM) && !empty(DISABLE_SIZE))
+. if !empty(MASTER_SITES:M*//*/*/*/-/archive/${DISTVERSIONFULL}/)
+DEV_WARNING+= "MASTER_SITES contains ${MASTER_SITES:M*//*/*/*/-/archive/${DISTVERSIONFULL}/}, please use USE_GITLAB instead."
+. endif
+.endif
+
.if !defined(IGNORE_MASTER_SITE_GITLAB)
#
# In order to use GitLab your port must define USE_GITLAB and the following
@@ -524,34 +424,40 @@ convert-to-gh-tuple:
# GL_PROJECT - name of the project on GitLab
# default: ${PORTNAME}
#
-# GL_COMMIT - the commit hash of the repository, must be the full hash and
-# is a required variable for GitLab.
+# GL_TAGNAME - name of the tag to download (2.0.1, hash, ...)
+# Using the name of a branch here is incorrect. It is
+# possible to do GL_TAGNAME= GIT_HASH to do a snapshot.
+# default: ${DISTVERSIONFULL}
#
# GL_SUBDIR - directory relative to WRKSRC where to move this distfile's
# content after extracting.
#
-# GL_TUPLE - above shortened to [site[:port][/webroot]:]account:project:commit:group[/subdir]
+# GL_TUPLE - above shortened to [site[:port][/webroot]:]account:project:tagname:group[/subdir]
#
. if defined(USE_GITLAB)
+. if !defined(GL_TAGNAME) && defined(GL_COMMIT)
+GL_TAGNAME= ${GL_COMMIT}
+DEV_WARNING+= "GL_COMMIT is deprecated, please use GL_TAGNAME instead"
+. endif
. if defined(GL_TUPLE)
. for _tuple in ${GL_TUPLE}
-. if ${_tuple:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\7@:S/^://:C/[a-f0-9]{40}//g}
+. if ${_tuple:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\7@:S/^://:C/[a-zA-Z0-9_.+-]//g}
check-makevars::
@${ECHO_MSG} "The ${_tuple}"
- @${ECHO_MSG} "GL_TUPLE is improperly formatted or, the commit"
- @${ECHO_MSG} "section contains something other than [a-f0-9]"
+ @${ECHO_MSG} "GL_TUPLE is improperly formatted or, the tagname"
+ @${ECHO_MSG} "section contains something other than [a-zA-Z0-9_.+-]"
@${FALSE}
. endif
. endfor
GL_SITE+= ${GL_TUPLE:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\1\8@:S@::@:@}
GL_ACCOUNT+= ${GL_TUPLE:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\5\8@}
GL_PROJECT+= ${GL_TUPLE:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\6\8@}
-GL_COMMIT+= ${GL_TUPLE:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\7\8@}
+GL_TAGNAME+= ${GL_TUPLE:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\7\8@}
GL_SUBDIR+= ${GL_TUPLE:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\9\8@:M/*:S/^\///}
. endif
. if empty(USE_GITLAB:Mnodefault)
-MASTER_SITES+= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/archive/${GL_COMMIT}.tar.gz?dummy=/
+MASTER_SITES+= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/archive/${GL_TAGNAME:C@^[a-f0-9]{40}$@\0.tar.gz?dummy=@}/
. endif
GL_SITE_DEFAULT= https://gitlab.com
GL_SITE?= ${GL_SITE_DEFAULT}
@@ -559,8 +465,10 @@ GL_ACCOUNT_DEFAULT= ${PORTNAME}
GL_ACCOUNT?= ${GL_ACCOUNT_DEFAULT}
GL_PROJECT_DEFAULT= ${PORTNAME}
GL_PROJECT?= ${GL_PROJECT_DEFAULT}
+GL_TAGNAME_DEFAULT= ${DISTVERSIONFULL}
+GL_TAGNAME?= ${GL_TAGNAME_DEFAULT}
_GITLAB_GROUPS= DEFAULT
-. for _gl_v in GL_SITE GL_ACCOUNT GL_PROJECT GL_COMMIT GL_SUBDIR
+. for _gl_v in GL_SITE GL_ACCOUNT GL_PROJECT GL_TAGNAME GL_SUBDIR
. for _v_ex in ${${_gl_v}}
_GL_GROUPS= ${_v_ex:S/^${_v_ex:C@:[^/:]+$@@}//:S/^://}
. if !empty(_GL_GROUPS)
@@ -584,18 +492,24 @@ ${_gl_v}_DEFAULT= ${_v_ex:C@^(.*):[^/:]+$@\1@}
GL_SITE:= ${GL_SITE_DEFAULT}
GL_ACCOUNT:= ${GL_ACCOUNT_DEFAULT}
GL_PROJECT:= ${GL_PROJECT_DEFAULT}
-GL_COMMIT:= ${GL_COMMIT_DEFAULT}
+GL_TAGNAME:= ${GL_TAGNAME_DEFAULT}
GL_SUBDIR:= ${GL_SUBDIR_DEFAULT}
_GITLAB_REV= 0
-_GITLAB_EXTRACT_SUFX= .tar.gz
+_GITLAB_EXTRACT_SUFX= .tar.gz
+_GITLAB_TAG_EXTRACT_SUFX= .tar.bz2
_GITLAB_CLONE_DIR?= ${WRKDIR}/git-clone
_PORTS_DIRECTORIES+= ${_GITLAB_CLONE_DIR}
. if !${USE_GITLAB:Mnodefault}
-DISTNAME:= ${GL_ACCOUNT}-${GL_PROJECT}-${GL_COMMIT}_GL${_GITLAB_REV}
+. if ${GL_TAGNAME:C/^[a-f0-9]{40}$//}
+DISTNAME:= ${GL_PROJECT}-${GL_TAGNAME}
+DISTFILES+= ${DISTNAME}${_GITLAB_TAG_EXTRACT_SUFX}
+. else
+DISTNAME:= ${GL_ACCOUNT}-${GL_PROJECT}-${GL_TAGNAME}_GL${_GITLAB_REV}
DISTFILES+= ${DISTNAME}${_GITLAB_EXTRACT_SUFX}
+. endif
git-clone: git-clone-DEFAULT
git-clone-DEFAULT: ${_GITLAB_CLONE_DIR}
@git clone ${GL_SITE_DEFAULT}/${GL_ACCOUNT_DEFAULT}/${GL_PROJECT_DEFAULT}.git ${_GITLAB_CLONE_DIR}/${GL_PROJECT_DEFAULT}
@@ -617,12 +531,18 @@ GL_SITE_${_group}= ${GL_SITE_DEFAULT}
GL_ACCOUNT_${_group}?= ${GL_ACCOUNT_DEFAULT}
GL_PROJECT_${_group}?= ${GL_PROJECT_DEFAULT}
-_GL_TUPLE_OUT:= ${_GL_TUPLE_OUT} ${GL_SITE_${_group}}:${GL_ACCOUNT_${_group}}:${GL_PROJECT_${_group}}:${GL_COMMIT_${_group}}:${_group}/${GL_SUBDIR_${_group}}
-DISTNAME_${_group}:= ${GL_ACCOUNT_${_group}}-${GL_PROJECT_${_group}}-${GL_COMMIT_${_group}}_GL${_GITLAB_REV}
+_GL_TUPLE_OUT:= ${_GL_TUPLE_OUT} ${GL_SITE_${_group}}:${GL_ACCOUNT_${_group}}:${GL_PROJECT_${_group}}:${GL_TAGNAME_${_group}}:${_group}/${GL_SUBDIR_${_group}}
+. if ${GL_TAGNAME_${_group}:C/^[a-f0-9]{40}$//}
+DISTNAME_${_group}:= ${GL_PROJECT_${_group}}-${GL_TAGNAME_${_group}}
+DISTFILE_${_group}:= ${DISTNAME_${_group}}${_GITLAB_TAG_EXTRACT_SUFX}
+MASTER_SITES:= ${MASTER_SITES} ${GL_SITE_${_group}}/${GL_ACCOUNT_${_group}}/${GL_PROJECT_${_group}}/-/archive/${GL_TAGNAME_${_group}}/:${_group}
+. else
+DISTNAME_${_group}:= ${GL_ACCOUNT_${_group}}-${GL_PROJECT_${_group}}-${GL_TAGNAME_${_group}}_GL${_GITLAB_REV}
DISTFILE_${_group}:= ${DISTNAME_${_group}}${_GITLAB_EXTRACT_SUFX}
+MASTER_SITES:= ${MASTER_SITES} ${GL_SITE_${_group}}/${GL_ACCOUNT_${_group}}/${GL_PROJECT_${_group}}/-/archive/${GL_TAGNAME_${_group}}.tar.gz?dummy=/:${_group}
+. endif
DISTFILES:= ${DISTFILES} ${DISTFILE_${_group}}:${_group}
-MASTER_SITES:= ${MASTER_SITES} ${GL_SITE_${_group}}/${GL_ACCOUNT_${_group}}/${GL_PROJECT_${_group}}/-/archive/${GL_COMMIT_${_group}}.tar.gz?dummy=/:${_group}
-WRKSRC_${_group}:= ${WRKDIR}/${GL_PROJECT_${_group}}-${GL_COMMIT_${_group}}
+WRKSRC_${_group}:= ${WRKDIR}/${GL_PROJECT_${_group}}-${GL_TAGNAME_${_group}}
. if !empty(GL_SUBDIR_${_group})
_SITES_extract:= ${_SITES_extract} 690:post-extract-gl-${_group}
post-extract-gl-${_group}:
@@ -637,32 +557,27 @@ git-clone-${_group}: ${_GITLAB_CLONE_DIR}
@${ECHO_MSG} "Cloned the ${_group} GitLab repository into ${_GITLAB_CLONE_DIR}/${GL_PROJECT_${_group}}" | ${FMT_80}
. endfor
. endif
+WWW?= https://gitlab.com/${GL_ACCOUNT}/${GL_PROJECT}/
. endif # defined(USE_GITLAB)
.endif # !defined(IGNORE_MASTER_SITE_GITLAB)
.if !defined(IGNORE_MASTER_SITE_GNOME)
MASTER_SITE_GNOME+= \
https://download.gnome.org/%SUBDIR%/ \
- http://download.gnome.org/%SUBDIR%/ \
https://gitlab.gnome.org/GNOME/${PORTNAME}/-/archive/${PORTVERSION}/ \
- http://ftp.belnet.be/mirror/ftp.gnome.org/%SUBDIR%/ \
- ftp://ftp.belnet.be/mirror/ftp.gnome.org/%SUBDIR%/ \
+ http://ftp.belnet.be/mirror/ftp.gnome.org/gnomeftp/%SUBDIR%/ \
+ ftp://ftp.belnet.be/mirror/ftp.gnome.org/gnomeftp/%SUBDIR%/ \
https://ftp.acc.umu.se/pub/GNOME/%SUBDIR%/ \
ftp://ftp.cse.buffalo.edu/pub/Gnome/%SUBDIR%/ \
https://fr2.rpmfind.net/linux/gnome.org/%SUBDIR%/ \
- http://www.gtlib.gatech.edu/pub/gnome/%SUBDIR%/ \
ftp://ftp.kddlabs.co.jp/pub/GNOME/%SUBDIR%/ \
ftp://ftp.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/%SUBDIR%/ \
- ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/%SUBDIR%/ \
- https://ftp.gnome.org/pub/GNOME/%SUBDIR%/
+ ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_GIMP)
MASTER_SITE_GIMP+= \
http://gimp.mirrors.hoobly.com/pub/%SUBDIR%/ \
- http://gimper.net/downloads/pub/%SUBDIR%/ \
- http://mirror.hessmo.com/gimp/pub/%SUBDIR%/ \
- http://de-mirror.gimper.net/pub/%SUBDIR%/ \
http://gimp.afri.cc/pub/%SUBDIR%/ \
https://download.gimp.org/pub/%SUBDIR%/
.endif
@@ -675,7 +590,6 @@ MASTER_SITE_GNU+= \
https://www.nic.funet.fi/pub/gnu/gnu/%SUBDIR%/ \
http://mirror.navercorp.com/gnu/%SUBDIR%/ \
http://ftp.halifax.rwth-aachen.de/gnu/%SUBDIR%/ \
- http://download.xs4all.nl/gnu/%SUBDIR%/ \
http://ftp.kddilabs.jp/GNU/gnu/%SUBDIR%/ \
ftp://mirrors.rit.edu/gnu/%SUBDIR%/ \
ftp://ftp.fu-berlin.de/unix/gnu/%SUBDIR%/ \
@@ -683,19 +597,14 @@ MASTER_SITE_GNU+= \
https://ftp.gnu.org/gnu/%SUBDIR%/
.endif
+# List: https://gnupg.org/download/mirrors.html (contains stale information)
.if !defined(IGNORE_MASTER_SITE_GNUPG)
MASTER_SITE_GNUPG+= \
- https://gnupg.org/ftp/gcrypt/%SUBDIR%/ \
- https://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
- ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
- ftp://mirror.switch.ch/mirror/gnupg/%SUBDIR%/ \
https://mirrors.dotsrc.org/gcrypt/%SUBDIR%/ \
- ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
- ftp://ftp.crysys.hu/pub/gnupg/%SUBDIR%/ \
+ https://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
- https://artfiles.org/gnupg.org/%SUBDIR%/ \
- ftp://ftp.gnupg.org/gcrypt/%SUBDIR%/ \
- http://mirror.tje.me.uk/pub/mirrors/ftp.gnupg.org/%SUBDIR%/
+ http://www.ring.gr.jp/pub/net/gnupg/%SUBDIR%/ \
+ https://gnupg.org/ftp/gcrypt/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_GNUSTEP)
@@ -720,20 +629,10 @@ MASTER_SITE_GNU_ALPHA+= \
https://alpha-gnu-org.ip-connect.vn.ua/%SUBDIR%/
.endif
-.if !defined(IGNORE_MASTER_SITE_GOOGLE_CODE)
-PROJECTHOST?= ${PORTNAME}
-MASTER_SITE_GOOGLE_CODE+= \
- http://${PROJECTHOST}.googlecode.com/files/
-.endif
-
-.if !defined(IGNORE_MASTER_SITE_HORDE)
-MASTER_SITE_HORDE+= \
- https://ftp.horde.org/pub/%SUBDIR%/ \
- ftp://ftp.horde.org/pub/%SUBDIR%/ \
- ftp://ftp.at.horde.org/infosys/webapps/horde/%SUBDIR%/ \
- ftp://ftp.se.horde.org/mirror/horde/pub/%SUBDIR%/ \
- ftp://ftp.tw.horde.org/pub/%SUBDIR%/ \
- ftp://ftp.us.horde.org/pub/software/horde//%SUBDIR%/
+.if !defined(IGNORE_MASTER_SITE_HACKAGE)
+MASTER_SITE_HACKAGE+= \
+ https://hackage.haskell.org/package/ \
+ http://hackage.haskell.org/package/
.endif
.if !defined(IGNORE_MASTER_SITE_IDSOFTWARE)
@@ -766,46 +665,9 @@ MASTER_SITE_ISC+= \
ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/%SUBDIR%/
.endif
-# List: http://download.kde.org/extra/mirrors.html
-# Updated: 2012-10-26
.if !defined(IGNORE_MASTER_SITE_KDE)
MASTER_SITE_KDE+= \
- https://download.kde.org/%SUBDIR%/ \
- ftp://ftp.gtlib.gatech.edu/pub/kde/%SUBDIR%/ \
- ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/%SUBDIR%/ \
- http://ftp.gtlib.gatech.edu/pub/kde/%SUBDIR%/ \
- http://kde.mirrors.tds.net/pub/kde/%SUBDIR%/ \
- ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/%SUBDIR%/ \
- https://mirrors.dotsrc.org/kde/%SUBDIR%/ \
- ftp://mirrors.dotsrc.org/kde/%SUBDIR%/ \
- ftp://ftp.fi.muni.cz/pub/kde/%SUBDIR%/ \
- http://ftp.fi.muni.cz/pub/kde/%SUBDIR%/ \
- ftp://sunsite.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \
- https://sunsite.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \
- ftp://ftp.lip6.fr/pub/X11/kde/%SUBDIR%/ \
- http://www-ftp.lip6.fr/pub/X11/kde/%SUBDIR%/ \
- https://ftp-stud.hs-esslingen.de/Mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
- ftp://ftp.cronyx.ru/pub/mirror/kde/%SUBDIR%/ \
- ftp://ftp.fu-berlin.de/pub/unix/X11/gui/kde/%SUBDIR%/ \
- ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/kde/%SUBDIR%/ \
- ftp://ftp.ntua.gr/pub/X11/kde/%SUBDIR%/ \
- http://ftp.ntua.gr/pub/X11/kde/%SUBDIR%/ \
- ftp://ftp.heanet.ie/mirrors/ftp.kde.org/%SUBDIR%/ \
- https://ftp.heanet.ie/mirrors/ftp.kde.org/%SUBDIR%/ \
- ftp://ftp.kddlabs.co.jp/pub/X11/kde/%SUBDIR%/ \
- http://ftp.kddlabs.co.jp/pub/X11/kde/%SUBDIR%/ \
- ftp://ftp.ussg.iu.edu/pub/kde/%SUBDIR%/ \
- http://ftp.ussg.iu.edu/kde/%SUBDIR%/ \
- ftp://ftp.sayclub.com/pub/X/KDE/%SUBDIR%/ \
- http://ftp.sayclub.com/pub/X/KDE/%SUBDIR%/ \
- http://mirror.cc.columbia.edu/pub/software/kde/%SUBDIR%/ \
- ftp://ftp.mirrorservice.org/sites/ftp.kde.org/pub/kde/%SUBDIR%/ \
- https://www.mirrorservice.org/sites/ftp.kde.org/pub/kde/%SUBDIR%/ \
- https://ftp.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \
- http://ftp.fi.muni.cz/pub/kde/%SUBDIR%/ \
- ftp://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
- http://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
- https://kde.cs.nctu.edu.tw/ftp/%SUBDIR%/
+ https://download.kde.org/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_LIBREOFFICE_DEV)
@@ -820,16 +682,7 @@ MASTER_SITE_MATE+= \
.if !defined(IGNORE_MASTER_SITE_MOZDEV)
MASTER_SITE_MOZDEV+= \
- http://ftp.scarlet.be/pub/mozdev/%SUBDIR%/ \
- http://ftp.rz.tu-bs.de/pub/mirror/downloads.mozdev.org/%SUBDIR%/ \
- http://ftp.ntua.gr/pub/www/mozdev/%SUBDIR%/ \
- https://ftp.heanet.ie/pub/mozdev/%SUBDIR%/ \
- http://mozdev.oregonstate.edu/%SUBDIR%/ \
- http://ftp.ntua.gr/pub/www/mozdev/%SUBDIR%/ \
- http://www.devlib.org/mozdev/%SUBDIR%/ \
- ftp://ftp.heanet.ie/pub/mozdev/%SUBDIR%/ \
- http://mirrors.ibiblio.org/mozdev.org/%SUBDIR%/ \
- https://ftp.osuosl.org/pub/mozdev/%SUBDIR%/
+ http://mirrors.ibiblio.org/mozdev.org/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_MOZILLA)
@@ -840,7 +693,6 @@ MASTER_SITE_MOZILLA+= \
.if !defined(IGNORE_MASTER_SITE_MOZILLA_ADDONS)
MASTER_SITE_MOZILLA_ADDONS+= \
- https://addons.cdn.mozilla.net/user-media/%SUBDIR%/ \
http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/%SUBDIR%/
.endif
@@ -848,10 +700,6 @@ MASTER_SITE_MOZILLA_ADDONS+= \
MASTER_SITE_MYSQL+= \
ftp://ftp.fi.muni.cz/pub/mysql/Downloads/%SUBDIR%/ \
ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/%SUBDIR%/ \
- http://mirrors.ntua.gr/MySQL/Downloads/%SUBDIR%/ \
- ftp://ftp.ntua.gr/pub/databases/mysql/Downloads/%SUBDIR%/ \
- ftp://mirror.switch.ch/mirror/mysql/Downloads/%SUBDIR%/ \
- http://mysql.mirrors.pair.com/Downloads/%SUBDIR%/ \
https://dev.mysql.com/get/Downloads/%SUBDIR%/
.endif
@@ -868,8 +716,6 @@ MASTER_SITE_NETBSD+= \
.if !defined(IGNORE_MASTER_SITE_NETLIB)
MASTER_SITE_NETLIB+= \
http://www.netlib.org/%SUBDIR%/ \
- https://ftp.mirrorservice.org/sites/ftp.netlib.org/%SUBDIR%/ \
- https://www.mirrorservice.org/sites/ftp.netlib.org/%SUBDIR%/ \
ftp://ftp.irisa.fr/pub/netlib/%SUBDIR%/ \
http://netlib.sandia.gov/%SUBDIR%/
.endif
@@ -880,7 +726,7 @@ MASTER_SITE_NVIDIA+= \
http://us.download.nvidia.com/%SUBDIR%/ \
https://tw.download.nvidia.com/%SUBDIR%/ \
http://download.nvidia.com/%SUBDIR%/ \
- https://download1.nvidia.com/%SUBDIR%/ \
+ https://http.download.nvidia.com/%SUBDIR%/ \
ftp://download.nvidia.com/%SUBDIR%/ \
ftp://download1.nvidia.com/%SUBDIR%/
.endif
@@ -888,11 +734,11 @@ MASTER_SITE_NVIDIA+= \
.if !defined(IGNORE_MASTER_SITE_OPENBSD)
MASTER_SITE_OPENBSD+= \
https://cdn.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
+ https://cloudflare.cdn.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
https://ftp.OpenBSD.org/pub/OpenBSD/%SUBDIR%/ \
https://ftp.eu.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
- https://ftp3.usa.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
+ https://ftp.usa.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
https://mirror.leaseweb.com/pub/OpenBSD/%SUBDIR%/ \
- https://openbsd.hk/pub/OpenBSD/%SUBDIR%/ \
https://mirror.aarnet.edu.au/pub/OpenBSD/%SUBDIR%/
.endif
@@ -921,14 +767,13 @@ FETCH_ARGS+= --user-agent=curl/7.68.0
.if !defined(IGNORE_MASTER_SITE_OSSP)
MASTER_SITE_OSSP+= \
- ftp://ftp.ossp.org/pkg/%SUBDIR%/ \
+ http://ftp.ntua.gr/pub/utils/ossp/%SUBDIR%/ \
ftp://ftp.ntua.gr/pub/utils/ossp/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_PACKETSTORM)
MASTER_SITE_PACKETSTORM+= \
- https://dl.packetstormsecurity.net/%SUBDIR%/ \
- https://packetstorm.foofus.com/%SUBDIR%/
+ https://dl.packetstormsecurity.net/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_PERL_CPAN)
@@ -980,6 +825,12 @@ MASTER_SITE_PHP+= \
https://raw.githubusercontent.com/php/web-php-distributions/master/
.endif
+.if !defined(IGNORE_MASTER_SITE_PYPI)
+MASTER_SITE_PYPI+= \
+ https://files.pythonhosted.org/packages/%SUBDIR%/ \
+ https://pypi.org/packages/%SUBDIR%/
+.endif
+
.if !defined(IGNORE_MASTER_SITE_PYTHON)
MASTER_SITE_PYTHON+= \
https://www.python.org/%SUBDIR%/
@@ -989,10 +840,7 @@ MASTER_SITE_PYTHON+= \
MASTER_SITE_QMAIL+= \
http://qmail.glasswings.com.au/%SUBDIR%/ \
http://qmail.psshee.com/%SUBDIR%/ \
- https://mirrors.sunsite.dk/qmailwww/%SUBDIR%/ \
http://www.agria.hu/qmail/%SUBDIR%/ \
- http://qmail.netvisao.pt/%SUBDIR%/ \
- http://qmail.ipg.sk/%SUBDIR%/ \
http://qmail.omnis.ch/%SUBDIR%/ \
http://www.qmail.org/%SUBDIR%/
.endif
@@ -1003,21 +851,9 @@ MASTER_SITE_QT+= \
http://master.qt.io/%SUBDIR%/ \
https://www.mirrorservice.org/sites/download.qt-project.org/%SUBDIR%/ \
http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/%SUBDIR%/ \
- http://qtmirror.ics.com/pub/qtproject/%SUBDIR%/ \
https://ftp.jaist.ac.jp/pub/qtproject/%SUBDIR%/
.endif
-.if !defined(IGNORE_MASTER_SITE_REDHAT_LINUX)
-MASTER_SITE_REDHAT_LINUX+= \
- http://mirrors.usc.edu/pub/linux/distributions/redhat/redhat/linux/%SUBDIR%/ \
- http://www.gtlib.gatech.edu/pub/redhat/linux/%SUBDIR%/ \
- ftp://mirror.cs.wisc.edu/pub/mirrors/linux/redhat/%SUBDIR%/ \
- ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/%SUBDIR%/ \
- ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/%SUBDIR%/ \
- ftp://ftp.riken.go.jp/pub/Linux/redhat/linux/%SUBDIR%/ \
- ftp://ftp.kddlabs.co.jp/pub/Linux/packages/RedHat/redhat/linux/%SUBDIR%/
-.endif
-
.if !defined(IGNORE_MASTER_SITE_RUBY)
MASTER_SITE_RUBY+= \
https://cache.ruby-lang.org/pub/ruby/%SUBDIR%/ \
@@ -1037,25 +873,29 @@ MASTER_SITE_SAMBA+= \
https://ftp.samba.org/pub/%SUBDIR%/
.endif
-# List: https://download.savannah.gnu.org/mirmon/
+# List: https://download-mirror.savannah.gnu.org/releases/00_MIRRORS.html
.if !defined(IGNORE_MASTER_SITE_SAVANNAH)
MASTER_SITE_SAVANNAH+= \
https://download.savannah.gnu.org/releases/%SUBDIR%/ \
- https://download-mirror.savannah.gnu.org/releases/%SUBDIR%/ \
+ https://nongnu.uib.no/%SUBDIR%/ \
+ https://mirror.kumi.systems/nongnu/%SUBDIR%/ \
+ https://mirrors.up.pt/pub/nongnu/%SUBDIR%/ \
http://nongnu.askapache.com/%SUBDIR%/ \
- http://mirror.lihnidos.org/GNU/savannah/%SUBDIR%/ \
- http://ftp.twaren.net/Unix/NonGNU/%SUBDIR%/ \
- ftp://ftp.twaren.net/Unix/NonGNU/%SUBDIR%/ \
- http://gnu.mirrors.pair.com/savannah/savannah/%SUBDIR%/
+ http://mirror.netcologne.de/savannah/%SUBDIR%/ \
+ http://mirror.csclub.uwaterloo.ca/nongnu/%SUBDIR%/ \
+ http://mirror.easyname.at/nongnu/%SUBDIR%/ \
+ https://download-mirror.savannah.gnu.org/releases/%SUBDIR%/
.endif
# List: https://sourceforge.net/p/forge/documentation/Mirrors/
-# Updated: 2017-03-13
+# Updated: 2022-11-26
.if !defined(IGNORE_MASTER_SITE_SOURCEFORGE)
. for p in https http
MASTER_SITE_SOURCEFORGE+= ${p}://downloads.sourceforge.net/project/%SUBDIR%/
-. for m in excellmedia freefr jaist nchc \
- netcologne netix superb-dca2 superb-sea2 ufpr vorboss
+. for m in cfhcable cytranet deac-ams deac-fra deac-riga excellmedia \
+ freefr gigenet ixpeering jaist kumisystems liquidtelecom \
+ nchc netactuate netcologne netix onboardcloud phoenixnap \
+ razaoinfo sinalbr sitsa tenet udomain ufpr versaweb
MASTER_SITE_SOURCEFORGE+= ${p}://${m}.dl.sourceforge.net/project/%SUBDIR%/
. endfor
. endfor
@@ -1064,7 +904,9 @@ MASTER_SITE_SOURCEFORGE+= ${p}://${m}.dl.sourceforge.net/project/%SUBDIR%/
.if !defined(IGNORE_MASTER_SITE_SOURCEWARE)
MASTER_SITE_SOURCEWARE+= \
https://mirrors.kernel.org/sourceware/%SUBDIR%/ \
- ftp://ftp.funet.fi/pub/mirrors/sourceware.org/pub/%SUBDIR%/
+ https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/%SUBDIR%/ \
+ https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/%SUBDIR%/ \
+ https://mirrorservice.org/sites/sourceware.org/pub/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_SUDO)
@@ -1114,6 +956,11 @@ MASTER_SITE_TCLTK+= \
ftp://ftp.funet.fi/pub/languages/tcl/tcl/%SUBDIR%/
.endif
+.if !defined(IGNORE_MASTER_SITE_TEX)
+MASTER_SITE_TEX+= \
+ https://mirror.ctan.org/%SUBDIR%/
+.endif
+
.if !defined(IGNORE_MASTER_SITE_TEX_CTAN)
MASTER_SITE_TEX_CTAN+= \
https://ftp.tu-chemnitz.de/pub/tug/historic/%SUBDIR%/ \
@@ -1124,51 +971,37 @@ MASTER_SITE_TEX_CTAN+= \
.endif
# Derived from: https://www.torproject.org/getinvolved/mirrors.html.en
+# Please do not blindly follow and add URLs from the above list
.if !defined(IGNORE_MASTER_SITE_TOR)
MASTER_SITE_TOR+= \
https://dist.torproject.org/%SUBDIR%/ \
https://archive.torproject.org/tor-package-archive/%SUBDIR%/ \
ftp://ftp.bit.nl/mirror/tor/%SUBDIR%/ \
- https://cyberside.net.ee/tor/%SUBDIR%/ \
+ https://cyberside.net.ee/sibul/dist/%SUBDIR%/ \
https://ftp.bit.nl/mirror/tor/%SUBDIR%/ \
http://mirror.hessmo.com/tor/dist/%SUBDIR%/ \
http://mirror.host4site.co.il/torproject.org/dist/%SUBDIR%/ \
http://mirror.open-networx.org/torproject.org/dist/%SUBDIR%/ \
http://mirror.tor.hu/dist/%SUBDIR%/ \
- https://mirror.torland.me/torproject.org/dist/%SUBDIR%/ \
http://mirrors.chaos-darmstadt.de/tor-mirror/dist/%SUBDIR%/ \
http://theonionrouter.com/dist/%SUBDIR%/ \
http://tor.amorphis.eu/dist/%SUBDIR%/ \
http://tor.askapache.com/dist/%SUBDIR%/ \
http://tor.beme-it.de/dist/%SUBDIR%/ \
http://tor.borgmann.tv/dist/%SUBDIR%/ \
- https://tor.ccc.de/dist/%SUBDIR%/ \
http://tor.cyberarmy.at/dist/%SUBDIR%/ \
http://tor.dont-know-me.at/dist/%SUBDIR%/ \
http://tor.factor.cc/dist/%SUBDIR%/ \
- http://tor.homosu.net/dist/%SUBDIR%/ \
http://tor.idnr.ws/dist/%SUBDIR%/ \
- https://tor.myrl.net/dist/%SUBDIR%/ \
http://tor.kamagurka.org/dist/%SUBDIR%/ \
http://tor.spline.de/dist/%SUBDIR%/ \
http://tor.vesta.nu/dist/%SUBDIR%/ \
http://torproj.xpdm.us/dist/%SUBDIR%/ \
- https://torproject.antagonism.org/dist/%SUBDIR%/ \
- https://torproject.crypto.is/dist/%SUBDIR%/ \
- https://torproject.is/dist/%SUBDIR%/ \
http://torproject.nwlinux.us/dist/%SUBDIR%/ \
https://torproject.ph3x.at/dist/%SUBDIR%/ \
- https://www.coevoet.nl/tor/dist/%SUBDIR%/ \
http://www.oignon.net/dist/%SUBDIR%/ \
- https://www.torproject.nl/dist/%SUBDIR%/ \
http://www.torproject.org.nyud.net/dist/%SUBDIR%/ \
- http://www.torproject.us/dist/%SUBDIR%/ \
- https://www.torservers.net/mirrors/torproject.org/dist/%SUBDIR%/
-.endif
-
-.if !defined(IGNORE_MASTER_SITE_TUCOWS)
-MASTER_SITE_TUCOWS+= \
- http://iinets.linux.tucows.com/files/%SUBDIR%/
+ http://www.torproject.us/dist/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_WINDOWMAKER)
@@ -1190,8 +1023,7 @@ MASTER_SITE_XFCE+= \
https://mirror.netcologne.de/xfce/src/%SUBDIR%/${_XFCE_PATH}/ \
https://ftp.cixug.es/xfce/src/%SUBDIR%/${_XFCE_PATH}/ \
https://archive.be.xfce.org/src/%SUBDIR%/${_XFCE_PATH}/ \
- https://archive.al-us.xfce.org/src/%SUBDIR%/${_XFCE_PATH}/ \
- http://mirror.perldude.de/archive.xfce.org/src/%SUBDIR%/${_XFCE_PATH}/
+ https://archive.al-us.xfce.org/src/%SUBDIR%/${_XFCE_PATH}/
.endif
.if !defined(IGNORE_MASTER_SITE_XORG)
@@ -1200,13 +1032,10 @@ MASTER_SITE_XORG+= \
https://mirror.csclub.uwaterloo.ca/x.org/%SUBDIR%/ \
https://artfiles.org/x.org/pub/%SUBDIR%/ \
https://ftp.gwdg.de/pub/x11/x.org/pub/%SUBDIR%/ \
- https://mi.mirror.garr.it/mirrors/x.org/%SUBDIR%/ \
https://mirrors.ircam.fr/pub/x.org/%SUBDIR%/ \
https://www.mirrorservice.org/sites/ftp.x.org/pub/%SUBDIR%/ \
- https://mirror.nl.leaseweb.net/xorg/%SUBDIR%/ \
https://ftp.yz.yamagata-u.ac.jp/pub/X11/x.org/%SUBDIR%/ \
http://piotrkosoft.net/pub/mirrors/ftp.x.org/pub/%SUBDIR%/ \
- http://xorg.mirrors.pair.com/%SUBDIR%/ \
http://ftp.kaist.ac.kr/x.org/%SUBDIR%/
.endif
@@ -1214,7 +1043,6 @@ MASTER_SITE_XORG+= \
MASTER_SITE_KERNEL_ORG+= \
https://cdn.kernel.org/pub/%SUBDIR%/ \
https://www.kernel.org/pub/%SUBDIR%/ \
- https://download.xs4all.nl/ftp.kernel.org/pub/%SUBDIR%/ \
https://mirrors.mit.edu/kernel/%SUBDIR%/ \
http://ftp.nara.wide.ad.jp/pub/kernel.org/%SUBDIR%/ \
http://ftp.yandex.ru/pub/%SUBDIR%/ \
@@ -1225,6 +1053,7 @@ MASTER_SITE_KERNEL_ORG+= \
.if !defined(IGNORE_MASTER_SITE_ZI)
MASTER_SITE_ZI+= \
+ https://ftpmirror.your.org/pub/zi/%SUBDIR%/ \
https://mirrors.rit.edu/zi/%SUBDIR%/ \
https://www.zi0r.com/mirrors/%SUBDIR%/ \
${MASTER_SITE_LOCAL:S/%SUBDIR%/zi/}
@@ -1243,7 +1072,6 @@ MASTER_SITES_SUBDIRS= APACHE_COMMONS_BINARIES:${PORTNAME:S,commons-,,} \
APACHE_COMMONS_SOURCE:${PORTNAME:S,commons-,,} \
APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \
BERLIOS:${PORTNAME:tl}.berlios \
- CHEESESHOP:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:S/-${DISTVERSIONFULL}$//} \
CRATESIO:${PORTNAME}/${DISTVERSIONFULL} \
DEBIAN:pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} \
FARSIGHT:${PORTNAME} \
@@ -1257,12 +1085,12 @@ MASTER_SITES_SUBDIRS= APACHE_COMMONS_BINARIES:${PORTNAME:S,commons-,,} \
GNU:${PORTNAME} \
GNUPG:${PORTNAME} \
GNU_ALPHA:${PORTNAME} \
- HORDE:${PORTNAME} \
LIBREOFFICE_DEV:${PORTNAME} \
MATE:${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
MOZDEV:${PORTNAME:tl} \
NETLIB:${PORTNAME} \
PERL_CPAN:${PORTNAME:C/-.*//} \
+ PYPI:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:S/-${DISTVERSIONFULL}$//} \
QT:archive/qt/${PORTVERSION:R} \
SAMBA:${PORTNAME} \
SAVANNAH:${PORTNAME:tl} \