code
string
repo_name
string
path
string
language
string
license
string
size
int64
################################################################################ # # lua-msgpack-native # ################################################################################ LUA_MSGPACK_NATIVE_VERSION = 41a91b994c70389dc9daa1a15678741d8ec41749 LUA_MSGPACK_NATIVE_SITE = $(call github,kengonakajima,lua-msgpack-native,$(LUA_MSGPACK_NATIVE_VERSION)) LUA_MSGPACK_NATIVE_DEPENDENCIES = luainterpreter LUA_MSGPACK_NATIVE_LICENSE = Apache-2.0 LUA_MSGPACK_NATIVE_LICENSE_FILES = LICENSE.txt define LUA_MSGPACK_NATIVE_BUILD_CMDS $(TARGET_CC) $(TARGET_CFLAGS) -fPIC -shared -o $(@D)/msgpack.so $(@D)/mp.c endef define LUA_MSGPACK_NATIVE_INSTALL_TARGET_CMDS $(INSTALL) -m 755 -D $(@D)/msgpack.so \ $(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)/msgpack.so endef $(eval $(generic-package))
shibajee/buildroot
package/lua-msgpack-native/lua-msgpack-native.mk
mk
mit
804
From 1d8cb0ad54099c3d7261aaa19a2c0786f16736d0 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sat, 8 Aug 2015 22:42:39 +0200 Subject: [PATCH] Add missing header for musl compatibility <linux/ioctl.h> is needed to get the definition of _IOC_SIZEBITS and solve the following build failure: src/spi.c: In function 'spi_transfer': src/spi.c:100:24: error: '_IOC_SIZEBITS' undeclared (first use in this function) if (ioctl(spi->fd, SPI_IOC_MESSAGE(1), &spi_xfer) < 1) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Port from c-periphery] Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> --- src/spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lua-periphery/c-periphery/src/spi.c b/lua-periphery/c-periphery/src/spi.c index 52a8d3d..1a6b17c 100644 --- a/lua-periphery/c-periphery/src/spi.c +++ b/lua-periphery/c-periphery/src/spi.c @@ -16,6 +16,7 @@ #include <errno.h> #include <sys/ioctl.h> +#include <linux/ioctl.h> #include <linux/spi/spidev.h> #include "spi.h" -- 2.5.0
shibajee/buildroot
package/lua-periphery/0001-Add-missing-header-for-musl-compatibility.patch
patch
mit
1,074
[PATCH] Fix build on SPARC On SPARC, the definitions of B2500000, B3000000, B3500000 and B4000000 are not necessarily available, so use those values only if defined in the kernel headers. It fixes SPARC build failures such as: src/serial.c: In function '_serial_baudrate_to_bits': src/serial.c:73:30: error: 'B2500000' undeclared (first use in this function) case 2500000: return B2500000; ^ src/serial.c:73:30: note: each undeclared identifier is reported only once for each function it appears in src/serial.c:74:30: error: 'B3000000' undeclared (first use in this function) case 3000000: return B3000000; ^ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/lua-periphery/c-periphery/src/serial.c =================================================================== --- a/lua-periphery/c-periphery/src/serial.c +++ b/lua-periphery/c-periphery/src/serial.c @@ -70,10 +70,18 @@ case 1152000: return B1152000; case 1500000: return B1500000; case 2000000: return B2000000; +#ifdef B2500000 case 2500000: return B2500000; +#endif +#ifdef B3000000 case 3000000: return B3000000; +#endif +#ifdef B3500000 case 3500000: return B3500000; +#endif +#ifdef B4000000 case 4000000: return B4000000; +#endif default: return -1; } } @@ -107,10 +115,18 @@ case B1152000: return 1152000; case B1500000: return 1500000; case B2000000: return 2000000; +#ifdef B2500000 case B2500000: return 2500000; +#endif +#ifdef B3000000 case B3000000: return 3000000; +#endif +#ifdef B3500000 case B3500000: return 3500000; +#endif +#ifdef B4000000 case B4000000: return 4000000; +#endif default: return -1; } }
shibajee/buildroot
package/lua-periphery/0002-Fix-build-on-SPARC.patch
patch
mit
1,848
config BR2_PACKAGE_LUA_PERIPHERY bool "lua-periphery" depends on BR2_PACKAGE_HAS_LUAINTERPRETER help A library for GPIO, SPI, I2C, MMIO, and Serial peripheral I/O interface access in userspace Linux with Lua. https://github.com/vsergeev/lua-periphery
shibajee/buildroot
package/lua-periphery/Config.in
in
mit
264
# Locally computed sha256 53762ed9b8a2edfcc5b4c535ef73e6a425f2577e036bb15994ca16a39b16ebab lua-periphery-1.0.6-1.src.rock
shibajee/buildroot
package/lua-periphery/lua-periphery.hash
hash
mit
124
################################################################################ # # lua-periphery # ################################################################################ LUA_PERIPHERY_VERSION_UPSTREAM = 1.0.6 LUA_PERIPHERY_VERSION = $(LUA_PERIPHERY_VERSION_UPSTREAM)-1 LUA_PERIPHERY_SUBDIR = lua-periphery LUA_PERIPHERY_LICENSE = MIT LUA_PERIPHERY_LICENSE_FILES = $(LUA_PERIPHERY_SUBDIR)/LICENSE $(eval $(luarocks-package))
shibajee/buildroot
package/lua-periphery/lua-periphery.mk
mk
mit
438
config BR2_PACKAGE_LUA_TESTMORE bool "lua-testmore" help an Unit Testing Framework. http://fperrad.github.io/lua-TestMore/
shibajee/buildroot
package/lua-testmore/Config.in
in
mit
132
# Locally calculated sha256 a76a9b707487bf3e8b6a5362640bc2e010d184c4f66e423de7b28bd480a0db90 lua-testmore-0.3.2-1.src.rock
shibajee/buildroot
package/lua-testmore/lua-testmore.hash
hash
mit
124
################################################################################ # # lua-testmore # ################################################################################ LUA_TESTMORE_VERSION_UPSTREAM = 0.3.2 LUA_TESTMORE_VERSION = $(LUA_TESTMORE_VERSION_UPSTREAM)-1 LUA_TESTMORE_SUBDIR = lua-TestMore-$(LUA_TESTMORE_VERSION_UPSTREAM) LUA_TESTMORE_LICENSE = MIT LUA_TESTMORE_LICENSE_FILES = $(LUA_TESTMORE_SUBDIR)/COPYRIGHT $(eval $(luarocks-package))
shibajee/buildroot
package/lua-testmore/lua-testmore.mk
mk
mit
464
Adjust installation location to /usr. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/etc/lua.pc =================================================================== --- a/etc/lua.pc +++ b/etc/lua.pc @@ -8,7 +8,7 @@ R= 5.1.5 # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/' -prefix= /usr/local +prefix= /usr INSTALL_BIN= ${prefix}/bin INSTALL_INC= ${prefix}/include INSTALL_LIB= ${prefix}/lib Index: b/src/luaconf.h =================================================================== --- a/src/luaconf.h +++ b/src/luaconf.h @@ -94,7 +94,7 @@ ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" #else -#define LUA_ROOT "/usr/local/" +#define LUA_ROOT "/usr/" #define LUA_LDIR LUA_ROOT "share/lua/5.1/" #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" #define LUA_PATH_DEFAULT \
shibajee/buildroot
package/lua/5.1.5/0001-root-path.patch
patch
mit
820
Add the compilation of a shared library. Compile the lua binary with the shared library. And install the shared library. The variable BUILDMODE allows to switch between static and dynamic mode. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -44,6 +44,7 @@ TO_BIN= lua luac TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp TO_LIB= liblua.a +TO_SOLIB = liblua.so.$(R) TO_MAN= lua.1 luac.1 # Lua version and release. @@ -61,6 +62,8 @@ install: dummy cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD) cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN) + test -f src/$(TO_SOLIB) && cd src && $(INSTALL_EXEC) $(TO_SOLIB) $(INSTALL_LIB) || : + test -f src/$(TO_SOLIB) && ln -sf $(TO_SOLIB) $(INSTALL_LIB)/liblua.so || : cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC) cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB) cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN) Index: b/src/Makefile =================================================================== --- a/src/Makefile +++ b/src/Makefile @@ -23,6 +23,7 @@ PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris LUA_A= liblua.a +LUA_SO= liblua.so CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \ lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \ lundump.o lvm.o lzio.o @@ -36,8 +37,13 @@ LUAC_O= luac.o print.o ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O) +ifneq (dynamic,$(BUILDMODE)) ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) +else +ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T) +endif ALL_A= $(LUA_A) +ALL_SO= $(LUA_SO) default: $(PLAT) @@ -47,12 +53,23 @@ a: $(ALL_A) +so: $(ALL_SO) + $(LUA_A): $(CORE_O) $(LIB_O) $(AR) $@ $(CORE_O) $(LIB_O) # DLL needs all object files $(RANLIB) $@ +$(LUA_SO): $(CORE_O) $(LIB_O) + $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $? + ln -fs $@.$(PKG_VERSION) $@ + +ifneq (dynamic,$(BUILDMODE)) $(LUA_T): $(LUA_O) $(LUA_A) $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) +else +$(LUA_T): $(LUA_O) $(LUA_SO) + $(CC) -o $@ -L. $(MYLDFLAGS) $(LUA_O) -llua $(LIBS) +endif $(LUAC_T): $(LUAC_O) $(LUA_A) $(CC) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
shibajee/buildroot
package/lua/5.1.5/0002-shared-libs-for-lua.patch
patch
mit
2,377
Add support of linenoise (replace readline) see discussion, http://lua-users.org/lists/lua-l/2010-03/msg00879.html Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/src/luaconf.h =================================================================== --- a/src/luaconf.h +++ b/src/luaconf.h @@ -279,6 +279,13 @@ if (lua_strlen(L,idx) > 0) /* non-empty line? */ \ add_history(lua_tostring(L, idx)); /* add it to history */ #define lua_freeline(L,b) ((void)L, free(b)) +#elif defined(LUA_USE_LINENOISE) +#include <linenoise.h> +#define lua_readline(L,b,p) ((void)L, ((b)=linenoise(p)) != NULL) +#define lua_saveline(L,idx) \ + if (lua_strlen(L,idx) > 0) /* non-empty line? */ \ + linenoiseHistoryAdd(lua_tostring(L, idx)); /* add it to history */ +#define lua_freeline(L,b) ((void)L, free(b)) #else #define lua_readline(L,b,p) \ ((void)L, fputs(p, stdout), fflush(stdout), /* show prompt */ \
shibajee/buildroot
package/lua/5.1.5/0011-linenoise.patch
patch
mit
925
When loading a file, Lua may call the reader function again after it returned end of input. Fetch from: http://www.lua.org/bugs.html#5.1.5-2 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/src/lzio.c =================================================================== --- a/src/lzio.c +++ b/src/lzio.c @@ -22,10 +22,14 @@ size_t size; lua_State *L = z->L; const char *buff; + if (z->eoz) return EOZ; lua_unlock(L); buff = z->reader(L, z->data, &size); lua_lock(L); - if (buff == NULL || size == 0) return EOZ; + if (buff == NULL || size == 0) { + z->eoz = 1; /* avoid calling reader function next time */ + return EOZ; + } z->n = size - 1; z->p = buff; return char2int(*(z->p++)); @@ -51,6 +55,7 @@ z->data = data; z->n = 0; z->p = NULL; + z->eoz = 0; } Index: b/src/lzio.h =================================================================== --- a/src/lzio.h +++ b/src/lzio.h @@ -59,6 +59,7 @@ lua_Reader reader; void* data; /* additional data */ lua_State *L; /* Lua state (for reader) */ + int eoz; /* true if reader has no more data */ };
shibajee/buildroot
package/lua/5.1.5/0012-fix-reader-at-eoz.patch
patch
mit
1,138
Adjust installation location to /usr. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/src/luaconf.h =================================================================== --- a/src/luaconf.h +++ b/src/luaconf.h @@ -100,7 +100,7 @@ #else /* }{ */ #define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/" -#define LUA_ROOT "/usr/local/" +#define LUA_ROOT "/usr/" #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR #define LUA_PATH_DEFAULT \
shibajee/buildroot
package/lua/5.2.4/0001-root-path.patch
patch
mit
514
Add the compilation of a shared library. Compile the lua binary with the shared library. And install the shared library. The variable BUILDMODE allows to switch between static and dynamic mode. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -42,6 +42,7 @@ TO_BIN= lua luac TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp TO_LIB= liblua.a +TO_SOLIB = liblua.so.$(R) TO_MAN= lua.1 luac.1 # Lua version and release. @@ -60,6 +61,8 @@ install: dummy cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD) cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN) + test -f src/$(TO_SOLIB) && cd src && $(INSTALL_EXEC) $(TO_SOLIB) $(INSTALL_LIB) || : + test -f src/$(TO_SOLIB) && ln -sf $(TO_SOLIB) $(INSTALL_LIB)/liblua.so || : cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC) cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB) cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN) Index: b/src/Makefile =================================================================== --- a/src/Makefile +++ b/src/Makefile @@ -29,6 +29,7 @@ PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris LUA_A= liblua.a +LUA_SO= liblua.so CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \ lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o \ ltm.o lundump.o lvm.o lzio.o @@ -43,8 +44,13 @@ LUAC_O= luac.o ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O) +ifneq (dynamic,$(BUILDMODE)) ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) +else +ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T) +endif ALL_A= $(LUA_A) +ALL_SO= $(LUA_SO) # Targets start here. default: $(PLAT) @@ -55,12 +61,23 @@ a: $(ALL_A) +so: $(ALL_SO) + $(LUA_A): $(BASE_O) $(AR) $@ $(BASE_O) $(RANLIB) $@ +$(LUA_SO): $(CORE_O) $(LIB_O) + $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $? + ln -fs $@.$(PKG_VERSION) $@ + +ifneq (dynamic,$(BUILDMODE)) $(LUA_T): $(LUA_O) $(LUA_A) $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) +else +$(LUA_T): $(LUA_O) $(LUA_SO) + $(CC) -o $@ -L. $(LDFLAGS) $(LUA_O) -llua $(LIBS) +endif $(LUAC_T): $(LUAC_O) $(LUA_A) $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
shibajee/buildroot
package/lua/5.2.4/0002-shared-libs-for-lua.patch
patch
mit
2,329
add lua.pc Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/etc/lua.pc =================================================================== --- /dev/null +++ b/etc/lua.pc @@ -0,0 +1,31 @@ +# lua.pc -- pkg-config data for Lua + +# vars from install Makefile + +# grep '^V=' ../Makefile +V= 5.2 +# grep '^R=' ../Makefile +R= 5.2.3 + +# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/' +prefix= /usr +INSTALL_BIN= ${prefix}/bin +INSTALL_INC= ${prefix}/include +INSTALL_LIB= ${prefix}/lib +INSTALL_MAN= ${prefix}/man/man1 +INSTALL_LMOD= ${prefix}/share/lua/${V} +INSTALL_CMOD= ${prefix}/lib/lua/${V} + +# canonical vars +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: Lua +Description: An Extensible Extension Language +Version: ${R} +Requires: +Libs: -L${libdir} -llua -lm +Cflags: -I${includedir} + +# (end of lua.pc)
shibajee/buildroot
package/lua/5.2.4/0004-lua-pc.patch
patch
mit
890
Add support of linenoise (replace readline) see discussion, http://lua-users.org/lists/lua-l/2010-03/msg00879.html Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/src/lua.c =================================================================== --- a/src/lua.c +++ b/src/lua.c @@ -72,6 +72,15 @@ add_history(lua_tostring(L, idx)); /* add it to history */ #define lua_freeline(L,b) ((void)L, free(b)) +#elif defined(LUA_USE_LINENOISE) + +#include <linenoise.h> +#define lua_readline(L,b,p) ((void)L, ((b)=linenoise(p)) != NULL) +#define lua_saveline(L,idx) \ + if (lua_rawlen(L,idx) > 0) /* non-empty line? */ \ + linenoiseHistoryAdd(lua_tostring(L, idx)); /* add it to history */ +#define lua_freeline(L,b) ((void)L, free(b)) + #elif !defined(lua_readline) #define lua_readline(L,b,p) \
shibajee/buildroot
package/lua/5.2.4/0011-linenoise.patch
patch
mit
828
Adjust installation location to /usr. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/src/luaconf.h =================================================================== --- a/src/luaconf.h +++ b/src/luaconf.h @@ -188,7 +188,7 @@ #else /* }{ */ -#define LUA_ROOT "/usr/local/" +#define LUA_ROOT "/usr/" #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/" #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/" #define LUA_PATH_DEFAULT \
shibajee/buildroot
package/lua/5.3.3/0001-root-path.patch
patch
mit
460
Add the compilation of a shared library. Compile the lua binary with the shared library. And install the shared library. The variable BUILDMODE allows to switch between static and dynamic mode. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -42,6 +42,7 @@ TO_BIN= lua luac TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp TO_LIB= liblua.a +TO_SOLIB = liblua.so.$(R) TO_MAN= lua.1 luac.1 # Lua version and release. @@ -60,6 +61,8 @@ install: dummy cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD) cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN) + test -f src/$(TO_SOLIB) && cd src && $(INSTALL_EXEC) $(TO_SOLIB) $(INSTALL_LIB) || : + test -f src/$(TO_SOLIB) && ln -sf $(TO_SOLIB) $(INSTALL_LIB)/liblua.so || : cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC) cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB) cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN) Index: b/src/Makefile =================================================================== --- a/src/Makefile +++ b/src/Makefile @@ -29,6 +29,7 @@ PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris LUA_A= liblua.a +LUA_SO= liblua.so CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \ lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o \ ltm.o lundump.o lvm.o lzio.o @@ -43,8 +44,13 @@ LUAC_O= luac.o ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O) +ifneq (dynamic,$(BUILDMODE)) ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) +else +ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T) +endif ALL_A= $(LUA_A) +ALL_SO= $(LUA_SO) # Targets start here. default: $(PLAT) @@ -55,12 +61,23 @@ a: $(ALL_A) +so: $(ALL_SO) + $(LUA_A): $(BASE_O) $(AR) $@ $(BASE_O) $(RANLIB) $@ +$(LUA_SO): $(CORE_O) $(LIB_O) + $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $? + ln -fs $@.$(PKG_VERSION) $@ + +ifneq (dynamic,$(BUILDMODE)) $(LUA_T): $(LUA_O) $(LUA_A) $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) +else +$(LUA_T): $(LUA_O) $(LUA_SO) + $(CC) -o $@ -L. $(LDFLAGS) $(LUA_O) -llua $(LIBS) +endif $(LUAC_T): $(LUAC_O) $(LUA_A) $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
shibajee/buildroot
package/lua/5.3.3/0002-shared-libs-for-lua.patch
patch
mit
2,328
add lua.pc Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/etc/lua.pc =================================================================== --- /dev/null +++ b/etc/lua.pc @@ -0,0 +1,31 @@ +# lua.pc -- pkg-config data for Lua + +# vars from install Makefile + +# grep '^V=' ../Makefile +V= 5.3 +# grep '^R=' ../Makefile +R= 5.3.3 + +# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/' +prefix= /usr +INSTALL_BIN= ${prefix}/bin +INSTALL_INC= ${prefix}/include +INSTALL_LIB= ${prefix}/lib +INSTALL_MAN= ${prefix}/man/man1 +INSTALL_LMOD= ${prefix}/share/lua/${V} +INSTALL_CMOD= ${prefix}/lib/lua/${V} + +# canonical vars +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: Lua +Description: An Extensible Extension Language +Version: ${R} +Requires: +Libs: -L${libdir} -llua -lm +Cflags: -I${includedir} + +# (end of lua.pc)
shibajee/buildroot
package/lua/5.3.3/0004-lua-pc.patch
patch
mit
889
Add support of linenoise (replace readline) see discussion, http://lua-users.org/lists/lua-l/2010-03/msg00879.html Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/src/lua.c =================================================================== --- a/src/lua.c +++ b/src/lua.c @@ -83,6 +83,13 @@ #define lua_saveline(L,line) ((void)L, add_history(line)) #define lua_freeline(L,b) ((void)L, free(b)) +#elif defined(LUA_USE_LINENOISE) + +#include <linenoise.h> +#define lua_readline(L,b,p) ((void)L, ((b)=linenoise(p)) != NULL) +#define lua_saveline(L,line) ((void)L, linenoiseHistoryAdd(line)) +#define lua_freeline(L,b) ((void)L, free(b)) + #else /* }{ */ #define lua_readline(L,b,p) \
shibajee/buildroot
package/lua/5.3.3/0011-linenoise.patch
patch
mit
715
Expression list with four or more expressions in a 'for' loop can crash the interpreter. Fetch from: https://www.lua.org/bugs.html#5.3.3-1 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> --- a/src/lparser.c +++ b/src/lparser.c @@ -323,6 +323,8 @@ luaK_nil(fs, reg, extra); } } + if (nexps > nvars) + ls->fs->freereg -= nexps - nvars; /* remove extra values */ } @@ -1160,11 +1162,8 @@ int nexps; checknext(ls, '='); nexps = explist(ls, &e); - if (nexps != nvars) { + if (nexps != nvars) adjust_assign(ls, nvars, nexps, &e); - if (nexps > nvars) - ls->fs->freereg -= nexps - nvars; /* remove extra values */ - } else { luaK_setoneret(ls->fs, &e); /* close last expression */ luaK_storevar(ls->fs, &lh->v, &e); --
shibajee/buildroot
package/lua/5.3.3/0012-fix-loop-parser.patch
patch
mit
815
config BR2_PACKAGE_LUA bool "lua" select BR2_PACKAGE_HAS_LUAINTERPRETER help Lua is a powerful, fast, light-weight, embeddable scripting language. http://www.lua.org/ if BR2_PACKAGE_LUA config BR2_PACKAGE_PROVIDES_LUAINTERPRETER default "lua" choice prompt "Lua Version" default BR2_PACKAGE_LUA_5_3 help Select the version of Lua API/ABI you wish to use. config BR2_PACKAGE_LUA_5_1 bool "Lua 5.1.x" config BR2_PACKAGE_LUA_5_2 bool "Lua 5.2.x" config BR2_PACKAGE_LUA_5_3 bool "Lua 5.3.x" endchoice config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION default "5.1" if BR2_PACKAGE_LUA_5_1 default "5.2" if BR2_PACKAGE_LUA_5_2 default "5.3" if BR2_PACKAGE_LUA_5_3 if BR2_PACKAGE_LUA_5_3 config BR2_PACKAGE_LUA_32BITS bool "Use 32 bit numbers" default y if !BR2_ARCH_IS_64 help Use a 32 bit data type for numbers / integers instead of the default 64 bit type. This option is particularly attractive for small machines and embedded systems. endif choice prompt "Lua command-line editing" default BR2_PACKAGE_LUA_EDITING_NONE config BR2_PACKAGE_LUA_EDITING_NONE bool "none" help None. config BR2_PACKAGE_LUA_READLINE bool "readline support" select BR2_PACKAGE_READLINE select BR2_PACKAGE_NCURSES help Enables command-line editing in the Lua interpreter. config BR2_PACKAGE_LUA_LINENOISE bool "linenoise support" select BR2_PACKAGE_LINENOISE help Enables command-line editing in the Lua interpreter. endchoice endif
shibajee/buildroot
package/lua/Config.in
in
mit
1,479
# Hashes from: http://www.lua.org/ftp/ md5 703f75caa4fdf4a911c1a72e67a27498 lua-5.3.3.tar.gz sha1 a0341bc3d1415b814cc738b2ec01ae56045d64ef lua-5.3.3.tar.gz md5 913fdb32207046b273fdb17aad70be13 lua-5.2.4.tar.gz sha1 ef15259421197e3d85b7d6e4871b8c26fd82c1cf lua-5.2.4.tar.gz md5 2e115fe26e435e33b0d5c022e4490567 lua-5.1.5.tar.gz sha1 b3882111ad02ecc6b972f8c1241647905cb2e3fc lua-5.1.5.tar.gz
shibajee/buildroot
package/lua/lua.hash
hash
mit
425
################################################################################ # # lua # ################################################################################ ifeq ($(BR2_PACKAGE_LUA_5_3),y) LUA_VERSION = 5.3.3 else ifeq ($(BR2_PACKAGE_LUA_5_2),y) LUA_VERSION = 5.2.4 else LUA_VERSION = 5.1.5 endif endif LUA_SITE = http://www.lua.org/ftp LUA_INSTALL_STAGING = YES LUA_LICENSE = MIT ifeq ($(BR2_PACKAGE_LUA_5_1),y) LUA_LICENSE_FILES = COPYRIGHT else LUA_LICENSE_FILES = doc/readme.html endif LUA_PROVIDES = luainterpreter LUA_CFLAGS = -Wall -fPIC -DLUA_USE_POSIX ifeq ($(BR2_PACKAGE_LUA_5_2),y) LUA_CFLAGS += -DLUA_COMPAT_ALL endif ifeq ($(BR2_PACKAGE_LUA_5_3),y) LUA_CFLAGS += -DLUA_COMPAT_5_2 endif ifeq ($(BR2_STATIC_LIBS),y) LUA_BUILDMODE = static else LUA_BUILDMODE = dynamic LUA_CFLAGS += -DLUA_USE_DLOPEN LUA_MYLIBS += -ldl endif ifeq ($(BR2_PACKAGE_LUA_READLINE),y) LUA_DEPENDENCIES = readline ncurses LUA_MYLIBS += -lreadline -lhistory -lncurses LUA_CFLAGS += -DLUA_USE_READLINE else ifeq ($(BR2_PACKAGE_LUA_LINENOISE),y) LUA_DEPENDENCIES = linenoise LUA_MYLIBS += -llinenoise LUA_CFLAGS += -DLUA_USE_LINENOISE endif endif ifeq ($(BR2_PACKAGE_LUA_32BITS),y) define LUA_32BITS_LUACONF $(SED) 's/\/\* #define LUA_32BITS \*\//#define LUA_32BITS/' $(@D)/src/luaconf.h endef LUA_POST_PATCH_HOOKS += LUA_32BITS_LUACONF endif HOST_LUA_CFLAGS = -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX HOST_LUA_MYLIBS = -ldl define LUA_BUILD_CMDS $(MAKE) \ CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" \ CFLAGS="$(TARGET_CFLAGS) $(LUA_CFLAGS)" \ MYLIBS="$(LUA_MYLIBS)" AR="$(TARGET_CROSS)ar rcu" \ BUILDMODE=$(LUA_BUILDMODE) \ PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all endef define HOST_LUA_BUILD_CMDS $(MAKE) \ CFLAGS="$(HOST_LUA_CFLAGS)" \ MYLDFLAGS="$(HOST_LDFLAGS)" \ MYLIBS="$(HOST_LUA_MYLIBS)" \ BUILDMODE=static \ PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all endef define LUA_INSTALL_STAGING_CMDS $(MAKE) INSTALL_TOP="$(STAGING_DIR)/usr" -C $(@D) install $(INSTALL) -m 0644 -D $(@D)/etc/lua.pc \ $(STAGING_DIR)/usr/lib/pkgconfig/lua.pc endef define LUA_INSTALL_TARGET_CMDS $(MAKE) INSTALL_TOP="$(TARGET_DIR)/usr" -C $(@D) install endef define HOST_LUA_INSTALL_CMDS $(MAKE) INSTALL_TOP="$(HOST_DIR)/usr" -C $(@D) install $(INSTALL) -m 0644 -D $(@D)/etc/lua.pc \ $(HOST_DIR)/usr/lib/pkgconfig/lua.pc endef $(eval $(generic-package)) $(eval $(host-generic-package))
shibajee/buildroot
package/lua/lua.mk
mk
mit
2,410
config BR2_PACKAGE_LUABITOP bool "luabitop" depends on !BR2_PACKAGE_LUA_5_3 help Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise operations on numbers. http://bitop.luajit.org comment "luabitop needs a Lua 5.1/5.2 interpreter" depends on BR2_PACKAGE_LUA_5_3
shibajee/buildroot
package/luabitop/Config.in
in
mit
294
# Locally calculated sha256 fc7a8065a57462ee13bed7f95b0ab13f94ecd1bf846108c61ccf2c75548af26e luabitop-1.0.2-1.src.rock
shibajee/buildroot
package/luabitop/luabitop.hash
hash
mit
120
################################################################################ # # luabitop # ################################################################################ LUABITOP_VERSION_UPSTREAM = 1.0.2 LUABITOP_VERSION = $(LUABITOP_VERSION_UPSTREAM)-1 LUABITOP_SUBDIR = LuaBitOp-$(LUABITOP_VERSION_UPSTREAM) LUABITOP_LICENSE = MIT LUABITOP_LICENSE_FILES = $(LUABITOP_SUBDIR)/README $(eval $(luarocks-package))
shibajee/buildroot
package/luabitop/luabitop.mk
mk
mit
421
config BR2_PACKAGE_LUACRYPTO bool "luacrypto" select BR2_PACKAGE_OPENSSL help LuaCrypto provides a Lua frontend to the OpenSSL cryptographic library. The OpenSSL features that are currently exposed are digests (MD5, SHA-1, HMAC, and more) and crypto-grade random number generators communication. http://luacrypto.luaforge.net
shibajee/buildroot
package/luacrypto/Config.in
in
mit
348
# Locally calculated sha256 dc935c923b8851208d5d504b343448a9d5bd3e537bb8657875f12d72155600b8 luacrypto-0.3.2-1.src.rock
shibajee/buildroot
package/luacrypto/luacrypto.hash
hash
mit
121
################################################################################ # # luacrypto # ################################################################################ LUACRYPTO_VERSION_UPSTREAM = 0.3.2 LUACRYPTO_VERSION = $(LUACRYPTO_VERSION_UPSTREAM)-1 LUACRYPTO_SUBDIR = luacrypto-$(LUACRYPTO_VERSION_UPSTREAM) LUACRYPTO_LICENSE = MIT LUACRYPTO_LICENSE_FILES = $(LUACRYPTO_SUBDIR)/COPYING LUACRYPTO_DEPENDENCIES = openssl $(eval $(luarocks-package))
shibajee/buildroot
package/luacrypto/luacrypto.mk
mk
mit
465
config BR2_PACKAGE_LUAEXPAT bool "luaexpat" select BR2_PACKAGE_EXPAT depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LuaExpat is a SAX XML parser based on the Expat library. http://matthewwild.co.uk/projects/luaexpat/
shibajee/buildroot
package/luaexpat/Config.in
in
mit
228
# Locally calculated sha256 aa7883a0d44f500e32ef306c04632546f97f33159fffa7bcdc3f451170f95896 luaexpat-1.3.0-1.src.rock
shibajee/buildroot
package/luaexpat/luaexpat.hash
hash
mit
120
################################################################################ # # luaexpat # ################################################################################ LUAEXPAT_VERSION = 1.3.0-1 LUAEXPAT_DEPENDENCIES = expat LUAEXPAT_LICENSE = MIT $(eval $(luarocks-package))
shibajee/buildroot
package/luaexpat/luaexpat.mk
mk
mit
287
config BR2_PACKAGE_LUAEXPATUTILS bool "luaexpatutils" select BR2_PACKAGE_LUAEXPAT help lxp.doc is a module that provides useful features for working with XML formats in LOM format as used by the LuaExpat project from Kepler. https://github.com/stevedonovan/LuaExpatUtils
shibajee/buildroot
package/luaexpatutils/Config.in
in
mit
284
# Locally calculated sha256 9b50bef94a6ddb6e6d4fffd5392f5c53d15e1a048966b559c4f8eda5e84d4517 luaexpatutils-88c228365b084224c911d34aff06002634b38b50.tar.gz
shibajee/buildroot
package/luaexpatutils/luaexpatutils.hash
hash
mit
156
################################################################################ # # luaexpatutils # ################################################################################ LUAEXPATUTILS_VERSION = 88c228365b084224c911d34aff06002634b38b50 LUAEXPATUTILS_SITE = $(call github,stevedonovan,LuaExpatUtils,$(LUAEXPATUTILS_VERSION)) LUAEXPATUTILS_LICENSE = Public Domain LUAEXPATUTILS_DEPENDENCIES = luaexpat define LUAEXPATUTILS_INSTALL_TARGET_CMDS $(INSTALL) -m 0644 -D $(@D)/lua/doc.lua \ $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)/lxp/doc.lua endef $(eval $(generic-package))
shibajee/buildroot
package/luaexpatutils/luaexpatutils.mk
mk
mit
598
config BR2_PACKAGE_LUAFILESYSTEM bool "luafilesystem" depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LuaFileSystem offers a portable way to access the underlying directory structure and file attributes. http://keplerproject.github.com/luafilesystem/
shibajee/buildroot
package/luafilesystem/Config.in
in
mit
263
# Locally calculated sha256 70121e78b8ef9365265b85027729d0520c1163f5609abfa9554b215a672f4e7a luafilesystem-1.6.3-1.src.rock
shibajee/buildroot
package/luafilesystem/luafilesystem.hash
hash
mit
125
################################################################################ # # luafilesystem # ################################################################################ LUAFILESYSTEM_VERSION = 1.6.3-1 LUAFILESYSTEM_LICENSE = MIT LUAFILESYSTEM_SUBDIR = luafilesystem $(eval $(luarocks-package))
shibajee/buildroot
package/luafilesystem/luafilesystem.mk
mk
mit
309
config BR2_PACKAGE_HAS_LUAINTERPRETER bool config BR2_PACKAGE_PROVIDES_LUAINTERPRETER string depends on BR2_PACKAGE_HAS_LUAINTERPRETER config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION string
shibajee/buildroot
package/luainterpreter/Config.in
in
mit
194
################################################################################ # # luainterpreter # ################################################################################ LUAINTERPRETER_ABIVER = $(call qstrip,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION)) $(eval $(virtual-package)) $(eval $(host-virtual-package)) LUA_RUN = $(HOST_DIR)/usr/bin/$(call qstrip,$(BR2_PACKAGE_PROVIDES_LUAINTERPRETER))
shibajee/buildroot
package/luainterpreter/luainterpreter.mk
mk
mit
410
Do not use a symlink for the binary, simply name it luajit Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -43,8 +43,7 @@ INSTALL_MAN= $(INSTALL_SHARE)/man/man1 INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig -INSTALL_TNAME= luajit-$(VERSION) -INSTALL_TSYMNAME= luajit +INSTALL_TNAME= luajit INSTALL_ANAME= libluajit-$(ABIVER).a INSTALL_SONAME= libluajit-$(ABIVER).so.$(MAJVER).$(MINVER).$(RELVER) INSTALL_SOSHORT= libluajit-$(ABIVER).so @@ -58,7 +57,6 @@ INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT) INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT) INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME) -INSTALL_TSYM= $(INSTALL_BIN)/$(INSTALL_TSYMNAME) INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME) INSTALL_DIRS= $(INSTALL_BIN) $(INSTALL_LIB) $(INSTALL_INC) $(INSTALL_MAN) \
shibajee/buildroot
package/luajit/0001-no-bin-symlink.patch
patch
mit
929
Install includes like lua's ones Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ INSTALL_BIN= $(DPREFIX)/bin INSTALL_LIB= $(DPREFIX)/$(MULTILIB) INSTALL_SHARE= $(DPREFIX)/share -INSTALL_INC= $(DPREFIX)/include/luajit-$(MAJVER).$(MINVER) +INSTALL_INC= $(DPREFIX)/include INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit-$(VERSION) INSTALL_JITLIB= $(INSTALL_LJLIBD)/jit
shibajee/buildroot
package/luajit/0002-install-inc.patch
patch
mit
520
fix the following runtime error : luajit: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory by creating two symbolic links: libluajit-5.1.so -> libluajit-5.1.so.2.0.3 libluajit-5.1.so.2 -> libluajit-5.1.so.2.0.3 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ INSTALL_STATIC= $(INSTALL_LIB)/$(INSTALL_ANAME) INSTALL_DYN= $(INSTALL_LIB)/$(INSTALL_SONAME) INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT) -INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT) +INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT).$(MAJVER) INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME) INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)
shibajee/buildroot
package/luajit/0003-install-so.patch
patch
mit
842
config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS bool default y if BR2_i386 || \ (BR2_x86_64 && BR2_HOSTARCH='x86_64') || \ BR2_powerpc || BR2_arm || BR2_armeb || \ ((BR2_mips || BR2_mipsel) && !BR2_MIPS_SOFT_FLOAT && \ !BR2_mips_32r6 && !BR2_mips_64r6) config BR2_PACKAGE_LUAJIT bool "luajit" select BR2_PACKAGE_HAS_LUAINTERPRETER depends on !BR2_STATIC_LIBS # dlopen # Luajit is only available for some target architectures, and # has some complexity wrt 32/64. See luajit.mk for details. depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit.mk uses the "-m32" compiler option to build 32bit # binaries, so check if that option is supported. See # luajit.mk for details. select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64 help LuaJIT implements the full set of language features defined by Lua 5.1. The virtual machine (VM) is API- and ABI-compatible to the standard Lua interpreter and can be deployed as a drop-in replacement. http://luajit.org/ if BR2_PACKAGE_LUAJIT config BR2_PACKAGE_PROVIDES_LUAINTERPRETER default "luajit" config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION default "5.1" endif comment "luajit needs a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS
shibajee/buildroot
package/luajit/Config.in
in
mit
1,224
# Hashes from: http://luajit.org/download.html md5 dd9c38307f2223a504cbfb96e477eca0 LuaJIT-2.0.4.tar.gz
shibajee/buildroot
package/luajit/luajit.hash
hash
mit
107
################################################################################ # # luajit # ################################################################################ LUAJIT_VERSION = 2.0.4 LUAJIT_SOURCE = LuaJIT-$(LUAJIT_VERSION).tar.gz LUAJIT_SITE = http://luajit.org/download LUAJIT_LICENSE = MIT LUAJIT_LICENSE_FILES = COPYRIGHT LUAJIT_INSTALL_STAGING = YES LUAJIT_PROVIDES = luainterpreter ifeq ($(BR2_STATIC_LIBS),y) LUAJIT_BUILDMODE = static else LUAJIT_BUILDMODE = dynamic endif # The luajit build procedure requires the host compiler to have the # same bitness as the target compiler. Therefore, on a x86 build # machine, we can't build luajit for x86_64, which is checked in # Config.in. When the target is a 32 bits target, we pass -m32 to # ensure that even on 64 bits build machines, a compiler of the same # bitness is used. Of course, this assumes that the 32 bits multilib # libraries are installed. ifeq ($(BR2_ARCH_IS_64),y) LUAJIT_HOST_CC = $(HOSTCC) else LUAJIT_HOST_CC = $(HOSTCC) -m32 endif # We unfortunately can't use TARGET_CONFIGURE_OPTS, because the luajit # build system uses non conventional variable names. define LUAJIT_BUILD_CMDS $(MAKE) PREFIX="/usr" \ STATIC_CC="$(TARGET_CC)" \ DYNAMIC_CC="$(TARGET_CC) -fPIC" \ TARGET_LD="$(TARGET_CC)" \ TARGET_AR="$(TARGET_AR) rcus" \ TARGET_STRIP=true \ TARGET_CFLAGS="$(TARGET_CFLAGS)" \ TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \ HOST_CC="$(LUAJIT_HOST_CC)" \ HOST_CFLAGS="$(HOST_CFLAGS)" \ HOST_LDFLAGS="$(HOST_LDFLAGS)" \ BUILDMODE=$(LUAJIT_BUILDMODE) \ -C $(@D) amalg endef define LUAJIT_INSTALL_STAGING_CMDS $(MAKE) PREFIX="/usr" DESTDIR="$(STAGING_DIR)" LDCONFIG=true -C $(@D) install endef define LUAJIT_INSTALL_TARGET_CMDS $(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" LDCONFIG=true -C $(@D) install endef define LUAJIT_INSTALL_SYMLINK ln -fs luajit $(TARGET_DIR)/usr/bin/lua endef LUAJIT_POST_INSTALL_TARGET_HOOKS += LUAJIT_INSTALL_SYMLINK # host-efl package needs host-luajit to be linked dynamically. define HOST_LUAJIT_BUILD_CMDS $(MAKE) PREFIX="$(HOST_DIR)/usr" BUILDMODE=dynamic \ TARGET_LDFLAGS="$(HOST_LDFLAGS)" \ -C $(@D) amalg endef define HOST_LUAJIT_INSTALL_CMDS $(MAKE) PREFIX="$(HOST_DIR)/usr" LDCONFIG=true -C $(@D) install endef $(eval $(generic-package)) $(eval $(host-generic-package))
shibajee/buildroot
package/luajit/luajit.mk
mk
mit
2,333
config BR2_PACKAGE_LUAJSON bool "luajson" # run-time dependency select BR2_PACKAGE_LPEG help LuaJSON is a customizable JSON decoder/encoder using LPEG for parsing. http://github.com/harningt/luajson
shibajee/buildroot
package/luajson/Config.in
in
mit
213
# Locally calculated sha256 4898e5575713b37a1eb9badbd3968e15ec1856115daaed9819acf39113616619 luajson-1.3.3-1.src.rock
shibajee/buildroot
package/luajson/luajson.hash
hash
mit
119
################################################################################ # # luajson # ################################################################################ LUAJSON_VERSION = 1.3.3-1 LUAJSON_SUBDIR = luajson LUAJSON_LICENSE = MIT LUAJSON_LICENSE_FILES = $(LUAJSON_SUBDIR)/LICENSE $(eval $(luarocks-package))
shibajee/buildroot
package/luajson/luajson.mk
mk
mit
329
config BR2_PACKAGE_LUALOGGING bool "lualogging" help LuaLogging provides a simple API to use logging features in Lua. Its design was based on log4j. LuaLogging currently supports, through the use of appenders, console, file, rolling file, email, socket and SQL outputs. http://www.keplerproject.org/lualogging/
shibajee/buildroot
package/lualogging/Config.in
in
mit
329
# Locally calculated sha256 6ca3827c4903814626b96011e17ad99b42ecfa983b605aa75bf58f17e90ed58d lualogging-1.3.0-1.src.rock
shibajee/buildroot
package/lualogging/lualogging.hash
hash
mit
122
################################################################################ # # lualogging # ################################################################################ LUALOGGING_VERSION = 1.3.0-1 LUALOGGING_SUBDIR = lualogging LUALOGGING_LICENSE = MIT LUALOGGING_LICENSE_FILES = $(LUALOGGING_SUBDIR)/COPYRIGHT $(eval $(luarocks-package))
shibajee/buildroot
package/lualogging/lualogging.mk
mk
mit
352
config BR2_PACKAGE_LUAPOSIX bool "luaposix" depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA_5_1 # LuaBitOp is already included in LuaJIT help This is a POSIX binding for LuaJIT, Lua 5.1, 5.2 and 5.3; like most libraries it simply binds to C APIs on the underlying system, so it won't work on non-POSIX systems. However, it does try to detect the level of POSIX conformance of the underlying system and bind only available APIs. https://github.com/luaposix/luaposix
shibajee/buildroot
package/luaposix/Config.in
in
mit
530
# Locally calculated sha256 e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21 luaposix-33.4.0.tar.gz
shibajee/buildroot
package/luaposix/luaposix.hash
hash
mit
116
################################################################################ # # luaposix # ################################################################################ LUAPOSIX_VERSION = 33.4.0 LUAPOSIX_SITE = $(call github,luaposix,luaposix,release-v$(LUAPOSIX_VERSION)) LUAPOSIX_LICENSE = MIT LUAPOSIX_LICENSE_FILES = COPYING LUAPOSIX_DEPENDENCIES = luainterpreter host-lua LUAPOSIX_CONF_OPTS = --libdir="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" --datarootdir="/usr/share/lua/$(LUAINTERPRETER_ABIVER)" $(eval $(autotools-package))
shibajee/buildroot
package/luaposix/luaposix.mk
mk
mit
542
# Locally calculated sha256 68e38feeb66052e29ad1935a71b875194ed8b9c67c2223af5f4d4e3e2464ed97 luarocks-2.3.0.tar.gz
shibajee/buildroot
package/luarocks/luarocks.hash
hash
mit
116
################################################################################ # # luarocks # ################################################################################ LUAROCKS_VERSION = 2.3.0 LUAROCKS_SITE = http://luarocks.org/releases LUAROCKS_LICENSE = MIT LUAROCKS_LICENSE_FILES = COPYING HOST_LUAROCKS_DEPENDENCIES = host-luainterpreter LUAROCKS_CONFIG_DIR = $(HOST_DIR)/usr/etc/luarocks LUAROCKS_CONFIG_FILE = $(LUAROCKS_CONFIG_DIR)/config-$(LUAINTERPRETER_ABIVER).lua LUAROCKS_CFLAGS = $(TARGET_CFLAGS) -fPIC ifeq ($(BR2_PACKAGE_LUA_5_3),y) LUAROCKS_CFLAGS += -DLUA_COMPAT_5_2 endif HOST_LUAROCKS_CONF_OPTS = \ --prefix=$(HOST_DIR)/usr \ --sysconfdir=$(LUAROCKS_CONFIG_DIR) \ --with-lua=$(HOST_DIR)/usr ifeq ($(BR2_PACKAGE_LUAJIT),y) HOST_LUAROCKS_CONF_OPTS += --lua-suffix=jit endif define HOST_LUAROCKS_CONFIGURE_CMDS cd $(@D) && ./configure $(HOST_LUAROCKS_CONF_OPTS) endef define HOST_LUAROCKS_INSTALL_CMDS rm -f $(LUAROCKS_CONFIG_FILE) $(MAKE1) -C $(@D) install \ PREFIX=$(HOST_DIR)/usr echo "-- BR cross-compilation" >> $(LUAROCKS_CONFIG_FILE) echo "variables = {" >> $(LUAROCKS_CONFIG_FILE) echo " LUA_INCDIR = [[$(STAGING_DIR)/usr/include]]," >> $(LUAROCKS_CONFIG_FILE) echo " LUA_LIBDIR = [[$(STAGING_DIR)/usr/lib]]," >> $(LUAROCKS_CONFIG_FILE) echo " CC = [[$(TARGET_CC)]]," >> $(LUAROCKS_CONFIG_FILE) echo " LD = [[$(TARGET_CC)]]," >> $(LUAROCKS_CONFIG_FILE) echo " CFLAGS = [[$(LUAROCKS_CFLAGS)]]," >> $(LUAROCKS_CONFIG_FILE) echo " LIBFLAG = [[-shared $(TARGET_LDFLAGS)]]," >> $(LUAROCKS_CONFIG_FILE) echo "}" >> $(LUAROCKS_CONFIG_FILE) echo "external_deps_dirs = { [[$(STAGING_DIR)/usr]] }" >> $(LUAROCKS_CONFIG_FILE) echo "gcc_rpath = false" >> $(LUAROCKS_CONFIG_FILE) echo "rocks_trees = { [[$(TARGET_DIR)/usr]] }" >> $(LUAROCKS_CONFIG_FILE) echo "wrap_bin_scripts = false" >> $(LUAROCKS_CONFIG_FILE) echo "deps_mode = [[none]]" >> $(LUAROCKS_CONFIG_FILE) endef $(eval $(host-generic-package)) LUAROCKS_RUN_ENV = LUA_PATH="$(HOST_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)/?.lua" LUAROCKS_RUN_CMD = $(LUA_RUN) $(HOST_DIR)/usr/bin/luarocks define LUAROCKS_FINALIZE_TARGET rm -rf $(TARGET_DIR)/usr/lib/luarocks endef LUAROCKS_TARGET_FINALIZE_HOOKS += LUAROCKS_FINALIZE_TARGET
shibajee/buildroot
package/luarocks/luarocks.mk
mk
mit
2,524
config BR2_PACKAGE_LUASEC bool "luasec" select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_LUASOCKET depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LuaSec is a binding for OpenSSL library to provide TLS/SSL communication. http://www.inf.puc-rio.br/~brunoos/luasec/
shibajee/buildroot
package/luasec/Config.in
in
mit
275
# Locally calculated sha256 d2198cc39b3fa55bd5020046742b34093b6efcb619cf4032948b8c8556202a32 luasec-0.5-2.src.rock
shibajee/buildroot
package/luasec/luasec.hash
hash
mit
116
################################################################################ # # luasec # ################################################################################ LUASEC_VERSION_UPSTREAM = 0.5 LUASEC_VERSION = $(LUASEC_VERSION_UPSTREAM)-2 LUASEC_SUBDIR = luasec LUASEC_LICENSE = MIT LUASEC_LICENSE_FILES = $(LUASEC_SUBDIR)/LICENSE LUASEC_DEPENDENCIES = openssl $(eval $(luarocks-package))
shibajee/buildroot
package/luasec/luasec.mk
mk
mit
403
config BR2_PACKAGE_LUASOCKET bool "luasocket" depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LuaSocket is the most comprehensive networking support library for the Lua language. It provides easy access to TCP, UDP, DNS, SMTP, FTP, HTTP, MIME and much more. http://luaforge.net/projects/luasocket/
shibajee/buildroot
package/luasocket/Config.in
in
mit
316
# Locally calculated sha256 453fc1d0e9b6a44bbada4290d565f840a5e96ba2d1b47562ba38bd9c7e82195a luasocket-3.0rc1-1.src.rock
shibajee/buildroot
package/luasocket/luasocket.hash
hash
mit
122
################################################################################ # # luasocket # ################################################################################ LUASOCKET_VERSION = 3.0rc1-1 LUASOCKET_SUBDIR = luasocket-3.0-rc1 LUASOCKET_LICENSE = MIT LUASOCKET_LICENSE_FILES = $(LUASOCKET_SUBDIR)/LICENSE $(eval $(luarocks-package))
shibajee/buildroot
package/luasocket/luasocket.mk
mk
mit
352
config BR2_PACKAGE_LUASQL_SQLITE3 bool "luasql-sqlite3" depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_SQLITE help LuaSQL is a simple interface from Lua to a DBMS. http://www.keplerproject.org/luasql
shibajee/buildroot
package/luasql-sqlite3/Config.in
in
mit
226
# Locally calculated sha256 e98d4e997682097f5bc2859596b9615f4cb87438db23ceb4af5e36b4424524ab luasql-sqlite3-2.3.0-1.src.rock
shibajee/buildroot
package/luasql-sqlite3/luasql-sqlite3.hash
hash
mit
126
################################################################################ # # luasql-sqlite3 # ################################################################################ LUASQL_SQLITE3_VERSION = 2.3.0-1 LUASQL_SQLITE3_SUBDIR = luasql LUASQL_SQLITE3_LICENSE = MIT LUASQL_SQLITE3_LICENSE_FILES = $(LUASQL_SQLITE3_SUBDIR)/README LUASQL_SQLITE3_DEPENDENCIES = sqlite $(eval $(luarocks-package))
shibajee/buildroot
package/luasql-sqlite3/luasql-sqlite3.mk
mk
mit
406
config BR2_PACKAGE_LUNIT bool "lunit" depends on BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT help A unit testing framework for Lua. http://www.mroth.net/lunit/ comment "lunit needs a Lua 5.1 interpreter" depends on !BR2_PACKAGE_LUA_5_1 depends on !BR2_PACKAGE_LUAJIT
shibajee/buildroot
package/lunit/Config.in
in
mit
278
# Locally calculated sha256 b19854c685337ddcec2fe9c22113d2cd14715d52ccd2676abe2fa49b61a2ec4d lunit-0.5-2.src.rock
shibajee/buildroot
package/lunit/lunit.hash
hash
mit
115
################################################################################ # # lunit # ################################################################################ LUNIT_VERSION_UPSTREAM = 0.5 LUNIT_VERSION = $(LUNIT_VERSION_UPSTREAM)-2 LUNIT_SUBDIR = lunit-$(LUNIT_VERSION_UPSTREAM) LUNIT_LICENSE = MIT LUNIT_LICENSE_FILES = $(LUNIT_SUBDIR)/LICENSE $(eval $(luarocks-package))
shibajee/buildroot
package/lunit/lunit.mk
mk
mit
390
config BR2_PACKAGE_LUTOK bool "lutok" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_PACKAGE_HAS_LUAINTERPRETER depends on !BR2_PACKAGE_LUAJIT help Lutok is a lightweight C++ API library for Lua. https://github.com/jmmv/lutok comment "lutok needs a toolchain w/ C++ and full Lua" depends on !BR2_INSTALL_LIBSTDCPP || BR2_PACKAGE_LUAJIT depends on BR2_PACKAGE_HAS_LUAINTERPRETER
shibajee/buildroot
package/lutok/Config.in
in
mit
394
# Locally computed sha256 2cec51efa0c8d65ace8b21eaa08384b77abc5087b46e785f78de1c21fb754cd5 lutok-0.4.tar.gz
shibajee/buildroot
package/lutok/lutok.hash
hash
mit
108
################################################################################ # # lutok # ################################################################################ LUTOK_VERSION = 0.4 LUTOK_SITE = https://github.com/jmmv/lutok/releases/download/lutok-$(LUTOK_VERSION) LUTOK_INSTALL_STAGING = YES LUTOK_DEPENDENCIES = host-pkgconf lua # --without-atf disables the atf-based lutok tests LUTOK_CONF_OPTS = --without-doxygen --without-atf LUTOK_LICENSE = BSD-3c LUTOK_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/lutok/lutok.mk
mk
mit
529
config BR2_PACKAGE_LUV bool "luv" select BR2_PACKAGE_LIBUV depends on BR2_TOOLCHAIN_HAS_THREADS # libuv depends on BR2_USE_MMU # libuv depends on !BR2_STATIC_LIBS # libuv help libuv bindings for LuaJIT and Lua. https://github.com/luvit/luv comment "luv needs a toolchain w/ threads, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS depends on BR2_USE_MMU
shibajee/buildroot
package/luv/Config.in
in
mit
396
# Locally calculated sha256 2eab80360f8ab6793612bb59d067a56664ac9a5a14988e0a09a53d0bff20c131 luv-1.9.1-0.tar.gz
shibajee/buildroot
package/luv/luv.hash
hash
mit
114
################################################################################ # # luv # ################################################################################ LUV_VERSION = 1.9.1-0 LUV_SITE = https://github.com/luvit/luv/releases/download/$(LUV_VERSION) LUV_LICENSE = Apache-2.0 LUV_LICENSE_FILES = LICENSE.txt LUV_DEPENDENCIES = libuv LUV_INSTALL_STAGING = YES LUV_CONF_OPTS += \ -DBUILD_MODULE=OFF \ -DWITH_SHARED_LIBUV=ON \ -DLUA_BUILD_TYPE=System ifeq ($(BR2_PACKAGE_LUAJIT),y) LUV_DEPENDENCIES += luajit LUV_CONF_OPTS += \ -DWITH_LUA_ENGINE=LuaJIT else LUV_DEPENDENCIES += lua LUV_CONF_OPTS += \ -DWITH_LUA_ENGINE=Lua endif $(eval $(cmake-package))
shibajee/buildroot
package/luv/luv.mk
mk
mit
676
config BR2_PACKAGE_LUVI bool "luvi" depends on BR2_TOOLCHAIN_HAS_THREADS # libuv depends on BR2_USE_MMU # libuv depends on !BR2_STATIC_LIBS # libuv depends on BR2_PACKAGE_LUAJIT select BR2_PACKAGE_LIBUV select BR2_PACKAGE_LUV help A project in-between luv and luvit. The goal of this is to make building luvit and derivatives much easier. luvi extends LuaJIT with asynchronous I/O and several optional modules to run Lua applications and build self-contained binaries on systems that don't have a compiler. The luvi core can be extended with several Lua modules by adding its bundled Lua binding libraries. To get the Lua module... * 'rex' select PCRE (BR2_PACKAGE_PCRE) * 'ssl' select OpenSSL (BR2_PACKAGE_OPENSSL) * 'zlib' select zlib (BR2_PACKAGE_ZLIB) https://github.com/luvit/luvi comment "luvi needs a toolchain w/ threads, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS depends on BR2_USE_MMU comment "luvi needs LuaJIT" depends on !BR2_PACKAGE_LUAJIT
shibajee/buildroot
package/luvi/Config.in
in
mit
1,041
# Locally calculated sha256 b36a3b96ec5852398338bc38567c5bb589783487c65130e1d702ff98fac3a6b7 luvi-src-v2.7.5.tar.gz
shibajee/buildroot
package/luvi/luvi.hash
hash
mit
118
################################################################################ # # luvi # ################################################################################ LUVI_VERSION = v2.7.5 LUVI_SOURCE = luvi-src-$(LUVI_VERSION).tar.gz LUVI_SITE = https://github.com/luvit/luvi/releases/download/$(LUVI_VERSION) LUVI_LICENSE = Apache-2.0 LUVI_LICENSE_FILES = LICENSE.txt LUVI_DEPENDENCIES = libuv luajit luv host-luajit # Dispatch all architectures of LuaJIT ifeq ($(BR2_i386),y) LUVI_TARGET_ARCH = x86 else ifeq ($(BR2_x86_64),y) LUVI_TARGET_ARCH = x64 else ifeq ($(BR2_powerpc),y) LUVI_TARGET_ARCH = ppc else ifeq ($(BR2_arm)$(BR2_armeb),y) LUVI_TARGET_ARCH = arm else ifeq ($(BR2_mips),y) LUVI_TARGET_ARCH = mips else ifeq ($(BR2_mipsel),y) LUVI_TARGET_ARCH = mipsel else LUVI_TARGET_ARCH = $(BR2_ARCH) endif # Bundled lua bindings have to be linked statically into the luvi executable LUVI_CONF_OPTS = \ -DBUILD_SHARED_LIBS=OFF \ -DWithSharedLibluv=ON \ -DTARGET_ARCH=$(LUVI_TARGET_ARCH) \ -DLUA_PATH=$(HOST_DIR)/usr/share/luajit-2.0.4/?.lua # Add "rex" module (PCRE via bundled lrexlib) ifeq ($(BR2_PACKAGE_PCRE),y) LUVI_DEPENDENCIES += pcre LUVI_CONF_OPTS += -DWithPCRE=ON -DWithSharedPCRE=ON else LUVI_CONF_OPTS += -DWithPCRE=OFF -DWithSharedPCRE=OFF endif # Add "ssl" module (via bundled lua-openssl) ifeq ($(BR2_PACKAGE_OPENSSL),y) LUVI_DEPENDENCIES += openssl LUVI_CONF_OPTS += -DWithOpenSSL=ON -DWithOpenSSLASM=ON -DWithSharedOpenSSL=ON else LUVI_CONF_OPTS += -DWithOpenSSL=OFF -DWithOpenSSLASM=OFF -DWithSharedOpenSSL=OFF endif # Add "zlib" module (via bundled lua-zlib) ifeq ($(BR2_PACKAGE_ZLIB),y) LUVI_DEPENDENCIES += zlib LUVI_CONF_OPTS += -DWithZLIB=ON -DWithSharedZLIB=ON else LUVI_CONF_OPTS += -DWithZLIB=OFF -DWithSharedZLIB=OFF endif $(eval $(cmake-package))
shibajee/buildroot
package/luvi/luvi.mk
mk
mit
1,796
config BR2_PACKAGE_LVM2 bool "lvm2 & device mapper" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # needs fork() depends on !BR2_STATIC_LIBS # It fails to build statically help This is LVM2, the rewrite of The Linux Logical Volume Manager. LVM supports enterprise level volume management of disk and disk subsystems by grouping arbitrary disks into volume groups. The total capacity of volume groups can be allocated to logical volumes, which are accessed as regular block devices. The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) Team's implementation of a minimalistic kernel-space driver that handles volume management, while keeping knowledge of the underlying device layout in user-space. This makes it useful for not only LVM, but EVMS, software raid, and other drivers that create "virtual" block devices. if BR2_PACKAGE_LVM2 config BR2_PACKAGE_LVM2_STANDARD_INSTALL bool "standard install instead of only dmsetup" default y if !BR2_PACKAGE_LVM2_DMSETUP_ONLY # legacy 2013.11 help Install the standard suite of lvm2 programs. When this option is not set, only dmsetup is installed. config BR2_PACKAGE_LVM2_APP_LIBRARY bool "install application library" select BR2_PACKAGE_LVM2_STANDARD_INSTALL help Install application library (liblvm2app). endif comment "lvm2 needs a toolchain w/ threads, dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/lvm2/Config.in
in
mit
1,497
# From ftp://sources.redhat.com/pub/lvm2/releases/sha512.sum sha512 9544bb7706488ac128d477af7294bcfd7b7e47cb0b1d604ea52c4545d6c3a5a71311945994dd1114cb1ce086d2006a35ef1d8b0fdd3082dfe5cc468cb0168057 LVM2.2.02.162.tgz
shibajee/buildroot
package/lvm2/lvm2.hash
hash
mit
216
################################################################################ # # lvm2 # ################################################################################ LVM2_VERSION = 2.02.162 LVM2_SOURCE = LVM2.$(LVM2_VERSION).tgz LVM2_SITE = ftp://sources.redhat.com/pub/lvm2/releases LVM2_INSTALL_STAGING = YES LVM2_LICENSE = GPLv2, LGPLv2.1 LVM2_LICENSE_FILES = COPYING COPYING.LIB # Make sure that binaries and libraries are installed with write # permissions for the owner. LVM2_CONF_OPTS += \ --enable-write_install \ --enable-pkgconfig \ --enable-cmdlib \ --enable-dmeventd # LVM2 uses autoconf, but not automake, and the build system does not # take into account the CC passed at configure time. LVM2_MAKE_ENV = CC="$(TARGET_CC)" ifeq ($(BR2_PACKAGE_READLINE),y) LVM2_DEPENDENCIES += readline else # v2.02.44: disable readline usage, or binaries are linked against provider # of "tgetent" (=> ncurses) even if it's not used.. LVM2_CONF_OPTS += --disable-readline endif ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),) LVM2_MAKE_OPTS = device-mapper LVM2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install_device-mapper LVM2_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install_device-mapper endif ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y) LVM2_CONF_OPTS += --enable-applib else LVM2_CONF_OPTS += --disable-applib endif ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no endif $(eval $(autotools-package))
shibajee/buildroot
package/lvm2/lvm2.mk
mk
mit
1,454
Don't do -Werror it breaks builds on some scenarios with trivialities. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> diff -Nura lxc-lxc-1.0.4/configure.ac lxc-lxc-1.0.4.orig/configure.ac --- lxc-lxc-1.0.4.orig/configure.ac 2014-07-04 10:31:19.821029891 -0300 +++ lxc-lxc-1.0.4/configure.ac 2014-06-13 14:07:45.000000000 -0300 @@ -560,7 +560,7 @@ LXC_CHECK_TLS if test "x$GCC" = "xyes"; then - CFLAGS="$CFLAGS -Wall -Werror" + CFLAGS="$CFLAGS -Wall" fi # Files requiring some variable expansion
shibajee/buildroot
package/lxc/0001-drop-werror.patch
patch
mit
516
From 245bba9aadf8e7aea487b6fbd851f86c75524552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks> Date: Thu, 19 May 2016 21:51:27 +0200 Subject: [PATCH] Fix redefinition of struct in6_addr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit struct in6_addr is both defined in the C library header <netinet/in.h> and the Linux kernel header <linux/in6.h>. lxc_user_nic.c includes both <netinet/in.h> and <linux/if_bridge.h>. The later one includes <linux/in6.h>. This breaks build with the musl libc: error: redefinition of ‘struct in6_addr’ As lxc_user_nic.c does not use any references from <linux/if_bridge.h> it is safe to remove this header. Upstream status: Pending https://github.com/lxc/lxc/pull/1029 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> --- src/lxc/lxc_user_nic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lxc/lxc_user_nic.c b/src/lxc/lxc_user_nic.c index 87780ca..0cb38ba 100644 --- a/src/lxc/lxc_user_nic.c +++ b/src/lxc/lxc_user_nic.c @@ -41,7 +41,6 @@ #include <net/if.h> #include <net/if_arp.h> #include <netinet/in.h> -#include <linux/if_bridge.h> #include <linux/netlink.h> #include <linux/rtnetlink.h> #include <linux/sockios.h> -- 2.8.2
shibajee/buildroot
package/lxc/0002-Fix-redefinition-of-struct-in6_addr.patch
patch
mit
1,287
config BR2_PACKAGE_LXC bool "lxc" select BR2_PACKAGE_LIBCAP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() # build system forcefully builds a shared library depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # setns() system call help Linux Containers (LXC), provides the ability to group and isolate of a set of processes in a jail by virtualizing and accounting the kernel resources. It is similar to Linux-Vserver or Openvz. https://linuxcontainers.org/ comment "lxc needs a toolchain w/ threads, headers >= 3.0, dynamic library" depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \ || BR2_STATIC_LIBS
shibajee/buildroot
package/lxc/Config.in
in
mit
729
# Locally calculated sha256 9588ad1b04e114ee7370f690c65131e28098b28d2521d97c73557d11897ed0be lxc-1.1.5.tar.gz
shibajee/buildroot
package/lxc/lxc.hash
hash
mit
110
################################################################################ # # lxc # ################################################################################ LXC_VERSION = 1.1.5 LXC_SITE = https://linuxcontainers.org/downloads/lxc LXC_LICENSE = LGPLv2.1+ LXC_LICENSE_FILES = COPYING LXC_DEPENDENCIES = libcap host-pkgconf # we're patching configure.ac LXC_AUTORECONF = YES LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \ --disable-lua --disable-python \ $(if $(BR2_PACKAGE_BASH),,--disable-bash) ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) LXC_CONF_OPTS += --enable-seccomp LXC_DEPENDENCIES += libseccomp else LXC_CONF_OPTS += --disable-seccomp endif $(eval $(autotools-package))
shibajee/buildroot
package/lxc/lxc.mk
mk
mit
703
config BR2_PACKAGE_LZ4 bool "lz4" help LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems. http://www.lz4.org/
shibajee/buildroot
package/lz4/Config.in
in
mit
353
# sha256 locally computed sha256 9d4d00614d6b9dec3114b33d1224b6262b99ace24434c53487a0c8fd0b18cfed lz4-r131.tar.gz
shibajee/buildroot
package/lz4/lz4.hash
hash
mit
115
################################################################################ # # lz4 # ################################################################################ LZ4_VERSION = r131 LZ4_SITE = $(call github,Cyan4973,lz4,$(LZ4_VERSION)) LZ4_INSTALL_STAGING = YES LZ4_LICENSE = BSD-2c (library), GPLv2+ (programs) LZ4_LICENSE_FILES = lib/LICENSE programs/COPYING ifeq ($(BR2_STATIC_LIBS),y) define LZ4_DISABLE_SHARED $(SED) '/SHARED/d' $(@D)/lib/Makefile endef LZ4_POST_PATCH_HOOKS += LZ4_DISABLE_SHARED endif define HOST_LZ4_BUILD_CMDS $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) endef define HOST_LZ4_INSTALL_CMDS $(MAKE) $(HOST_CONFIGURE_OPTS) PREFIX=$(HOST_DIR)/usr \ install -C $(@D) endef define LZ4_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/lib endef define LZ4_INSTALL_STAGING_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(STAGING_DIR) \ PREFIX=/usr install -C $(@D) endef define LZ4_INSTALL_TARGET_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) \ PREFIX=/usr install -C $(@D)/lib endef $(eval $(generic-package)) $(eval $(host-generic-package))
shibajee/buildroot
package/lz4/lz4.mk
mk
mit
1,103
comment "lzip needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP config BR2_PACKAGE_LZIP bool "lzip" depends on BR2_INSTALL_LIBSTDCPP help Lzip is a lossless data compressor with a user interface similar to the one of gzip or bzip2. Lzip is about as fast as gzip, compresses most files more than bzip2, and is better than both from a data recovery perspective. Lzip is a clean implementation of the LZMA algorithm. http://savannah.nongnu.org/projects/lzip
shibajee/buildroot
package/lzip/Config.in
in
mit
489
# Locally calculated after checking pgp signature sha256 7cd3fcda68fc9900efcf7784313e3bdd1303fef1a0546db9723f5e5564dd05b6 lzip-1.15.tar.gz
shibajee/buildroot
package/lzip/lzip.hash
hash
mit
139
################################################################################ # # lzip # ################################################################################ LZIP_VERSION = 1.15 LZIP_SITE = http://download.savannah.gnu.org/releases/lzip LZIP_LICENSE = GPLv3+ LZIP_LICENSE_FILES = COPYING define LZIP_CONFIGURE_CMDS (cd $(@D); ./configure --prefix=/usr \ $(TARGET_CONFIGURE_OPTS) ) endef define HOST_LZIP_CONFIGURE_CMDS (cd $(@D); ./configure --prefix=/usr \ $(HOST_CONFIGURE_OPTS) ) endef define LZIP_BUILD_CMDS $(MAKE) -C $(@D) endef define HOST_LZIP_BUILD_CMDS $(MAKE) -C $(@D) endef define LZIP_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install endef define HOST_LZIP_INSTALL_CMDS $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install endef # It's not autotools-based $(eval $(generic-package)) $(eval $(host-generic-package))
shibajee/buildroot
package/lzip/lzip.mk
mk
mit
871
config BR2_PACKAGE_LZLIB bool "lzlib" select BR2_PACKAGE_ZLIB depends on BR2_PACKAGE_LUA help This package provides a library to access zlib library functions and also to read/write gzip files using an interface similar to the base io package. https://github.com/LuaDist/lzlib
shibajee/buildroot
package/lzlib/Config.in
in
mit
294
# Locally calculated sha256 cbb0cac5825e940b4ea2f31a336d2aaf6db39847d456920afd8e443804420dbb lzlib-0.4.3.tar.gz
shibajee/buildroot
package/lzlib/lzlib.hash
hash
mit
112
################################################################################ # # lzlib # ################################################################################ LZLIB_VERSION = 0.4.3 LZLIB_SITE = $(call github,LuaDist,lzlib,$(LZLIB_VERSION)) LZLIB_DEPENDENCIES = zlib LZLIB_LICENSE = MIT LZLIB_CONF_OPTS = -DINSTALL_CMOD="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \ -DINSTALL_LMOD="/usr/share/lua/$(LUAINTERPRETER_ABIVER)" $(eval $(cmake-package))
shibajee/buildroot
package/lzlib/lzlib.mk
mk
mit
461
From 1b33f6d13e5c25a2500ee312068c08a3d3811a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@laposte.net> Date: Wed, 3 Dec 2014 21:32:02 +0100 Subject: [PATCH] Remove -static from LDFLAGS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Buildroot does not enable static libraries by default for host builds. Having -static hardcoded in the LDFLAGS breaks the build, so remove it. Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> --- src/lzmadec/Makefile.am | 1 - src/lzmadec/Makefile.in | 1 - src/lzmainfo/Makefile.am | 1 - src/lzmainfo/Makefile.in | 1 - 4 files changed, 4 deletions(-) diff --git a/src/lzmadec/Makefile.am b/src/lzmadec/Makefile.am index 7322b2a..13edec8 100644 --- a/src/lzmadec/Makefile.am +++ b/src/lzmadec/Makefile.am @@ -2,6 +2,5 @@ bin_PROGRAMS = lzmadec lzmadec_SOURCES = lzmadec.c lzmadec_LDADD = @top_builddir@/src/liblzmadec/liblzmadec.la AM_CPPFLAGS = -I@top_srcdir@/src/liblzmadec -AM_LDFLAGS = -static dist_man_MANS = lzmadec.1 diff --git a/src/lzmadec/Makefile.in b/src/lzmadec/Makefile.in index 5af9240..4ed1de1 100644 --- a/src/lzmadec/Makefile.in +++ b/src/lzmadec/Makefile.in @@ -185,7 +185,6 @@ top_srcdir = @top_srcdir@ lzmadec_SOURCES = lzmadec.c lzmadec_LDADD = @top_builddir@/src/liblzmadec/liblzmadec.la AM_CPPFLAGS = -I@top_srcdir@/src/liblzmadec -AM_LDFLAGS = -static dist_man_MANS = lzmadec.1 all: all-am diff --git a/src/lzmainfo/Makefile.am b/src/lzmainfo/Makefile.am index b5b01ec..e280bff 100644 --- a/src/lzmainfo/Makefile.am +++ b/src/lzmainfo/Makefile.am @@ -2,6 +2,5 @@ bin_PROGRAMS = lzmainfo lzmainfo_SOURCES = lzmainfo.c lzmainfo_LDADD = @top_builddir@/src/liblzmadec/liblzmadec.la AM_CPPFLAGS = -I@top_srcdir@/src/liblzmadec -AM_LDFLAGS = -static dist_man_MANS = lzmainfo.1 diff --git a/src/lzmainfo/Makefile.in b/src/lzmainfo/Makefile.in index 6a2127a..f1f3441 100644 --- a/src/lzmainfo/Makefile.in +++ b/src/lzmainfo/Makefile.in @@ -185,7 +185,6 @@ top_srcdir = @top_srcdir@ lzmainfo_SOURCES = lzmainfo.c lzmainfo_LDADD = @top_builddir@/src/liblzmadec/liblzmadec.la AM_CPPFLAGS = -I@top_srcdir@/src/liblzmadec -AM_LDFLAGS = -static dist_man_MANS = lzmainfo.1 all: all-am -- 2.1.3
shibajee/buildroot
package/lzma/0001-Remove-static-from-LDFLAGS.patch
patch
mit
2,263
# Locally calculated sha256 02aa57f995d15b7acb7c2496d88a39fb0124ea00bf027cc61dd24eddb5942dff lzma-4.32.7.tar.xz
shibajee/buildroot
package/lzma/lzma.hash
hash
mit
112
################################################################################ # # lzma # ################################################################################ LZMA_VERSION = 4.32.7 LZMA_SOURCE = lzma-$(LZMA_VERSION).tar.xz LZMA_SITE = http://tukaani.org/lzma $(eval $(host-autotools-package)) LZMA = $(HOST_DIR)/usr/bin/lzma
shibajee/buildroot
package/lzma/lzma.mk
mk
mit
342