From owner-freebsd-ports@FreeBSD.ORG Wed May 31 09:21:39 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 B25DF16A42A for ; Wed, 31 May 2006 09:21:39 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail1out.barnet.com.au (mail1out.barnet.com.au [202.83.176.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D4B443D48 for ; Wed, 31 May 2006 09:21:35 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail1out.barnet.com.au (Postfix, from userid 27) id 0823B5CD003; Wed, 31 May 2006 19:21:34 +1000 (EST) X-Viruscan-Id: <447D601D0000B5056004B3@BarNet> Received: from k7.mavetju (unknown [10.251.1.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail1.barnet.com.au (Postfix) with ESMTP id 544075CD007; Wed, 31 May 2006 19:21:33 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 92F3E260; Wed, 31 May 2006 19:21:32 +1000 (EST) Date: Wed, 31 May 2006 19:21:32 +1000 From: Edwin Groothuis To: Nils Vogels Message-ID: <20060531092132.GJ1113@k7.mavetju> References: <447D4AA4.1000706@is-root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <447D4AA4.1000706@is-root.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ports@freebsd.org Subject: Re: SHA hash in distinfo X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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:21:39 -0000 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/