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
Remember
I remember
Port details
lua52 Small, compilable scripting language providing easy access to C code
5.2.4_1 lang on this many watch lists=26 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.2.4_1Version of this port present on the latest quarterly branch.
Maintainer: john@essenz.com search for ports maintained by this maintainer
Port Added: 2013-01-05 23:25:08
Last Update: 2024-03-23 11:19:32
Commit Hash: d7511b9
People watching this port, also watch:: sqlite3, pcre, libxml2, expat, pkg
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/lua52-5.2.4_1/catalog.mk
  3. /usr/local/share/licenses/lua52-5.2.4_1/LICENSE
  4. /usr/local/share/licenses/lua52-5.2.4_1/MIT
  5. bin/lua52
  6. bin/luac52
  7. include/lua52/lauxlib.h
  8. include/lua52/lua.h
  9. include/lua52/lua.hpp
  10. include/lua52/luaconf.h
  11. include/lua52/lualib.h
  12. lib/liblua-5.2.a
  13. lib/liblua-5.2.so
  14. libdata/pkgconfig/lua-5.2.pc
  15. share/man/man1/lua52.1.gz
  16. share/man/man1/luac52.1.gz
  17. @dir lib/lua/5.2
  18. @dir share/lua/5.2
  19. @owner
  20. @group
  21. @mode
Collapse this list.
Dependency lines:
  • lua52>0:lang/lua52
To install the port:
cd /usr/ports/lang/lua52/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/lua52
  • pkg install lua52
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lua52
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (lua-5.2.4.tar.gz) = b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b SIZE (lua-5.2.4.tar.gz) = 252651

Packages (timestamps in pop-ups are UTC):
lua52
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.2.4_15.2.4_15.2.45.2.4_15.2.4_1-5.2.4-
FreeBSD:13:quarterly5.2.4_15.2.4_15.2.45.2.4_15.2.4_15.2.45.2.45.2.4
FreeBSD:14:latest5.2.4_15.2.4_15.2.45.2.4_15.2.4_15.2.4-5.2.4
FreeBSD:14:quarterly5.2.4_15.2.4_1-5.2.4_15.2.4_15.2.45.2.45.2.4
FreeBSD:15:latest5.2.4_15.2.4_1n/a5.2.4_1n/a5.2.4_15.2.4_15.2.4_1
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

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/swig30*
  2. Collapse this list of deleted ports.
for Libraries
  1. archivers/lua-lzlib
  2. astro/celestia
  3. astro/celestia-gtk
  4. audio/aqualung
  5. editors/fxite
  6. editors/wordgrinder
  7. finance/moneymanagerex
