Date: Mon, 3 Oct 2005 11:46:24 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: Ali Adur <aladur@freemail.hu> Cc: freebsd-ports@freebsd.org Subject: Re: distfiles download Message-ID: <790a9fff0510030946m1a340916of6e0ba1c8d2727e1@mail.gmail.com> In-Reply-To: <freemail.20050830173218.91721@fm13.freemail.hu> References: <freemail.20050830173218.91721@fm13.freemail.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/30/05, Ali Adur <aladur@freemail.hu> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0510030946m1a340916of6e0ba1c8d2727e1>