From owner-freebsd-ports@FreeBSD.ORG Mon Oct 3 16:46:26 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87ED316A41F for ; Mon, 3 Oct 2005 16:46:26 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBB1443D48 for ; Mon, 3 Oct 2005 16:46:25 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id t13so220437wxc for ; Mon, 03 Oct 2005 09:46:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GOU9Im+phRObHClsdYWgwK35WiLhJqpJ6QRwDdV9AadxFMtkAMBP3wTkyS9sTRv/r0kB7QowdUJD4Kt02bZkW21/Uv8c09Bx5CNDW8Wu2hJBnAEaDegVyXT2XJvdSNelgsqg2EAeTeiVutL3G/RBut40paG9f0Jbl4ctNs+mTds= Received: by 10.70.109.11 with SMTP id h11mr1692121wxc; Mon, 03 Oct 2005 09:46:24 -0700 (PDT) Received: by 10.70.53.4 with HTTP; Mon, 3 Oct 2005 09:46:24 -0700 (PDT) Message-ID: <790a9fff0510030946m1a340916of6e0ba1c8d2727e1@mail.gmail.com> Date: Mon, 3 Oct 2005 11:46:24 -0500 From: Scot Hetzel To: Ali Adur In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: freebsd-ports@freebsd.org Subject: Re: distfiles download X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Scot Hetzel List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 16:46:26 -0000 On 9/30/05, Ali Adur wrote: > Hello, > > Ports want to download sources. > How can I download all the sources since at home I do not have > Internet access? > (If it counts I use WinXP at work and it is not a problem to download > some gigs.) > I ran in to a similar situation, and what I did was to modify Mk/bsd.port.mk so that it would create a list of URLs for the files I needed to download. This list was then imported into GetRight to download the files from a Windows Machine that had Internet access. What I did was to duplicate the fetch-recursive target, renaming it to getright-recursive, then modified the getright-recursive target to return the first 9 sites and the ftp.freebsd.org site as a URL. Then to create the list, I would use: cd /usr/ports/www/apache2 make getright-recusive > /mnt/dos/apache2.grx I don't have a diff of this change with me at the moment, but I can send it tomorrow. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.