summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2020-10-13 11:16:19 +0000
committerjperkin <jperkin@pkgsrc.org>2020-10-13 11:16:19 +0000
commit4fa3ba32c29ccf818b011f24faee8c1820638c90 (patch)
tree6e59744e2de31960f0149442ad8bb828b6e27c8f /shells
parent0e4ed628dcd917abb3e69eeb87a7411c34fb520c (diff)
downloadpkgsrc-4fa3ba32c29ccf818b011f24faee8c1820638c90.tar.gz
shellcheck: Import version 0.7.1.
ShellCheck is a GPLv3 tool that gives warnings and suggestions for bash/sh shell scripts. The goals of ShellCheck are: * To point out and clarify typical beginner's syntax issues that cause a shell to give cryptic error messages. * To point out and clarify typical intermediate level semantic problems that cause a shell to behave strangely and counter-intuitively. * To point out subtle caveats, corner cases and pitfalls that may cause an advanced user's otherwise working script to fail under future circumstances.
Diffstat (limited to 'shells')
-rw-r--r--shells/shellcheck/DESCR16
-rw-r--r--shells/shellcheck/Makefile16
-rw-r--r--shells/shellcheck/distinfo6
3 files changed, 38 insertions, 0 deletions
diff --git a/shells/shellcheck/DESCR b/shells/shellcheck/DESCR
new file mode 100644
index 00000000000..bbf96412a98
--- /dev/null
+++ b/shells/shellcheck/DESCR
@@ -0,0 +1,16 @@
+ShellCheck - A shell script static analysis tool
+
+ShellCheck is a GPLv3 tool that gives warnings and suggestions for
+bash/sh shell scripts.
+
+The goals of ShellCheck are:
+
+* To point out and clarify typical beginner's syntax issues that cause
+ a shell to give cryptic error messages.
+
+* To point out and clarify typical intermediate level semantic problems
+ that cause a shell to behave strangely and counter-intuitively.
+
+* To point out subtle caveats, corner cases and pitfalls that may cause
+ an advanced user's otherwise working script to fail under future
+ circumstances.
diff --git a/shells/shellcheck/Makefile b/shells/shellcheck/Makefile
new file mode 100644
index 00000000000..1e35e76abcd
--- /dev/null
+++ b/shells/shellcheck/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/10/13 11:16:19 jperkin Exp $
+
+DISTNAME= ShellCheck-0.7.1
+PKGNAME= ${DISTNAME:tl}
+CATEGORIES= shells devel
+
+MAINTAINER= pkgsrc-users@pkgsrc.org
+COMMENT= Shell script analysis tool
+LICENSE= gnu-gpl-v3
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-QuickCheck/buildlink3.mk"
+.include "../../textproc/hs-Diff/buildlink3.mk"
+.include "../../textproc/hs-regex-tdfa/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/shells/shellcheck/distinfo b/shells/shellcheck/distinfo
new file mode 100644
index 00000000000..be0533c09a0
--- /dev/null
+++ b/shells/shellcheck/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/10/13 11:16:19 jperkin Exp $
+
+SHA1 (ShellCheck-0.7.1.tar.gz) = 52cb5785c68724353e98ed6de67b826aeb29e6e0
+RMD160 (ShellCheck-0.7.1.tar.gz) = 16c7012b91b0fbf5215ed8bc539079a21b202f22
+SHA512 (ShellCheck-0.7.1.tar.gz) = fc84bd67e30af1378a92c1e378693a2c181e9567d53f2590e76aedb9f607276b90abd2ac83818c36524bd77a480df347af5a0879a925a846f35440ab207fad8a
+Size (ShellCheck-0.7.1.tar.gz) = 163288 bytes