Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2005 17:30:25 GMT
From:      Vasil Dimov <vd@datamax.bg>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/89415: add some SHA256 sums
Message-ID:  <200511231730.jANHUPYU078248@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/89415; it has been noted by GNATS.

From: Vasil Dimov <vd@datamax.bg>
To: Pav Lucistnik <pav@FreeBSD.org>
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--



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