1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Point MASTER_SITES_BACKUP / MASTER_SITES_LOCAL to distcache.FreeBSD.org

Approved by:    portmgr (bdrewery)
This commit is contained in:
Peter Wemm 2014-05-23 20:48:20 +00:00
parent c17a40b1a9
commit 7a033d5909
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354962
2 changed files with 3 additions and 2 deletions

View File

@ -144,7 +144,7 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# - Backup location(s) for distribution files and patch
# files if not found locally and ${MASTER_SITES}/${PATCH_SITES}
# Default:
# http://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
# http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/
# MASTER_SITE_OVERRIDE
# - If set, override the MASTER_SITES setting with this
# value.
@ -2555,7 +2555,7 @@ PATCH_SITES_TMP=
# The primary backup site.
MASTER_SITE_BACKUP?= \
http://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/
MASTER_SITE_BACKUP:= ${MASTER_SITE_BACKUP:S^\${DIST_SUBDIR}/^^}
# If the user has MASTER_SITE_FREEBSD set, go to the FreeBSD repository

View File

@ -26,6 +26,7 @@
# Where to put distfiles that don't have any other master site
.if !defined(IGNORE_MASTER_SITE_LOCAL)
MASTER_SITE_LOCAL+= \
http://distcache.FreeBSD.org/local-distfiles/%SUBDIR%/ \
http://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \