Updating luasocket package that is compatible with, and built against,
lua version 5.3 and 5.1.
I made the following modifications:
Makefile - Set the LUAV environment variable in the build variant.
Set an include path in the lua build so that that lua headers could
be found. Also using the make install target as everything is put
in the correct place automatically for the lua 5.3 build.
The lua 5.1 build still uses the old install method because when
I was testing using the "install" target the lua5.1 interpreter
was unable to locate resources. So that is why there are
two install methods.
Built and tested on BCM5301X.
Signed-off-by: Colby Whitney <colby.whitney@luxul.com>
I made the following modifications:
Makefile - Updated the upstream version. Set the LUAV environment
variable in the build variant. Set an include path in the lua build so
that that lua headers could be found. Set source date version to
identify the source.
0001-Add-interface-support.patch - ported this patch which included
replacing one deprecated call for 5.3. Validated that the interface
functionality added by the patch is working and functional. The
following lua script line was functional: print(socket.iface.indextoname(2))
0301-Fix-mpc85xx-build.patch - Just fixed the offsets and fuzz in the
patch
040-remove-fpic-and-warnings.patch - ported this patch. I did make one
change. The patch name is called remove fpic and warnings, but the
patch was also removing optimization. I ported the removal of fpic and
warnings, however I left optimization in.
Built and tested on BCM5301X.
Signed-off-by: Colby Whitney <colby.whitney@luxul.com>
[ rmilecki: fix whitespaces in 040-remove-fpic-and-warnings.patch ]
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Replaced git:// link with https:// which gets through firewalls easier.
Replaced archive with .xz. The one currently in the mirrors has the wrong
hash. .xz is also smaller than .gz.
Eliminated already default CMake option.
Eliminated Build/InstallDev with CMAKE_INSTALL.
Added PKG_BUILD_PARALLEL for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
After the introduction of Lua 5.3 to OpenWrt, elektra picks it up instead
of 5.1. Since 5.1 is unsupported anyway, switch to 5.3.
Added liblua to PKG_BUILD_DEPENDS as the FindLua script is broken. Having
it here allows compilation to continue.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
libzmq is used by fbzmq, which absolutely requires libstdcpp since it's a
C++14 project. There's no point in using two libc++.
Cleaned up Makefile for consistency between packages.
Added nanosleep patch for platforms that are missing usleep.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
When compiled with musl >1.1.20, fastd will crash in case it can't
resolve a peers hostname. This is due to a changed implementation of
freeaddrinfo in musl 1.1.21 onwards.
This segfault is fixed by not calling freeaddrinfo in case the supplied
pointer is null.
Signed-off-by: David Bauer <mail@david-bauer.net>
Bash is not needed here. These scripts are POSIX compliant.
This was originally added as the configure script looks for /bin/bash
locally. Passing gl_cv_posix_shell overrides this.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Decompression speedup of 7% on average.
Remove upstreamed uClibc-ng patch.
Fixed optimization option to show properly under menuconfig.
Added LTO for smaller size.
Signed-off-by: Rosen Penev <rosenp@gmail.com>