Initial Commit
- initial default booting image
This commit is contained in:
27
package/luasyslog/0001-remove-AX_LUA_LIBS.patch
Normal file
27
package/luasyslog/0001-remove-AX_LUA_LIBS.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
From 84296c5eae651b45ebfa233199b7ddc009a5dad3 Mon Sep 17 00:00:00 2001
|
||||
From: Francois Perrad <francois.perrad@gadz.org>
|
||||
Date: Fri, 21 Jun 2019 14:58:54 +0200
|
||||
Subject: [PATCH] remove AX_LUA_LIBS
|
||||
|
||||
AX_LUA_LIBS fails with LuaJIT
|
||||
|
||||
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
||||
---
|
||||
configure.ac | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 9ac6c95..d7fc518 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -32,7 +32,6 @@ AC_PATH_PROG([LUAROCKS], [luarocks], [:])
|
||||
AX_PROG_LUA([5.1],[6.0])
|
||||
|
||||
dnl Check for libraries
|
||||
-AX_LUA_LIBS
|
||||
|
||||
dnl Check for functions
|
||||
AC_HEADER_STDC
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
From aed16d13d881492e8558f9da21be2dffc4ab2c33 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sat, 4 Sep 2021 17:23:58 +0200
|
||||
Subject: [PATCH] build/ax_lua.m4: fix cross-compilation
|
||||
|
||||
Don't try to "find" and "fix" the script and module directories when
|
||||
cross-compiling as this will give unexpected results such as using
|
||||
${prefix}/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/usr/share/lua/5.3
|
||||
instead of
|
||||
${prefix}/share/lua/5.3
|
||||
if the host machine root directory is /usr
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/09fa6dd9844d6d4694801ec59434dad7a56bf290
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
build/ax_lua.m4 | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/build/ax_lua.m4 b/build/ax_lua.m4
|
||||
index 23ca774..7c25cfd 100644
|
||||
--- a/build/ax_lua.m4
|
||||
+++ b/build/ax_lua.m4
|
||||
@@ -291,7 +291,7 @@ AC_DEFUN([AX_PROG_LUA],
|
||||
|
||||
dnl Try to find a path with the prefix.
|
||||
_AX_LUA_FND_PRFX_PTH([$LUA], [$ax_lua_prefix], [package.path])
|
||||
- AS_IF([test "x$ax_lua_prefixed_path" != 'x'],
|
||||
+ AS_IF([test "x$ax_lua_prefixed_path" != 'x' && test "x$cross_compiling" != 'xyes'],
|
||||
[ dnl Fix the prefix.
|
||||
_ax_strip_prefix=`echo "$ax_lua_prefix" | sed 's|.|.|g'`
|
||||
ax_cv_lua_luadir=`echo "$ax_lua_prefixed_path" | \
|
||||
@@ -318,7 +318,7 @@ AC_DEFUN([AX_PROG_LUA],
|
||||
dnl Try to find a path with the prefix.
|
||||
_AX_LUA_FND_PRFX_PTH([$LUA],
|
||||
[$ax_lua_exec_prefix], [package.cpathd])
|
||||
- AS_IF([test "x$ax_lua_prefixed_path" != 'x'],
|
||||
+ AS_IF([test "x$ax_lua_prefixed_path" != 'x' && test "x$cross_compiling" != 'xyes'],
|
||||
[ dnl Fix the prefix.
|
||||
_ax_strip_prefix=`echo "$ax_lua_exec_prefix" | sed 's|.|.|g'`
|
||||
ax_cv_lua_luaexecdir=`echo "$ax_lua_prefixed_path" | \
|
||||
--
|
||||
2.32.0
|
||||
|
||||
7
package/luasyslog/Config.in
Normal file
7
package/luasyslog/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LUASYSLOG
|
||||
bool "luasyslog"
|
||||
select BR2_PACKAGE_LUALOGGING # runtime
|
||||
help
|
||||
syslog appender for LuaLogging.
|
||||
|
||||
https://github.com/ntd/luasyslog
|
||||
3
package/luasyslog/luasyslog.hash
Normal file
3
package/luasyslog/luasyslog.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 b1b19ca142130f93c3f8f2e85303ff50cc6f4ed4aa52b8569176ae56e3dc3f43 luasyslog-2.2.1.tar.gz
|
||||
sha256 833457938f5155e65dabda12a5c9d4b6fd7fb92dd7ead584c1c30cfb0c84adf4 COPYING
|
||||
16
package/luasyslog/luasyslog.mk
Normal file
16
package/luasyslog/luasyslog.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# luasyslog
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUASYSLOG_VERSION = 2.2.1
|
||||
LUASYSLOG_SITE = $(call github,ntd,luasyslog,$(LUASYSLOG_VERSION))
|
||||
LUASYSLOG_DEPENDENCIES = host-luarocks luainterpreter
|
||||
LUASYSLOG_LICENSE = MIT
|
||||
LUASYSLOG_LICENSE_FILES = COPYING
|
||||
# fetching from github
|
||||
# 0001-remove-AX_LUA_LIBS.patch touches configure.ac
|
||||
LUASYSLOG_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user