1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Change the protocal for the default master site backup used for

fallback distfile fetching from ftp to http.

Requested by:	many
Approved by:	Ports and Package Summit, BSDCan 2014
This commit is contained in:
Erwin Lansing 2014-05-15 17:39:03 +00:00
parent 94df645ce8
commit eaa48b14de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354161

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:
# ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
# http://ftp.FreeBSD.org/pub/FreeBSD/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?= \
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
http://ftp.FreeBSD.org/pub/FreeBSD/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