From owner-freebsd-ports Fri Mar 19 20: 0:21 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A7D9915483 for ; Fri, 19 Mar 1999 20:00:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id UAA29684; Fri, 19 Mar 1999 20:00:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 7656214D50; Fri, 19 Mar 1999 19:56:44 -0800 (PST) Message-Id: <19990320035644.7656214D50@hub.freebsd.org> Date: Fri, 19 Mar 1999 19:56:44 -0800 (PST) From: foo@fdt.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: ports/10682: List mirror sites in MASTER_SITE_BACKUP - ftp.freebsd.org is often full Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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