Package: haproxy
Severity: normal
Control: tags -1 patch

Dear Maintainer,

haproxy still depends on lua5.3. However, as per
https://www.lua.org/versions.html, lua 5.3 is no longer maintained
upstream.

Moreover, the upstream "INSTALL" and "Makefile" files currently present
in the pristine sources suggest that Lua 5.4 is the haproxy preferred
Lua verson.

Although there are mentions to 5.3 under doc/*, these seem to be
outdated and seem to refer back to HAProxy 1.6.

Lena Voytek patched HAProxy in Ubuntu to use Lua 5.4 with the snippets
below.

Is it time to move to Lua 5.4?

diff --git a/debian/control b/debian/control
index d3f060e7..449c195d 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Standards-Version: 4.4.1
 Build-Depends: debhelper-compat (= 12),
                libpcre2-dev,
                libssl-dev,
-               liblua5.3-dev,
+               liblua5.4-dev,
                libsystemd-dev [linux-any],
                libjemalloc-dev,
                python3-sphinx,
diff --git a/debian/rules b/debian/rules
index 49f56c38..84d21cfa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ MAKEARGS=V=1 \
         USE_SLZ=1 \
         USE_LUA=1 \
         USE_PROMEX=1 \
-        LUA_INC=/usr/include/lua5.3 \
+        LUA_INC=/usr/include/lua5.4 \
         EXTRA=admin/halog/halog
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
--

-- 
Athos Ribeiro

Reply via email to