summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2022-02-12 05:34:24 +0000
committerpho <pho@pkgsrc.org>2022-02-12 05:34:24 +0000
commit583b194e1e52882f66bdd951a435da294ca02383 (patch)
treef9839af561408c83de058c452b11820cf16a201f /shells
parent73070610a9eefdd35d0e457aeb194c66ad98991e (diff)
downloadpkgsrc-583b194e1e52882f66bdd951a435da294ca02383.tar.gz
Update to shellcheck-0.8.0
v0.8.0 - 2021-11-06 Added * disable=all now conveniently disables all warnings * external-sources=true directive can be added to .shellcheckrc to make shellcheck behave as if -x was specified. * Optional check-extra-masked-returns for pointing out commands with suppressed exit codes (SC2312). * Optional require-double-brackets for recommending [[ ]] (SC2292). * SC2286-SC2288: Warn when command name ends in a symbol like /.)'" * SC2289: Warn when command name contains tabs or linefeeds * SC2291: Warn about repeated unquoted spaces between words in echo * SC2292: Suggest [[ over [ in Bash/Ksh scripts (optional) * SC2293/SC2294: Warn when calling eval with arrays * SC2295: Warn about "\({x#\)y}" treating $y as a pattern when not quoted * SC2296-SC2301: Improved warnings for bad parameter expansions * SC2302/SC2303: Warn about loops over array values when using them as keys * SC2304-SC2306: Warn about unquoted globs in expr arguments * SC2307: Warn about insufficient number of arguments to expr * SC2308: Suggest other approaches for non-standard expr extensions * SC2313: Warn about read with unquoted, array indexed variable Fixed * SC2102 about repetitions in ranges no longer triggers on [[ -v arr[xx] ]] * SC2155 now recognizes typeset and local read-only declare statements * SC2181 now tries to avoid triggering for error handling functions * SC2290: Warn about misused = in declare & co, which were not caught by SC2270+ * The flag --color=auto no longer outputs color when TERM is "dumb" or unset Changed * SC2048: Warning about $* now also applies to ${array[*]} * SC2181 now only triggers on single condition tests like [ $? = 0 ]. * Quote warnings are now emitted for declaration utilities in sh * Leading _ can now be used to suppress warnings about unused variables * TTY output now includes warning level in text as well as color Removed * SC1004: Literal backslash+linefeed in '' was found to be usually correct
Diffstat (limited to 'shells')
-rw-r--r--shells/shellcheck/Makefile5
-rw-r--r--shells/shellcheck/PLIST4
-rw-r--r--shells/shellcheck/distinfo8
3 files changed, 9 insertions, 8 deletions
diff --git a/shells/shellcheck/Makefile b/shells/shellcheck/Makefile
index 36e15241fe6..c77df2370f6 100644
--- a/shells/shellcheck/Makefile
+++ b/shells/shellcheck/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/01/18 02:48:22 pho Exp $
+# $NetBSD: Makefile,v 1.6 2022/02/12 05:34:24 pho Exp $
-DISTNAME= ShellCheck-0.7.2
+DISTNAME= ShellCheck-0.8.0
PKGNAME= ${DISTNAME:tl}
-PKGREVISION= 2
CATEGORIES= shells devel
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/shells/shellcheck/PLIST b/shells/shellcheck/PLIST
index 991064df705..d88efa00d8f 100644
--- a/shells/shellcheck/PLIST
+++ b/shells/shellcheck/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/04/24 13:51:23 pho Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/02/12 05:34:24 pho Exp $
bin/shellcheck
lib/ShellCheck-${PKGVERSION}/${HS_VERSION}/package-description
lib/ShellCheck-${PKGVERSION}/${HS_VERSION}/package-id
@@ -75,6 +75,8 @@ lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/CHANGELOG.md
+share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/README.md
share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/ShellCheck-AST.html
share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/ShellCheck-ASTLib.html
share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/ShellCheck-Analytics.html
diff --git a/shells/shellcheck/distinfo b/shells/shellcheck/distinfo
index d9e0b6dfb84..ec8194a7029 100644
--- a/shells/shellcheck/distinfo
+++ b/shells/shellcheck/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:18:39 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/02/12 05:34:24 pho Exp $
-BLAKE2s (ShellCheck-0.7.2.tar.gz) = fd53c14cfa96337601ef28e4c60f4e8c10b96a8e663448e44947c8155d6e84cb
-SHA512 (ShellCheck-0.7.2.tar.gz) = ec77038763b3520deef3838d0f51f06bc3d755945f519b19be09765b3122f0251f00cd4907cb60c38612161b0c03f73025e0f52b3c47e22855f0b0e3ff5f81c5
-Size (ShellCheck-0.7.2.tar.gz) = 173937 bytes
+BLAKE2s (ShellCheck-0.8.0.tar.gz) = c6378fb7d5f224ffb37721e1cf63ba143427c8d752201ba9c6a44e2915283356
+SHA512 (ShellCheck-0.8.0.tar.gz) = 62de6241502fd9e1bb45b224ff5eaf27def9938f5e4ed8345f8173b0be8f9bb7511d8ccc1d1779da319a32843bbf005415c3fcd5b902293e037d44495ec5bb54
+Size (ShellCheck-0.8.0.tar.gz) = 194817 bytes