Subject: Re: Accessing a local distfiles directory?
To: None <tech-pkg@netbsd.org>
From: Mario Kemper <magick@bundy.lip.owl.de>
List: tech-pkg
Date: 10/14/1998 16:26:58
In article <Pine.NEB.4.02.9810130931000.6963-100000@ascetic.portal.ca>,
	Curt Sampson <cjs@portal.ca> writes:
> On Tue, 13 Oct 1998, Simon Burge wrote:
> 
>> A mount worked fine.  I guess there's now the question of what happens
>> when I find a package I want to install that is restricted from being
>> mirrored.  I'll probably just throw a copy on the ftp mirror in the
>> distfiles directory while I need it...
> 
> At one point I looked at adding a separate path to search for
> distfiles before downloading them, which would have solved this
> problem. However, the code got a bit too hairy for my taste.
> 
Why not simply put a script which looks for the file in various places
and when it can't find it, calls ftp. Put it in /usr/bin/fetch or call it via 
make FETCH_CMD=your_script and everything works fine.

-- 
Mario Kemper
magick@bundy.lip.owl.de