lua: Update to version 5.4.7

Message ID 20240825191109.1965960-5-adolf.belka@ipfire.org
State Staged
Commit 893dd25c88ef2e1ed193ede5c86e0328154dfe78
Headers
Series lua: Update to version 5.4.7 |

Commit Message

Adolf Belka Aug. 25, 2024, 7:11 p.m. UTC
  - Update from version 5.4.6 to 5.4.7
- Update of rootfile
- Rename of patch file to make it clear that it works with 5.4.7
- Changelog is not available. Details of changes have to be founbd via the list of commits
   https://github.com/lua/lua/commits/master

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/lua                            |  2 +-
 lfs/lua                                                | 10 +++++-----
 ...ibrary-1.patch => lua-5.4.7-shared_library-1.patch} |  0
 3 files changed, 6 insertions(+), 6 deletions(-)
 rename src/patches/{lua-5.4.6-shared_library-1.patch => lua-5.4.7-shared_library-1.patch} (100%)
  

Patch

diff --git a/config/rootfiles/common/lua b/config/rootfiles/common/lua
index 6b69167ef..799148912 100644
--- a/config/rootfiles/common/lua
+++ b/config/rootfiles/common/lua
@@ -7,7 +7,7 @@  usr/bin/luac
 #usr/include/lualib.h
 #usr/lib/liblua.so
 usr/lib/liblua.so.5.4
-usr/lib/liblua.so.5.4.6
+usr/lib/liblua.so.5.4.7
 #usr/lib/lua
 #usr/lib/lua/5.4
 #usr/lib/pkgconfig/lua.pc
diff --git a/lfs/lua b/lfs/lua
index 96be2090a..e0cfc43d4 100644
--- a/lfs/lua
+++ b/lfs/lua
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 5.4.6
+VER        = 5.4.7
 
 THISAPP    = lua-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = b5d8dbc4b3ec1708b715be438c1a1f48d4f5f226885992af147c1aa6a8823bed318f77ef7cc92b265dadd26cf6088f0f39784fbfd2f9887c35de8e9def2c0558
+$(DL_FILE)_BLAKE2 = 151baed5c40ed117a26a4fb8d0b02f247eacacd98c3270c308a19e453eb647f6c3d5a6a5811fac7ec95db9866c2f06847d5c2be97c83b1e14e561ac8f7482d30
 
 install : $(TARGET)
 
@@ -70,7 +70,7 @@  $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/lua-5.4.6-shared_library-1.patch
+	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/lua-5.4.7-shared_library-1.patch
 	# install lua pkgconfig file
 	install -v -m 644 ${DIR_SRC}/config/lua/lua.pc \
 			/usr/lib/pkgconfig/lua.pc
@@ -78,7 +78,7 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	cd $(DIR_APP) && make INSTALL_TOP=/usr                			\
 			      INSTALL_DATA="cp -d"            			\
 			      INSTALL_MAN=/usr/share/man/man1 			\
-			      TO_LIB="liblua.so liblua.so.5.4 liblua.so.5.4.6"  \
+			      TO_LIB="liblua.so liblua.so.5.4 liblua.so.5.4.7"  \
 			 install
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)
diff --git a/src/patches/lua-5.4.6-shared_library-1.patch b/src/patches/lua-5.4.7-shared_library-1.patch
similarity index 100%
rename from src/patches/lua-5.4.6-shared_library-1.patch
rename to src/patches/lua-5.4.7-shared_library-1.patch