> -----Original Message-----
> From: Peter Valchev [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 20, 2005 6:48 PM
> To: Mitja Mu?eni?
> Cc: [email protected]
> Subject: Re: www/analog
> 
> > FYI, it seems that the sources for all but the latest (6.0) 
> version have
> > disappeared from $MASTER_SITES, thus failing the port build 
> on all but
> > -current. 
> > 
> > Luckily for cases like this, there are still packages. And 
> contrary to
> > source files, packages don't disappear.
> 
> They are also on ftp.openbsd.org/pub/OpenBSD/distfiles/ and after
> failing to obtain the distfile from MASTER_SITES, the port will
> (or should, sometimes ftp hangs?) download it from there.
> 
> That's what MASTER_SITE_BACKUP is for.  Don't have control over
> the rest...
> 

My bad for being not precise enough. The files are indeed missing, but three
or four MASTER_SITES servers return a 301 and html instead of 404'ing. So
the port never gets to MASTER_SITE_BACKUP, it bombs after getting that html
and complaining about wrong distfile size - see below.

By removing those servers port evenutally gets to MASTER_SITE_BACKUP. The
following diff against 3.8-stable does that, also removing some unresolvable
servers and a ftp server that does not seem to allow anonymous ftp (?).

------------------------
# cvs diff -u Makefile
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/analog/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile    5 Jul 2005 14:28:40 -0000       1.43
+++ Makefile    20 Dec 2005 20:28:07 -0000
@@ -7,16 +7,10 @@
 CATEGORIES=    www

 MASTER_SITES=  http://www.analog.cx/ \
-               http://www.statslab.cam.ac.uk/~sret1/analog/ \
                http://www.magma.ca/~brendanr/analog/ \
-               http://brendanr.simplenet.com/analog/ \
                http://analog.gsp.com/ \
                http://redmoon.reverse.net/analog/ \
                http://www.rge.com/pub/infosystems/statistics/analog/ \
-               http://blip.cetlink.net/analog/ \
-               http://analog.technomancer.com/ \
-               http://analog.wizard.net/ \
-               ftp://ftp.netcasting.net/pub/packages/analog/

 HOMEPAGE=      http://www.analog.cx/
-------------------------


# make fetch
===>  Checking files for analog-5.32p3
>> analog-5.32.tar.gz doesn't seem to exist on this system.
>> Attempting to fetch /usr/ports/distfiles/analog-5.32.tar.gz from
http://www.analog.cx/.
ftp: Error retrieving file: 404 Not Found
>> Attempting to fetch /usr/ports/distfiles/analog-5.32.tar.gz from
http://www.statslab.cam.ac.uk/~sret1/analog/.
100%
|***************************************************************************
****************************************************************************
*****************|  2251       00:00
>> Size does not match for /usr/ports/distfiles/analog-5.32.tar.gz
/bin/sh: test: 30000: unexpected operator/operand
*** Error code 2

Stop in /usr/ports/www/analog (line 1990 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/analog (line 1444 of
/usr/ports/infrastructure/mk/bsd.port.mk).

# wget http://www.statslab.cam.ac.uk/~sret1/analog/analog-5.32.tar.gz
--21:20:29--  http://www.statslab.cam.ac.uk/~sret1/analog/analog-5.32.tar.gz
           => `analog-5.32.tar.gz'
Resolving www.statslab.cam.ac.uk... 131.111.20.205
Connecting to www.statslab.cam.ac.uk|131.111.20.205|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://homepage.ntlworld.com/adelie/stephen/ [following]
--21:20:29--  http://homepage.ntlworld.com/adelie/stephen/
           => `index.html'
Resolving homepage.ntlworld.com... 62.253.162.178, 62.253.162.10,
62.253.162.11, ...
Connecting to homepage.ntlworld.com|62.253.162.178|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,251 (2.2K) [text/html]

100%[=======================================================================
============================================================================
=======>] 2,251         --.--K/s

21:20:29 (357.79 MB/s) - `index.html' saved [2251/2251]

Reply via email to