Date: Wed, 31 May 2006 19:21:32 +1000 From: Edwin Groothuis <edwin@mavetju.org> To: Nils Vogels <nivo+d+1149666616.b602e4@is-root.com> Cc: freebsd-ports@freebsd.org Subject: Re: SHA hash in distinfo Message-ID: <20060531092132.GJ1113@k7.mavetju> In-Reply-To: <447D4AA4.1000706@is-root.com> References: <447D4AA4.1000706@is-root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060531092132.GJ1113>