SHA hash in distinfo

Edwin Groothuis edwin at mavetju.org
Wed May 31 02:21:39 PDT 2006


On Wed, May 31, 2006 at 09:49:56AM +0200, Nils Vogels wrote:
> I'm a new maintainer and while updating some ports, I noticed that when
> running a "make makesum" to regenerate the distinfo files, the MD5 and
> SIZE paramaters are filled correctly, but for some reason the SHA1 is
> missing (which was added by a commiter, thanks btw)
> 
> I have the security/sha port installed, and when running the /sbin/sha1
> program, it seems to return the right results.
> Am I doing something wrong, is this a bug, or just a feature not yet
> implemented ? :-)

$ pwd
/home/edwin/cvs/ports/misc/zoneinfo
$ CHECKSUM_ALGORITHMS="md5 sha256 sha1" SHA1=`which sha1` make makesum
===>  Vulnerability check disabled, database not found
$ cat distinfo
MD5 (tzdata2006g.tar.gz) = fed13df17e2e386f4c31b0962d3ed356
SHA256 (tzdata2006g.tar.gz) = 028a5d8bc3771876cf43b497e8b8691acae8263af34b0a8de3e014f01a5558d0
SHA1 (tzdata2006g.tar.gz) = ecb25c4cc858f1bf3ec2be148d9d72e3563dbefb
SIZE (tzdata2006g.tar.gz) = 153042

Works like a charm :-)

But euhm... "make makesum" only does do size, md5 and sha256. That
are the default ones, and only the required ones at this moment.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/


More information about the freebsd-ports mailing list