Subject: Re: new message digest support in pkgsrc
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Frederick Bruckman <fb@enteract.com>
List: tech-pkg
Date: 03/07/2001 09:53:19
On Wed, 7 Mar 2001, Hubert Feyrer wrote:
> On Wed, 7 Mar 2001, Frederick Bruckman wrote:
> > Ah. I just updated pkgsrc/mk, pkgsrc/pkgtools/pkg_install,
> > pkgsrc/pkgtools/digest and successfully updated both tools on a 1.4.3
> > system with only minor wierdness: "make checksum" failed over to
> > ftp.freebsd.org after downloading from ftp.netbsd.org the first time,
> > and failed (of course), but then, the second time, "make checksum"
> > worked, and the package built OK.
>
> Let me guess: the second time the (formerly reported as broken) distfile
> is already on your system, and checksum then takes another road?
Yes, exactly.
> I have the feeling that there's something fishy in _FETCH_FILE, printing
> out CHECKSUM and CHECKSUM2, I get:
>
> 221 Thank you for using the FTP service on ftp.netbsd.org.
> HF: CKSUM='29074c586d432087b08d492f116726aad26fd426'; CKSUM2=''
> => Checksum failure - trying next site.
> => Attempting to fetch tcsh-6.10.tar.gz from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
>
> More digging...
Yah, it does this everywhere -- "make fetch" or "make checksum".
Frederick