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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
lua53 Powerful, efficient, lightweight, embeddable scripting language
5.3.6_1 lang on this many watch lists=14 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.3.6Version of this port present on the latest quarterly branch.
Maintainer: russ.haley@gmail.com search for ports maintained by this maintainer
Port Added: 2015-01-17 02:20:10
Last Update: 2024-03-23 11:19:32
Commit Hash: d7511b9
People watching this port, also watch:: sqlite3, gnutls, libunistring, libedit, expat
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:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/lua53-5.3.6_1/catalog.mk
  3. /usr/local/share/licenses/lua53-5.3.6_1/LICENSE
  4. /usr/local/share/licenses/lua53-5.3.6_1/MIT
  5. bin/lua53
  6. bin/luac53
  7. include/lua53/lauxlib.h
  8. include/lua53/lua.h
  9. include/lua53/lua.hpp
  10. include/lua53/luaconf.h
  11. include/lua53/lualib.h
  12. lib/liblua-5.3.a
  13. lib/liblua-5.3.so
  14. libdata/pkgconfig/lua-5.3.pc
  15. share/man/man1/lua53.1.gz
  16. share/man/man1/luac53.1.gz
  17. @dir lib/lua/5.3
  18. @dir share/lua/5.3
  19. @owner
  20. @group
  21. @mode
Collapse this list.
Dependency lines:
  • lua53>0:lang/lua53
To install the port:
cd /usr/ports/lang/lua53/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/lua53
  • pkg install lua53
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lua53
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1601041108 SHA256 (lua-5.3.6.tar.gz) = fc5fd69bb8736323f026672b1b7235da613d7177e72558893a0bdcd320466d60 SIZE (lua-5.3.6.tar.gz) = 303770

Packages (timestamps in pop-ups are UTC):
lua53
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.3.6_15.3.6_15.3.65.3.6_15.3.6_1-5.3.6-
FreeBSD:13:quarterly5.3.65.3.65.3.65.3.65.3.65.3.65.3.65.3.6
FreeBSD:14:latest5.3.6_15.3.6_15.3.65.3.6_15.3.6_15.3.6-5.3.6
FreeBSD:14:quarterly5.3.65.3.6-5.3.65.3.65.3.65.3.65.3.6
FreeBSD:15:latest5.3.6_15.3.6_1n/a5.3.6_1n/a5.3.6_15.3.6_15.3.6_1
FreeBSD:15:quarterly--n/a-n/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 Libraries
  1. archivers/urbackup-server
  2. devel/llvm-devel
  3. devel/llvm12
  4. devel/llvm13
  5. devel/llvm14
  6. devel/llvm15
  7. devel/llvm16
