tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Adding SHA-512 to the list of digests
I decided that the changes to digest could be done in parallel with
everything else, as it's the adoption of the new digest that will take
time.
Accordingly, please find the proposed changes at
http://ftp.netbsd.org/pub/pkgsrc/misc/agc/digest-20151008.diff
Changes from previous version (20121220):
* version 20151008
+ Add blake2b and sha3 (keccak) 224/256/384/512 digests
(implementations in portable C by Taylor Campbell, munged slightly by
myself)
+ Move to a 2-clause BSD license for my own code
All comments gratefully received.
Thanks,
Alistair
On 8 October 2015 at 14:45, Alistair Crooks <agc%pkgsrc.org@localhost> wrote:
> That's part of the mop up operation, and I wouldn't want a reliance on
> this to preclude adding SHA512 digests for every new/updated package.
>
> Now my memory's still pretty good, but the corner cases when we (skrll
> and myself) did this the last time around were the optional distfiles
> that could be added, and the other-platform distfiles which could be
> downloaded - I don't think these get downloaded automatically to the
> mirrors (although I could be wrong, I think they just get the host
> platform distfiles with default options).
>
> Having said all that, your suggestion is by far the best way to hit
> the vast majority of distfiles, and makes for a much easier way to do
> the bulk of the distinfo file entries.
>
> Thanks,
> Alistair
>
> On 8 October 2015 at 14:14, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
>> On Thu, Oct 08, 2015 at 11:21:55AM -0700, Alistair Crooks wrote:
>>> In this way, pkgsrc distinfo files will be updated over time to have 3
>>> digests, with a mopping up operation for some of the packages which
>>> aren't so volatile.
>>
>> I'd like to see someone prepare a script to semi-automatically update
>> all the distinfo files first. E.g. assuming access to a distinfo mirror,
>> build a table with file size and all interesting digests and then just
>> go over the distinfo files and patch them up.
>>
>> Joerg
>>
Home |
Main Index |
Thread Index |
Old Index