From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 23 17:30:27 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 818DF16A420 for ; Wed, 23 Nov 2005 17:30:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4266F43D45 for ; Wed, 23 Nov 2005 17:30:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jANHUPPF078251 for ; Wed, 23 Nov 2005 17:30:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jANHUPYU078248; Wed, 23 Nov 2005 17:30:25 GMT (envelope-from gnats) Date: Wed, 23 Nov 2005 17:30:25 GMT Message-Id: <200511231730.jANHUPYU078248@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Vasil Dimov Cc: Subject: Re: ports/89415: add some SHA256 sums X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vasil Dimov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 17:30:27 -0000 The following reply was made to PR ports/89415; it has been noted by GNATS. From: Vasil Dimov To: Pav Lucistnik Cc: bug-followup@FreeBSD.org Subject: Re: ports/89415: add some SHA256 sums Date: Wed, 23 Nov 2005 19:29:48 +0200 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=cp-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 23, 2005 at 05:51:58PM +0100, Pav Lucistnik wrote: > Vasil Dimov p=ED=B9e v st 23. 11. 2005 v 18:48 +0200: >=20 > > Other solution is to leave the things as they are and use the widespread > > "do nothing" strategy :-) After all there are more important things to > > bother with, than the SHA256 sums. >=20 > Sounds best. >=20 > Also, could your tool be tailored to insert the lines to distinfo where > 'make makesum' would insert them, not on the end? >=20 Hmmz, I am little confused: if "do nothing" ``Sounds best'' why do you want me to change the sha256 checksums generation tool? Anyway if the order in distinfos is important (they are generated by machines and (mostly) read by machines) then the resulting distinfo files should be filtered through `sort -k 2,3 -k 1' like that: =2E.. sha256 $archive >> $distinfo sort -k 2,3 -k 1 $distinfo > ${distinfo}.tmp mv ${distinfo}.tmp $distinfo =2E.. Firstly sort by archive's name, than by the begging of line, luckily the lexical order: MD5 SHA256 SIZE is the desired order. --=20 Vasil Dimov --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFDhKcLFw6SP/bBpCARAo84AKCaGD7aOnTQsdq5Fno23c7uT+Q2CQCfRrJb sBKXuFhlfv5d60RBPoWckmI= =FwNN -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--