From 3a8f49d4eb093e67babbb642b8d71d5d4cca6690 Mon Sep 17 00:00:00 2001 From: Jianhui Zhao Date: Thu, 26 Dec 2024 12:21:06 +0800 Subject: [PATCH] lua-eco: update to 3.7.0 Signed-off-by: Jianhui Zhao --- lang/lua-eco/Makefile | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/lang/lua-eco/Makefile b/lang/lua-eco/Makefile index 7e1c460e59..032d820c65 100644 --- a/lang/lua-eco/Makefile +++ b/lang/lua-eco/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lua-eco -PKG_VERSION:=3.6.2 +PKG_VERSION:=3.7.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL=https://github.com/zhaojh329/lua-eco/releases/download/v$(PKG_VERSION) -PKG_HASH:=89dc89a70a30fd1b42a5341b6a5e42aba2509b02492aca635148d6f0e0669152 +PKG_HASH:=c8f35657cc873cbfc6e2c3cd0e9bfb3add0b634d1cfba648947e47f303f81d1d PKG_MAINTAINER:=Jianhui Zhao PKG_LICENSE:=MIT @@ -47,7 +47,9 @@ endef Package/lua-eco-log=$(call Package/lua-eco/Module,log utils) Package/lua-eco-base64=$(call Package/lua-eco/Module,base64) Package/lua-eco-sha1=$(call Package/lua-eco/Module,sha1) +Package/lua-eco-sha256=$(call Package/lua-eco/Module,sha256) Package/lua-eco-md5=$(call Package/lua-eco/Module,md5) +Package/lua-eco-hmac=$(call Package/lua-eco/Module,hmac) Package/lua-eco-socket=$(call Package/lua-eco/Module,socket) Package/lua-eco-dns=$(call Package/lua-eco/Module,dns,+lua-eco-socket) Package/lua-eco-ssl=$(call Package/lua-eco/Module,ssl,\ @@ -120,11 +122,21 @@ define Package/lua-eco-sha1/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/sha1.so $(1)/usr/local/lib/lua/5.3/eco/hash endef +define Package/lua-eco-sha256/install + $(INSTALL_DIR) $(1)/usr/local/lib/lua/5.3/eco/hash + $(INSTALL_BIN) $(PKG_BUILD_DIR)/sha256.so $(1)/usr/local/lib/lua/5.3/eco/hash +endef + define Package/lua-eco-md5/install $(INSTALL_DIR) $(1)/usr/local/lib/lua/5.3/eco/hash $(INSTALL_BIN) $(PKG_BUILD_DIR)/md5.so $(1)/usr/local/lib/lua/5.3/eco/hash endef +define Package/lua-eco-hmac/install + $(INSTALL_DIR) $(1)/usr/local/lib/lua/5.3/eco/hash + $(INSTALL_BIN) $(PKG_BUILD_DIR)/hmac.lua $(1)/usr/local/lib/lua/5.3/eco/hash +endef + define Package/lua-eco-socket/install $(INSTALL_DIR) $(1)/usr/local/lib/lua/5.3/eco/core $(INSTALL_DATA) $(PKG_BUILD_DIR)/socket.lua $(1)/usr/local/lib/lua/5.3/eco @@ -201,7 +213,9 @@ $(eval $(call BuildPackage,lua-eco)) $(eval $(call BuildPackage,lua-eco-log)) $(eval $(call BuildPackage,lua-eco-base64)) $(eval $(call BuildPackage,lua-eco-sha1)) +$(eval $(call BuildPackage,lua-eco-sha256)) $(eval $(call BuildPackage,lua-eco-md5)) +$(eval $(call BuildPackage,lua-eco-hmac)) $(eval $(call BuildPackage,lua-eco-socket)) $(eval $(call BuildPackage,lua-eco-dns)) $(eval $(call BuildPackage,lua-eco-ssl)) -- 2.30.2