HomeFreeBSD

Mk/Uses/go.mk: Be more lenient about vendoring

Description

Mk/Uses/go.mk: Be more lenient about vendoring

Add flag to go mod vendor instructing it to proceed despite errors
encountered while loading packages. This will allow build to continue
(with warnings) when e.g. upstream ships outdated go.sum with missing
checksums for some packages. Invalid checksums are still security
errors [1].

While here, add additional module cache revalidation after fetching
dependencies.

[1] https://go.dev/ref/mod#authenticating

Details

Provenance
dmgkAuthored on May 5 2022, 11:12 AM
Parents
R11:d2ed2b98e264: www/nextcloud: PHP 8.1 compat
Branches
Unknown
Tags
Unknown