SIZE breaks makesum

Joe Marcus Clarke marcus at marcuscom.com
Thu Feb 12 14:24:19 PST 2004


On Thu, 2004-02-12 at 15:25, Dag-Erling Smørgrav wrote:
> If distinfo contains a SIZE line for the file you are trying to fetch
> (e.g. due to a previous failed attempt to download it), and it does
> not match the size of the actual file, 'make makesum' fails:

des, can you try the attached patch, and see if it helps you?  Thanks.

Joe

> 
> des at dwp /usr/ports/x11-servers/XFree86-4-Server-snap% cat distinfo
> MD5 (xc/XFree86-4.3.99.902.tar.bz2) = c314a3b5e00a095e6dc38a1e23f6381b
> SIZE (xc/XFree86-4.3.99.902.tar.bz2) = 2285568
> MD5 (xc/Wraphelp2.gz) = bd1910492087442288d885412e2e5535
> SIZE (xc/Wraphelp2.gz) = 3376
> des at dwp /usr/ports/x11-servers/XFree86-4-Server-snap% make makesum MASTER_SITE_OVERRIDE=ftp://sunsite.uio.no/pub/XFree86/develsnaps/
> ===>  Vulnerability check disabled
> >> XFree86-4.3.99.902.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/xc.
> >> Attempting to fetch from ftp://sunsite.uio.no/pub/XFree86/develsnaps/.
> fetch: ftp://sunsite.uio.no/pub/XFree86/develsnaps/XFree86-4.3.99.902.tar.bz2: size mismatch: expected 2285568, actual 41992616
> [...]
> 
> DES
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bsd.port.mk.diff
Type: text/x-patch
Size: 438 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040212/0a5e02d8/bsd.port.mk.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040212/0a5e02d8/attachment.bin


More information about the freebsd-ports mailing list