Subject: Re: Accessing a local distfiles directory?
To: None <firstname.lastname@example.org>
From: Mario Kemper <email@example.com>
Date: 10/14/1998 16:26:58
In article <Pine.NEB.firstname.lastname@example.org>,
Curt Sampson <email@example.com> 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.