From owner-freebsd-ports Wed Jun 5 14:42:25 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08302 for ports-outgoing; Wed, 5 Jun 1996 14:42:25 -0700 (PDT) Received: from Fieber-John.campusview.indiana.edu (Fieber-John.campusview.indiana.edu [149.159.1.34]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA08294 for ; Wed, 5 Jun 1996 14:42:20 -0700 (PDT) Received: from localhost (jfieber@localhost) by Fieber-John.campusview.indiana.edu (8.7.5/8.7.3) with SMTP id QAA14599 for ; Wed, 5 Jun 1996 16:40:59 -0500 (EST) X-Authentication-Warning: Fieber-John.campusview.indiana.edu: jfieber owned process doing -bs Date: Wed, 5 Jun 1996 16:40:59 -0500 (EST) From: John Fieber X-Sender: jfieber@Fieber-John.campusview.indiana.edu To: ports@freebsd.org Subject: DISTDIR idea Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ================