Commit Graph

11 Commits

Author SHA1 Message Date
Rosen Penev 2fa8485ed8 luasocket: switch to local tarballs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-23 18:58:49 -07:00
W. Michael Petullo a54c2caa9c luasocket: update to 3.1.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-12-22 16:32:17 -08:00
W. Michael Petullo b1d67bd944 luasocket: update to 3.0.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-11 17:49:59 -04:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Colby Whitney 0c0b74618c luasocket: variant for lua5.1 and lua5.3
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>
2019-07-29 23:33:30 +02:00
Colby Whitney 5de3d6c220 luasocket: update version
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>
2019-07-29 23:32:15 +02:00
Rosen Penev ecb4fcca0c
luasocket: Replace -fpic with $(FPIC)
This is causing linking errors on i386 and ppc.

Also removed custom warnings an optimization levels that override stock
settings.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-02 12:49:45 -07:00
Laurent Papier cb44bfebd5 luasocket: fix build on mpc85xx
Signed-off-by: Laurent Papier <papier[at]tuxfan.net>
2018-02-23 14:49:48 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Jan Čermák 34b21dc910 luasocket: add socket.unix module
Previous build was missing module socket.unix that is required for
interaction with Unix domain sockets and is distributed in a separate
shared library. This commit adds the file to the created package.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
2015-03-24 16:46:00 +01:00
W. Michael Petullo 57b3bffa8c Copy luasocket package from old repository
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00