Expand this list (35 items / 28 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/llvm17
  3. devel/llvm18
  4. editors/rehex
  5. emulators/tic-80
  6. games/freeciv
  7. games/freeciv-nox11
  8. games/freedroidrpg
  9. games/irrlamb
  10. games/meandmyshadow
  11. games/nlarn
  12. graphics/geeqie
  13. graphics/simpleitk
  14. math/gnuplot
  15. misc/lxi-tools
  16. net/freeswitch
  17. net/tinyfugue-devel
  18. sysutils/conky
  19. sysutils/conky-awesome
  20. sysutils/lsyncd
  21. sysutils/vector
  22. textproc/fcitx5-lua
  23. www/domoticz
  24. www/osrm-backend
  25. x11-toolkits/termit
  26. x11-wm/awesome
  27. Collapse this list.

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. games/libretro-cores*
  2. graphics/geeqie-devel*
  3. net/luasocket-53*
  4. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for lua53-5.3.6_1: ====> 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_lua53
USES:
cpe lua:core,53 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: 33

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.3.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.3.6_1
23 Jan 2024 14:51:23
commit hash: 0169c1a80e4950c8e62d17036f197ea04c25b24bcommit hash: 0169c1a80e4950c8e62d17036f197ea04c25b24bcommit hash: 0169c1a80e4950c8e62d17036f197ea04c25b24bcommit hash: 0169c1a80e4950c8e62d17036f197ea04c25b24b files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/lua53: Impelled to share/man

Approved by:    portmgr (blanket)
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.3.6
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.3.6
20 Jul 2022 14:22:15
commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
lang: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alonso Cardenas Marquez <acm@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrey Zakhvatov
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Anton Berezin <tobez@tobez.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
5.3.6
31 Aug 2021 09:23:10
commit hash: 5ead9ce535762bfb3bbd98f1f166ad19b53628e3commit hash: 5ead9ce535762bfb3bbd98f1f166ad19b53628e3commit hash: 5ead9ce535762bfb3bbd98f1f166ad19b53628e3commit hash: 5ead9ce535762bfb3bbd98f1f166ad19b53628e3 files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
lang/lua53: Add CPE information

Approved by:    portmgr (blanket)
5.3.6
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.3.6
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.3.6
15 Oct 2020 17:28:23
Revision:552431Original commit files touched by this commit
kevans search for other commits by this committer
lang/lua53: update to 5.3.6

This release fixes all bugs listed here: https://www.lua.org/bugs.html#5.3.5

While we're here, do some cleanup work in preparation for an impending
lang/lua54 port:

- Various reordering to appease portclippy
- The patch to src/Makefile has been renamed to match the standard naming
  convention since it was relatively close
- Use ${LUA_VER_STR} in place of again writing out the version string
- Use various LUA_* substitutions in the plist to reduce change on new
  versions

The latter two have actually been backported from the submitted lua54 port
in D14709, rather than being included in the original submission, to make
the diff between lang/lua53 and lang/lua54 more obvious.

Submitted by:	Russ Haley <russ haley gmail com>
Submitted with:	Andrew Gierth <andrew_tao173 riddles org uk>
Differential Revision:	https://reviews.freebsd.org/D25797
5.3.5_3
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
5.3.5_3
03 May 2019 11:50:24
Revision:500722Original commit files touched by this commit
swills search for other commits by this committer
lang/lua53: move assertion to correct place

PR:		236891
Submitted by:	andrew@tao11.riddles.org.uk
Approved by:	Russell Haley <russ.haley@gmail.com> (maintainer)
5.3.5_2
09 Apr 2019 14:04:50
Revision:498476Original commit files touched by this commit
sunpoet search for other commits by this committer
Update devel/readline to 8.0

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
5.3.5_1
21 Mar 2019 16:26:39
Revision:496471Original commit files touched by this commit
dbn search for other commits by this committer
lang/lua: workaround dlopen/libthr bug on FreeBSD 12

Submitted by:	Russel Haley <russ.haley@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D18939
5.3.5
30 Aug 2018 04:05:08
Revision:478429Original commit files touched by this commit
danfe search for other commits by this committer
Remove redundant DOCS, NLS, EXAMPLES, and IPV6 from OPTIONS_DEFAULT as they
are put there by the framework (see line 200 of Mk/bsd.options.mk), except
for `finance/quantlib' which makes very unorthodoxal usage of port options.
5.3.5
18 Aug 2018 20:43:46
Revision:477545Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

Approved by:	portmgr (blanket)
5.3.5
18 Aug 2018 07:41:01
Revision:477483Original commit files touched by this commit
dbn search for other commits by this committer
lang/lua53: update to 5.3.5 (final release for 5.3)

 - Cleanup of variables
 - Use the 'bsd' target for build stage
 - Add options to to select interactive command line editing
 - Add options to control debug options
 - Add option for HTML documentation
 - No change log provided upstream

Submitted by:	Russel Haley (russ.haley@gmail.com)
		Andrew Gierth (andrew_tao173.riddles.org.uk)
Differential Revision:	https://reviews.freebsd.org/D13690
5.3.4_2
14 Nov 2017 06:28:06
Revision:454163Original commit files touched by this commit
riggs search for other commits by this committer
New maintainer: Russell Haley <russ.haley@gmail.com>

Details:
- This is the second bit of the patch in PR 222581
- Guilherme Salazar <gmesalazar@gmail.com>, the previous maintainer,
  has confirmed the transfer of maintainership via e-mail

PR:		222581
Submitted by:	russ.haley@gmail.com (new maintainer)
Approved by:	gmesalazar@gmail.com (previous maintainer, via email)
MFH:		2017Q4
5.3.4_1
11 Nov 2017 12:48:53
Revision:453971Original commit files touched by this commit
riggs search for other commits by this committer
Fix multiple runtime errors and crashes in lua 5.3.4

Details
- Import upstream patches for known runtime errors
  and crashes in lua 5.3.4
  Details, see https://www.lua.org/bugs.html
  in the section on version 5.3.4

PR:		222581
Submitted by:	russ.haley@gmail.com
Approved by:	maintainer timeout
MFH:		2017Q4
5.3.4
09 Mar 2017 03:05:20
Revision:435741Original commit files touched by this commit
wen search for other commits by this committer
- Update to 5.3.4

PR:		217461
Submitted by:	gmesalazar@gmail.com(maintainer)
5.3.3_1
25 Oct 2016 12:48:43
Revision:424620Original commit files touched by this commit
koobs search for other commits by this committer
lang/lua53: Add new MAINTAINER, Add bug fix patches

The Lua team maintains a list of bugs found in each release of Lua since
4.0 [1] with examples that show the bug and a patch when the fix is
available.

This patch adds all three bug fixes available so far. A fourth bug fix
should be made available soon to fix a recently-found bug in coroutines.

To make it easier to track changes for each patch, a GitHub repository
[2] has been created with the Lua distribution and patches so they can
be referenced by commit id.

- Pass MAINTAINER'ship to Submitter, who is also a member of the NetBSD
  Lua team. (Thanks!)

[1] https://www.lua.org/bugs.html
[2] https://github.com/salazar/lua

PR:		213658
Submitted by:	Guilherme Salazar <gmesalazar gmail com>
MFH:		2014Q4
5.3.3
06 Jul 2016 13:17:17
Revision:418130Original commit files touched by this commit
gahr search for other commits by this committer
lang/lua53: update to 5.3.3
5.3.2_1
19 May 2016 10:44:12
Revision:415499Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
5.3.2_1
20 Feb 2016 19:19:50
Revision:409263Original commit files touched by this commit
ian search for other commits by this committer
Use -fPIC on all arches; lua builds the object files into a shared lib.

Since the object files get built into a shared lib, using -fPIC on all
arches is the right thing to do, instead of adding it to each new arch that
comes along which doesn't accidentally allow non-PIC modules in shared libs.

PR:		207324
Approved by:	mat(mentor)
Differential Revision:	https://reviews.freebsd.org/D5362
5.3.2_1
20 Feb 2016 19:13:22
Revision:409262Original commit files touched by this commit
ian search for other commits by this committer
Bump PORTREVISION for changes done in r409214; the CFLAGS change in that
revision results in different binaries.

Approved by:	sbruno(mentor)
5.3.2
19 Feb 2016 22:55:18
Revision:409214Original commit files touched by this commit
ian search for other commits by this committer
Fix CFLAGS handling in lua53 patches.

The ?= assignment of CFLAGS (not present in earlier lua5x patches) results
in MYCFLAGS, passed from the port makefile, never getting assigned to CFLAGS
during the lua build. The result is a copy of lua that has none of the posix
support functions in it.

CFLAGS set in the outer environment by the user or make.conf get passed in
via the MYCFLAGS mechanism, so remove the -O2 and let the outer environment
control optimization level.

Approved by:	mat(mentor)
Differential Revision:	https://reviews.freebsd.org/D5256
5.3.2
09 Dec 2015 13:20:32
Revision:403386Original commit files touched by this commit
vanilla search for other commits by this committer
Upgrade to 5.3.2.
5.3.1_1
19 Jul 2015 14:38:44
Revision:392509Original commit files touched by this commit
bapt search for other commits by this committer
Convert to USES=libedit
5.3.1_1
17 Jul 2015 17:02:14
Revision:392388Original commit files touched by this commit
pgollucci search for other commits by this committer
lang/lua53: fix dependencies

Prevent /usr/lib/libedit.so from being used over
/usr/local/lib/libedit.so.0 from devel/libedit

Note: libedit should be made into a USES

Reported by:    sunpoet
Pointy hat to:  myself (pgollucci)
5.3.1
16 Jul 2015 18:35:34
Revision:392310Original commit files touched by this commit
pgollucci search for other commits by this committer
lang/lua53: 5.3.0 -> 5.3.1

PR:                  201469
Submitted by:        milios@ccsys.com
5.3.0
25 Jun 2015 13:12:21
Revision:390568Original commit files touched by this commit
emaste search for other commits by this committer
lang/lua{51,52,53}: Add -fPIC for arm64

Reviewed by:    andrew
Approved by:    bapt
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2904
5.3.0
16 Apr 2015 12:40:15
Revision:384105Original commit files touched by this commit
bapt search for other commits by this committer
Disbanding lua@ which was anyway not a team for a while
I have no time left to work on lua at all for now
5.3.0
17 Jan 2015 10:34:19
Revision:377219Original commit files touched by this commit
antoine search for other commits by this committer
Fix build on head
5.3.0
17 Jan 2015 02:19:59
Revision:377213Original commit files touched by this commit
bapt search for other commits by this committer
Add lua 5.3.0
Highlights from this new version:
Main new features are support for integers, bitwise operators, and a basic utf-8
library

Complete list of changes: http://www.lua.org/manual/5.3/readme.html#changes
List of incompatibilities with lua 5.2:
http://www.lua.org/manual/5.3/manual.html#8

Number of commits found: 33