Port details
lua51 Small, compilable scripting language providing easy access to C code
5.1.5_11 lang Σ=7 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.1.5_11Version of this port present on the latest quarterly branch. upstream: 5.2.0A newer version was found upstream by portscout, first on 2021-06-09.
Maintainer: nicklaus.t@me.com search for ports maintained by this maintainer
Port Added: 2014-05-26 15:28:45
Last Update: 2026-11-24 16:06:28
Commit Hash: a9844c5
People watching this port, also watch: wget, sqlite3, git, pkg, gmake
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 (22 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/lua51-5.1.5_11/catalog.mk
  3. /usr/local/share/licenses/lua51-5.1.5_11/LICENSE
  4. /usr/local/share/licenses/lua51-5.1.5_11/MIT
  5. share/sbom/pc/lua51.pc
  6. bin/lua51
  7. bin/luac51
  8. include/lua51/lauxlib.h
  9. include/lua51/lua.h
  10. include/lua51/lua.hpp
  11. include/lua51/luaconf.h
  12. include/lua51/lualib.h
  13. lib/liblua-5.1.a
  14. lib/liblua-5.1.so
  15. libdata/pkgconfig/lua-5.1.pc
  16. share/man/man1/lua51.1.gz
  17. share/man/man1/luac51.1.gz
  18. @dir lib/lua/5.1
  19. @dir share/lua/5.1
  20. @owner
  21. @group
  22. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • lua51>0:lang/lua51
  • For LIB depends:
    • liblua-5.1.so:lang/lua51
To install the port: #
cd /usr/ports/lang/lua51/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/lua51
  • pkg install lua51
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lua51
Flavors: #
there is no flavor information for this port.
distinfo: #
SHA256 (lua-5.1.5.tar.gz) = 2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333 SIZE (lua-5.1.5.tar.gz) = 221213

Packages (timestamps in pop-ups are UTC): #
lua51
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest5.1.5_105.1.5_105.1.5_95.1.5_105.1.5_10
FreeBSD:14:quarterly5.1.5_105.1.5_10-5.1.5_105.1.5_10
FreeBSD:15:latest5.1.5_105.1.5_10n/a5.1.5_10n/a
FreeBSD:15:quarterly5.1.5_105.1.5_10n/a-n/a
FreeBSD:16:latest5.1.5_105.1.5_10n/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 Build #
  1. editors/neovim
for Libraries #
  1. audio/lua-mpd
  2. devel/fungw
  3. devel/geany-plugin-lua
  4. devel/libubox
  5. devel/love07
  6. devel/love08
  7. devel/love5
Expand this list (73 items / 66 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. devel/lua-gettext
  3. devel/lua-pty
  4. devel/lua-rds-parser
  5. devel/luabind
  6. devel/vera++
  7. emulators/fceux
  8. games/aquaria
  9. games/avoision
  10. games/burr-tools
  11. games/cretan-hubris
  12. games/diaspora
  13. games/fbg2
  14. games/fillets-ng
  15. games/fs2open
  16. games/glest
  17. games/hedgewars
  18. games/jvgs
  19. games/openra
  20. games/stratagus
  21. games/thegrind
  22. graphics/cegui
  23. graphics/gimp3-app
  24. graphics/radius-engine
  25. lang/tolua++
  26. mail/mailfront
  27. mail/osbf-lua
  28. www/bunkerweb
  29. www/luakit
  30. www/luakit-devel
  31. x11-wm/devilspie2
  32. Collapse this list.

Deleted ports which required this port:

Expand this list of 36 deleted ports
  1. archivers/lua51-zlib*
  2. audio/lua51-mpd*
  3. converters/lua51-iconv*
  4. databases/mysql-proxy*
  5. databases/mysql-workbench51*
  6. databases/mysql-workbench52*
  7. devel/lua-bitop-51*
  8. devel/lua-lpeg51*
  9. devel/lua51-bitop*
  10. devel/lua51-cjson*
  11. devel/lua51-libevent*
  12. devel/luafilesystem-51*
  13. devel/luajava*
  14. devel/monotone*
  15. devel/swig20*
  16. dns/powerdns-devel*
  17. editors/yzis*
  18. games/allacrost*
  19. games/boswars*
  20. games/burrtools*
  21. games/ember*
  22. games/palomino*
  23. games/stonesoup-sdl*
  24. games/sumwars*
  25. games/valyriatear*
  26. games/wyrmgus*
  27. graphics/electricsheep*
  28. irc/weechat-devel*
  29. lang/fpc-lua*
  30. net/asterisk*
  31. net/asterisk11*
  32. net/lualdap-51*
  33. net/luasocket-51*
  34. net-p2p/verlihub-plugins-luascript*
  35. security/luasec-51*
  36. textproc/luaexpat-51*
  37. 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: #
No options to configure
Options name: #
lang_lua51
USES: #
cpe libedit lua:core,51
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. http://www.lua.org/ftp/
Collapse this list.

Number of commits found: 24 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.1.5_11
24 Nov 2026 16:06:28
commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump ports with CPE data
5.1.5_10
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.1.5_10
23 Jan 2024 14:51:24
commit hash: c9227759d767b51903d69922492b34ea415d4c19commit hash: c9227759d767b51903d69922492b34ea415d4c19commit hash: c9227759d767b51903d69922492b34ea415d4c19commit hash: c9227759d767b51903d69922492b34ea415d4c19 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/lua51: 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.1.5_9
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.1.5_9
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.1.5_9
31 Aug 2021 09:23:09
commit hash: 7192bc877cdead23794931669d8c42889b9157d1commit hash: 7192bc877cdead23794931669d8c42889b9157d1commit hash: 7192bc877cdead23794931669d8c42889b9157d1commit hash: 7192bc877cdead23794931669d8c42889b9157d1 files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
lang/lua51: Add CPE information

Approved by:    portmgr (blanket)
5.1.5_9
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.1.5_9
14 Apr 2020 15:49:37
Revision:531700commit hash: beb1c1fe19992999ef068d0dcb07c0d02f4aea71commit hash: beb1c1fe19992999ef068d0dcb07c0d02f4aea71commit hash: beb1c1fe19992999ef068d0dcb07c0d02f4aea71commit hash: beb1c1fe19992999ef068d0dcb07c0d02f4aea71Original 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.1.5_9
18 Aug 2018 20:43:36
Revision:477543commit hash: e45262b3e20ce21edeed6844bf909048fecddc9acommit hash: e45262b3e20ce21edeed6844bf909048fecddc9acommit hash: e45262b3e20ce21edeed6844bf909048fecddc9acommit hash: e45262b3e20ce21edeed6844bf909048fecddc9aOriginal commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

Approved by:	portmgr (blanket)
5.1.5_9
24 Aug 2016 17:10:05
Revision:420807commit hash: 18e5edfbf9c32ccfe9322c971919ad309a53abf7commit hash: 18e5edfbf9c32ccfe9322c971919ad309a53abf7commit hash: 18e5edfbf9c32ccfe9322c971919ad309a53abf7commit hash: 18e5edfbf9c32ccfe9322c971919ad309a53abf7Original commit files touched by this commit
pi search for other commits by this committer
lang/lua51: submitter becomes maintainer

PR:		212082
Submitted by:	nicklaus.t@me.com
5.1.5_9
19 May 2016 10:44:12
Revision:415499commit hash: 4e942b64191e2ef98dce2c5af31047a8640db768commit hash: 4e942b64191e2ef98dce2c5af31047a8640db768commit hash: 4e942b64191e2ef98dce2c5af31047a8640db768commit hash: 4e942b64191e2ef98dce2c5af31047a8640db768Original 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.1.5_9
20 Feb 2016 19:19:50
Revision:409263commit hash: 53625bac52bb8604215639523b1893cebc9a58d3commit hash: 53625bac52bb8604215639523b1893cebc9a58d3commit hash: 53625bac52bb8604215639523b1893cebc9a58d3commit hash: 53625bac52bb8604215639523b1893cebc9a58d3Original 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.1.5_9
19 Jul 2015 14:38:44
Revision:392509commit hash: 086f7f854a4b90a046dd32be0e1ff5b2063b9141commit hash: 086f7f854a4b90a046dd32be0e1ff5b2063b9141commit hash: 086f7f854a4b90a046dd32be0e1ff5b2063b9141commit hash: 086f7f854a4b90a046dd32be0e1ff5b2063b9141Original commit files touched by this commit
bapt search for other commits by this committer
Convert to USES=libedit
5.1.5_9
25 Jun 2015 13:12:21
Revision:390568commit hash: e8902db811279dc50f4dbd3abf7413a5ca6e9cd2commit hash: e8902db811279dc50f4dbd3abf7413a5ca6e9cd2commit hash: e8902db811279dc50f4dbd3abf7413a5ca6e9cd2commit hash: e8902db811279dc50f4dbd3abf7413a5ca6e9cd2Original 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.1.5_9
16 Apr 2015 12:40:15
Revision:384105commit hash: 345fdd01ba67cabb2f945264c9e2fc61bbfd2313commit hash: 345fdd01ba67cabb2f945264c9e2fc61bbfd2313commit hash: 345fdd01ba67cabb2f945264c9e2fc61bbfd2313commit hash: 345fdd01ba67cabb2f945264c9e2fc61bbfd2313Original 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.1.5_9
17 Jan 2015 01:37:59
Revision:377209commit hash: ce179c4f7e20c4a2120b13dffae09a5e31796149commit hash: ce179c4f7e20c4a2120b13dffae09a5e31796149commit hash: ce179c4f7e20c4a2120b13dffae09a5e31796149commit hash: ce179c4f7e20c4a2120b13dffae09a5e31796149Original commit files touched by this commit
bapt search for other commits by this committer
Link on libedit instead of readline
Reduce overlinking on liblua
Enforce libedit from ports
5.1.5_9
17 Jan 2015 01:33:30
Revision:377208commit hash: 9f5c578c8258d03a370086f98748e6a12f304d34commit hash: 9f5c578c8258d03a370086f98748e6a12f304d34commit hash: 9f5c578c8258d03a370086f98748e6a12f304d34commit hash: 9f5c578c8258d03a370086f98748e6a12f304d34Original commit files touched by this commit
bapt search for other commits by this committer
Add a forgot post-patch for libedit support
5.1.5_9
17 Jan 2015 01:28:32
Revision:377207commit hash: 9df11b915914f306599ce26e94b92430ce9c7720commit hash: 9df11b915914f306599ce26e94b92430ce9c7720commit hash: 9df11b915914f306599ce26e94b92430ce9c7720commit hash: 9df11b915914f306599ce26e94b92430ce9c7720Original commit files touched by this commit
bapt search for other commits by this committer
Link on port version of libedit
Avoid overlinking on liblua
5.1.5_8
18 Nov 2014 07:12:26
Revision:372700commit hash: 390f6fb0aec440642fc85b6b313c85cc05e6d4b1commit hash: 390f6fb0aec440642fc85b6b313c85cc05e6d4b1commit hash: 390f6fb0aec440642fc85b6b313c85cc05e6d4b1commit hash: 390f6fb0aec440642fc85b6b313c85cc05e6d4b1Original commit files touched by this commit
antoine search for other commits by this committer
Package empty LUA_LDIR and LUA_CDIR, as it's more user-friendly
5.1.5_7
27 Oct 2014 15:23:31
Revision:371587commit hash: 77cba41a625ee21c7d556cf83d6b95bee86b0288commit hash: 77cba41a625ee21c7d556cf83d6b95bee86b0288commit hash: 77cba41a625ee21c7d556cf83d6b95bee86b0288commit hash: 77cba41a625ee21c7d556cf83d6b95bee86b0288Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
5.1.5_7
30 Jun 2014 22:49:52
Revision:359939commit hash: b36d8ba919b1d63fbddc24ec5f9143a06692f8a4commit hash: b36d8ba919b1d63fbddc24ec5f9143a06692f8a4commit hash: b36d8ba919b1d63fbddc24ec5f9143a06692f8a4commit hash: b36d8ba919b1d63fbddc24ec5f9143a06692f8a4Original commit files touched by this commit
bapt search for other commits by this committer
Fix building with readline from ports
5.1.5_7
26 May 2014 18:29:34
Revision:355426commit hash: a1a70348089209fb8692f98dfaf7cc060b2cdc76commit hash: a1a70348089209fb8692f98dfaf7cc060b2cdc76commit hash: a1a70348089209fb8692f98dfaf7cc060b2cdc76commit hash: a1a70348089209fb8692f98dfaf7cc060b2cdc76Original commit files touched by this commit
bapt search for other commits by this committer
Add forgotten patch

Reported by:	many
5.1.5_7
26 May 2014 15:28:29
Revision:355360commit hash: e836ab008ac38916a93472f2840e03e2e8470ef5commit hash: e836ab008ac38916a93472f2840e03e2e8470ef5commit hash: e836ab008ac38916a93472f2840e03e2e8470ef5commit hash: e836ab008ac38916a93472f2840e03e2e8470ef5Original commit files touched by this commit
bapt search for other commits by this committer
Replace lang/lua with the new lang/lua51

lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1
Make the default lua lua52
Make all lua ports using USES=lua

Approved by:	portmgr (implicit)

Number of commits found: 24