Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,21 +1,11 @@
Lua is a powerful, light-weight programming language designed for
extending applications. Lua is also frequently used as a
general-purpose, stand-alone language.
Lua is a powerful, fast, lightweight, embeddable scripting 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, making it ideal for
configuration, scripting, and rapid prototyping.
Lua combines simple procedural syntax with powerful data description
constructs based on associative arrays and extensible semantics. Lua is
dynamically typed, runs by interpreting bytecode for a register-based
virtual machine, and has automatic memory management with incremental
garbage collection, making it ideal for configuration, scripting, and
rapid prototyping.
Lua is a language engine that you can embed into your application.
This means that, besides syntax and semantics, Lua has an API that
allows the application to exchange data with Lua programs and also to
extend Lua with C functions. In this sense, Lua can be regarded as a
language framework for building domain-specific languages.
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.
The result is a fast language engine with small footprint, making it
ideal in embedded systems too.
This version of Lua isn't the most recent version but it's still widely
used, due to popularity of LuaJIT 2.0 which is compatible with Lua 5.1.

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.5 2015/03/22 17:20:24 bsiegert Exp $
# $NetBSD: Makefile,v 1.6 2015/12/06 00:25:26 alnsn Exp $
DISTNAME= lua-${LUA_VERSION}
PKGNAME= lua51-${LUA_VERSION}
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= http://www.lua.org/ftp/ \
http://www.tecgraf.puc-rio.br/lua/ftp/
@@ -29,6 +29,16 @@ MAKE_FLAGS+= CC=cc
DOCDIR= ${PREFIX}/share/doc/lua-5.1
EGDIR= ${PREFIX}/share/examples/lua-5.1
# pkg/47587 lua not linked to pthread causes issues with modules
PTHREAD_OPTS+= native
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
CFLAGS+= -pthread
LDFLAGS+= -pthread
.endif
.if ${OPSYS} == "FreeBSD"
BUILD_TARGET= freebsd
.elif !empty(OPSYS:M*BSD*) || ${OPSYS} == "DragonFly"

View File

@@ -1,10 +1,11 @@
$NetBSD: distinfo,v 1.4 2015/03/22 17:20:24 bsiegert Exp $
$NetBSD: distinfo,v 1.6 2015/12/29 23:34:50 dholland Exp $
SHA1 (lua-5.1.5.tar.gz) = b3882111ad02ecc6b972f8c1241647905cb2e3fc
RMD160 (lua-5.1.5.tar.gz) = b0c2234675335a8bf158a125b6778cf800c754a0
SHA512 (lua-5.1.5.tar.gz) = 0142fefcbd13afcd9b201403592aa60620011cc8e8559d4d2db2f92739d18186860989f48caa45830ff4f99bfc7483287fd3ff3a16d4dec928e2767ce4d542a9
Size (lua-5.1.5.tar.gz) = 221213 bytes
SHA1 (patch-aa) = 4af5fcbd1c76bc7b0815a330c43d1e5eb715e6ff
SHA1 (patch-ab) = 53e8e2693e3afa819079e253f212988a44357412
SHA1 (patch-aa) = df332b80cd10c82b1398357028338026616ee1fb
SHA1 (patch-ab) = 088af3cc9c6ef53474ed7934a62d967bfd8362c0
SHA1 (patch-ac) = bd2348dcb273de09ddc09da906c93de6cc209c5c
SHA1 (patch-etc_lua.pc) = 80a01ac1af362410407aff65b644e946e898b1ee
SHA1 (patch-src_ldo.c) = 003e15eb594a89984213f3be5ca3a30750daabdb
SHA1 (patch-etc_lua.pc) = 24311df8dbfc09b97d5b89ea03f211d9c1339d93
SHA1 (patch-src_ldo.c) = b8497508648b123c22cb7261fc63244b13298618

View File

@@ -1,4 +1,8 @@
$NetBSD: patch-aa,v 1.2 2014/05/03 13:00:44 alnsn Exp $
$NetBSD: patch-aa,v 1.3 2015/12/29 23:34:50 dholland Exp $
Configure for pkgsrc.
Install by Lua version so multiple versions can coexist.
DESTDIR support.
--- Makefile.orig 2012-02-10 09:50:23.000000000 +0000
+++ Makefile

View File

@@ -1,4 +1,9 @@
$NetBSD: patch-ab,v 1.2 2014/05/03 13:00:44 alnsn Exp $
$NetBSD: patch-ab,v 1.3 2015/12/29 23:34:50 dholland Exp $
Configure for pkgsrc.
Use libtool.
Install by Lua version so multiple versions can coexist.
Use readline.
--- src/Makefile.orig 2012-02-13 20:41:22.000000000 +0000
+++ src/Makefile

View File

@@ -1,4 +1,6 @@
$NetBSD: patch-etc_lua.pc,v 1.2 2014/10/19 22:26:38 alnsn Exp $
$NetBSD: patch-etc_lua.pc,v 1.3 2015/12/29 23:34:50 dholland Exp $
Install by Lua version so multiple versions can coexist.
--- etc/lua.pc.orig 2012-02-10 09:50:30.000000000 +0000
+++ etc/lua.pc

View File

@@ -1,6 +1,7 @@
$NetBSD: patch-src_ldo.c,v 1.1 2015/03/22 17:20:24 bsiegert Exp $
$NetBSD: patch-src_ldo.c,v 1.2 2015/12/29 23:34:50 dholland Exp $
Patch for CVS-2014-5461, from Debian.
--- src/ldo.c.orig 2015-03-22 17:11:01.000000000 +0000
+++ src/ldo.c
@@ -274,7 +274,7 @@ int luaD_precall (lua_State *L, StkId fu