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 photos
All times are UTC
Ukraine
Port details
lua54 Powerful, efficient, lightweight, embeddable scripting language
5.4.8 lang on this many watch lists=10 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 5.4.8Version of this port present on the latest quarterly branch.
Maintainer: andrew@tao11.riddles.org.uk search for ports maintained by this maintainer
Port Added: 2020-10-15 17:55:29
Last Update: 2025-07-05 09:22:45
Commit Hash: 50f3581
People watching this port, also watch:: mpdecimal, libiconv, pkg, git, curl
License: MIT
WWW:
https://www.lua.org/
Description:
Lua is a programming language originally designed for extending applications, but also frequently used as a general-purpose, stand-alone language. Lua combines simple procedural syntax (similar to Pascal) with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid prototyping. A fundamental concept in the design of Lua is to provide meta-mechanisms for implementing features, instead of providing a host of features directly in the language. For example, although Lua is not a pure object-oriented language, it does provide meta-mechanisms for implementing classes and inheritance. Lua's meta-mechanisms bring an economy of concepts and keep the language small, while allowing the semantics to be extended in unconventional ways. Extensible semantics is a distinguishing feature of Lua. Lua is implemented as a small library of C functions, written in ANSI C, and compiles unmodified in all known platforms. The implementation goals are simplicity, efficiency, portability, and low embedding cost.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/lua54-5.4.8/catalog.mk
  3. /usr/local/share/licenses/lua54-5.4.8/LICENSE
  4. /usr/local/share/licenses/lua54-5.4.8/MIT
  5. bin/lua54
  6. bin/luac54
  7. include/lua54/lauxlib.h
  8. include/lua54/lua.h
  9. include/lua54/lua.hpp
  10. include/lua54/luaconf.h
  11. include/lua54/lualib.h
  12. lib/liblua-5.4.a
  13. lib/liblua-5.4.so
  14. libdata/pkgconfig/lua-5.4.pc
  15. share/man/man1/lua54.1.gz
  16. share/man/man1/luac54.1.gz
  17. @dir lib/lua/5.4
  18. @dir share/lua/5.4
  19. @owner
  20. @group
  21. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • lua54>0:lang/lua54
To install the port:
cd /usr/ports/lang/lua54/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/lua54
  • pkg install lua54
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lua54
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1751702639 SHA256 (lua-5.4.8.tar.gz) = 4f18ddae154e793e46eeab727c59ef1c0c0c2b744e7b94219710d76f530629ae SIZE (lua-5.4.8.tar.gz) = 374332

Packages (timestamps in pop-ups are UTC):
lua54
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.4.85.4.85.4.25.4.85.4.8n/an/an/a
FreeBSD:13:quarterly5.4.85.4.85.4.65.4.75.4.8n/an/an/a
FreeBSD:14:latest5.4.85.4.85.4.45.4.85.4.85.4.6-5.4.6
FreeBSD:14:quarterly5.4.85.4.8-5.4.75.4.85.4.65.4.65.4.6
FreeBSD:15:latest5.4.85.4.8n/a5.4.8n/an/a5.4.6_15.4.6_1
FreeBSD:15:quarterly5.4.85.4.8n/a-n/an/a--
FreeBSD:16:latest5.4.85.4.8n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Library dependencies:
  1. libedit.so.0 : devel/libedit
This port is required by:
for Build
  1. devel/swig
  2. devel/swig40
  3. dns/knot-resolver6
  4. lang/fennel
  5. net-im/prosody
  6. sysutils/ucored
for Libraries
  1. archivers/lua-zlib
  2. archivers/rpm4
  3. comms/tio
  4. converters/lua-iconv
  5. converters/osm2pgsql
  6. databases/lua-lsqlite3
  7. databases/lua-pgsql
