From owner-freebsd-questions Mon Aug 23 20:50:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 8DFA814C0B for ; Mon, 23 Aug 1999 20:50:39 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id XAA00751 for freebsd-questions@FreeBSD.ORG; Mon, 23 Aug 1999 23:51:52 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199908240351.XAA00751@cc942873-a.ewndsr1.nj.home.com> Subject: Collecting Ports' Distfiles To: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Date: Mon, 23 Aug 1999 23:51:51 -0400 (EDT) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I recently was installing FreeBSD on a machine that is not attached to the Internet. I don't set up machines frequently, so the easiest thing for me to do is just download a STABLE snapshot and burn it on a CD and take it to the machine (the price of buying the Walnut Creek dist is not an issue since this was at work, but the pain of doing a PR and then waiting for it is just not worth the time to d/l and cook a CD). However, since the machine is not on the net and for other reasons it is a pain to be moving lots of media in and out of the machine, I wanted to put all of the distfiles for the ports I thought I would need on the CD. Now, it is easy enough to make a shell script that cycles through a list of ports and does a 'make fetch', but this process will _not_ pick up prerequisite ports. I ended up going through the list of ports, doing a 'make fetch' and also digging dependencies out of Makefiles with an awk script and then fetching those ports too. I thought I was pretty clever... Until I went to install my ports[0] and the process started screetching to a halt when it hit ports that had dependencies which had dependencies of their own. *sigh* I could revise my script to recursively look for dependencies, but is there an easier way to do this that I am overlooking? [0] I installed on one of these Dells with all SCSI HDDs and CDs that have been the topics of recent threads. The installation of the OS itself could _not_ have gone more smoothly. I literally was commenting to a co-worker in the room, "This is too easy, stand back, the machine must be gonna explode or something." Well, everything was fine until, lulled into dropping my guard, I made a mistake configuring X and locked myself out of the machine. ;) -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message