From owner-freebsd-ports@FreeBSD.ORG Fri Mar 17 18:10:26 2006 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 6DAD916A45B for ; Fri, 17 Mar 2006 18:10:26 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01ACC43D4C for ; Fri, 17 Mar 2006 18:10:18 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so473798wxc for ; Fri, 17 Mar 2006 10:10:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OIv2am7E8yUoNnINR988C13NFlcr1hhayDHuVTuZM3BLc3zvY8VbxlHmuZc0QydoF8UwGCVYLyb3kz+02rMJAyHi0ak1J2h+0aRKKmU9gfRs1DuQB6fqAL/0eTlqyunBM8sevcVzNnottr6gv/LcEzhCpPmPgjPy/o18BGNXy/Q= Received: by 10.70.117.16 with SMTP id p16mr1037430wxc; Fri, 17 Mar 2006 10:10:17 -0800 (PST) Received: by 10.70.27.2 with HTTP; Fri, 17 Mar 2006 10:10:17 -0800 (PST) Message-ID: <790a9fff0603171010p692f4215q2ca05322650f3827@mail.gmail.com> Date: Fri, 17 Mar 2006 12:10:17 -0600 From: "Scot Hetzel" To: "Vadim Goncharov" In-Reply-To: <1965362278.20060317020244@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1965362278.20060317020244@mail.ru> Cc: freebsd-ports@freebsd.org Subject: Re: Getting distfiles for entire tree X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 18:10:26 -0000 On 3/16/06, Vadim Goncharov 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.