distfiles download

Scot Hetzel swhetzel at gmail.com
Mon Oct 3 09:46:26 PDT 2005


On 9/30/05, Ali Adur <aladur at 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.


More information about the freebsd-ports mailing list