Date: Mon, 23 Aug 1999 23:51:51 -0400 (EDT) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Subject: Collecting Ports' Distfiles Message-ID: <199908240351.XAA00751@cc942873-a.ewndsr1.nj.home.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908240351.XAA00751>
