aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorW. Michael Petullo <mike@flyn.org>2022-12-19 20:08:38 -0600
committerRosen Penev <rosenp@gmail.com>2022-12-22 16:32:17 -0800
commita54c2caa9c1d33c4accf724f00cb7a601899001e (patch)
tree9605a0e533d059493af79fbc6063106434144621
parent2262a023feb545d07a3cbc014d7369d9e0f58032 (diff)
luasocket: update to 3.1.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
-rw-r--r--lang/luasocket/Makefile10
-rw-r--r--lang/luasocket/patches/0001-Add-interface-support.patch2
2 files changed, 6 insertions, 6 deletions
diff --git a/lang/luasocket/Makefile b/lang/luasocket/Makefile
index c0b07e3cb..7125f78c1 100644
--- a/lang/luasocket/Makefile
+++ b/lang/luasocket/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luasocket
-PKG_VERSION:=3.0.0
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_VERSION:=3.1.0
+PKG_RELEASE:=1
PKG_SOURCE:=v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/lunarmodules/luasocket/archive/refs/tags
-PKG_HASH:=04d98e40edcee7c7c5f83f0e8ba5503d14b56280e20daceee9e34ed7cf8f1b15
+PKG_HASH:=bf033aeb9e62bcaa8d007df68c119c966418e8c9ef7e4f2d7e96bddeca9cca6e
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
PKG_LICENSE:=MIT
@@ -76,13 +76,13 @@ define Package/luasocket/install
$(INSTALL_DIR) $(1)/usr/lib/lua
$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/{ltn12,mime,socket}.lua $(1)/usr/lib/lua
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mime-1.0.3.so $(1)/usr/lib/lua
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/socket-3.0-rc1.so $(1)/usr/lib/lua
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/socket-3.0.0.so $(1)/usr/lib/lua
$(INSTALL_DIR) $(1)/usr/lib/lua/mime
ln -sf ../mime-1.0.3.so $(1)/usr/lib/lua/mime/core.so
$(INSTALL_DIR) $(1)/usr/lib/lua/socket
$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/{ftp,http,smtp,tp,url,headers}.lua $(1)/usr/lib/lua/socket
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/unix.so $(1)/usr/lib/lua/socket
- ln -sf ../socket-3.0-rc1.so $(1)/usr/lib/lua/socket/core.so
+ ln -sf ../socket-3.0.0.so $(1)/usr/lib/lua/socket/core.so
endef
diff --git a/lang/luasocket/patches/0001-Add-interface-support.patch b/lang/luasocket/patches/0001-Add-interface-support.patch
index 43c74e9f5..d7bfe2bb8 100644
--- a/lang/luasocket/patches/0001-Add-interface-support.patch
+++ b/lang/luasocket/patches/0001-Add-interface-support.patch
@@ -213,7 +213,7 @@ Subject: [PATCH] Add interface resolving
/*=========================================================================*\
* Internal functions prototypes
\*=========================================================================*/
-@@ -389,6 +392,12 @@ static int opt_ip6_setmembership(lua_Sta
+@@ -414,6 +417,12 @@ static int opt_ip6_setmembership(lua_Sta
if (!lua_isnil(L, -1)) {
if (lua_isnumber(L, -1)) {
val.ipv6mr_interface = (unsigned int) lua_tonumber(L, -1);