summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2021-11-20 18:06:13 +0000
committerrillig <rillig@pkgsrc.org>2021-11-20 18:06:13 +0000
commitb656a0f0813653a0a1825a4d5da345b0727f31b0 (patch)
treedbb183b215df5116943ba8b466eae3e387fe1a07 /pkgtools/pkglint
parentbfe954b06d11261d9fb89d383213156d97e4e512 (diff)
downloadpkgsrc-b656a0f0813653a0a1825a4d5da345b0727f31b0.tar.gz
pkgtools/pkglint: update to 21.3.4
Changes since 21.3.3: For wip packages, allow SHA1 to be used as digest algorithm. An example package that needs this is wip/doomlegacy-devel.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/distinfo.go4
2 files changed, 6 insertions, 2 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 8a44204bdc5..a59c534c334 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.703 2021/11/13 21:20:59 rillig Exp $
+# $NetBSD: Makefile,v 1.704 2021/11/20 18:06:13 rillig Exp $
-PKGNAME= pkglint-21.3.3
+PKGNAME= pkglint-21.3.4
CATEGORIES= pkgtools
DISTNAME= tools
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
diff --git a/pkgtools/pkglint/files/distinfo.go b/pkgtools/pkglint/files/distinfo.go
index d20655c51a1..94ecc4e22a3 100644
--- a/pkgtools/pkglint/files/distinfo.go
+++ b/pkgtools/pkglint/files/distinfo.go
@@ -153,6 +153,10 @@ func (ck *distinfoLinesChecker) checkAlgorithms(info distinfoFileInfo) {
// TODO: remove after 2021Q4. Until then, allow pkgsrc-wip to
// be used with the stable 2021Q3.
return
+ case G.Wip && algorithms == "SHA1, RMD160, SHA512, Size" && isPatch != yes:
+ // TODO: remove after 2021Q4. Until then, allow pkgsrc-wip to
+ // be used with the stable 2021Q3.
+ return
case G.Wip && algorithms == "SHA1, BLAKE2s, SHA512, Size" && isPatch != yes:
// TODO: remove after 2021Q4. Until then, allow pkgsrc-wip to
// be used with the stable 2021Q3.