Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2006 12:10:17 -0600
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Vadim Goncharov" <vadim_nuclight@mail.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Getting distfiles for entire tree
Message-ID:  <790a9fff0603171010p692f4215q2ca05322650f3827@mail.gmail.com>
In-Reply-To: <1965362278.20060317020244@mail.ru>
References:  <1965362278.20060317020244@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/16/06, Vadim Goncharov <vadim_nuclight@mail.ru> wrote:
> Hello freebsd-ports,
>
> I need to maintain a local distfiles mirror (all N-ty gigabytes) for
> almost entire ports tree (some lang categories excluded). Also, I have
> limited access to Internet - not all distfiles could be fetched (however
> eventually they'll do). So, as I can't use plain ``cd /usr/ports && make
> fetch'', I've made a script, which, for speeding up, fetches each categor=
y
> in parallel.

> But then some anothe shit happened - system began to build and install
> packages without checking if they were actually installed, e.g. it made
> mess installing expat2 over expat-1.95 (I had to deal with it manually
> later), so I was forced to interrupt the script.
>
> So, what happened (why it began to install, why errors?) and how should
> I create local distfiles mirror ?

'make fetch' on a port, checks if a depending port is installed.  If
that port is not installed, then it will fetch the sources and install
the depending port.

You could give 'make fetch-recursive' a try, as this will fetch the
ports distfiles and all the ports dependencies distfiles as well, if
necessary.



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?790a9fff0603171010p692f4215q2ca05322650f3827>