From owner-freebsd-ports@FreeBSD.ORG Wed May 31 09:41:12 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B33B16A52B for ; Wed, 31 May 2006 09:41:12 +0000 (UTC) (envelope-from nivo+sender+0820bd@is-root.com) Received: from ssdd.xs4all.nl (ssdd.xs4all.nl [195.64.89.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A20743D66 for ; Wed, 31 May 2006 09:41:02 +0000 (GMT) (envelope-from nivo+sender+0820bd@is-root.com) Received: from localhost (localhost [127.0.0.1]) by imhotep.yuckfou.org (Postfix) with ESMTP id 329ACCE for ; Wed, 31 May 2006 11:42:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at is-root.com X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from ssdd.xs4all.nl ([127.0.0.1]) by localhost (imhotep.is-root.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZlB4HfMGd+F4 for ; Wed, 31 May 2006 11:42:50 +0200 (CEST) Received: by imhotep.yuckfou.org (Postfix, from userid 1000) id 16C50C9; Wed, 31 May 2006 11:42:50 +0200 (CEST) Received: from [192.168.2.239] (turbata-xp.is-root.com [192.168.2.239]) by localhost.yuckfou.org (tmda-ofmipd) with ESMTP; Wed, 31 May 2006 11:42:48 +0200 (CEST) Message-ID: <447D6506.1040602@is-root.com> Date: Wed, 31 May 2006 11:42:30 +0200 Organization: IS-Root Internet Solutions User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <447D4AA4.1000706@is-root.com> <20060531092132.GJ1113@k7.mavetju> In-Reply-To: <20060531092132.GJ1113@k7.mavetju> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: Nils Vogels X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) X-TMDA-Fingerprint: TSdtA1pAIRI8VBIArE5bOxHIUPg Subject: Re: SHA hash in distinfo X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nils Vogels List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 09:41:19 -0000 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)