notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
lua-luacheck Linter and static analyzer for lua files
0.25.g20200825 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.25.g20200825Version of this port present on the latest quarterly branch.
Maintainer: kevans@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-02-22 14:35:46
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: MIT
WWW:
https://github.com/luarocks/luacheck
Description:
Luacheck is a static analyzer and a linter for Lua. Luacheck detects various issues such as usage of undefined global variables, unused variables and values, accessing uninitialized variables, unreachable code and more. Luacheck supports checking Lua files using syntax of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (61 items)
Collapse this list.
  1. /usr/local/share/licenses/lua54-luacheck-0.25.g20200825/catalog.mk
  2. /usr/local/share/licenses/lua54-luacheck-0.25.g20200825/LICENSE
  3. /usr/local/share/licenses/lua54-luacheck-0.25.g20200825/MIT
  4. bin/luacheck
  5. share/lua/5.4/luacheck/bin/luacheck.lua
  6. share/lua/5.4/luacheck/src/luacheck/builtin_standards/init.lua
  7. share/lua/5.4/luacheck/src/luacheck/builtin_standards/love.lua
  8. share/lua/5.4/luacheck/src/luacheck/builtin_standards/ngx.lua
  9. share/lua/5.4/luacheck/src/luacheck/cache.lua
  10. share/lua/5.4/luacheck/src/luacheck/check.lua
  11. share/lua/5.4/luacheck/src/luacheck/check_state.lua
  12. share/lua/5.4/luacheck/src/luacheck/config.lua
  13. share/lua/5.4/luacheck/src/luacheck/core_utils.lua
  14. share/lua/5.4/luacheck/src/luacheck/decoder.lua
  15. share/lua/5.4/luacheck/src/luacheck/expand_rockspec.lua
  16. share/lua/5.4/luacheck/src/luacheck/filter.lua
  17. share/lua/5.4/luacheck/src/luacheck/format.lua
  18. share/lua/5.4/luacheck/src/luacheck/fs.lua
  19. share/lua/5.4/luacheck/src/luacheck/globbing.lua
  20. share/lua/5.4/luacheck/src/luacheck/init.lua
  21. share/lua/5.4/luacheck/src/luacheck/lexer.lua
  22. share/lua/5.4/luacheck/src/luacheck/main.lua
  23. share/lua/5.4/luacheck/src/luacheck/multithreading.lua
  24. share/lua/5.4/luacheck/src/luacheck/options.lua
  25. share/lua/5.4/luacheck/src/luacheck/parser.lua
  26. share/lua/5.4/luacheck/src/luacheck/profiler.lua
  27. share/lua/5.4/luacheck/src/luacheck/runner.lua
  28. share/lua/5.4/luacheck/src/luacheck/serializer.lua
  29. share/lua/5.4/luacheck/src/luacheck/stages/detect_bad_whitespace.lua
  30. share/lua/5.4/luacheck/src/luacheck/stages/detect_cyclomatic_complexity.lua
  31. share/lua/5.4/luacheck/src/luacheck/stages/detect_empty_blocks.lua
  32. share/lua/5.4/luacheck/src/luacheck/stages/detect_empty_statements.lua
  33. share/lua/5.4/luacheck/src/luacheck/stages/detect_globals.lua
  34. share/lua/5.4/luacheck/src/luacheck/stages/detect_reversed_fornum_loops.lua
  35. share/lua/5.4/luacheck/src/luacheck/stages/detect_unbalanced_assignments.lua
  36. share/lua/5.4/luacheck/src/luacheck/stages/detect_uninit_accesses.lua
  37. share/lua/5.4/luacheck/src/luacheck/stages/detect_unreachable_code.lua
  38. share/lua/5.4/luacheck/src/luacheck/stages/detect_unused_fields.lua
  39. share/lua/5.4/luacheck/src/luacheck/stages/detect_unused_locals.lua
  40. share/lua/5.4/luacheck/src/luacheck/stages/init.lua
  41. share/lua/5.4/luacheck/src/luacheck/stages/linearize.lua
  42. share/lua/5.4/luacheck/src/luacheck/stages/name_functions.lua
  43. share/lua/5.4/luacheck/src/luacheck/stages/parse.lua
  44. share/lua/5.4/luacheck/src/luacheck/stages/parse_inline_options.lua
  45. share/lua/5.4/luacheck/src/luacheck/stages/resolve_locals.lua
  46. share/lua/5.4/luacheck/src/luacheck/stages/unwrap_parens.lua
  47. share/lua/5.4/luacheck/src/luacheck/standards.lua
  48. share/lua/5.4/luacheck/src/luacheck/unicode.lua
  49. share/lua/5.4/luacheck/src/luacheck/unicode_printability_boundaries.lua
  50. share/lua/5.4/luacheck/src/luacheck/utils.lua
  51. share/lua/5.4/luacheck/src/luacheck/vendor/sha1/LICENSE
  52. share/lua/5.4/luacheck/src/luacheck/vendor/sha1/bit32_ops.lua
  53. share/lua/5.4/luacheck/src/luacheck/vendor/sha1/bit_ops.lua
  54. share/lua/5.4/luacheck/src/luacheck/vendor/sha1/common.lua
  55. share/lua/5.4/luacheck/src/luacheck/vendor/sha1/init.lua
  56. share/lua/5.4/luacheck/src/luacheck/vendor/sha1/lua53_ops.lua
  57. share/lua/5.4/luacheck/src/luacheck/vendor/sha1/pure_lua_ops.lua
  58. share/lua/5.4/luacheck/src/luacheck/version.lua
  59. @owner
  60. @group
  61. @mode
