From 992da74bbf9378fc397d37386905d3092b7e8db5 Mon Sep 17 00:00:00 2001 From: Dirk Chang Date: Fri, 1 Nov 2019 14:55:02 +0800 Subject: [PATCH] lpeg: update to 1.0.2 lua-coxpcall: update to 1.17.0 lua-md5: update to 1.3 Signed-off-by: Dirk Chang --- lang/lpeg/Makefile | 6 +++--- lang/lua-coxpcall/Makefile | 6 +++--- lang/lua-md5/Makefile | 7 ++++--- lang/lua-md5/patches/config.patch | 15 +++++++++------ 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/lang/lpeg/Makefile b/lang/lpeg/Makefile index 5d56fb261..896b70b5f 100644 --- a/lang/lpeg/Makefile +++ b/lang/lpeg/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lpeg -PKG_VERSION:=0.12.2 -PKG_RELEASE:=2 +PKG_VERSION:=1.0.2 +PKG_RELEASE:=1 PKG_MAINTAINER:=Dirk Chang PKG_LICENSE:=MIT PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.inf.puc-rio.br/~roberto/lpeg/ -PKG_HASH:=6aad270b91d1b1c6fd75f68e162329a04a644e50e917d55f46cc8384b7120004 +PKG_HASH:=48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe include $(INCLUDE_DIR)/package.mk diff --git a/lang/lua-coxpcall/Makefile b/lang/lua-coxpcall/Makefile index 95d92acaa..c9345df4b 100644 --- a/lang/lua-coxpcall/Makefile +++ b/lang/lua-coxpcall/Makefile @@ -8,16 +8,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lua-coxpcall -PKG_VERSION:=1.15.0 +PKG_VERSION:=1.17.0 PKG_RELEASE:=1 PKG_MAINTAINER:=Dirk Chang PKG_LICENSE:=MIT PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MIRROR_HASH:=2a99faec759aeb858eca3691a40609dd2710255497011e5754c4a2282232154b +PKG_MIRROR_HASH:=e037c1aa1d2a2b213fca144d86cd5b5cf2cd77cec6d8f52d056add7ea806f0dc PKG_SOURCE_URL:=https://github.com/keplerproject/coxpcall.git PKG_SOURCE_PROTO:=git -PKG_SOURCE_VERSION:=979257892884816c97391dfd7b0a7b30dcc8f479 +PKG_SOURCE_VERSION:=ea22f44e490430e40217f0792bf82eaeaec51903 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL:=1 diff --git a/lang/lua-md5/Makefile b/lang/lua-md5/Makefile index 4e4cae054..f4bb3e1c2 100644 --- a/lang/lua-md5/Makefile +++ b/lang/lua-md5/Makefile @@ -8,16 +8,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lua-md5 -PKG_VERSION:=1.2 +PKG_VERSION:=1.3 PKG_RELEASE:=1 PKG_MAINTAINER:=Dirk Chang PKG_LICENSE:=MIT PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MIRROR_HASH:=89a186d9e8bb43a6d45207eeba2883600854ea05befda55b38f7ac215b0d5615 +PKG_MIRROR_HASH:=675b8ba144d14cbe66abfd360d9a8861a18d5b69966768d6cdc78ca3c9fe0baf PKG_SOURCE_URL:=https://github.com/keplerproject/md5.git PKG_SOURCE_PROTO:=git -PKG_SOURCE_VERSION:=024b65738b4434860777fc43d7cacaefea29ec60 +PKG_SOURCE_VERSION:=2a98633d7587a4900cfa7cbed340f377f4acd930 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL:=1 @@ -60,6 +60,7 @@ define Build/Compile endef define Build/Install + mkdir -p $(PKG_INSTALL_DIR)/usr/lib/lua $(MAKE) -C $(PKG_BUILD_DIR) \ LUA_LIBDIR="$(PKG_INSTALL_DIR)/usr/lib/lua" \ LUA_DIR="$(PKG_INSTALL_DIR)/usr/lib/lua" \ diff --git a/lang/lua-md5/patches/config.patch b/lang/lua-md5/patches/config.patch index abea3a88c..85ec51fea 100644 --- a/lang/lua-md5/patches/config.patch +++ b/lang/lua-md5/patches/config.patch @@ -1,19 +1,22 @@ ---- lua-md5-1.2/config 2014-06-04 16:55:50.000000000 +0800 -+++ lua-md5-1.2_new/config 2014-06-04 16:57:54.223539416 +0800 -@@ -1,13 +1,13 @@ +--- a/config 2019-11-01 13:58:27.907691645 +0800 ++++ b/config 2019-11-01 14:00:52.126290663 +0800 +@@ -1,16 +1,16 @@ # Installation directories # Default prefix -PREFIX = /usr/local +PREFIX = /usr + # Lua version + LUA_SYS_VER ?= 5.2 + # System's libraries directory (where binary libraries are installed) --LUA_LIBDIR= $(PREFIX)/lib/lua/5.1 +-LUA_LIBDIR= $(PREFIX)/lib/lua/$(LUA_SYS_VER) +LUA_LIBDIR= $(PREFIX)/lib/lua # System's lua directory (where Lua libraries are installed) --LUA_DIR= $(PREFIX)/share/lua/5.1 -+LUA_DIR= $(PREFIX)/lib/lua +-LUA_DIR= $(PREFIX)/share/lua/$(LUA_SYS_VER) ++LUA_DIR= $(PREFIX)/share/lua # Lua includes directory LUA_INC= $(PREFIX)/include