Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2006 11:42:30 +0200
From:      Nils Vogels <nivo+sender+0820bd@is-root.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: SHA hash in distinfo
Message-ID:  <447D6506.1040602@is-root.com>
In-Reply-To: <20060531092132.GJ1113@k7.mavetju>
References:  <447D4AA4.1000706@is-root.com> <20060531092132.GJ1113@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Groothuis wrote on 31-05-2006 11:21:
> 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.
>   
Ah, well in that case s/SHA1/SHA256/g my mail please ;)

For some reason my install is not picking up the SHA256 requirement,
could it be because I'm running on 5.x ?

Greets,

Nils

-- 
Those who desire to give up freedom in order to gain security, will not have, nor do they deserve, either one.

~Benjamin Franklin (American Statesman, Scientist, Philosopher, Printer, Writer and Inventor. 1706-1790)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447D6506.1040602>