pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/mk/checksum



Thanks.

I thought you were keeping RMD160, and replacing SHA1 with blake2s?

Looks like you need to bump DIGEST_REQD too - from a freshly updated pkgsrc:

[2021/10/26 Tue 11:02:09] agc@netbsd-002 ...pkgsrc/misc/libutf [9835] > make
=> Bootstrap dependency digest>=20010302: found digest-20190127
WARNING: [license.mk] Every package should define a LICENSE.
No such algorithm `BLAKE2s'
checksum: Checksum BLAKE2s mismatch for libutf-3.0.tar.gz
ERROR: Make sure the Makefile and checksum file (/usr/pkgsrc/misc/libutf/distinfo)
ERROR: are up to date.  If you want to override this check, type
ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/libutf
[2021/10/26 Tue 11:02:14] agc@netbsd-002 ...pkgsrc/misc/libutf [9836] > digest -V
20190127
[2021/10/26 Tue 11:02:27] agc@netbsd-002 ...pkgsrc/misc/libutf [9837] > grep -r 'DIGEST.*REQD' ../../mk
../../mk/tools/digest.mk:#      DIGEST_REQD is the minimum version of digest required.
../../mk/tools/digest.mk:DIGEST_REQD?=          20010302
../../mk/tools/digest.mk:       if ${PKG_ADMIN} pmatch "digest>="${DIGEST_REQD:Q}               \
../../mk/tools/digest.mk:TOOLS_DEPENDS.digest?= digest>=${DIGEST_REQD}:../../pkgtools/digest
[2021/10/26 Tue 11:04:14] agc@netbsd-002 ...pkgsrc/misc/libutf [9838] >


On Tue, 26 Oct 2021 at 02:06, Nia Alarie <nia%netbsd.org@localhost> wrote:
Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Oct 26 09:06:06 UTC 2021

Modified Files:
        pkgsrc/mk/checksum: checksum.mk

Log Message:
mk: Replace RMD160 as a default distfile hash with BLAKE2s


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/mk/checksum/checksum.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index