Fink's "master" mirrors already handle this situation:

curl --connect-timeout 30 -f -L -A 'fink/0.35.99.git' -O http://www.apache.org/dist/httpd/httpd-2.2.22.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
### execution of curl failed, exit code 22
Downloading the file "httpd-2.2.22.tar.gz" failed.

(1) Give up
(2) Retry the same mirror
(3) Retry another mirror from your country
(4) Retry another mirror from your continent
(5) Retry another mirror
(6) Retry using next mirror set "master"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [3] 6
curl --connect-timeout 30 -f -L -A 'fink/0.35.99.git' -O http://distfiles.master.finkmirrors.net/httpd-2.2.22.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7031k 100 7031k 0 0 785k 0 0:00:08 0:00:08 --:--:-- 1332k

You can run the above command manually and download the source, too.

 
Last edit: Alexander Hansen 2013-09-21