Date: Thu, 29 Jan 2004 07:05:47 +0100 From: Marc van Woerkom <marc.vanwoerkom@fernuni-hagen.de> To: ports@freebsd.org Subject: SIZE criterion in distinfo Message-ID: <opr2iwjx1mdmv4ke@mailstore.fernuni-hagen.de>
next in thread | raw e-mail | index | archive | help
Hi porters, I just see there is a new criterion in distinfo: root@oranje# cat distinfo MD5 (xcdplayer-2.2.tar.Z) = d5d1d86abc4a0f5e2ea99a40ee63f98d SIZE (xcdplayer-2.2.tar.Z) = 89435 May I ask the rationale behind adding SIZE? According to http://www.faqs.org/rfcs/rfc1321.html ("3.2 Step 2. Append Length") the size of the input data is used in the calculation of the MD5 hash. In other words, if a fetched file has a different file length, than the original file, it will for sure have a different MD5 hash. So what is the benefit to have that SIZE checked? Regards, Marc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr2iwjx1mdmv4ke>