OK-- that almost works.  Two problems (maybe):

(1) Fink seems to select between the mirrors at random [makes sense], but 
I really want it to go in order so that it will generally succeed except 
in those [hopefully rare] situations where the fink package description 
has fallen behind the rsync version #.

(2) The dialog sequence is somewhat confusing:

[localhost:local/main/finkinfo] bbum% fink rebuild rsync
sudo /sw/bin/fink rebuild rsync
Reading package info...
Information about 852 packages read in 11 seconds.
pkg rsync  version ###
pkg rsync  version 2.5.4-1
The following package will be rebuilt:
  rsync
curl -f -L -O http://samba.anu.edu.au/ftp/rsync/old-
versions/rsync-2.5.4.tar.gz
   % Total    % Received % Xferd  Average Speed          Time             
Curr.
                                  Dload  Upload Total    Current  Left    
Speed
   0     0    0     0    0     0      0      0 --:--:--  
0:00:00 --:--:--     0
curl: (22) The requested file was not found
### curl failed, exit code 22
Downloading the file "rsync-2.5.4.tar.gz" failed.

(1)  Give up
(2)  Retry the same mirror
(3)  Retry another mirror

How do you want to proceed? [2] 3
curl -f -L -O http://samba.anu.edu.au/ftp/rsync/rsync-2.5.4.tar.gz
   % Total    % Received % Xferd  Average Speed          Time             
Curr.
                                  Dload  Upload Total    Current  Left    
Speed
   3  376k    3 15365    0     0  10445      0  0:00:36  0:00:01  0:00:35 
11624^C### curl failed, exit code 2

---

Likely, this is a feature request-- it would useful to be able to specify 
something just like what David suggest, but designed to handle a situation 
where the older versions of a piece of software is moved off to an 
archived directory.  Then again, I'm not sure how many packages suffer 
from this situation-- it may not be useful to bother...

b.bum


On Sunday, March 24, 2002, at 02:28 PM, David R. Morrison wrote:

> CustomMirror is an excellent way to do this.  You should list both the
> current and future directories, like this:
>
>   CustomMirror: <<
>    A: http://samba.anu.edu.au/ftp/rsync
>    B: http://samba.anu.edu.au/ftp/rsync/old-versions
>   <<
>
> and then you can say
>
>   Source: mirror:custom:%n-%v.tar.gz
>
>   -- Dave
>
b.bum
I ride tandem with the random....
        .... things don't run the way I planned them.


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to