Expand this list (46 items / 39 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. games/3omns
  3. games/domino-chain
  4. games/pioneer
  5. games/xmoto
  6. graphics/ipe
  7. security/cardpeek
  8. sysutils/dsbdriverd
  9. www/volta
  10. Collapse this list.

Deleted ports which required this port:

Expand this list of 31 deleted ports
  1. archivers/rpm5*
  2. astro/celestia-gnome*
  3. databases/postgresql-pllua*
  4. devel/lua-MessagePack*
  5. devel/lua-alien*
  6. devel/onscripter*
  7. devel/onscripter-1byte*
  8. dns/powerdns-recursor40*
  9. games/asc*
  10. games/pushover*
  11. games/xnethack-nox11*
  12. graphics/edje*
  13. graphics/gegl3*
  14. lang/lua-ada*
  15. mail/opensmtpd-extras-filter-lua*
  16. math/fityk*
  17. multimedia/libquvi*
  18. multimedia/libquvi09*
  19. multimedia/mpv034*
  20. multimedia/vlc-qt4*
  21. multimedia/vlc3*
  22. net/asterisk13*
  23. net/asterisk15*
  24. net/crtmpserver*
  25. net-im/telegram*
  26. net-im/tg*
  27. sysutils/syslog-ng-incubator*
  28. sysutils/syslog-ng-incubator03*
  29. www/httest*
  30. x11-toolkits/elementary*
  31. x11-wm/awesome3*
  32. Collapse this list of deleted ports.
for Run

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. multimedia/libquvi-scripts09*
  2. 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_lua52
USES:
cpe libedit lua:core,52
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: 34

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.2.4_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.2.4_1
23 Jan 2024 14:51:24
commit hash: 49557a2b81aec13618f47c081d264ed2aaf135fbcommit hash: 49557a2b81aec13618f47c081d264ed2aaf135fbcommit hash: 49557a2b81aec13618f47c081d264ed2aaf135fbcommit hash: 49557a2b81aec13618f47c081d264ed2aaf135fb files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/lua52: 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.2.4
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.2.4
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.2.4
31 Aug 2021 09:23:09
commit hash: 9fccb724ba2aa97ad28c0ac27ee01ea82aba3685commit hash: 9fccb724ba2aa97ad28c0ac27ee01ea82aba3685commit hash: 9fccb724ba2aa97ad28c0ac27ee01ea82aba3685commit hash: 9fccb724ba2aa97ad28c0ac27ee01ea82aba3685 files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
lang/lua52: Add CPE information

Approved by:    portmgr (blanket)
5.2.4
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.2.4
09 Sep 2020 21:47:58
Revision:548161Original commit files touched by this commit
bdragon search for other commits by this committer
[PowerPC64LE] Fix Lua 5.2 runtime issue

Lua 5.2 (but not earlier or later versions) has a powerpc platform detection
check.

This check was not using the preferred define `__powerpc__` so fails to
trigger on gcc.

It also assumes that all of powerpc is big-endian.

Check a more universal preprocessor define, and add support for the
upcoming FreeBSD PowerPC64LE.

Submitted by:	Daniel Kolesa <daniel@octaforge.org>
Reviewed by:	luporl
Approved by:	portmgr (blanket: runtime fix)
Differential Revision:	https://reviews.freebsd.org/D26234
5.2.4
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.2.4
17 Oct 2018 09:39:43
Revision:482290Original commit files touched by this commit
joneum search for other commits by this committer
Pass maintainership to submitter

PR:		232320
Submitted by:	John Von Essen <john@essenz.com>
Sponsored by:	Netzkommune GmbH
5.2.4
18 Aug 2018 20:43:41
Revision:477544Original commit files touched by this commit
sunpoet search for other commits by this committer
-
- Do not silence installation messages
- Regenerate patch files with makepatch:
- Update WWW
5.2.4
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.2.4
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.2.4
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.2.4
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.2.4
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.2.4
15 Mar 2015 13:12:34
Revision:381328Original commit files touched by this commit
bapt search for other commits by this committer
Update to 5.2.4
5.2.3_4
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.2.3_4
17 Jan 2015 01:37:59
Revision:377209Original 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.2.3_3
18 Nov 2014 07:12:26
Revision:372700Original 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.2.3_2
27 Oct 2014 15:23:31
Revision:371587Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
5.2.3_2
30 Jun 2014 22:49:27
Revision:359938Original commit files touched by this commit
bapt search for other commits by this committer
Fix building with readline from ports
5.2.3_2
20 Apr 2014 09:30:08
Revision:351615Original commit files touched by this commit
bapt search for other commits by this committer
Remove build dependency on pkgconf
5.2.3_2
17 Jan 2014 20:52:01
Revision:340106Original commit files touched by this commit
antoine search for other commits by this committer
Set the soname of liblua, it helps ports using cmake to link against it
(otherwise they do not have the correct DT_NEEDED entry)

Approved by:	lua (bapt)
5.2.3_1
10 Jan 2014 08:39:13
Revision:339329Original commit files touched by this commit
bapt search for other commits by this committer
Add missing lua.pc files (missed in previous commits)
Rework the makefile to use jmmv method from PR which is cleaner than my initial
attempt

PR:		ports/180786
Submitted by:	jmmv
5.2.3_1
10 Jan 2014 08:22:53
Revision:339320Original commit files touched by this commit
bapt search for other commits by this committer
Add a .pc file to lua52

PR:		ports/180786
Submitted by:	jmmv
5.2.3
15 Dec 2013 00:56:05
Revision:336503Original commit files touched by this commit
bapt search for other commits by this committer
Update to 5.2.3

Pass maintainership to lua@
Lots of cleanup in the Makefile
Reduce patching
Support stage
5.2.2_1
19 Nov 2013 09:34:40
Revision:334290Original commit files touched by this commit
bapt search for other commits by this committer
Fix package name collision
5.2.2_1
20 Sep 2013 19:53:10
Revision:327741Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
5.2.2_1
14 Aug 2013 22:35:54
Revision:324744Original commit files touched by this commit Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
5.2.2_1
05 Aug 2013 20:37:36
Revision:324286Original commit files touched by this commit
mandree search for other commits by this committer
Link lua .so + program with pthread to prevent hangs in extensions that
use pthreads.

Bump PORTREVISION to pull this in.

PR:		ports/181052
Submitted by:	Vitaly Magerya <vmagerya@gmail.com>
Approved by:	mandree@ on behalf of lua@
5.2.2
29 Mar 2013 18:49:03
Revision:315560Original commit files touched by this commit
mandree search for other commits by this committer
Update to new upstream version Lua 5.2.2.

According to Luiz Henrique de Figueiredo,
"Lua 5.2.2 fixes all bugs listed in http://www.lua.org/bugs.html#5.2.1 .

Lua 5.2.2 also fixes several other minors glitches and includes
a revised reference manual."
5.2.1
06 Jan 2013 17:42:36
Revision:310003Original commit files touched by this commit
mandree search for other commits by this committer
Fix typo in MAINTAINER address (was also in the submitted .shar).
5.2.1
05 Jan 2013 23:24:52
Revision:309973Original commit files touched by this commit
mandree search for other commits by this committer
Add new port lang/lua52.

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
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 34