2000-06-14 02:14:49 +00:00
|
|
|
# bsd.sites.mk - Popular master sites.
|
|
|
|
#
|
2003-10-27 05:51:48 +00:00
|
|
|
# Sites_MAINTAINER= ports@FreeBSD.org
|
|
|
|
#
|
2000-06-14 02:14:49 +00:00
|
|
|
# This file does not have any designated maintainer, so feel free to
|
|
|
|
# commit to it yourself. However, it is generally a good idea to
|
2002-10-15 17:27:15 +00:00
|
|
|
# notify the principal maintainer in case you have a change to one of
|
2000-06-14 02:14:49 +00:00
|
|
|
# the software environments (KDE, GNOME, etc.).
|
|
|
|
#
|
|
|
|
# Also, this file is included from bsd.port.mk for all invocations, so
|
|
|
|
# committing a syntax error to this file is a cardinal sin, and will
|
|
|
|
# be punished accordingly. DO NOT COMMIT SOMETHING YOU HAVEN'T TESTED.
|
|
|
|
# You have been warned. :)
|
|
|
|
#
|
2005-10-01 20:49:17 +00:00
|
|
|
# Note: because it is included for all invocations, please keep the size
|
|
|
|
# of this file manageable. If a distfile is unfetchable from the first
|
|
|
|
# few dozen locations, it is unlikely to be fetchable from any past that,
|
|
|
|
# and those fetch failures will simply waste time and bandwidth. Please
|
|
|
|
# pick a globally representative subset.
|
|
|
|
#
|
|
|
|
# Note: all entries should terminate with a slash.
|
|
|
|
#
|
2000-06-14 02:14:49 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-02-17 00:13:32 +00:00
|
|
|
# Where to put distfiles that don't have any other master site
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_LOCAL)
|
2003-03-26 14:19:10 +00:00
|
|
|
MASTER_SITE_LOCAL+= \
|
2014-05-23 20:48:20 +00:00
|
|
|
http://distcache.FreeBSD.org/local-distfiles/%SUBDIR%/ \
|
2014-05-30 05:55:54 +00:00
|
|
|
http://distcache.us-east.FreeBSD.org/local-distfiles/%SUBDIR%/ \
|
|
|
|
http://distcache.eu.FreeBSD.org/local-distfiles/%SUBDIR%/ \
|
|
|
|
http://distcache.us-west.FreeBSD.org/local-distfiles/%SUBDIR%/
|
2000-06-14 02:14:49 +00:00
|
|
|
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_PORTS_JP+= \
|
2001-02-17 00:13:32 +00:00
|
|
|
ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/ \
|
|
|
|
ftp://ftp4.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/ \
|
|
|
|
ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2001-02-17 00:13:32 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
## KEEP THIS LIST SORTED
|
|
|
|
##
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_AFTERSTEP)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_AFTERSTEP+= \
|
2001-02-17 00:13:32 +00:00
|
|
|
ftp://ftp.afterstep.org/%SUBDIR%/ \
|
2017-09-13 13:07:50 +00:00
|
|
|
ftp://ftp.kddlabs.co.jp/X11/AfterStep/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2001-02-17 00:13:32 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_APACHE)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_APACHE+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.apache.org/dist/%SUBDIR%/ \
|
|
|
|
https://archive.apache.org/dist/%SUBDIR%/ \
|
2012-08-20 16:10:57 +00:00
|
|
|
http://ftp.twaren.net/Unix/Web/apache/%SUBDIR%/ \
|
2013-07-20 17:46:09 +00:00
|
|
|
http://apache.mirror.uber.com.au/%SUBDIR%/ \
|
|
|
|
http://apache.spd.co.il/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.mirrorservice.org/sites/ftp.apache.org/%SUBDIR%/ \
|
|
|
|
https://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/%SUBDIR%/ \
|
2003-12-19 16:31:28 +00:00
|
|
|
ftp://mir1.ovh.net/ftp.apache.org/dist/%SUBDIR%/ \
|
2005-10-01 01:42:28 +00:00
|
|
|
ftp://ftp.forthnet.gr/pub/www/apache/%SUBDIR%/ \
|
2003-12-19 16:31:28 +00:00
|
|
|
ftp://xenia.sote.hu/pub/mirrors/www.apache.org/%SUBDIR%/ \
|
|
|
|
ftp://ftp.heanet.ie/mirrors/www.apache.org/dist/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirrors.ircam.fr/pub/apache/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-02-05 10:50:04 +00:00
|
|
|
|
2008-02-27 15:10:54 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_APACHE_COMMONS_BINARIES)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_APACHE_COMMONS_BINARIES+= \
|
2008-02-27 15:10:54 +00:00
|
|
|
${MASTER_SITE_APACHE:S,%SUBDIR%,commons/&/binaries,}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(IGNORE_MASTER_SITE_APACHE_COMMONS_SOURCE)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_APACHE_COMMONS_SOURCE+= \
|
2008-02-27 15:10:54 +00:00
|
|
|
${MASTER_SITE_APACHE:S,%SUBDIR%,commons/&/source,}
|
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_APACHE_HTTPD)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_APACHE_HTTPD+= \
|
2003-12-19 16:31:28 +00:00
|
|
|
${MASTER_SITE_APACHE:S,%SUBDIR%,httpd/&,}
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-02-05 10:50:04 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_APACHE_JAKARTA)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_APACHE_JAKARTA+= \
|
2003-02-05 10:50:04 +00:00
|
|
|
${MASTER_SITE_APACHE:S,%SUBDIR%,jakarta/&,}
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-02-05 10:50:04 +00:00
|
|
|
|
2006-05-05 10:40:04 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_APACHE_TOMCAT)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_APACHE_TOMCAT+= \
|
2006-05-05 10:40:04 +00:00
|
|
|
${MASTER_SITE_APACHE:S,%SUBDIR%,tomcat/&,}
|
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_APACHE_XML)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_APACHE_XML+= \
|
2003-02-05 10:50:04 +00:00
|
|
|
${MASTER_SITE_APACHE:S,%SUBDIR%,xml/&,}
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-02-05 10:50:04 +00:00
|
|
|
|
2006-05-10 19:01:20 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_BERLIOS)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_BERLIOS+= \
|
2014-12-19 10:46:31 +00:00
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2006-05-10 19:01:20 +00:00
|
|
|
.endif
|
|
|
|
|
2007-04-11 07:42:33 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_CHEESESHOP)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_CHEESESHOP+= \
|
2017-06-30 14:55:05 +00:00
|
|
|
https://files.pythonhosted.org/packages/%SUBDIR%/ \
|
|
|
|
https://pypi.python.org/packages/%SUBDIR%/
|
2007-04-11 07:42:33 +00:00
|
|
|
.endif
|
|
|
|
|
2015-06-28 08:49:01 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_COMP_SOURCES)
|
|
|
|
MASTER_SITE_COMP_SOURCES+= \
|
|
|
|
http://ftp.isc.org/pub/usenet/comp.sources.%SUBDIR%/ \
|
|
|
|
http://ftp.funet.fi/pub/archive/comp.sources.%SUBDIR%/ \
|
|
|
|
http://ftp.fi.netbsd.org/pub/misc/archive/comp.sources.%SUBDIR%/
|
|
|
|
.endif
|
|
|
|
|
2016-10-25 17:04:38 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_CRAN)
|
|
|
|
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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://cran.csiro.au/%SUBDIR%/ \
|
2016-10-25 17:04:38 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
.if !defined(IGNORE_MASTER_SITE_CRAN_ARCHIVE)
|
|
|
|
MASTER_SITE_CRAN_ARCHIVE+= ${MASTER_SITE_CRAN:S,$,Archive/${PORTNAME}/,}
|
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_DEBIAN)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_DEBIAN+= \
|
2014-01-05 00:08:02 +00:00
|
|
|
http://cdn.debian.net/debian/%SUBDIR%/ \
|
2012-05-30 07:22:36 +00:00
|
|
|
http://www.gtlib.gatech.edu/pub/debian/%SUBDIR%/ \
|
2003-02-13 01:17:55 +00:00
|
|
|
ftp://ftp.us.debian.org/debian/%SUBDIR%/ \
|
|
|
|
${MASTER_SITE_DEBIAN_NON_US:S,/debian-non-US/,/debian/,}
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-02-13 01:17:55 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_DEBIAN_NON_US)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_DEBIAN_NON_US+= \
|
2018-01-02 00:35:25 +00:00
|
|
|
http://ftp.au.debian.org/debian-non-US/%SUBDIR%/ \
|
2003-02-13 01:17:55 +00:00
|
|
|
ftp://ftp.bg.debian.org/debian-non-US/%SUBDIR%/ \
|
2012-02-21 02:13:12 +00:00
|
|
|
ftp://ftp.br.debian.org/debian-non-US/%SUBDIR%/ \
|
2018-01-02 00:35:25 +00:00
|
|
|
http://ftp.cl.debian.org/debian-non-US/%SUBDIR%/ \
|
2003-02-13 01:17:55 +00:00
|
|
|
ftp://ftp.cz.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.de.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.ee.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.es.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.fi.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.fr.debian.org/debian-non-US/%SUBDIR%/ \
|
2018-01-02 00:35:25 +00:00
|
|
|
http://ftp.hk.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
http://ftp.hr.debian.org/debian-non-US/%SUBDIR%/ \
|
2003-02-13 01:17:55 +00:00
|
|
|
ftp://ftp.hu.debian.org/debian-non-US/%SUBDIR%/ \
|
2018-01-02 00:35:25 +00:00
|
|
|
http://ftp.ie.debian.org/debian-non-US/%SUBDIR%/ \
|
2003-02-13 01:17:55 +00:00
|
|
|
ftp://ftp.is.debian.org/debian-non-US/%SUBDIR%/ \
|
2018-01-02 00:35:25 +00:00
|
|
|
http://ftp.it.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
http://ftp.jp.debian.org/debian-non-US/%SUBDIR%/ \
|
2003-02-13 01:17:55 +00:00
|
|
|
ftp://ftp.nl.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.no.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.pl.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.ru.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.se.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.si.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.sk.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.uk.debian.org/debian-non-US/%SUBDIR%/ \
|
2018-01-02 00:35:25 +00:00
|
|
|
http://ftp.wa.au.debian.org/debian-non-US/%SUBDIR%/ \
|
2012-02-21 02:13:12 +00:00
|
|
|
ftp://ftp2.de.debian.org/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://ftp.snt.utwente.nl/pub/linux/debian-non-US/%SUBDIR%/ \
|
2012-02-24 15:28:46 +00:00
|
|
|
ftp://ftp.acc.umu.se/debian-non-US/%SUBDIR%/ \
|
|
|
|
ftp://mirror.symnds.com/debian-non-US/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-02-13 01:17:55 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_DEBIAN_POOL)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_DEBIAN_POOL+= \
|
2003-08-04 01:21:05 +00:00
|
|
|
${MASTER_SITE_DEBIAN:C|(/%SUBDIR%/)|/pool/main/${PORTNAME:C/^(.).*$/\1/}/${PORTNAME}/|}
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-08-04 01:21:05 +00:00
|
|
|
|
2006-12-06 09:26:25 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_EASYSW)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_EASYSW+= \
|
2006-12-06 09:26:25 +00:00
|
|
|
http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/%SUBDIR%/ \
|
2010-08-28 21:14:52 +00:00
|
|
|
ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/%SUBDIR%/
|
2006-12-06 09:26:25 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_ECLIPSE)
|
2003-07-04 21:30:03 +00:00
|
|
|
MASTER_SITE_ECLIPSE+= \
|
2013-07-21 21:51:06 +00:00
|
|
|
ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse.org/%SUBDIR%/ \
|
2003-07-04 21:30:03 +00:00
|
|
|
ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp-stud.hs-esslingen.de/pub/Mirrors/eclipse/%SUBDIR%/ \
|
|
|
|
https://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/%SUBDIR%/ \
|
2016-05-31 08:06:39 +00:00
|
|
|
http://eclipse.stu.edu.tw/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-07-04 21:30:03 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_EXIM)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_EXIM+= \
|
2003-07-07 11:32:28 +00:00
|
|
|
ftp://ftp.exim.org/pub/exim/%SUBDIR%/ \
|
2016-12-25 13:46:55 +00:00
|
|
|
ftp://mirror.easyname.at/exim-ftp/%SUBDIR%/ \
|
2011-01-27 21:23:33 +00:00
|
|
|
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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.heanet.ie/pub/exim/%SUBDIR%/ \
|
2005-04-11 09:45:24 +00:00
|
|
|
http://washitake.com/mail/exim/mirror/exim/%SUBDIR%/ \
|
2016-12-25 13:46:55 +00:00
|
|
|
ftp://ftp.kaist.ac.kr/exim/%SUBDIR%/ \
|
|
|
|
http://ftp.kaist.ac.kr/exim/%SUBDIR%/ \
|
2005-04-11 09:45:24 +00:00
|
|
|
ftp://sunsite.uio.no/pub/mail/exim/exim/%SUBDIR%/ \
|
2011-01-27 21:23:33 +00:00
|
|
|
ftp://sunsite.icm.edu.pl/pub/unix/mail/exim/exim/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://sunsite.icm.edu.pl/pub/unix/mail/exim/exim/%SUBDIR%/ \
|
2011-01-27 21:23:33 +00:00
|
|
|
ftp://mirrors.dominios.pt/pub/ftp.exim.org/exim/%SUBDIR%/ \
|
2011-03-17 14:12:40 +00:00
|
|
|
ftp://mirror.switch.ch/mirror/exim/exim/%SUBDIR%/ \
|
2011-01-27 21:23:33 +00:00
|
|
|
http://mirror.switch.ch/ftp/mirror/exim/exim/%SUBDIR%/ \
|
2016-12-25 13:46:55 +00:00
|
|
|
ftp://ftp.mirrorservice.org/sites/ftp.exim.org/pub/%SUBDIR%/ \
|
|
|
|
http://exim.telcom.net.ua/ftp/%SUBDIR/ \
|
|
|
|
ftp://idcnetwork.org/pub/exim/exim/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-07-07 11:32:28 +00:00
|
|
|
|
Update CentOS base to 6.5, add userland ports
The Fedora 10 infrastructure ports have been in use since June 2009 and, while
having served a great deed, have become unsupported upstream and hence affected
by unfixed security vulnerabilities. In addition to that, many recent Linux
binaries need newer libc / stdlibc++ versions.
This commit adds the linux-c6- userland as drop-in replacement for the -f10
infrastructure, as well as upgrading the linux_base-c6 port to CentOS 6.5.
If you want to switch to linux-c6 ports, please define at /etc/make.conf:
OVERRIDE_LINUX_BASE_PORT=c6
OVERRIDE_LINUX_NONBASE_PORTS=c6
Additionally, please add the following line to /etc/sysctl.conf:
compat.linux.osrelease=2.6.18
Upgrading procedures are shown in /usr/ports/UPDATING.
This work has been inspired by Artyom Mirgorodskiy's post to emulation@ in
November 2013, using and extending mav@'s work. It has been tested extensively
and most reported issues were already fixed. Please report any additional bug
or "features" to the emulation mailing list.
Many thanks to: mav@, rene@, allanjude@, netchild@, antoine@, everyone who's
filed Issues and Pull requests on GitHub,
PR: 186820
Differential Revision: https://reviews.freebsd.org/D793
Reviewed by: allanjude, antoine, bapt, rene
Approved by: portmgr (antoine, bapt)
Approved by: koobs (mentor)
Sponsored by: Perceivon Hosting Inc.
2014-09-22 10:40:00 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_CENTOS_LINUX)
|
|
|
|
MASTER_SITE_CENTOS_LINUX+= \
|
- Autodetect the installed linux_base port and use LINUX_DEFAULT only as
a last resort.
- Construct a list of DISTFILES for every architecture (amd64, i386).
Select one list for regular make and all lists for make makesum so linux
ports can have one combined distinfo file.
- Set DIST_SUBDIR?=centos so there's only one copy of common distfiles.
- Use MASTER_SITES and DISTFILES groups so make fetch is a bit smarter.
- Regenerate all distinfo files.
- For linux_base-c6 (just like linux_base-c7 already does) turn bin, lib,
lib64 and sbin into symbolic links to the same directory under usr.
This fixes the problem where some programs/libraries exist under / on
FreeBSD and /usr on Linux or vice versa and then depending on the order
of search paths Linux programs may run/load FreeBSD programs/libraries
and fail.
- Turn usr/share/icons into a symbolic link to LOCALBASE/share/icons so
Linux programs can find desktop theme icons. This eliminates the need
for x11-themes/linux*-hicolor-icon-theme.
- Rename pkg-plist.x86_64 to pkg-plist.amd64.
- Regenerate all pkg-plist files.
- Add @preexec to linux_base pkg-plist that moves existing files in bin,
lib, lib64, sbin and icons to the new destination before the directories
are turned into symbolic links.
- Remove several empty directories from linux_base ports.
- Sweep over all linux ports: use consistent style, remove old CONFLICTS,
remove unused pkg-descr files, add NLS option,...
- Remove old linux arts, esound and openssl-compat ports.
2017-01-31 16:54:21 +00:00
|
|
|
http://mirror.centos.org/%SUBDIR%/:DEFAULT,amd64,i386 \
|
|
|
|
http://vault.centos.org/%SUBDIR%/:DEFAULT,amd64,i386,SOURCE
|
Update CentOS base to 6.5, add userland ports
The Fedora 10 infrastructure ports have been in use since June 2009 and, while
having served a great deed, have become unsupported upstream and hence affected
by unfixed security vulnerabilities. In addition to that, many recent Linux
binaries need newer libc / stdlibc++ versions.
This commit adds the linux-c6- userland as drop-in replacement for the -f10
infrastructure, as well as upgrading the linux_base-c6 port to CentOS 6.5.
If you want to switch to linux-c6 ports, please define at /etc/make.conf:
OVERRIDE_LINUX_BASE_PORT=c6
OVERRIDE_LINUX_NONBASE_PORTS=c6
Additionally, please add the following line to /etc/sysctl.conf:
compat.linux.osrelease=2.6.18
Upgrading procedures are shown in /usr/ports/UPDATING.
This work has been inspired by Artyom Mirgorodskiy's post to emulation@ in
November 2013, using and extending mav@'s work. It has been tested extensively
and most reported issues were already fixed. Please report any additional bug
or "features" to the emulation mailing list.
Many thanks to: mav@, rene@, allanjude@, netchild@, antoine@, everyone who's
filed Issues and Pull requests on GitHub,
PR: 186820
Differential Revision: https://reviews.freebsd.org/D793
Reviewed by: allanjude, antoine, bapt, rene
Approved by: portmgr (antoine, bapt)
Approved by: koobs (mentor)
Sponsored by: Perceivon Hosting Inc.
2014-09-22 10:40:00 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(IGNORE_MASTER_SITE_EPEL)
|
|
|
|
MASTER_SITE_EPEL+= \
|
2018-01-29 19:45:22 +00:00
|
|
|
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
|
Update CentOS base to 6.5, add userland ports
The Fedora 10 infrastructure ports have been in use since June 2009 and, while
having served a great deed, have become unsupported upstream and hence affected
by unfixed security vulnerabilities. In addition to that, many recent Linux
binaries need newer libc / stdlibc++ versions.
This commit adds the linux-c6- userland as drop-in replacement for the -f10
infrastructure, as well as upgrading the linux_base-c6 port to CentOS 6.5.
If you want to switch to linux-c6 ports, please define at /etc/make.conf:
OVERRIDE_LINUX_BASE_PORT=c6
OVERRIDE_LINUX_NONBASE_PORTS=c6
Additionally, please add the following line to /etc/sysctl.conf:
compat.linux.osrelease=2.6.18
Upgrading procedures are shown in /usr/ports/UPDATING.
This work has been inspired by Artyom Mirgorodskiy's post to emulation@ in
November 2013, using and extending mav@'s work. It has been tested extensively
and most reported issues were already fixed. Please report any additional bug
or "features" to the emulation mailing list.
Many thanks to: mav@, rene@, allanjude@, netchild@, antoine@, everyone who's
filed Issues and Pull requests on GitHub,
PR: 186820
Differential Revision: https://reviews.freebsd.org/D793
Reviewed by: allanjude, antoine, bapt, rene
Approved by: portmgr (antoine, bapt)
Approved by: koobs (mentor)
Sponsored by: Perceivon Hosting Inc.
2014-09-22 10:40:00 +00:00
|
|
|
.endif
|
|
|
|
|
2016-10-19 14:50:26 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_EPEL7)
|
|
|
|
MASTER_SITE_EPEL7+= \
|
2018-01-29 19:45:22 +00:00
|
|
|
https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/%SUBDIR%/:DEFAULT,amd64 \
|
|
|
|
https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/%SUBDIR%/:SOURCE \
|
|
|
|
http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/%SUBDIR%/:DEFAULT,amd64 \
|
|
|
|
http://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/%SUBDIR%/:SOURCE
|
2016-10-19 14:50:26 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_FEDORA_LINUX)
|
2003-12-12 13:18:27 +00:00
|
|
|
MASTER_SITE_FEDORA_LINUX+= \
|
2017-03-13 17:29:28 +00:00
|
|
|
https://archives.fedoraproject.org/pub/archive/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://archives.fedoraproject.org/pub/archive/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE \
|
2016-09-05 19:23:42 +00:00
|
|
|
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
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-12-12 13:18:27 +00:00
|
|
|
|
2015-04-02 16:43:46 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_FARSIGHT)
|
|
|
|
MASTER_SITE_FARSIGHT+= \
|
|
|
|
https://dl.farsightsecurity.com/dist/%SUBDIR%/
|
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_FESTIVAL)
|
2002-09-30 13:54:39 +00:00
|
|
|
MASTER_SITE_FESTIVAL+= \
|
2002-05-23 04:38:46 +00:00
|
|
|
http://www.festvox.org/packed/festival/%SUBDIR%/ \
|
2017-10-13 08:31:34 +00:00
|
|
|
http://www.cstr.ed.ac.uk/downloads/festival/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2002-05-23 04:35:39 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_FESTIVAL_OGI)
|
2002-09-30 13:54:39 +00:00
|
|
|
MASTER_SITE_FESTIVAL_OGI+= \
|
2003-04-13 05:34:19 +00:00
|
|
|
ftp://ftp.tuwien.ac.at/opsys/linux/blinux/festival/mirror.ogi-synth_home/ \
|
2005-09-23 17:56:40 +00:00
|
|
|
http://www.cslu.ogi.edu/tts/download/data/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2002-05-23 04:35:39 +00:00
|
|
|
|
2001-08-12 16:30:02 +00:00
|
|
|
#
|
|
|
|
# FreeBSD mirror sites
|
|
|
|
#
|
|
|
|
# For the full list, see the Handbook:
|
|
|
|
#
|
|
|
|
# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html
|
|
|
|
#
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_FREEBSD_ORG)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_FREEBSD_ORG+= \
|
2018-02-27 13:03:48 +00:00
|
|
|
https://download.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
|
2001-08-12 16:30:02 +00:00
|
|
|
ftp://ftp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
|
|
|
|
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
|
|
|
|
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
|
|
|
|
ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
|
2017-09-13 13:07:50 +00:00
|
|
|
ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2001-08-12 16:30:02 +00:00
|
|
|
|
2013-02-01 17:06:27 +00:00
|
|
|
.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%/
|
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_GCC)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_GCC+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirrors.kernel.org/sourceware/gcc/%SUBDIR%/ \
|
2014-01-02 19:16:50 +00:00
|
|
|
http://gcc.parentingamerica.com/%SUBDIR%/ \
|
|
|
|
http://gcc.skazkaforyou.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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/%SUBDIR%/ \
|
2017-03-05 11:59:02 +00:00
|
|
|
ftp://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/%SUBDIR%/ \
|
2002-10-19 18:54:45 +00:00
|
|
|
ftp://gcc.gnu.org/pub/gcc/%SUBDIR%/ \
|
2003-10-21 07:53:54 +00:00
|
|
|
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%/ \
|
2005-04-27 20:34:46 +00:00
|
|
|
ftp://ftp.nluug.nl/mirror/languages/gcc/%SUBDIR%/ \
|
2013-01-14 10:38:30 +00:00
|
|
|
ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/%SUBDIR%/ \
|
2014-01-02 19:16:50 +00:00
|
|
|
ftp://ftp.ntua.gr/pub/gnu/gcc/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2002-10-19 18:54:45 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_GENTOO)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_GENTOO+= \
|
2003-10-13 21:48:47 +00:00
|
|
|
http://gentoo.mirrors.pair.com/%SUBDIR%/ \
|
2012-10-26 13:09:20 +00:00
|
|
|
http://mirrors.tds.net/pub/gentoo/%SUBDIR%/ \
|
2013-02-08 07:09:43 +00:00
|
|
|
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/%SUBDIR%/ \
|
2003-10-13 21:48:47 +00:00
|
|
|
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/%SUBDIR%/ \
|
|
|
|
http://trumpetti.atm.tut.fi/gentoo/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.uni-erlangen.de/pub/mirrors/gentoo/%SUBDIR%/ \
|
2003-10-13 21:48:47 +00:00
|
|
|
http://gentoo.inode.at/%SUBDIR%/ \
|
|
|
|
http://gentoo.gg3.net/%SUBDIR%/ \
|
2016-07-02 10:39:52 +00:00
|
|
|
http://mirrors.163.com/gentoo/%SUBDIR%/ \
|
2012-05-30 07:22:36 +00:00
|
|
|
ftp://ftp.gtlib.gatech.edu/pub/gentoo/%SUBDIR%/ \
|
2003-10-13 21:48:47 +00:00
|
|
|
ftp://ftp.ussg.iu.edu/pub/linux/gentoo/%SUBDIR%/ \
|
2014-05-10 02:50:38 +00:00
|
|
|
ftp://mirrors.tds.net/pub/gentoo/%SUBDIR%/ \
|
2003-10-13 21:48:47 +00:00
|
|
|
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%/ \
|
2017-10-12 11:53:29 +00:00
|
|
|
ftp://gentoo.inode.at/source/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-10-13 21:48:47 +00:00
|
|
|
|
2012-08-20 10:04:13 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_GITHUB)
|
|
|
|
#
|
|
|
|
# In order to use GitHub your port must define USE_GITHUB and the following
|
|
|
|
# variables:
|
|
|
|
#
|
|
|
|
# GH_ACCOUNT - account name of the GitHub user hosting the project
|
2015-03-19 19:47:44 +00:00
|
|
|
# default: ${PORTNAME}
|
2012-08-20 10:04:13 +00:00
|
|
|
#
|
|
|
|
# GH_PROJECT - name of the project on GitHub
|
|
|
|
# default: ${PORTNAME}
|
|
|
|
#
|
2013-06-06 01:32:01 +00:00
|
|
|
# GH_TAGNAME - name of the tag to download (2.0.1, hash, ...)
|
|
|
|
# Using the name of a branch here is incorrect. It is
|
2015-03-19 17:57:19 +00:00
|
|
|
# possible to do GH_TAGNAME= GIT_HASH to do a snapshot.
|
2012-08-20 10:04:13 +00:00
|
|
|
# default: ${DISTVERSION}
|
2016-08-24 14:50:04 +00:00
|
|
|
#
|
|
|
|
# GH_SUBDIR - directory relative to WRKSRC where to move this distfile's
|
|
|
|
# content after extracting.
|
|
|
|
#
|
|
|
|
# GH_TUPLE - above shortened to account:project:tagname[:group][/subdir]
|
2012-08-20 10:04:13 +00:00
|
|
|
#
|
|
|
|
.if defined(USE_GITHUB)
|
2015-03-19 16:44:57 +00:00
|
|
|
. if defined(GH_TAGNAME) && ${GH_TAGNAME} == master
|
2013-06-06 12:00:15 +00:00
|
|
|
IGNORE?= Using master as GH_TAGNAME is invalid. \
|
2014-02-27 08:20:18 +00:00
|
|
|
Must use a tag or commit hash so the upstream does \
|
2013-06-06 01:52:36 +00:00
|
|
|
not "reroll" as soon as the branch is updated
|
2015-03-19 16:44:57 +00:00
|
|
|
. endif
|
2016-03-01 20:22:45 +00:00
|
|
|
. if defined(GH_TUPLE)
|
2016-08-24 14:50:04 +00:00
|
|
|
. for _tuple in ${GH_TUPLE}
|
2016-06-19 11:25:44 +00:00
|
|
|
_t_tmp=${_tuple}
|
2016-08-24 14:50:04 +00:00
|
|
|
. if ${_t_tmp:C@^([^:]*):([^:]*):([^:]*)((:[^:/]*)?)((/.*)?)@\4@:S/://:C/[a-zA-Z0-9_]//g}
|
2016-06-19 11:25:44 +00:00
|
|
|
check-makevars::
|
|
|
|
@${ECHO_MSG} "The ${_tuple} GH_TUPLE line has"
|
|
|
|
@${ECHO_MSG} "a tag containing something else than [a-zA-Z0-9_]"
|
|
|
|
@${FALSE}
|
2016-08-24 14:50:04 +00:00
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
GH_ACCOUNT+= ${GH_TUPLE:C@^([^:]*):([^:]*):([^:]*)((:[^:/]*)?)((/.*)?)@\1\4@}
|
|
|
|
GH_PROJECT+= ${GH_TUPLE:C@^([^:]*):([^:]*):([^:]*)((:[^:/]*)?)((/.*)?)@\2\4@}
|
|
|
|
GH_TAGNAME+= ${GH_TUPLE:C@^([^:]*):([^:]*):([^:]*)((:[^:/]*)?)((/.*)?)@\3\4@}
|
|
|
|
GH_SUBDIR+= ${GH_TUPLE:C@^([^:]*):([^:]*):([^:]*)((:[^:/]*)?)((/.*)?)@\6\4@:M/*:S/^\///}
|
2016-03-01 20:22:45 +00:00
|
|
|
. endif
|
2017-04-14 23:16:16 +00:00
|
|
|
# We are cheating and using backend URLS for GitHub here. See ports/194898
|
2015-03-19 18:16:52 +00:00
|
|
|
# comment #15 for explanation as to why and how to deal with it if it breaks.
|
2015-03-19 16:44:57 +00:00
|
|
|
MASTER_SITE_GITHUB+= https://codeload.github.com/%SUBDIR%
|
2015-09-04 16:01:51 +00:00
|
|
|
MASTER_SITE_GITHUB_CLOUD+= https://cloud.github.com/downloads/%SUBDIR%
|
2015-05-21 15:25:40 +00:00
|
|
|
|
2015-05-29 13:07:33 +00:00
|
|
|
. if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} && !${MASTER_SITES:MGHC} && !${USE_GITHUB:Mnodefault}
|
2015-03-19 16:44:57 +00:00
|
|
|
MASTER_SITES+= GH
|
|
|
|
. endif
|
2015-06-30 13:33:36 +00:00
|
|
|
GH_ACCOUNT_DEFAULT= ${PORTNAME}
|
|
|
|
GH_ACCOUNT?= ${GH_ACCOUNT_DEFAULT}
|
|
|
|
GH_PROJECT_DEFAULT= ${PORTNAME}
|
|
|
|
GH_PROJECT?= ${GH_PROJECT_DEFAULT}
|
2015-03-19 20:45:03 +00:00
|
|
|
# Use full PREFIX/SUFFIX and converted DISTVERSION
|
2015-06-30 13:33:36 +00:00
|
|
|
GH_TAGNAME_DEFAULT= ${DISTVERSIONFULL}
|
|
|
|
GH_TAGNAME?= ${GH_TAGNAME_DEFAULT}
|
2017-09-04 18:35:50 +00:00
|
|
|
# Iterate over GH_ACCOUNT, GH_PROJECT, GH_TAGNAME and GH_SUBDIR to extract groups
|
2015-05-28 16:37:01 +00:00
|
|
|
_GITHUB_GROUPS= DEFAULT
|
2017-09-04 18:35:50 +00:00
|
|
|
. for _gh_v in GH_ACCOUNT GH_PROJECT GH_TAGNAME GH_SUBDIR
|
|
|
|
. for _v_ex in ${${_gh_v}}
|
|
|
|
_GH_GROUPS= ${_v_ex:S/^${_v_ex:C@:[^/:]+$@@}//:S/^://}
|
|
|
|
. if !empty(_GH_GROUPS)
|
|
|
|
. for _group in ${_GH_GROUPS:S/,/ /g}
|
|
|
|
. if ${_group} == all || ${_group} == ALL || ${_group} == default
|
2015-05-28 16:37:01 +00:00
|
|
|
check-makevars::
|
|
|
|
@${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be"
|
2017-09-04 18:35:50 +00:00
|
|
|
@${ECHO_MSG} "used in group definitions. Please fix your ${_gh_v}"
|
2015-05-28 16:37:01 +00:00
|
|
|
@${FALSE}
|
2017-09-04 18:35:50 +00:00
|
|
|
. endif
|
|
|
|
. if !${_GITHUB_GROUPS:M${_group}}
|
2015-05-28 16:37:01 +00:00
|
|
|
_GITHUB_GROUPS+= ${_group}
|
2017-09-04 18:35:50 +00:00
|
|
|
. endif
|
|
|
|
${_gh_v}_${_group}= ${_v_ex:C@^(.*):[^/:]+$@\1@}
|
|
|
|
. endfor
|
|
|
|
. else
|
|
|
|
${_gh_v}_DEFAULT= ${_v_ex:C@^(.*):[^/:]+$@\1@}
|
|
|
|
. endif
|
|
|
|
. endfor
|
2016-08-24 14:50:04 +00:00
|
|
|
. endfor
|
2015-05-28 16:37:01 +00:00
|
|
|
# Put the default values back into the variables so that the *default* behavior
|
|
|
|
# is not changed.
|
2015-06-30 13:33:36 +00:00
|
|
|
GH_ACCOUNT:= ${GH_ACCOUNT_DEFAULT}
|
|
|
|
GH_PROJECT:= ${GH_PROJECT_DEFAULT}
|
|
|
|
GH_TAGNAME:= ${GH_TAGNAME_DEFAULT}
|
2016-08-24 14:50:04 +00:00
|
|
|
GH_SUBDIR:= ${GH_SUBDIR_DEFAULT}
|
2015-03-20 22:32:00 +00:00
|
|
|
. if defined(GH_TAGNAME)
|
2018-01-15 11:34:53 +00:00
|
|
|
GH_TAGNAME_SANITIZED= ${GH_TAGNAME:S,/,-,g}
|
2017-04-14 23:16:16 +00:00
|
|
|
# GitHub silently converts tags starting with v to not have v in the filename
|
2016-06-02 07:29:01 +00:00
|
|
|
# and extraction directory. It also replaces + with -.
|
|
|
|
GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/:S/+/-/g}
|
2016-07-02 10:39:52 +00:00
|
|
|
. endif
|
2015-05-28 16:37:01 +00:00
|
|
|
. if defined(_GITHUB_MUST_SET_DISTNAME)
|
|
|
|
# GH_TAGNAME defaults to DISTVERSIONFULL; Avoid adding DISTVERSIONFULL in twice
|
|
|
|
. if ${GH_TAGNAME} != ${DISTVERSIONFULL}
|
|
|
|
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${DISTVERSIONFULL}-${GH_TAGNAME_SANITIZED}
|
|
|
|
. else
|
|
|
|
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_TAGNAME_SANITIZED}
|
|
|
|
. endif
|
2015-05-29 21:43:27 +00:00
|
|
|
. endif
|
2015-05-28 16:37:01 +00:00
|
|
|
# This new scheme rerolls distfiles. Also ensure they are renamed to avoid
|
|
|
|
# conflicts. Use _GITHUB_REV in case github changes their zipping or structure
|
|
|
|
# which has happened before.
|
2015-05-29 21:43:27 +00:00
|
|
|
_GITHUB_REV= 0
|
2015-05-28 16:37:01 +00:00
|
|
|
. if ${MASTER_SITES:MGH}
|
|
|
|
DISTNAME:= ${DISTNAME}_GH${_GITHUB_REV}
|
|
|
|
. endif
|
|
|
|
_GITHUB_EXTRACT_SUFX= .tar.gz
|
|
|
|
# Put the DEFAULT distfile first
|
2017-08-16 12:50:10 +00:00
|
|
|
_GITHUB_CLONE_DIR?= ${WRKDIR}/git-clone
|
|
|
|
_PORTS_DIRECTORIES+= ${_GITHUB_CLONE_DIR}
|
2016-03-08 13:09:12 +00:00
|
|
|
. if !${USE_GITHUB:Mnodefault} && defined(_GITHUB_MUST_SET_DISTNAME)
|
2015-05-28 16:37:01 +00:00
|
|
|
DISTFILES+= ${DISTNAME}${_GITHUB_EXTRACT_SUFX}
|
2017-08-16 12:50:10 +00:00
|
|
|
git-clone: git-clone-DEFAULT
|
|
|
|
git-clone-DEFAULT: ${_GITHUB_CLONE_DIR}
|
|
|
|
@git clone https://github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT_DEFAULT}.git ${_GITHUB_CLONE_DIR}/${GH_PROJECT_DEFAULT}
|
|
|
|
@${ECHO_MSG} "Cloned the default github repository into ${_GITHUB_CLONE_DIR}/${GH_PROJECT_DEFAULT}" | ${FMT_80}
|
2016-03-08 13:09:12 +00:00
|
|
|
. endif
|
2016-08-24 14:50:04 +00:00
|
|
|
. if !empty(GH_SUBDIR)
|
|
|
|
_SITES_extract:= 690:post-extract-gh-DEFAULT
|
|
|
|
post-extract-gh-DEFAULT:
|
2016-12-05 15:32:36 +00:00
|
|
|
@${RMDIR} ${WRKSRC}/${GH_SUBDIR_DEFAULT} 2>/dev/null || :
|
|
|
|
@${MKDIR} ${WRKSRC}/${GH_SUBDIR_DEFAULT:H} 2>/dev/null || :
|
2017-03-29 13:11:18 +00:00
|
|
|
@${LN} -s ${GH_SUBDIR_DEFAULT:C/[^\/]//g:C/\//..\//g:S/^$/./} ${WRKSRC}/${GH_SUBDIR_DEFAULT}
|
2016-08-24 14:50:04 +00:00
|
|
|
. endif
|
2016-03-08 13:09:12 +00:00
|
|
|
# If there are non default groups
|
|
|
|
. if !empty(_GITHUB_GROUPS:NDEFAULT)
|
2015-05-28 16:37:01 +00:00
|
|
|
# Then for each of the remaining groups, add DISTFILES and MASTER_SITES
|
|
|
|
# entries with the correct group and create {WRKSRC,DISTNAME,DISTFILES}_group
|
|
|
|
# helper variables.
|
2015-11-25 13:17:58 +00:00
|
|
|
. for _group in ${_GITHUB_GROUPS:NDEFAULT}
|
2015-06-30 13:33:36 +00:00
|
|
|
GH_ACCOUNT_${_group}?= ${GH_ACCOUNT_DEFAULT}
|
|
|
|
GH_PROJECT_${_group}?= ${GH_PROJECT_DEFAULT}
|
|
|
|
GH_TAGNAME_${_group}?= ${GH_TAGNAME_DEFAULT}
|
|
|
|
GH_TAGNAME_${_group}_SANITIZED= ${GH_TAGNAME_${_group}:S,/,-,}
|
|
|
|
GH_TAGNAME_${_group}_EXTRACT= ${GH_TAGNAME_${_group}_SANITIZED:C/^[vV]([0-9])/\1/}
|
2016-12-13 14:57:04 +00:00
|
|
|
_GH_TUPLE_OUT:= ${_GH_TUPLE_OUT} ${GH_ACCOUNT_${_group}}:${GH_PROJECT_${_group}}:${GH_TAGNAME_${_group}}:${_group}/${GH_SUBDIR_${_group}}
|
2015-06-30 13:33:36 +00:00
|
|
|
DISTNAME_${_group}:= ${GH_ACCOUNT_${_group}}-${GH_PROJECT_${_group}}-${GH_TAGNAME_${_group}_SANITIZED}
|
2015-05-28 16:37:01 +00:00
|
|
|
DISTFILE_${_group}:= ${DISTNAME_${_group}}_GH${_GITHUB_REV}${_GITHUB_EXTRACT_SUFX}
|
|
|
|
DISTFILES:= ${DISTFILES} ${DISTFILE_${_group}}:${_group}
|
2015-06-30 13:33:36 +00:00
|
|
|
MASTER_SITES:= ${MASTER_SITES} ${MASTER_SITE_GITHUB:S@%SUBDIR%@${GH_ACCOUNT_${_group}}/${GH_PROJECT_${_group}}/tar.gz/${GH_TAGNAME_${_group}}?dummy=/:${_group}@}
|
|
|
|
WRKSRC_${_group}:= ${WRKDIR}/${GH_PROJECT_${_group}}-${GH_TAGNAME_${_group}_EXTRACT}
|
2016-08-24 14:50:04 +00:00
|
|
|
. if !empty(GH_SUBDIR_${_group})
|
2018-03-01 12:58:53 +00:00
|
|
|
# In order to sort the subdir extraction so that foo/bar is moved in before
|
|
|
|
# foo/bar/baz, we count the number of / in the path and use it to order the
|
|
|
|
# targets. This handles up to 9 levels. The max as of r463123 is 4.
|
2018-03-05 08:29:33 +00:00
|
|
|
_SITES_extract:= ${_SITES_extract} 69${GH_SUBDIR_${_group}:C=[^/]+= =g:[#]}:post-extract-gh-${_group}
|
2016-08-24 14:50:04 +00:00
|
|
|
post-extract-gh-${_group}:
|
|
|
|
@${RMDIR} ${WRKSRC}/${GH_SUBDIR_${_group}} 2>/dev/null || :
|
|
|
|
@${MKDIR} ${WRKSRC}/${GH_SUBDIR_${_group}:H} 2>/dev/null || :
|
|
|
|
@${MV} ${WRKSRC_${_group}} ${WRKSRC}/${GH_SUBDIR_${_group}}
|
2017-08-29 17:01:39 +00:00
|
|
|
@${LN} -s ${WRKSRC:T}/${GH_SUBDIR_${_group}} ${WRKSRC_${_group}}
|
2016-08-24 14:50:04 +00:00
|
|
|
. endif
|
2017-08-16 12:50:10 +00:00
|
|
|
git-clone: git-clone-${_group}
|
|
|
|
git-clone-${_group}: ${_GITHUB_CLONE_DIR}
|
|
|
|
@git clone https://github.com/${GH_ACCOUNT_${_group}}/${GH_PROJECT_${_group}}.git ${_GITHUB_CLONE_DIR}/${GH_PROJECT_${_group}}
|
|
|
|
@${ECHO_MSG} "Cloned the ${_group} github repository into ${_GITHUB_CLONE_DIR}/${GH_PROJECT_${_group}}" | ${FMT_80}
|
2015-11-25 13:17:58 +00:00
|
|
|
. endfor
|
|
|
|
. endif
|
2016-12-13 14:57:04 +00:00
|
|
|
convert-to-gh-tuple:
|
|
|
|
@${ECHO_MSG} ${GH_ACCOUNT}:${GH_PROJECT}:${GH_TAGNAME} ${_GH_TUPLE_OUT:S/\/$//}
|
2015-11-25 13:17:58 +00:00
|
|
|
.endif # defined(USE_GITHUB)
|
|
|
|
.endif # !defined(IGNORE_MASTER_SITE_GITHUB)
|
2012-08-20 10:04:13 +00:00
|
|
|
|
2018-03-03 06:50:15 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_GITLAB)
|
|
|
|
#
|
|
|
|
# In order to use GitLab your port must define USE_GITLAB and the following
|
|
|
|
# variables:
|
|
|
|
#
|
|
|
|
# GL_SITE - site URL hosting GitLab and the project
|
|
|
|
# default: https://gitlab.com
|
|
|
|
#
|
|
|
|
# GL_ACCOUNT - account name of the GitLab user hosting the project
|
|
|
|
# default: ${PORTNAME}
|
|
|
|
#
|
|
|
|
# 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_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]
|
|
|
|
#
|
|
|
|
.if defined(USE_GITLAB)
|
|
|
|
. if defined(GL_TUPLE)
|
|
|
|
. for _tuple in ${GL_TUPLE}
|
|
|
|
. if ${_tuple:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\7@:S/^://:C/[a-f0-9]{40}//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]"
|
|
|
|
@${FALSE}
|
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
GL_SITE+= ${GL_TUPLE:C@^(([^:]*://[^:/]*(:[0-9]{1,5})?(/[^:]*[^/])?:)?)([^:]*):([^:]*):([^:]*)(:[^:/]*)((/.*)?)@\1\8@}
|
|
|
|
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_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}/repository/${GL_COMMIT}/archive.tar.gz?dummy=/
|
|
|
|
. endif
|
|
|
|
GL_SITE_DEFAULT= https://gitlab.com
|
|
|
|
GL_SITE?= ${GL_SITE_DEFAULT}
|
|
|
|
GL_ACCOUNT_DEFAULT= ${PORTNAME}
|
|
|
|
GL_ACCOUNT?= ${GL_ACCOUNT_DEFAULT}
|
|
|
|
GL_PROJECT_DEFAULT= ${PORTNAME}
|
|
|
|
GL_PROJECT?= ${GL_PROJECT_DEFAULT}
|
|
|
|
_GITLAB_GROUPS= DEFAULT
|
|
|
|
. for _gl_v in GL_SITE GL_ACCOUNT GL_PROJECT GL_COMMIT GL_SUBDIR
|
|
|
|
. for _v_ex in ${${_gl_v}}
|
|
|
|
_GL_GROUPS= ${_v_ex:S/^${_v_ex:C@:[^/:]+$@@}//:S/^://}
|
|
|
|
. if !empty(_GL_GROUPS)
|
|
|
|
. for _group in ${_GL_GROUPS:S/,/ /g}
|
|
|
|
. if ${_group} == all || ${_group} == ALL || ${_group} == default
|
|
|
|
check-makevars::
|
|
|
|
@${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be"
|
|
|
|
@${ECHO_MSG} "used in group definitions. Please fix your ${_gl_v}"
|
|
|
|
@${FALSE}
|
|
|
|
. endif
|
|
|
|
. if !${_GITLAB_GROUPS:M${_group}}
|
|
|
|
_GITLAB_GROUPS+= ${_group}
|
|
|
|
. endif
|
|
|
|
${_gl_v}_${_group}= ${_v_ex:C@^(.*):[^/:]+$@\1@}
|
|
|
|
. endfor
|
|
|
|
. else
|
|
|
|
${_gl_v}_DEFAULT= ${_v_ex:C@^(.*):[^/:]+$@\1@}
|
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
. endfor
|
|
|
|
GL_SITE:= ${GL_SITE_DEFAULT}
|
|
|
|
GL_ACCOUNT:= ${GL_ACCOUNT_DEFAULT}
|
|
|
|
GL_PROJECT:= ${GL_PROJECT_DEFAULT}
|
|
|
|
GL_COMMIT:= ${GL_COMMIT_DEFAULT}
|
|
|
|
GL_SUBDIR:= ${GL_SUBDIR_DEFAULT}
|
|
|
|
|
|
|
|
|
|
|
|
_GITLAB_REV= 0
|
|
|
|
DISTNAME:= ${GL_ACCOUNT}-${GL_PROJECT}-${GL_COMMIT}_GL${_GITLAB_REV}
|
|
|
|
|
|
|
|
_GITLAB_EXTRACT_SUFX= .tar.gz
|
|
|
|
|
|
|
|
_GITLAB_CLONE_DIR?= ${WRKDIR}/git-clone
|
|
|
|
_PORTS_DIRECTORIES+= ${_GITLAB_CLONE_DIR}
|
|
|
|
. if !${USE_GITLAB:Mnodefault}
|
|
|
|
DISTFILES+= ${DISTNAME}${_GITLAB_EXTRACT_SUFX}
|
|
|
|
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}
|
|
|
|
@${ECHO_MSG} "Cloned the default GitLab repository into ${_GITLAB_CLONE_DIR}/${GL_PROJECT_DEFAULT}" | ${FMT_80}
|
|
|
|
. endif
|
|
|
|
. if !empty(GL_SUBDIR)
|
2018-03-05 10:35:36 +00:00
|
|
|
_SITES_extract:= 69${GL_SUBDIR_${_group}:C=[^/]+= =g:[#]}:post-extract-gl-DEFAULT
|
2018-03-03 06:50:15 +00:00
|
|
|
post-extract-gl-DEFAULT:
|
|
|
|
@${RMDIR} ${WRKSRC}/${GL_SUBDIR_DEFAULT} 2>/dev/null || :
|
|
|
|
@${MKDIR} ${WRKSRC}/${GL_SUBDIR_DEFAULT:H} 2>/dev/null || :
|
|
|
|
@${LN} -s ${GL_SUBDIR_DEFAULT:C/[^\/]//g:C/\//..\//g:S/^$/./} ${WRKSRC}/${GL_SUBDIR_DEFAULT}
|
|
|
|
. endif
|
|
|
|
. if !empty(_GITLAB_GROUPS:NDEFAULT)
|
|
|
|
. for _group in ${_GITLAB_GROUPS:NDEFAULT}
|
|
|
|
# We set GL_SITE earlier, we need to verify its not empty
|
|
|
|
. if empty(GL_SITE_${_group})
|
|
|
|
GL_SITE_${_group}= ${GL_SITE_DEFAULT}
|
|
|
|
. endif
|
|
|
|
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}-${GL_PROJECT_${_group}}-${GL_COMMIT_${_group}}_GL${_GITLAB_REV}
|
|
|
|
DISTFILE_${_group}:= ${DISTNAME_${_group}}${_GITLAB_EXTRACT_SUFX}
|
|
|
|
DISTFILES:= ${DISTFILES} ${DISTFILE_${_group}}:${_group}
|
|
|
|
MASTER_SITES:= ${MASTER_SITES} ${GL_SITE_${_group}}/${GL_ACCOUNT_${_group}}/${GL_PROJECT_${_group}}/repository/${GL_COMMIT_${_group}}/archive.tar.gz?dummy=/:${_group}
|
|
|
|
WRKSRC_${_group}:= ${WRKDIR}/${GL_PROJECT_${_group}}-${GL_COMMIT_${_group}}-${GL_COMMIT_${_group}}
|
|
|
|
. if !empty(GL_SUBDIR_${_group})
|
|
|
|
_SITES_extract:= ${_SITES_extract} 690:post-extract-gl-${_group}
|
|
|
|
post-extract-gl-${_group}:
|
|
|
|
@${RMDIR} ${WRKSRC}/${GL_SUBDIR_${_group}} 2>/dev/null || :
|
|
|
|
@${MKDIR} ${WRKSRC}/${GL_SUBDIR_${_group}:H} 2>/dev/null || :
|
|
|
|
@${MV} ${WRKSRC_${_group}} ${WRKSRC}/${GL_SUBDIR_${_group}}
|
|
|
|
@${LN} -s ${WRKSRC:T}/${GL_SUBDIR_${_group}} ${WRKSRC_${_group}}
|
|
|
|
. endif
|
|
|
|
git-clone: git-clone-${_group}
|
|
|
|
git-clone-${_group}: ${_GITLAB_CLONE_DIR}
|
|
|
|
@git clone ${GL_SITE_${_group}}/${GL_ACCOUNT_${_group}}/${GL_PROJECT_${_group}}.git ${_GITLAB_CLONE_DIR}/${GL_PROJECT_${_group}}
|
|
|
|
@${ECHO_MSG} "Cloned the ${_group} GitLab repository into ${_GITLAB_CLONE_DIR}/${GL_PROJECT_${_group}}" | ${FMT_80}
|
|
|
|
. endfor
|
|
|
|
. endif
|
|
|
|
.endif # defined(USE_GITLAB)
|
|
|
|
.endif # !defined(IGNORE_MASTER_SITE_GITLAB)
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_GNOME)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_GNOME+= \
|
2014-01-22 23:17:51 +00:00
|
|
|
https://download.gnome.org/%SUBDIR%/ \
|
|
|
|
http://download.gnome.org/%SUBDIR%/ \
|
2017-10-13 15:07:55 +00:00
|
|
|
http://ftp.belnet.be/mirror/ftp.gnome.org/%SUBDIR%/ \
|
2005-03-09 21:10:32 +00:00
|
|
|
ftp://ftp.belnet.be/mirror/ftp.gnome.org/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.acc.umu.se/pub/GNOME/%SUBDIR%/ \
|
2005-03-09 21:10:32 +00:00
|
|
|
ftp://ftp.cse.buffalo.edu/pub/Gnome/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://fr2.rpmfind.net/linux/gnome.org/%SUBDIR%/ \
|
2012-05-30 07:22:36 +00:00
|
|
|
http://www.gtlib.gatech.edu/pub/gnome/%SUBDIR%/ \
|
2005-03-09 21:10:32 +00:00
|
|
|
ftp://ftp.kddlabs.co.jp/pub/GNOME/%SUBDIR%/ \
|
|
|
|
ftp://ftp.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/%SUBDIR%/ \
|
2008-09-13 20:49:07 +00:00
|
|
|
ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.gnome.org/pub/GNOME/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2000-09-21 08:36:28 +00:00
|
|
|
|
2014-12-09 11:42:34 +00:00
|
|
|
.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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://download.gimp.org/pub/%SUBDIR%/
|
2014-12-09 11:42:34 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_GNU)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_GNU+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftpmirror.gnu.org/%SUBDIR%/ \
|
|
|
|
https://ftp.gnu.org/gnu/%SUBDIR%/ \
|
2002-10-18 23:09:20 +00:00
|
|
|
ftp://ftp.gnu.org/gnu/%SUBDIR%/ \
|
2012-05-30 07:22:36 +00:00
|
|
|
http://www.gtlib.gatech.edu/pub/gnu/gnu/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirrors.kernel.org/gnu/%SUBDIR%/ \
|
2015-06-12 20:19:41 +00:00
|
|
|
ftp://ftp.kddlabs.co.jp/GNU/gnu/%SUBDIR%/ \
|
2004-08-18 13:13:00 +00:00
|
|
|
ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/%SUBDIR%/ \
|
2010-10-26 01:08:51 +00:00
|
|
|
ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/%SUBDIR%/ \
|
2003-06-01 07:09:06 +00:00
|
|
|
ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/%SUBDIR%/ \
|
2010-08-28 21:14:52 +00:00
|
|
|
http://ftp.funet.fi/pub/gnu/prep/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2002-10-18 23:09:20 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_GNUPG)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_GNUPG+= \
|
2017-01-10 02:52:51 +00:00
|
|
|
https://gnupg.org/ftp/gcrypt/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
|
2011-07-07 02:31:49 +00:00
|
|
|
ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
|
2015-08-14 20:59:29 +00:00
|
|
|
ftp://mirror.switch.ch/mirror/gnupg/%SUBDIR%/ \
|
2015-12-08 03:19:44 +00:00
|
|
|
http://gd.tuwien.ac.at/privacy/gnupg/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirrors.dotsrc.org/gcrypt/%SUBDIR%/ \
|
2015-08-14 20:59:29 +00:00
|
|
|
ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
|
2011-07-07 02:31:49 +00:00
|
|
|
ftp://ftp.crysys.hu/pub/gnupg/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/%SUBDIR%/ \
|
|
|
|
https://artfiles.org/gnupg.org/%SUBDIR%/ \
|
2015-12-08 03:19:44 +00:00
|
|
|
ftp://ftp.gnupg.org/gcrypt/%SUBDIR%/ \
|
|
|
|
http://mirror.tje.me.uk/pub/mirrors/ftp.gnupg.org/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(IGNORE_MASTER_SITE_GNUSTEP)
|
|
|
|
MASTER_SITE_GNUSTEP+= \
|
|
|
|
ftp://ftp.gnustep.org/pub/gnustep/%SUBDIR%/ \
|
2011-08-07 11:58:31 +00:00
|
|
|
http://ftp.gnustep.org/pub/gnustep/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-02-15 10:48:28 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_GNU_ALPHA)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_GNU_ALPHA+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://alpha.gnu.org/gnu/%SUBDIR%/ \
|
2014-10-01 13:04:41 +00:00
|
|
|
ftp://spinellicreations.com/alpha/gnu/%SUBDIR%/ \
|
|
|
|
http://www.nic.funet.fi/pub/gnu/alpha/gnu/%SUBDIR%/ \
|
|
|
|
http://mirror.thecodefactory.org/gnualpha/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.mirrorservice.org/sites/alpha.gnu.org/gnu/%SUBDIR%/ \
|
2014-10-01 13:04:41 +00:00
|
|
|
http://gnu.c3sl.ufpr.br/alpha/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirror.cedia.org.ec/gnualpha/%SUBDIR%/ \
|
2014-10-01 13:04:41 +00:00
|
|
|
http://gnu-alpha.mirrors.hostinginnederland.nl/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://gnualpha.uib.no/%SUBDIR%/ \
|
|
|
|
https://mirrors.fe.up.pt/pub/gnu-alpha/%SUBDIR%/ \
|
2014-10-01 13:04:41 +00:00
|
|
|
http://mirror.lihnidos.org/GNU/alpha/gnu/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://alpha-gnu-org.ip-connect.vn.ua/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-10-31 02:39:30 +00:00
|
|
|
|
2008-03-06 21:32:03 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_GOOGLE_CODE)
|
2011-12-03 11:56:48 +00:00
|
|
|
PROJECTHOST?= ${PORTNAME}
|
2008-03-13 11:21:27 +00:00
|
|
|
MASTER_SITE_GOOGLE_CODE+= \
|
|
|
|
http://${PROJECTHOST}.googlecode.com/files/
|
|
|
|
.endif
|
2008-03-06 21:32:03 +00:00
|
|
|
|
2007-02-12 23:23:31 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_HORDE)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_HORDE+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.horde.org/pub/%SUBDIR%/ \
|
2007-02-12 23:23:31 +00:00
|
|
|
ftp://ftp.horde.org/pub/%SUBDIR%/ \
|
2010-10-23 20:23:01 +00:00
|
|
|
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%/
|
2007-02-12 23:23:31 +00:00
|
|
|
.endif
|
|
|
|
|
2006-04-06 00:15:59 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_IDSOFTWARE)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_IDSOFTWARE+= \
|
2014-05-22 06:03:44 +00:00
|
|
|
ftp://ftp.gwdg.de/pub/misc2/ftp.idsoftware.com/idstuff/%SUBDIR%/ \
|
2006-05-29 20:26:02 +00:00
|
|
|
http://ftp4.de.freesbie.org/pub/misc/ftp.idsoftware.com/idstuff/%SUBDIR%/ \
|
2006-04-06 00:15:59 +00:00
|
|
|
ftp://ftp.fu-berlin.de/pc/games/idgames/idstuff/%SUBDIR%/ \
|
2006-05-29 20:26:02 +00:00
|
|
|
ftp://ftp.gamers.org/pub/idgames/idstuff/%SUBDIR%/ \
|
|
|
|
http://ftp.iinet.net.au/games/idstuff/%SUBDIR%/ \
|
2006-04-06 00:15:59 +00:00
|
|
|
ftp://ftp.mirror.nl/disk2/idsoftware/idstuff/%SUBDIR%/ \
|
2013-03-17 11:21:32 +00:00
|
|
|
ftp://freebsd.nsu.ru/mirrors/ftp.idsoftware.com/idstuff/%SUBDIR%/ \
|
2006-04-06 00:15:59 +00:00
|
|
|
ftp://ftp.ntua.gr/pub/vendors/idgames/idstuff/%SUBDIR%/ \
|
|
|
|
ftp://ftp.omen.net.au/games/idstuff/%SUBDIR%/ \
|
|
|
|
ftp://ftp.idsoftware.com/idstuff/%SUBDIR%/
|
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_ISC)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_ISC+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.isc.org/isc/%SUBDIR%/ \
|
2002-08-01 07:35:52 +00:00
|
|
|
ftp://ftp.isc.org/isc/%SUBDIR%/ \
|
|
|
|
ftp://ftp.ciril.fr/pub/isc/%SUBDIR%/ \
|
|
|
|
ftp://ftp.freenet.de/pub/ftp.isc.org/isc/%SUBDIR%/ \
|
|
|
|
ftp://ftp.iij.ad.jp/pub/network/isc/%SUBDIR%/ \
|
|
|
|
ftp://ftp.u-aizu.ac.jp/pub/net/isc/%SUBDIR%/ \
|
|
|
|
ftp://ftp.task.gda.pl/mirror/ftp.isc.org/isc/%SUBDIR%/ \
|
2004-08-18 13:13:00 +00:00
|
|
|
ftp://ftp.mirrorservice.org/sites/ftp.isc.org/isc/%SUBDIR%/ \
|
2002-08-01 07:35:52 +00:00
|
|
|
ftp://ftp.nominum.com/pub/isc/%SUBDIR%/ \
|
|
|
|
ftp://ftp.ripe.net/mirrors/sites/ftp.isc.org/isc/%SUBDIR%/ \
|
2010-08-28 21:14:52 +00:00
|
|
|
ftp://ftp.ntua.gr/pub/net/isc/isc/%SUBDIR%/ \
|
|
|
|
ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2002-08-01 07:35:52 +00:00
|
|
|
|
2014-01-24 16:40:14 +00:00
|
|
|
# List: http://download.kde.org/extra/mirrors.html
|
|
|
|
# Updated: 2012-10-26
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_KDE)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_KDE+= \
|
2017-06-11 17:25:12 +00:00
|
|
|
https://download.kde.org/%SUBDIR%/ \
|
2014-01-24 16:40:14 +00:00
|
|
|
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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirrors.dotsrc.org/kde/%SUBDIR%/ \
|
2014-01-24 16:40:14 +00:00
|
|
|
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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://sunsite.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \
|
2014-01-24 16:40:14 +00:00
|
|
|
ftp://ftp.lip6.fr/pub/X11/kde/%SUBDIR%/ \
|
|
|
|
http://www-ftp.lip6.fr/pub/X11/kde/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp-stud.hs-esslingen.de/Mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \
|
2014-01-24 16:40:14 +00:00
|
|
|
ftp://ftp.cronyx.ru/pub/mirror/kde/%SUBDIR%/ \
|
|
|
|
http://ftp.twaren.net/Unix/X/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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.heanet.ie/mirrors/ftp.kde.org/%SUBDIR%/ \
|
2014-01-24 16:40:14 +00:00
|
|
|
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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.mirrorservice.org/sites/ftp.kde.org/pub/kde/%SUBDIR%/ \
|
|
|
|
https://ftp.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \
|
2014-01-24 16:40:14 +00:00
|
|
|
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%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2001-02-17 00:13:32 +00:00
|
|
|
|
2014-10-07 12:10:39 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_LIBREOFFICE_DEV)
|
|
|
|
MASTER_SITE_LIBREOFFICE_DEV+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://dev-www.libreoffice.org/src/%SUBDIR%/
|
2014-10-07 12:10:39 +00:00
|
|
|
.endif
|
|
|
|
|
2013-11-23 11:39:07 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_MATE)
|
|
|
|
MASTER_SITE_MATE+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://pub.mate-desktop.org/releases/%SUBDIR%/
|
2013-11-23 11:39:07 +00:00
|
|
|
.endif
|
|
|
|
|
2006-04-27 23:28:36 +00:00
|
|
|
.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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.heanet.ie/pub/mozdev/%SUBDIR%/ \
|
2006-04-27 23:28:36 +00:00
|
|
|
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%/ \
|
2018-02-17 02:08:40 +00:00
|
|
|
http://mirrors.ibiblio.org/mozdev.org/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.osuosl.org/pub/mozdev/%SUBDIR%/
|
2006-04-27 23:28:36 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_MOZILLA)
|
2001-02-17 00:13:32 +00:00
|
|
|
MASTER_SITE_MOZILLA+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://download.cdn.mozilla.net/pub/%SUBDIR%/ \
|
2015-12-19 10:46:48 +00:00
|
|
|
https://archive.mozilla.org/pub/%SUBDIR%/
|
2014-01-15 05:31:35 +00:00
|
|
|
.endif
|
|
|
|
|
2015-06-09 14:24:41 +00:00
|
|
|
.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%/
|
2006-08-03 01:18:42 +00:00
|
|
|
.endif
|
|
|
|
|
2012-10-05 04:21:20 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_MPLAYERHQ)
|
2014-02-27 08:20:18 +00:00
|
|
|
MASTER_SITE_MPLAYERHQ+= \
|
2012-10-05 04:21:20 +00:00
|
|
|
http://www.mplayerhq.hu/MPlayer/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www1.mplayerhq.hu/MPlayer/%SUBDIR%/ \
|
2012-10-05 04:21:20 +00:00
|
|
|
http://www2.mplayerhq.hu/MPlayer/%SUBDIR%/ \
|
|
|
|
http://www3.mplayerhq.hu/MPlayer/%SUBDIR%/ \
|
|
|
|
http://www4.mplayerhq.hu/MPlayer/%SUBDIR%/ \
|
|
|
|
http://www5.mplayerhq.hu/MPlayer/%SUBDIR%/ \
|
|
|
|
ftp://ftp.mplayerhq.hu/MPlayer/%SUBDIR%/ \
|
|
|
|
ftp://ftp1.mplayerhq.hu/MPlayer/%SUBDIR%/ \
|
|
|
|
ftp://ftp4.mplayerhq.hu/MPlayer/%SUBDIR%/ \
|
|
|
|
ftp://ftp5.mplayerhq.hu/MPlayer/%SUBDIR%/
|
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_MYSQL)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_MYSQL+= \
|
2004-12-22 00:06:31 +00:00
|
|
|
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%/ \
|
2005-10-04 05:54:17 +00:00
|
|
|
http://download.softagency.net/MySQL/Downloads/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2004-12-22 00:06:31 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_NETBSD)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_NETBSD+= \
|
2018-02-27 13:03:48 +00:00
|
|
|
https://ftp.netbsd.org/pub/NetBSD/packages/distfiles/%SUBDIR%/ \
|
2001-03-13 18:53:44 +00:00
|
|
|
ftp://ftp.iastate.edu/pub/netbsd/packages/distfiles/%SUBDIR%/ \
|
2002-08-25 00:19:32 +00:00
|
|
|
ftp://ftp.plig.net/pub/NetBSD/packages/distfiles/%SUBDIR%/ \
|
2014-02-27 08:20:18 +00:00
|
|
|
ftp://ftp.proxad.net/mirrors/ftp.netbsd.org/packages/distfiles/%SUBDIR%/ \
|
2001-02-17 00:13:32 +00:00
|
|
|
ftp://ftp.unina.it/pub/Unix/NetBSD/packages/distfiles/%SUBDIR%/ \
|
2002-08-25 00:19:32 +00:00
|
|
|
ftp://ftp.uninett.no/bsd/unix/NetBSD/packages/distfiles/%SUBDIR%/ \
|
|
|
|
ftp://sunsite.uio.no/bsd/unix/NetBSD/packages/distfiles/%SUBDIR%/ \
|
|
|
|
ftp://ftp.demon.co.uk/pub/mirrors/NetBSD/packages/distfiles/%SUBDIR%/ \
|
2010-08-28 21:14:52 +00:00
|
|
|
ftp://ftp.funet.fi/pub/NetBSD/packages/distfiles/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2001-02-17 00:13:32 +00:00
|
|
|
|
2011-03-31 10:20:34 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_NETLIB)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_NETLIB+= \
|
2011-03-31 10:20:34 +00:00
|
|
|
http://www.netlib.org/%SUBDIR%/ \
|
2018-02-27 13:03:48 +00:00
|
|
|
https://ftp.mirrorservice.org/sites/ftp.netlib.org/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.mirrorservice.org/sites/ftp.netlib.org/%SUBDIR%/ \
|
2011-03-31 10:20:34 +00:00
|
|
|
ftp://ftp.irisa.fr/pub/netlib/%SUBDIR%/ \
|
2015-03-30 22:45:28 +00:00
|
|
|
http://netlib.sandia.gov/%SUBDIR%/
|
2011-03-31 10:20:34 +00:00
|
|
|
.endif
|
|
|
|
|
2006-12-06 14:37:53 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_NVIDIA)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_NVIDIA+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://jp.download.nvidia.com/%SUBDIR%/ \
|
2006-12-06 14:37:53 +00:00
|
|
|
http://us.download.nvidia.com/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://tw.download.nvidia.com/%SUBDIR%/ \
|
2006-12-06 14:37:53 +00:00
|
|
|
http://download.nvidia.com/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://download1.nvidia.com/%SUBDIR%/ \
|
2006-12-06 14:37:53 +00:00
|
|
|
ftp://download.nvidia.com/%SUBDIR%/ \
|
|
|
|
ftp://download1.nvidia.com/%SUBDIR%/
|
|
|
|
.endif
|
|
|
|
|
2008-03-04 22:20:54 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_OPENBSD)
|
|
|
|
MASTER_SITE_OPENBSD+= \
|
2018-02-27 13:03:48 +00:00
|
|
|
https://fastly.cdn.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
|
|
|
|
https://cloudflare.cdn.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
|
2017-02-01 16:16:11 +00:00
|
|
|
https://ftp.OpenBSD.org/pub/OpenBSD/%SUBDIR%/ \
|
|
|
|
https://ftp.eu.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
|
|
|
|
https://ftp3.usa.openbsd.org/pub/OpenBSD/%SUBDIR%/ \
|
2018-02-27 13:03:48 +00:00
|
|
|
https://mirror.leaseweb.com/pub/OpenBSD/%SUBDIR%/ \
|
2017-02-01 16:16:11 +00:00
|
|
|
https://openbsd.hk/pub/OpenBSD/%SUBDIR%/ \
|
2018-02-27 13:03:48 +00:00
|
|
|
https://mirror.aarnet.edu.au/pub/OpenBSD/%SUBDIR%/
|
2008-03-04 22:20:54 +00:00
|
|
|
.endif
|
|
|
|
|
2018-03-24 21:12:13 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_OSDN)
|
|
|
|
.for mirror in aarnet acc c3sl cznic gigenet iij jaist nchc onet osdn pumath rwthaachen ymu
|
|
|
|
MASTER_SITE_OSDN+= \
|
|
|
|
http://${mirror}.dl.osdn.jp/%SUBDIR%/
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_OSSP)
|
2004-08-21 15:19:42 +00:00
|
|
|
MASTER_SITE_OSSP+= \
|
|
|
|
ftp://ftp.ossp.org/pkg/%SUBDIR%/ \
|
|
|
|
ftp://ftp.ntua.gr/pub/utils/ossp/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2004-08-21 15:19:42 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_PACKETSTORM)
|
2003-02-15 14:17:58 +00:00
|
|
|
MASTER_SITE_PACKETSTORM+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://dl.packetstormsecurity.net/%SUBDIR%/ \
|
|
|
|
https://packetstorm.foofus.com/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-02-15 14:17:58 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_PERL_CPAN)
|
2011-02-28 14:09:00 +00:00
|
|
|
|
|
|
|
_PERL_CPAN_SORT?= modules/by-module
|
|
|
|
|
|
|
|
# Please add URI to MASTER_SITE_PERL_CPAN_BY instead of this one.
|
|
|
|
MASTER_SITE_PERL_CPAN?=
|
|
|
|
|
|
|
|
MASTER_SITE_PERL_CPAN_BY+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://cpan.metacpan.org/%CPANSORT%/%SUBDIR%/ \
|
|
|
|
https://cpan.metacpan.org/modules/by-module/%SUBDIRPLUS%/ \
|
|
|
|
https://www.cpan.org/%CPANSORT%/%SUBDIR%/ \
|
2011-02-28 14:09:00 +00:00
|
|
|
ftp://ftp.cpan.org/pub/CPAN/%CPANSORT%/%SUBDIR%/ \
|
|
|
|
http://www.cpan.dk/%CPANSORT%/%SUBDIR%/ \
|
|
|
|
ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.jaist.ac.jp/pub/CPAN/%CPANSORT%/%SUBDIR%/ \
|
2013-01-14 10:38:30 +00:00
|
|
|
ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/%CPANSORT%/%SUBDIR%/ \
|
2011-02-28 14:09:00 +00:00
|
|
|
ftp://ftp.auckland.ac.nz/pub/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
|
|
|
|
http://backpan.perl.org/%CPANSORT%/%SUBDIR%/ \
|
|
|
|
ftp://ftp.funet.fi/pub/languages/perl/CPAN/%CPANSORT%/%SUBDIR%/ \
|
2012-06-08 10:16:22 +00:00
|
|
|
http://ftp.twaren.net/Unix/Lang/CPAN/%CPANSORT%/%SUBDIR%/ \
|
2015-08-30 10:08:11 +00:00
|
|
|
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%SUBDIRPLUS%/
|
2011-02-28 14:09:00 +00:00
|
|
|
|
2011-12-09 19:01:50 +00:00
|
|
|
_PERL_CPAN_FLAG=${MASTER_SITE_SUBDIR:C/(CPAN):.*$/\1/}
|
|
|
|
_PERL_CPAN_ID= ${MASTER_SITE_SUBDIR:C/^CPAN:(.)(.)(.*)$/\1\/\1\2\/\1\2\3/}
|
2011-02-28 14:09:00 +00:00
|
|
|
|
2014-05-05 09:45:36 +00:00
|
|
|
.if !empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan"
|
2012-05-30 15:22:18 +00:00
|
|
|
_PERL_CPAN_SORT=authors/id/${_PERL_CPAN_ID}
|
2015-08-30 10:08:11 +00:00
|
|
|
MASTER_SITE_PERL_CPAN=${MASTER_SITE_PERL_CPAN_BY:S/%CPANSORT%/${_PERL_CPAN_SORT}/:S/%SUBDIR%\///:S/%SUBDIRPLUS%\//${PORTNAME:C/-.*//}\//}
|
2011-02-28 14:09:00 +00:00
|
|
|
.else
|
2015-08-30 10:08:11 +00:00
|
|
|
MASTER_SITE_PERL_CPAN=${MASTER_SITE_PERL_CPAN_BY:S/%CPANSORT%/${_PERL_CPAN_SORT}/:S/%SUBDIRPLUS%\///}
|
2011-02-28 14:09:00 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2000-06-14 02:14:49 +00:00
|
|
|
|
2003-09-03 15:35:58 +00:00
|
|
|
#
|
2015-02-06 09:21:41 +00:00
|
|
|
# PostgreSQL master site
|
2003-09-03 15:35:58 +00:00
|
|
|
#
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_PGSQL)
|
2003-03-28 22:55:35 +00:00
|
|
|
MASTER_SITE_PGSQL+= \
|
2017-08-15 20:59:27 +00:00
|
|
|
https://ftp.postgresql.org/pub/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-07-04 11:44:42 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_PHP)
|
2004-05-24 13:37:35 +00:00
|
|
|
MASTER_SITE_PHP+= \
|
|
|
|
http://de.php.net/%SUBDIR%/ \
|
|
|
|
http://es.php.net/%SUBDIR%/ \
|
|
|
|
http://fr.php.net/%SUBDIR%/ \
|
|
|
|
http://it.php.net/%SUBDIR%/ \
|
|
|
|
http://jp.php.net/%SUBDIR%/ \
|
|
|
|
http://se.php.net/%SUBDIR%/ \
|
2011-09-11 14:43:59 +00:00
|
|
|
http://uk3.php.net/%SUBDIR%/ \
|
2004-07-19 13:53:49 +00:00
|
|
|
http://us2.php.net/%SUBDIR%/ \
|
2009-01-29 13:53:29 +00:00
|
|
|
http://br.php.net/%SUBDIR%/ \
|
2015-03-30 22:39:26 +00:00
|
|
|
http://cn.php.net/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2004-05-24 13:37:35 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_PYTHON)
|
2003-07-04 11:44:42 +00:00
|
|
|
MASTER_SITE_PYTHON+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.python.org/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-03-28 22:55:35 +00:00
|
|
|
|
2005-05-06 16:40:03 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_QMAIL)
|
|
|
|
MASTER_SITE_QMAIL+= \
|
|
|
|
http://qmail.glasswings.com.au/%SUBDIR%/ \
|
|
|
|
http://qmail.psshee.com/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirrors.sunsite.dk/qmailwww/%SUBDIR%/ \
|
2005-05-06 16:40:03 +00:00
|
|
|
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
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_QT)
|
2005-02-06 11:58:19 +00:00
|
|
|
MASTER_SITE_QT+= \
|
2018-01-21 10:54:45 +00:00
|
|
|
https://download.qt.io/%SUBDIR%/ \
|
|
|
|
http://master.qt.io/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.mirrorservice.org/sites/download.qt-project.org/%SUBDIR%/ \
|
2014-01-24 16:40:14 +00:00
|
|
|
http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/%SUBDIR%/ \
|
|
|
|
http://qtmirror.ics.com/pub/qtproject/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.jaist.ac.jp/pub/qtproject/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2005-02-06 11:58:19 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_REDHAT_LINUX)
|
2002-07-25 18:49:37 +00:00
|
|
|
MASTER_SITE_REDHAT_LINUX+= \
|
2003-10-28 08:14:06 +00:00
|
|
|
http://mirrors.usc.edu/pub/linux/distributions/redhat/redhat/linux/%SUBDIR%/ \
|
2012-05-30 07:22:36 +00:00
|
|
|
http://www.gtlib.gatech.edu/pub/redhat/linux/%SUBDIR%/ \
|
2003-10-28 09:32:01 +00:00
|
|
|
ftp://mirror.cs.wisc.edu/pub/mirrors/linux/redhat/%SUBDIR%/ \
|
2002-07-25 18:49:37 +00:00
|
|
|
ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/%SUBDIR%/ \
|
2004-11-16 06:40:35 +00:00
|
|
|
ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/%SUBDIR%/ \
|
2005-10-08 08:21:56 +00:00
|
|
|
ftp://ftp.riken.go.jp/pub/Linux/redhat/linux/%SUBDIR%/ \
|
2005-10-01 05:41:25 +00:00
|
|
|
ftp://ftp.kddlabs.co.jp/pub/Linux/packages/RedHat/redhat/linux/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2002-07-25 18:49:37 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_RUBY)
|
2001-02-17 00:13:32 +00:00
|
|
|
MASTER_SITE_RUBY+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://cache.ruby-lang.org/pub/ruby/%SUBDIR%/ \
|
|
|
|
https://ftp.ruby-lang.org/pub/ruby/%SUBDIR%/ \
|
2007-04-03 21:58:35 +00:00
|
|
|
ftp://ftp.ruby-lang.org/pub/ruby/%SUBDIR%/ \
|
2002-09-29 22:17:48 +00:00
|
|
|
ftp://ftp.fu-berlin.de/unix/languages/ruby/%SUBDIR%/ \
|
|
|
|
ftp://ftp.kr.FreeBSD.org/pub/ruby/%SUBDIR%/ \
|
|
|
|
ftp://ftp.iDaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2000-06-14 02:14:49 +00:00
|
|
|
|
2010-05-24 22:07:59 +00:00
|
|
|
# See http://rubygems.org/pages/about
|
|
|
|
.if !defined(IGNORE_MASTER_SITE_RUBYGEMS)
|
|
|
|
MASTER_SITE_RUBYGEMS+= \
|
2016-02-12 18:24:11 +00:00
|
|
|
https://rubygems.global.ssl.fastly.net/gems/%SUBDIR%/
|
2006-08-02 12:16:46 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_SAMBA)
|
2004-03-11 09:58:04 +00:00
|
|
|
MASTER_SITE_SAMBA+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.samba.org/pub/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2004-03-11 09:58:04 +00:00
|
|
|
|
2010-03-16 12:45:55 +00:00
|
|
|
# List: http://download.savannah.gnu.org/mirmon/
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_SAVANNAH)
|
2003-09-30 00:08:58 +00:00
|
|
|
MASTER_SITE_SAVANNAH+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://download.savannah.gnu.org/releases/%SUBDIR%/ \
|
|
|
|
https://download-mirror.savannah.gnu.org/releases/%SUBDIR%/ \
|
2010-03-16 12:45:55 +00:00
|
|
|
http://nongnu.askapache.com/%SUBDIR%/ \
|
|
|
|
http://mirror.lihnidos.org/GNU/savannah/%SUBDIR%/ \
|
2007-08-24 17:27:23 +00:00
|
|
|
http://ftp.twaren.net/Unix/NonGNU/%SUBDIR%/ \
|
2009-03-06 08:57:32 +00:00
|
|
|
ftp://ftp.twaren.net/Unix/NonGNU/%SUBDIR%/ \
|
2017-10-12 11:29:38 +00:00
|
|
|
http://gnu.mirrors.pair.com/savannah/savannah/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2003-09-30 00:08:58 +00:00
|
|
|
|
2017-03-13 17:11:26 +00:00
|
|
|
# List: https://sourceforge.net/p/forge/documentation/Mirrors/
|
|
|
|
# Updated: 2017-03-13
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_SOURCEFORGE)
|
2017-03-13 17:11:26 +00:00
|
|
|
.for p in https http
|
|
|
|
MASTER_SITE_SOURCEFORGE+= ${p}://downloads.sourceforge.net/project/%SUBDIR%/
|
2017-10-12 11:03:07 +00:00
|
|
|
.for m in cytranet excellmedia freefr jaist kent nchc \
|
|
|
|
netcologne netix superb-dca2 superb-sea2 ufpr vorboss
|
2017-03-13 17:11:26 +00:00
|
|
|
MASTER_SITE_SOURCEFORGE+= ${p}://${m}.dl.sourceforge.net/project/%SUBDIR%/
|
|
|
|
.endfor
|
2014-04-23 00:46:23 +00:00
|
|
|
.endfor
|
2009-08-12 19:46:41 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_SOURCEWARE)
|
2001-02-17 00:13:32 +00:00
|
|
|
MASTER_SITE_SOURCEWARE+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirrors.kernel.org/sourceware/%SUBDIR%/ \
|
2010-01-07 04:49:40 +00:00
|
|
|
http://gd.tuwien.ac.at/gnu/sourceware/%SUBDIR%/ \
|
2017-03-05 11:59:02 +00:00
|
|
|
ftp://ftp.funet.fi/pub/mirrors/sourceware.org/pub/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2000-10-24 11:27:20 +00:00
|
|
|
|
2011-11-09 17:18:27 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_SUDO)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_SUDO+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.sudo.ws/sudo/dist/ \
|
2011-11-09 17:18:27 +00:00
|
|
|
http://ftp.arcane-networks.fr/pub/mirrors/sudo/ \
|
|
|
|
http://sudo.p8ra.de/sudo/dist/ \
|
|
|
|
http://sudo.cybermirror.org/ \
|
|
|
|
http://sudo-ftp.basemirror.de/ \
|
|
|
|
http://core.ring.gr.jp/archives/misc/sudo/ \
|
|
|
|
http://www.ring.gr.jp/archives/misc/sudo/ \
|
|
|
|
http://ftp.twaren.net/Unix/Security/Sudo/ \
|
|
|
|
ftp://ftp.sudo.ws/pub/sudo/ \
|
|
|
|
ftp://plier.ucar.edu/pub/sudo/ \
|
|
|
|
ftp://obsd.isc.org/pub/sudo/ \
|
|
|
|
ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \
|
|
|
|
ftp://ftp.tuwien.ac.at/utils/admin-tools/sudo/ \
|
|
|
|
ftp://sunsite.ualberta.ca/pub/Mirror/sudo/ \
|
|
|
|
ftp://zoot.tele.dk/pub/sudo/ \
|
|
|
|
ftp://ftp.in2p3.fr/pub/sudo/ \
|
|
|
|
ftp://ftp.arcane-networks.fr/pub/mirrors/sudo/ \
|
|
|
|
ftp://ftp.usbm.de/pub/sudo/ \
|
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/misc/sudo/ \
|
|
|
|
ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/sudo/ \
|
|
|
|
ftp://ftp.st.ryukoku.ac.jp/pub/security/tool/sudo/ \
|
|
|
|
ftp://ftp.cin.nihon-u.ac.jp/pub/misc/sudo/ \
|
|
|
|
ftp://core.ring.gr.jp/pub/misc/sudo/ \
|
|
|
|
ftp://ftp.ring.gr.jp/pub/misc/sudo/ \
|
|
|
|
ftp://sunsite.icm.edu.pl/packages/sudo/ \
|
|
|
|
ftp://mirror.cdmon.com/pub/sudo/ \
|
|
|
|
ftp://ftp.twaren.net/Unix/Security/Sudo/
|
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_SUNSITE)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_SUNSITE+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.ibiblio.org/pub/Linux/%SUBDIR%/ \
|
2012-05-30 07:22:36 +00:00
|
|
|
http://www.gtlib.gatech.edu/pub/Linux/%SUBDIR%/ \
|
2003-02-02 21:33:14 +00:00
|
|
|
ftp://ftp.icm.edu.pl/pub/Linux/sunsite/%SUBDIR%/ \
|
2012-06-29 01:17:03 +00:00
|
|
|
ftp://ftp.sun.ac.za/pub/mirrors/sunsite.unc.edu/pub/Linux/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2000-06-14 02:14:49 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_TCLTK)
|
2000-06-14 02:14:49 +00:00
|
|
|
MASTER_SITE_TCLTK+= \
|
2005-10-04 07:00:54 +00:00
|
|
|
ftp://ftp.tcl.tk/pub/tcl/%SUBDIR%/ \
|
2000-06-20 06:48:58 +00:00
|
|
|
ftp://ftp.kddlabs.co.jp/lang/tcl/ftp.scriptics.com/%SUBDIR%/ \
|
2004-08-18 13:13:00 +00:00
|
|
|
ftp://ftp.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/%SUBDIR%/ \
|
2010-08-28 21:14:52 +00:00
|
|
|
ftp://ftp.funet.fi/pub/languages/tcl/tcl/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2000-06-14 02:14:49 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_TEX_CTAN)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_TEX_CTAN+= \
|
2018-01-02 15:02:09 +00:00
|
|
|
http://ctan.unsw.edu.au/%SUBDIR%/ \
|
2001-02-17 00:13:32 +00:00
|
|
|
ftp://ftp.kddlabs.co.jp/CTAN/%SUBDIR%/ \
|
|
|
|
ftp://ctan.tug.org/tex-archive/%SUBDIR%/ \
|
|
|
|
ftp://ftp.dante.de/tex-archive/%SUBDIR%/ \
|
2010-08-28 21:14:52 +00:00
|
|
|
ftp://mirror.macomnet.net/pub/CTAN/%SUBDIR%/ \
|
|
|
|
ftp://ftp.funet.fi/pub/TeX/CTAN/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2000-09-03 17:14:00 +00:00
|
|
|
|
2014-02-10 01:35:05 +00:00
|
|
|
# Derived from: https://www.torproject.org/getinvolved/mirrors.html.en
|
|
|
|
.if !defined(IGNORE_MASTER_SITE_TOR)
|
2014-02-27 08:20:18 +00:00
|
|
|
MASTER_SITE_TOR+= \
|
2014-02-10 01:35:05 +00:00
|
|
|
https://www.torproject.org/dist/%SUBDIR%/ \
|
|
|
|
https://archive.torproject.org/tor-package-archive/%SUBDIR%/ \
|
|
|
|
ftp://ftp.bit.nl/mirror/tor/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://cyberside.net.ee/tor/%SUBDIR%/ \
|
|
|
|
https://ftp.bit.nl/mirror/tor/%SUBDIR%/ \
|
2014-02-10 01:35:05 +00:00
|
|
|
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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://tor.ccc.de/dist/%SUBDIR%/ \
|
2014-02-10 01:35:05 +00:00
|
|
|
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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://tor.myrl.net/dist/%SUBDIR%/ \
|
2014-02-10 01:35:05 +00:00
|
|
|
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%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://torproject.is/dist/%SUBDIR%/ \
|
2014-02-10 01:35:05 +00:00
|
|
|
http://torproject.nwlinux.us/dist/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://torproject.ph3x.at/dist/%SUBDIR%/ \
|
2014-02-10 01:35:05 +00:00
|
|
|
https://www.coevoet.nl/tor/dist/%SUBDIR%/ \
|
|
|
|
http://www.oignon.net/dist/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.torproject.nl/dist/%SUBDIR%/ \
|
2014-02-10 01:35:05 +00:00
|
|
|
http://www.torproject.org.nyud.net/dist/%SUBDIR%/ \
|
|
|
|
http://www.torproject.us/dist/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://www.torservers.net/mirrors/torproject.org/dist/%SUBDIR%/
|
2014-02-10 01:35:05 +00:00
|
|
|
.endif
|
|
|
|
|
2006-06-03 14:46:35 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_TUCOWS)
|
|
|
|
MASTER_SITE_TUCOWS+= \
|
2015-03-30 22:17:46 +00:00
|
|
|
http://iinets.linux.tucows.com/files/%SUBDIR%/
|
2006-06-03 14:46:35 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_WINDOWMAKER)
|
2001-02-17 00:13:32 +00:00
|
|
|
MASTER_SITE_WINDOWMAKER+= \
|
2006-05-21 20:26:06 +00:00
|
|
|
ftp://ftp.windowmaker.info/pub/%SUBDIR%/ \
|
2015-03-30 22:03:37 +00:00
|
|
|
ftp://ftp.uvsq.fr/pub/X11/window-managers/windowmaker/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2001-01-18 18:27:51 +00:00
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_XCONTRIB)
|
2012-05-30 14:51:29 +00:00
|
|
|
MASTER_SITE_XCONTRIB+= \
|
2017-10-13 09:03:09 +00:00
|
|
|
ftp://ftp.gwdg.de/pub/x11/x.org/contrib/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2001-02-17 00:13:32 +00:00
|
|
|
|
2007-01-23 15:57:50 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_XFCE)
|
2007-10-25 22:53:28 +00:00
|
|
|
MASTER_SITE_XFCE+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirror.netcologne.de/xfce/%SUBDIR%/ \
|
2013-01-21 22:22:44 +00:00
|
|
|
http://ftp.udc.es/xfce/%SUBDIR%/ \
|
|
|
|
http://xfce.mirror.uber.com.au/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://archive.be.xfce.org/%SUBDIR%/ \
|
2011-02-01 07:46:52 +00:00
|
|
|
http://archive.be2.xfce.org/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://archive.al-us.xfce.org/%SUBDIR%/ \
|
2016-09-15 15:33:48 +00:00
|
|
|
http://mirrors.tummy.com/pub/archive.xfce.org/%SUBDIR%/ \
|
|
|
|
http://mirror.perldude.de/archive.xfce.org/%SUBDIR%/
|
2007-01-23 15:57:50 +00:00
|
|
|
.endif
|
|
|
|
|
2005-03-13 22:34:11 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_XORG)
|
2004-05-31 20:03:45 +00:00
|
|
|
MASTER_SITE_XORG+= \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://xorg.freedesktop.org/releases/%SUBDIR%/ \
|
2013-02-24 20:50:49 +00:00
|
|
|
http://xorg.mirrors.pair.com/%SUBDIR%/ \
|
|
|
|
http://mirror.us.leaseweb.net/xorg/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
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%/ \
|
2013-02-24 20:50:49 +00:00
|
|
|
http://gd.tuwien.ac.at/X11/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mi.mirror.garr.it/mirrors/x.org/%SUBDIR%/ \
|
2013-02-24 20:50:49 +00:00
|
|
|
http://mirror.switch.ch/ftp/mirror/X11/pub/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirrors.ircam.fr/pub/x.org/%SUBDIR%/ \
|
|
|
|
https://www.mirrorservice.org/sites/ftp.x.org/pub/%SUBDIR%/ \
|
2013-02-24 20:50:49 +00:00
|
|
|
http://www.portal-to-web.de/pub/mirrors/x.org/%SUBDIR%/ \
|
|
|
|
http://x.cybermirror.org/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://x.europnews.de/pub/%SUBDIR%/ \
|
2013-02-24 20:50:49 +00:00
|
|
|
http://xorg.mirror.solnet.ch/pub/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://mirror.nl.leaseweb.net/xorg/%SUBDIR%/ \
|
2013-02-24 20:50:49 +00:00
|
|
|
http://mirror.de.leaseweb.net/xorg/%SUBDIR%/ \
|
|
|
|
http://mirrors.go-part.com/xorg/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.yz.yamagata-u.ac.jp/pub/X11/x.org/%SUBDIR%/ \
|
2014-01-20 15:12:23 +00:00
|
|
|
http://ftp.kaist.ac.kr/x.org/%SUBDIR%/
|
2005-03-13 22:34:11 +00:00
|
|
|
.endif
|
2006-07-30 00:49:43 +00:00
|
|
|
|
2009-06-01 16:00:39 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_KERNEL_ORG)
|
|
|
|
MASTER_SITE_KERNEL_ORG+= \
|
2013-06-21 17:53:33 +00:00
|
|
|
https://www.kernel.org/pub/%SUBDIR%/ \
|
2013-06-11 19:43:45 +00:00
|
|
|
ftp://ftp.ntu.edu.tw/%SUBDIR%/ \
|
2018-02-08 19:38:34 +00:00
|
|
|
https://ftp.yandex.ru/pub/%SUBDIR%/ \
|
|
|
|
https://ftp.heanet.ie/pub/%SUBDIR%/ \
|
2011-10-03 12:51:00 +00:00
|
|
|
http://slackware.cs.utah.edu/pub/kernel.org/pub/%SUBDIR%/
|
2009-06-01 16:00:39 +00:00
|
|
|
.endif
|
|
|
|
|
2017-08-01 16:44:12 +00:00
|
|
|
.if !defined(IGNORE_MASTER_SITE_ZI)
|
|
|
|
MASTER_SITE_ZI+= \
|
|
|
|
https://mirrors.rit.edu/zi/ \
|
|
|
|
https://blackened.zi0r.com/mirrors/ \
|
2017-08-02 08:59:21 +00:00
|
|
|
${MASTER_SITE_LOCAL:S/%SUBDIR%/zi/}
|
2017-08-01 16:44:12 +00:00
|
|
|
.endif
|
|
|
|
|
2006-07-30 00:49:43 +00:00
|
|
|
# Macro magic
|
|
|
|
|
2009-09-02 15:01:56 +00:00
|
|
|
MASTER_SITES_ABBREVS= CPAN:PERL_CPAN \
|
2012-08-20 10:04:13 +00:00
|
|
|
GH:GITHUB \
|
2012-11-27 11:32:06 +00:00
|
|
|
GHC:GITHUB_CLOUD \
|
2014-10-07 12:10:39 +00:00
|
|
|
LODEV:LIBREOFFICE_DEV \
|
2011-03-31 10:20:34 +00:00
|
|
|
NL:NETLIB \
|
2015-05-15 10:37:38 +00:00
|
|
|
RG:RUBYGEMS \
|
2018-03-24 21:12:13 +00:00
|
|
|
SF:SOURCEFORGE
|
2015-05-11 18:31:01 +00:00
|
|
|
MASTER_SITES_SUBDIRS= APACHE_COMMONS_BINARIES:${PORTNAME:S,commons-,,} \
|
|
|
|
APACHE_COMMONS_SOURCE:${PORTNAME:S,commons-,,} \
|
|
|
|
APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \
|
2014-12-19 10:46:31 +00:00
|
|
|
BERLIOS:${PORTNAME:tl}.berlios \
|
2016-09-04 10:23:14 +00:00
|
|
|
CHEESESHOP:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:S/-${DISTVERSIONFULL}$//} \
|
2006-07-30 00:49:43 +00:00
|
|
|
DEBIAN:pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} \
|
2015-04-02 16:43:46 +00:00
|
|
|
FARSIGHT:${PORTNAME} \
|
2015-05-14 10:15:04 +00:00
|
|
|
FESTIVAL:${PORTVERSION} \
|
2006-07-30 00:49:43 +00:00
|
|
|
GCC:releases/${DISTNAME} \
|
2015-05-14 10:15:04 +00:00
|
|
|
GENTOO:distfiles \
|
|
|
|
GIMP:${PORTNAME}/${PORTVERSION:R}/ \
|
2015-03-19 16:44:57 +00:00
|
|
|
GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/tar.gz/${GH_TAGNAME}?dummy=/ \
|
2012-11-27 11:32:06 +00:00
|
|
|
GITHUB_CLOUD:${GH_ACCOUNT}/${GH_PROJECT}/ \
|
2006-07-30 00:49:43 +00:00
|
|
|
GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
|
2007-08-16 11:55:02 +00:00
|
|
|
GNU:${PORTNAME} \
|
2015-05-14 10:15:04 +00:00
|
|
|
GNUPG:${PORTNAME} \
|
2014-10-01 13:04:41 +00:00
|
|
|
GNU_ALPHA:${PORTNAME} \
|
2007-02-12 23:23:31 +00:00
|
|
|
HORDE:${PORTNAME} \
|
2014-10-07 12:10:39 +00:00
|
|
|
LIBREOFFICE_DEV:${PORTNAME} \
|
2013-11-23 11:39:07 +00:00
|
|
|
MATE:${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
|
2014-05-05 09:45:36 +00:00
|
|
|
MOZDEV:${PORTNAME:tl} \
|
2011-03-31 10:20:34 +00:00
|
|
|
NETLIB:${PORTNAME} \
|
2006-07-30 00:49:43 +00:00
|
|
|
PERL_CPAN:${PORTNAME:C/-.*//} \
|
2015-05-14 10:15:04 +00:00
|
|
|
QT:archive/qt/${PORTVERSION:R} \
|
|
|
|
SAMBA:${PORTNAME} \
|
2014-05-05 09:45:36 +00:00
|
|
|
SAVANNAH:${PORTNAME:tl} \
|
2015-04-28 17:01:46 +00:00
|
|
|
SOURCEFORGE:${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} \
|
|
|
|
XFCE:xfce/${XFCE_MASTER_SITE_VER}/src
|
2006-07-30 00:49:43 +00:00
|
|
|
|
2006-09-03 15:23:03 +00:00
|
|
|
.if defined(MASTER_SITES) && ${MASTER_SITES:N*\:/*}
|
2006-07-30 00:49:43 +00:00
|
|
|
|
|
|
|
.for _site__ in ${MASTER_SITES}
|
|
|
|
_site_=${_site__}
|
2006-09-03 15:23:03 +00:00
|
|
|
. if ${_site_:M*\:/*}
|
2006-07-30 00:49:43 +00:00
|
|
|
MASTER_SITES_EXP+= ${_site_}
|
|
|
|
MASTER_SITES_EXP:= ${MASTER_SITES_EXP}
|
|
|
|
. else
|
2006-09-03 15:23:03 +00:00
|
|
|
_site_urlpath_= ${_site_:C@^(.*):[^/:]+$@\1@}
|
|
|
|
. if ${_site_urlpath_:M*/*}
|
|
|
|
_site_url_= ${_site_urlpath_:C@^([^/]+)/.*$@\1@}
|
|
|
|
_site_subdir_= ${_site_urlpath_:S/^${_site_urlpath_:C@^([^/]+)/.*$@\1@}//:S!^/!!:S!/$!!}
|
|
|
|
. else
|
|
|
|
_site_url_= ${_site_urlpath_}
|
|
|
|
.undef _site_subdir_
|
|
|
|
. endif
|
2006-07-30 00:49:43 +00:00
|
|
|
_site_group_= ${_site_:S/^${_site_:C@^(.*):[^/:]+$@\1@}//:S/^://}
|
|
|
|
. for _abbrev_ in ${MASTER_SITES_ABBREVS}
|
|
|
|
. if ${_site_url_} == ${_abbrev_:C/:.*//}
|
|
|
|
_site_url_= ${_abbrev_:C/.*://}
|
|
|
|
. endif
|
|
|
|
. endfor
|
2015-05-14 10:15:04 +00:00
|
|
|
. if !defined(MASTER_SITE_SUBDIR)
|
|
|
|
. for _subdir_ in ${MASTER_SITES_SUBDIRS}
|
|
|
|
. if ${_site_url_} == ${_subdir_:C/:.*//}
|
2006-09-03 15:23:03 +00:00
|
|
|
_site_subdir_?= ${_subdir_:C/.*://}
|
2015-05-14 10:15:04 +00:00
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
. endif
|
2006-07-30 00:49:43 +00:00
|
|
|
. ifdef MASTER_SITE_${_site_url_}
|
2006-09-03 15:23:03 +00:00
|
|
|
. ifdef _site_subdir_
|
|
|
|
MASTER_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S^%SUBDIR%^${_site_subdir_}^:S/$/:${_site_group_}/:S/:$//}
|
|
|
|
. else
|
2006-07-30 00:49:43 +00:00
|
|
|
MASTER_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S/$/:${_site_group_}/:S/:$//}
|
2006-09-03 15:23:03 +00:00
|
|
|
. endif
|
2006-07-30 00:49:43 +00:00
|
|
|
MASTER_SITES_EXP:= ${MASTER_SITES_EXP}
|
|
|
|
. endif
|
|
|
|
. endif
|
|
|
|
.endfor
|
|
|
|
MASTER_SITES= ${MASTER_SITES_EXP}
|
|
|
|
|
|
|
|
.endif
|
2014-12-25 01:12:46 +00:00
|
|
|
|
|
|
|
.if defined(PATCH_SITES) && ${PATCH_SITES:N*\:/*}
|
|
|
|
|
|
|
|
.for _site__ in ${PATCH_SITES}
|
|
|
|
_site_=${_site__}
|
|
|
|
. if ${_site_:M*\:/*}
|
|
|
|
PATCH_SITES_EXP+= ${_site_}
|
|
|
|
PATCH_SITES_EXP:= ${PATCH_SITES_EXP}
|
|
|
|
. else
|
|
|
|
_site_urlpath_= ${_site_:C@^(.*):[^/:]+$@\1@}
|
|
|
|
. if ${_site_urlpath_:M*/*}
|
|
|
|
_site_url_= ${_site_urlpath_:C@^([^/]+)/.*$@\1@}
|
|
|
|
_site_subdir_= ${_site_urlpath_:S/^${_site_urlpath_:C@^([^/]+)/.*$@\1@}//:S!^/!!:S!/$!!}
|
|
|
|
. else
|
|
|
|
_site_url_= ${_site_urlpath_}
|
|
|
|
.undef _site_subdir_
|
|
|
|
. endif
|
|
|
|
_site_group_= ${_site_:S/^${_site_:C@^(.*):[^/:]+$@\1@}//:S/^://}
|
|
|
|
. for _abbrev_ in ${MASTER_SITES_ABBREVS}
|
|
|
|
. if ${_site_url_} == ${_abbrev_:C/:.*//}
|
|
|
|
_site_url_= ${_abbrev_:C/.*://}
|
|
|
|
. endif
|
|
|
|
. endfor
|
2015-05-14 10:15:04 +00:00
|
|
|
. if !defined(MASTER_SITE_SUBDIR)
|
|
|
|
. for _subdir_ in ${MASTER_SITES_SUBDIRS}
|
|
|
|
. if ${_site_url_} == ${_subdir_:C/:.*//}
|
2014-12-25 01:12:46 +00:00
|
|
|
_site_subdir_?= ${_subdir_:C/.*://}
|
2015-05-14 10:15:04 +00:00
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
. endif
|
2014-12-25 01:12:46 +00:00
|
|
|
. ifdef MASTER_SITE_${_site_url_}
|
|
|
|
. ifdef _site_subdir_
|
|
|
|
PATCH_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S^%SUBDIR%^${_site_subdir_}^:S/$/:${_site_group_}/:S/:$//}
|
|
|
|
. else
|
|
|
|
PATCH_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S/$/:${_site_group_}/:S/:$//}
|
|
|
|
. endif
|
|
|
|
PATCH_SITES_EXP:= ${PATCH_SITES_EXP}
|
|
|
|
. endif
|
|
|
|
. endif
|
|
|
|
.endfor
|
|
|
|
PATCH_SITES= ${PATCH_SITES_EXP}
|
|
|
|
|
|
|
|
.endif
|