Expand this list (126 items / 119 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/lua-xapian
  3. databases/luadbi
  4. databases/luasql-firebird
  5. databases/luasql-mysql
  6. databases/luasql-odbc
  7. databases/luasql-postgres
  8. databases/luasql-sqlite3
  9. databases/tokyotyrant
  10. devel/kyua
  11. devel/llvm-devel
  12. devel/llvm20
  13. devel/llvm21
  14. devel/llvm22
  15. devel/love10
  16. devel/lua-Penlight
  17. devel/lua-argparse
  18. devel/lua-bitlib
  19. devel/lua-bitop
  20. devel/lua-cjson
  21. devel/lua-cjson-openresty
  22. devel/lua-cqueues
  23. devel/lua-lgi
  24. devel/lua-libevent
  25. devel/lua-lpeg
  26. devel/lua-luacheck
  27. devel/lua-luarocks
  28. devel/lua-luastatic
  29. devel/lua-lunit
  30. devel/lua-lunitx
  31. devel/lua-posix
  32. devel/lua-stdlib
  33. devel/lua-stdlib-debug
  34. devel/lua-stdlib-normalize
  35. devel/lua-sysctl
  36. devel/luafilesystem
  37. devel/lutok
  38. devel/mfc-candidates
  39. devel/xmake-io
  40. dns/dnsdist
  41. dns/luaunbound
  42. dns/powerdns
  43. dns/powerdns-recursor
  44. editors/lite
  45. editors/lite-xl
  46. editors/mle
  47. editors/rehex
  48. editors/vis
  49. emulators/flycast
  50. emulators/mgba
  51. games/OpenTomb
  52. games/corsix-th
  53. games/etlegacy
  54. games/freeciv
  55. games/freeciv-nox11
  56. games/freeciv21
  57. games/jaggedalliance2
  58. games/megaglest
  59. games/onscripter
  60. games/onscripter-1byte
  61. games/stonesoup
  62. games/wesnoth
  63. games/xnethack
  64. graphics/darktable
  65. graphics/ipe
  66. graphics/lua-gd
  67. graphics/lua-qrencode
  68. graphics/xournalpp
  69. irc/dxirc
  70. irc/weechat
  71. lang/py-lupa
  72. lang/tolua
  73. mail/imapfilter
  74. mail/opendkim
  75. mail/opendkim-devel
  76. math/sc-im
  77. multimedia/obs-studio
  78. multimedia/vlc
  79. multimedia/wireplumber
  80. net/asterisk20
  81. net/asterisk22
  82. net/lua-luasocket
  83. net/lualdap
  84. net/msoak
  85. net/ntopng
  86. net/tinyfugue-devel
  87. net/zapret2
  88. net-im/telegram-cli
  89. science/axom
  90. science/orthanc
  91. science/serac
  92. science/spheral
  93. security/lua-argon2
  94. security/lua-bcrypt
  95. security/luasec
  96. sysutils/libdnf
  97. sysutils/lua-puremagic
  98. sysutils/porch
  99. sysutils/slurm-wlm
  100. sysutils/vtm
  101. textproc/highlight
  102. textproc/libucl
  103. textproc/lua-icu-utils
  104. textproc/lua-luaexpat
  105. textproc/lua-lyaml
  106. www/bozohttpd
  107. www/faup
  108. www/lighttpd
  109. www/osrm-backend
  110. www/tokyopromenade
  111. x11-wm/notion
  112. Collapse this list.

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. devel/freebsd-git-devtools*
  2. graphics/darktable38*
  3. graphics/darktable40*
  4. graphics/darktable42*
  5. net/asterisk16*
  6. net/asterisk18*
  7. net/luasocket*
  8. sysutils/orch*
  9. textproc/luaexpat*
  10. Collapse this list of deleted ports.
for Run
  1. converters/lua-json
  2. databases/xapian-bindings
  3. devel/sol2
  4. dns/knot-resolver6
  5. lang/fennel
  6. net-im/prosody

Configuration Options:
===> The following configuration options are available for lua54-5.4.8: ====> Documentation options DOCS=on: Install language and API reference (HTML, ~400kB) ====> Debugging options ASSERT=off: Enable interpreter assertions APICHECK=off: Enable API checks ====> Interactive command-line editing: you have to select exactly one of them EDITNONE=off: No command-line editing LIBEDIT_DL=on: Use dynamically loaded libedit (recommended) LIBEDIT=off: Use libedit (breaks lcurses) READLINE=off: Use GNU Readline (breaks lcurses) ===> Use 'make config' to modify these settings
Options name:
lang_lua54
USES:
cpe lua:core,54 libedit
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://www.lua.org/ftp/
Collapse this list.

Number of commits found: 14

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.4.8
05 Jul 2025 09:22:45
commit hash: 50f358177e38d12040142c07ff40c6f3f3a37365commit hash: 50f358177e38d12040142c07ff40c6f3f3a37365commit hash: 50f358177e38d12040142c07ff40c6f3f3a37365commit hash: 50f358177e38d12040142c07ff40c6f3f3a37365 files touched by this commit
Wen Heping (wen) search for other commits by this committer
lang/lua54: Updatte to 5.4.8

PR:		288019
Reported by:	wen@
Approved by:	maintainer
5.4.7
09 Sep 2024 20:37:13
commit hash: 108aa10056f015d49ae19d7bdc3d1d18190db3eccommit hash: 108aa10056f015d49ae19d7bdc3d1d18190db3eccommit hash: 108aa10056f015d49ae19d7bdc3d1d18190db3eccommit hash: 108aa10056f015d49ae19d7bdc3d1d18190db3ec files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Älven
lang/lua54: update 5.4.6 → 5.4.7

Changelog: https://www.lua.org/bugs.html#5.4.7
Commitlog: https://www.lua.org/work/diffs-lua-5.4.6-lua-5.4.7.html

PR:		280955
Approved by:	andrew@tao11.riddles.org.uk (maintainer, timeout > 14 days)
5.4.6_1
23 Mar 2024 11:19:32
commit hash: d7511b9d00742c3e2d57c6c03718c4a6f4cd3e72commit hash: d7511b9d00742c3e2d57c6c03718c4a6f4cd3e72commit hash: d7511b9d00742c3e2d57c6c03718c4a6f4cd3e72commit hash: d7511b9d00742c3e2d57c6c03718c4a6f4cd3e72 files touched by this commit
Tijl Coosemans (tijl) search for other commits by this committer
Mk/bsd.port.mk: Add __MAKE_CONF=${NONEXISTENT} to WRK_ENV

And remove it from individual ports.  Use WRK_ENV in custom build
commands where necessary.

FreeBSD make(1) includes /usr/share/mk/sys.mk and that includes
/etc/make.conf if it exists.  This happens when you run make in a port
directory but it also happens when the upstream build system uses make.
This commit disables make.conf inclusion in the latter case because
users can define variables like CFLAGS in make.conf that override ports
framework variables and this can cause problems that are difficult to
diagnose.

If there are any build customisations made through make.conf that stop
working because of this commit then they should be made available by the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
5.4.6_1
23 Jan 2024 14:51:23
commit hash: 577e953f2104305467c48a47d18f75eeba824e25commit hash: 577e953f2104305467c48a47d18f75eeba824e25commit hash: 577e953f2104305467c48a47d18f75eeba824e25commit hash: 577e953f2104305467c48a47d18f75eeba824e25 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/lua54: Impelled to share/man

Approved by:    portmgr (blanket)
5.4.6
08 Jun 2023 10:51:06
commit hash: b4c88d1e7141e4bfcd2a9651fc24922b5b1556fecommit hash: b4c88d1e7141e4bfcd2a9651fc24922b5b1556fecommit hash: b4c88d1e7141e4bfcd2a9651fc24922b5b1556fecommit hash: b4c88d1e7141e4bfcd2a9651fc24922b5b1556fe files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Andrew "RhodiumToad" Gierth
lang/lua54: update to 5.4.6

Submitter becomes maintainer.

5.4.6 fixes the following bugs in 5.4.4 and 5.4.5:

Lua 5.4.5:
    Changing the signature of 'lua_resetthread' broke ABI.

Lua 5.4.4:
    lua.c assumes that argv has at least one element.
    Lua can generate wrong code when _ENV is <const>.
    Wrong code generation for constants in bitwise operations.
    Lua-stack overflow when C stack overflows while handling an error.
    'lua_settop' may use a pointer to stack invalidated by 'luaF_close'.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
5.4.4
29 Nov 2022 09:24:55
commit hash: c8bef09e147ecae2926f545d602d2b1ca9ba1b0fcommit hash: c8bef09e147ecae2926f545d602d2b1ca9ba1b0fcommit hash: c8bef09e147ecae2926f545d602d2b1ca9ba1b0fcommit hash: c8bef09e147ecae2926f545d602d2b1ca9ba1b0f files touched by this commit
Koichiro Iwao (meta) search for other commits by this committer
lang/lua54: Update to 5.4.4

PR:		267430
Approved by:	maintainer timeout
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)
5.4.2
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)
5.4.2
31 Aug 2021 09:23:10
commit hash: d015b673ee59a11e4fe6579a8764ad53ed87f946commit hash: d015b673ee59a11e4fe6579a8764ad53ed87f946commit hash: d015b673ee59a11e4fe6579a8764ad53ed87f946commit hash: d015b673ee59a11e4fe6579a8764ad53ed87f946 files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
lang/lua54: Add CPE information

