diff options
author | peter <peter@FreeBSD.org> | 2014-05-24 04:48:20 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2014-05-24 04:48:20 +0800 |
commit | 78f0032829bc27e5db5c6619e9ac44d4380db6c2 (patch) | |
tree | bbf3cab58cd5f94d85cc59cfcc4caa7bfef03ca7 /Mk | |
parent | e8b55ddc218c142d9d390d08a2a2f282cc1541ef (diff) | |
download | freebsd-ports-gnome-78f0032829bc27e5db5c6619e9ac44d4380db6c2.tar.gz freebsd-ports-gnome-78f0032829bc27e5db5c6619e9ac44d4380db6c2.tar.zst freebsd-ports-gnome-78f0032829bc27e5db5c6619e9ac44d4380db6c2.zip |
Point MASTER_SITES_BACKUP / MASTER_SITES_LOCAL to distcache.FreeBSD.org
Approved by: portmgr (bdrewery)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 | ||||
-rw-r--r-- | Mk/bsd.sites.mk | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index f743555bd015..34279b8b1e5d 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. @@ -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 diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index fb476bda14f1..c0c81ac09174 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%/ \ |