NetBSD Problem Report #7787
Received: (qmail 7437 invoked from network); 16 Jun 1999 06:39:27 -0000
Message-Id: <199906160639.XAA27025@nooksack.ldc.cs.wwu.edu>
Date: Tue, 15 Jun 1999 23:39:25 -0700 (PDT)
From: johnr@spimageworks.com
Reply-To: johnr@spimageworks.com
To: gnats-bugs@gnats.netbsd.org
Subject: "make fetch" should verify the file is correct (md5) after fetching
X-Send-Pr-Version: www-1.0
>Number: 7787
>Category: pkg
>Synopsis: "make fetch" should verify the file is correct (md5) after fetching
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: agc
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jun 15 23:50:01 +0000 1999
>Closed-Date: Wed Jun 16 07:01:33 +0000 1999
>Last-Modified: Wed Jun 16 07:04:10 +0000 1999
>Originator: John Refling
>Release: 1.4 release
>Organization:
>Environment:
sparc
>Description:
In cases when one has limited internet access, it is nice to make a
script of packages you wish to fetch, all at once, then compile them
later. When one uses a ftp_proxy server, it is possible for the
FTP to fail, but a file by the name of whatever-123.tar.gz appears in
the distfiles directory. That file usually contains an html document
saying something on the order of ".... too many ftp users, etc, etc".
It is not until you get the entire mess home, off the internet, and
do a make, that you find out the the FTP, even though it apprears to
have retreived the file, did not retreive the correct contents.
>How-To-Repeat:
>Fix:
Need to ensure that the "fetched" files are indeed downloaded as
expected by verifying their MD5 checksums immediately after downloading.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: agc
State-Changed-When: Wed Jun 16 00:01:33 PDT 1999
State-Changed-Why:
agc closed the PR. If the variable FAILOVER_FETCH is set, either in the
environment, or, preferably, /etc/mk.conf, then the desired effect will
be achieved. To quote from pkgsrc/mk/mk.conf.example:
#FAILOVER_FETCH= yes # Perform a checksum at "make fetch" time.
# If the checksum doesn't match the stored
# value, try to retrieve the file from the
# next site in the list
# Possible: set, not set
# Default: not set
Responsible-Changed-From-To: pkg-manager->agc
Responsible-Changed-By: agc
Responsible-Changed-When: Wed Jun 16 00:01:33 PDT 1999
Responsible-Changed-Why:
agc took responsibility for this PR.
From: Jim Bernard <jbernard@ox.mines.edu>
To: johnr@spimageworks.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/7787: "make fetch" should verify the file is correct (md5) after fetching
Date: Wed, 16 Jun 1999 13:08:36 -0600
On Tue, Jun 15, 1999 at 11:39:25PM -0700, johnr@spimageworks.com wrote:
>
> >Number: 7787
> >Category: pkg
> >Synopsis: "make fetch" should verify the file is correct (md5) after fetching
> >Arrival-Date: Tue Jun 15 23:50:01 1999
> >Originator: John Refling
> >Release: 1.4 release
>
> >Description:
> In cases when one has limited internet access, it is nice to make a
> script of packages you wish to fetch, all at once, then compile them
> later. When one uses a ftp_proxy server, it is possible for the
> FTP to fail, but a file by the name of whatever-123.tar.gz appears in
> the distfiles directory. That file usually contains an html document
> saying something on the order of ".... too many ftp users, etc, etc".
Did you set "FAILOVER_FETCH=yes" in /etc/mk.conf? That's supposed to
cause the checksum to be verified at fetch time, with retries from other
sites if the checksum doesn't match.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.