aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-05-24 18:05:30 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-05-24 18:05:30 +0000
commit5eb3c4f37a41375de7e368f52d160e4b8a81163e (patch)
tree0e33dcf8e95e2100f0668eb98b0a0c2466c294e8
parentefab0de49f0ddec2a6034728701351ab63c966cb (diff)
downloadports-5eb3c4f37a41375de7e368f52d160e4b8a81163e.tar.gz
ports-5eb3c4f37a41375de7e368f52d160e4b8a81163e.zip
MFH: r354962
Point MASTER_SITES_BACKUP / MASTER_SITES_LOCAL to distcache.FreeBSD.org
Notes
Notes: svn path=/branches/2014Q2/; revision=355068
-rw-r--r--Mk/bsd.port.mk4
-rw-r--r--Mk/bsd.sites.mk1
2 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 5b795778b1fa..f2042b31958b 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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.
@@ -2489,7 +2489,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
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 98f1c4b1abb5..691732c6ff77 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -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%/ \