From owner-freebsd-ports Tue Sep 22 17:16:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08067 for freebsd-ports-outgoing; Tue, 22 Sep 1998 17:16:11 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA07956; Tue, 22 Sep 1998 17:15:47 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca3-55.ix.netcom.com [209.109.233.55]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id RAA17552; Tue, 22 Sep 1998 17:15:03 -0700 (PDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id RAA09344; Tue, 22 Sep 1998 17:14:58 -0700 (PDT) Date: Tue, 22 Sep 1998 17:14:58 -0700 (PDT) Message-Id: <199809230014.RAA09344@silvia.hip.berkeley.edu> To: ady@warpnet.ro CC: ports@FreeBSD.ORG, se@FreeBSD.ORG In-reply-to: (message from Adrian Penisoara on Tue, 22 Sep 1998 22:53:36 +0300 (EEST)) Subject: Re: fetch + size From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * > (1) The -S flag of "fetch" just went into -current, if it doesn't work * > as well as it's supposed to this might cause a great instability * > in ports * * This won't help too many people as for the moment I assume that the vast * majority of FreeBSD production machines run 2.2-stable... * And if it might be buggy in bleeding edge -current... Sorry, I forgot to mention that it will be merged to -stable soon. * > (2) The patch adds a SIZE line to files/md5. That is quite * > displeasing aesthetically (there's a reason why the file was * > called "md5" in the first place...) * * I don't see how a file with different size would have the same MD5 * checksum !... * Why should we need a SIZE line on top of the MD5 checksum ? Sorry, forgot to mention that too. The point is that if there is a master site with a different file but with the same name, fetch can (usually) tell right away that the size is wrong. On the other hand, you will have to fetch the whole file to see that the checksum is wrong (at which point the fetch loop will terminate with an error). This will help in cases where there are multiple master sites and only a few have the correct file. Then the new "fetch" will return an error for size mismatch and bsd.port.mk will try to continue on a new site. Stefan, did I get that right? Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message