Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 1999 19:56:44 -0800 (PST)
From:      foo@fdt.net
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/10682: List mirror sites in MASTER_SITE_BACKUP - ftp.freebsd.org is often full
Message-ID:  <19990320035644.7656214D50@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         10682
>Category:       ports
>Synopsis:       List mirror sites in MASTER_SITE_BACKUP - ftp.freebsd.org is often full
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 19 20:00:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     kevin ho
>Release:        3.1-STABLE
>Organization:
>Environment:
FreeBSD foobox 3.1-RELEASE #0: Mon Mar 15 16:02 GMT 1999    foo@foobox:/usr/src/sys/compile/FOOBOX-BPF
>Description:
Two changes.

1)  Listed extra sites (ftpN.freebsd.org) in MASTER_SITES_BACKUP - often
    ftp.freebsd.org is full - minor fix.

2)  Allows you to use bwtest to sort sites in order of speed, if you've 
    got bwtest - otherwise just uses echo (no sorting)
>How-To-Repeat:
no problem
>Fix:
646a647,652
> .if exists(/usr/local/bin/bwsort)
> BWSORT_CMD?=          /usr/local/bin/bwsort
> .else
> BWSORT_CMD?=          /bin/echo
> .endif
> 
900c906,908
<       ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
---
>       ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ \
>       ftp://ftp2.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ \
>       ftp://ftp3.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
1334,1335c1342,1343
<                       for site in ${MASTER_SITES}; do \
<                           ${ECHO_MSG} ">> Attempting to fetch from $${site}."; \
---
>                       for site in `${BWSORT_CMD} ${MASTER_SITES}`; do \
>                           ${ECHO_MSG} ">> Attempting sorted fetch from $${site}."; \

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990320035644.7656214D50>