Collapse this list.
Dependency lines:
  • lua54-luacheck>0:devel/lua-luacheck
To install the port:
cd /usr/ports/devel/lua-luacheck/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/lua-luacheck
  • pkg install lua54-luacheck
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lua54-luacheck
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1602514106 SHA256 (luarocks-luacheck-0.25.g20200825-4e5774169fa_GH0.tar.gz) = 1b9b487f18e00e5329536dc04d91e3fac785ea0217a9fa0f866e6822d5a8ef82 SIZE (luarocks-luacheck-0.25.g20200825-4e5774169fa_GH0.tar.gz) = 162593

Packages (timestamps in pop-ups are UTC):
lua52-luacheck
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.25.g20200825---0.25.g20200825-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 

lua54-luacheck
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.25.g202008250.25.g20200825-0.25.g202008250.25.g20200825---
FreeBSD:13:quarterly0.25.g202008250.25.g202008250.25.g202008250.25.g202008250.25.g202008250.25.g202008250.25.g202008250.25.g20200825
FreeBSD:14:latest0.25.g202008250.25.g202008250.25.g202008250.25.g202008250.25.g202008250.25.g20200825-0.25.g20200825
FreeBSD:14:quarterly0.25.g202008250.25.g20200825-0.25.g202008250.25.g202008250.25.g202008250.25.g202008250.25.g20200825
FreeBSD:15:latest0.25.g202008250.25.g20200825n/a0.25.g20200825n/a0.25.g202008250.25.g202008250.25.g20200825
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. argparse.lua : devel/lua-argparse@lua54
  2. lfs.so : devel/luafilesystem@lua54
Library dependencies:
  1. liblua-5.4.so : lang/lua54
This port is required by:
for Build
  1. dns/knot-resolver

Configuration Options:
No options to configure
Options name:
devel_lua-luacheck
USES:
lua
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/luarocks/luacheck/tar.gz/4e5774169fa?dummy=/
Collapse this list.

Number of commits found: 9

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.25.g20200825
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.25.g20200825
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.25.g20200825
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.25.g20200825
25 Oct 2020 03:36:31
Revision:553236Original commit files touched by this commit
kevans search for other commits by this committer
devel/lua-luacheck: specify ${LUA_FLAVOR} for lua-argparse dependency

While here, use the more appropriate LUA_REFMODSHAREDIR for describing
dependency location.
0.25.g20200825
15 Oct 2020 00:22:36
Revision:552364Original commit files touched by this commit
kevans search for other commits by this committer
devel/lua-luacheck: update to just before the unreleased 0.25.0

The intervening changes are many, with new checks and a switch to luarocks
as upstream. This intermediate version also contains some Lua 5.4 support.
Note that Lua 5.4 attributes are currently parsed, but ignored.

argparse is no longer bundled with luacheck, so we'll grab argparse from
devel/lua-argparse.

The build system in luacheck got removed in favor of just using luarocks.
This is currently incompatible with how ports wants to work, so I've changed
it to the simpler approach that was previously advised to just copy the src/
files over and now installing a script from FILESDIR that matches roughly
what we were ending up with before to get the correct package.path.

Miscellaneous indentation fixes included.
0.21.2
14 Apr 2020 15:49:37
Revision:531700Original commit files touched by this commit
mat search for other commits by this committer
USES=lua gained flavors.

Ports using USES=lua:module or lua:flavors will be flavored.  A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.

USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.

PR:		245038
Submitted by:	andrew tao11 riddles org uk
Reviewed by:	mat, kevans, russ haley gmail com
Approved by:	mat (portmgr)
Differential Revision:	https://reviews.freebsd.org/D16494
0.21.2
06 Oct 2019 13:47:07
Revision:513887Original commit files touched by this commit
tobik search for other commits by this committer
Drop nop NO_CONFIGURE
0.21.2
22 Feb 2018 14:35:31
Revision:462609Original commit files touched by this commit
kevans search for other commits by this committer
Add devel/lua-luacheck, linter and static analyzer for lua

Provides linting and static analysis for Lua 5.1, Lua 5.2, Lua 5.3 and
LuaJIT. A patch was required to allow luacheck and luacheck.lua to be
symlinked into ${PREFIX}/bin, which I have submitted upstream.

Checked with:	portlint
Tested with:	Poudriere (head, amd64)
Tested with:	Poudriere (stable/11, amd64)
Tested with:	Poudriere (11.1-R, i386) [lwhsu]
Tested with:	Poudriere (10.4-R, amd64+i386) [lwhsu]
Reviewed by:	lwhsu
Approved by:	lwhsu (ports)
Differential Revision:	https://reviews.freebsd.org/D14467

Number of commits found: 9