The NetBSD Project

CVS log for pkgsrc/shells/shellcheck/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / shells / shellcheck

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Mar 5 03:39:51 2025 UTC (2 weeks, 2 days ago) by pho
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
recursive revbump after patching lang/ghc910

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Feb 2 13:05:45 2025 UTC (6 weeks, 5 days ago) by pho
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Bump all Haskell packages after switching the default compiler.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Feb 1 14:52:35 2025 UTC (6 weeks, 6 days ago) by pho
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
shells/shellcheck: Fix build with GHC 9.10

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu May 9 01:32:34 2024 UTC (10 months, 1 week ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
Recursive revbump after changing the default Haskell compiler

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu May 2 07:51:56 2024 UTC (10 months, 2 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -4 lines
shells/shellcheck: Fix build with GHC 9.8

This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Apr 12 13:51:28 2024 UTC (11 months, 1 week ago) by nikita
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -3 lines
shellcheck: update to version 0.10.0

Changelog:

## v0.10.0 - 2024-03-07
### Added
- Precompiled binaries for macOS ARM64 (darwin.aarch64)
- Added support for busybox sh
- Added flag --rcfile to specify an rc file by name.
- Added `extended-analysis=true` directive to enable/disable dataflow analysis
  (with a corresponding --extended-analysis flag).
- SC2324: Warn when x+=1 appends instead of increments
- SC2325: Warn about multiple `!`s in dash/sh.
- SC2326: Warn about `foo | ! bar` in bash/dash/sh.
- SC3012: Warn about lexicographic-compare bashism in test like in [ ]
- SC3013: Warn bashism `test _ -op/-nt/-ef _` like in [ ]
- SC3014: Warn bashism `test _ == _` like in [ ]
- SC3015: Warn bashism `test _ =~ _` like in [ ]
- SC3016: Warn bashism `test -v _` like in [ ]
- SC3017: Warn bashism `test -a _` like in [ ]

### Fixed
- source statements with here docs now work correctly
- "(Array.!): undefined array element" error should no longer occur

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Nov 2 06:37:22 2023 UTC (16 months, 2 weeks ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Revbump all Haskell after updating lang/ghc96

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Oct 30 09:39:07 2023 UTC (16 months, 3 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -1 lines
shells/shellcheck: Fix build with GHC 9.6

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Oct 9 04:54:45 2023 UTC (17 months, 1 week ago) by pho
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Bump Haskell packages after updating lang/ghc94

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Feb 7 01:41:05 2023 UTC (2 years, 1 month ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
revbump all the Haskell packages after modifying the runtime system of lang/ghc94

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Jan 16 16:43:24 2023 UTC (2 years, 2 months ago) by nikita
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
shellcheck: update to version 0.9.0

ChangeLog:

v0.9.0 - 2022-12-12
Added
    SC2316: Warn about 'local readonly foo' and similar (thanks, patrickxia!)
    SC2317: Warn about unreachable commands
    SC2318: Warn about backreferences in 'declare x=1 y=$x'
    SC2319/SC2320: Warn when $? refers to echo/printf/[ ]/[[ ]]/test
    SC2321: Suggest removing ((..))inarray[((idx))]=val
    SC2322: Suggest collapsing double parentheses in arithmetic contexts
    SC2323: Suggest removing wrapping parentheses in a[(x+1)]=val

Fixed
    SC2086: Now uses DFA to make more accurate predictions about values
    SC2086: No longer warns about values declared as integer with declare -i

Changed
    ShellCheck now has a Data Flow Analysis engine to make smarter decisions
    based on control flow rather than just syntax. Existing checks will
    gradually start using it, which may cause them to trigger differently
    (but more accurately).
    Values in directives/shellcheckrc can now be quoted with '' or ""

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Aug 20 08:08:24 2022 UTC (2 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
hs*: recursive bump for new dependencies needed

for hs-aeson, hs-vector

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Feb 26 03:58:22 2022 UTC (3 years ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Feb 12 08:50:48 2022 UTC (3 years, 1 month ago) by pho
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
revbump after changing the default Haskell compiler

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Feb 12 05:34:24 2022 UTC (3 years, 1 month ago) by pho
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -3 lines
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

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jan 18 02:48:22 2022 UTC (3 years, 2 months ago) by pho
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Bump packages that depends on GHC

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon May 3 19:01:11 2021 UTC (3 years, 10 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
*: Bump PKGREVISION for ghc-9.0.1

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 24 13:51:23 2021 UTC (3 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
Update to ShellCheck-0.7.2

No change logs are provided by the upstream.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Oct 14 00:23:34 2020 UTC (4 years, 5 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
shellcheck: add $HOMEPAGE

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Oct 13 11:16:19 2020 UTC (4 years, 5 months ago) by jperkin
Branches: MAIN
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>