Approved by:    portmgr (blanket)
5.4.2
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
5.4.2
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.
5.4.2
09 Mar 2021 14:13:41
Revision:567933Original commit files touched by this commit
mat search for other commits by this committer
Remove occurrences of %%LUA_LIBDIR%%.

Differential Revision:	https://reviews.freebsd.org/D29138
5.4.2
13 Dec 2020 22:23:04
Revision:558061Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 5.4.2

Changes:	https://www.lua.org/versions.html
Differential Revision:	https://reviews.freebsd.org/D27589
Submitted by:	Russell Haley <russ.haley@gmail.com> (maintainer)
Reviewed by:	Andrew Gierth <andrew_tao173@riddles.org.uk>
5.4.1
15 Oct 2020 17:55:20
Revision:552438Original commit files touched by this commit
kevans search for other commits by this committer
[NEW PORT] lang/lua54 - Lua 5.4.1

Highlights for this version:
- new generational mode for garbage collection
- to-be-closed variables
- const variables
- complete list: https://www.lua.org/manual/5.4/readme.html#changes

The Lua Manual can be found here: https://www.lua.org/manual/5.4/

Incompatibilities from the previous version are specifically documented
here: https://www.lua.org/manual/5.4/manual.html#8

Submitted by:	Russ Haley <russ haley gmail com>
Co-submitted by:	Andrew Gierth <andrew_tao173 riddles org uk>
Differential Revision:	https://reviews.freebsd.org/D14709

Number of commits found: 14