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