Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 1996 16:40:59 -0500 (EST)
From:      John Fieber <jfieber@indiana.edu>
To:        ports@freebsd.org
Subject:   DISTDIR idea
Message-ID:  <Pine.NEB.3.93.960605163334.422q-100000@Fieber-John.campusview.indiana.edu>

next in thread | raw e-mail | index | archive | help
In helping someone out with some documentation for using the
ports collection, it occured to me that it would be much simpler
for people with CDROMS if the do-fetch target quietly checked
/cdrom/ports/distfiles before DISTDIR and ultimately marching off
to the net.  

The problem is that specifying DISTDIR=/cdrom/ports/distfiles
breaks if the source file isn't there, and the error message you
get from ncftp isn't very useful.  The other option, making a
linkfarm in /usr/ports/distfiles requires lndir which comes with
X and it causes things to break if you don't have the correct
CDROM drive.  

It seems like explicitly checking the CDROM first would solve
both of these problems with the added bonus that
/usr/ports/distfiles would only have files not on the CDROM. When
I'm mining for disk space, that is the first place I usually hit
and it would be nice to just rm * it rather than some find
command to list non-symlink files.

Opinions?

-john

== jfieber@indiana.edu ===========================================
== http://fallout.campusview.indiana.edu/~jfieber ================




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.93.960605163334.422q-100000>