ports/89415: add some SHA256 sums
Vasil Dimov
vd at datamax.bg
Wed Nov 23 17:30:27 UTC 2005
The following reply was made to PR ports/89415; it has been noted by GNATS.
From: Vasil Dimov <vd at datamax.bg>
To: Pav Lucistnik <pav at FreeBSD.org>
Cc: bug-followup at 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--
More information about the freebsd-ports-bugs
mailing list