Summary: | net-proxy/haproxy Allow LUA | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Lothian <mike> |
Component: | Current packages | Assignee: | Christian Ruppert (idl0r) <idl0r> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mike Lothian
2022-06-17 16:02:43 UTC
It didn't work / detect it for you because it's kind of hardcoded for Lua 5.3 only. It will need more work, to make it more dynamically but it's also not entirely clear if it works fine with anything other than 5.3. I'm telling you how I got it working Support for Lua 5.4 was added a while ago What I wanted to say is, I'd like it to be fixed upstream if possible, so that anybody can benefit from it and not just Gentoo. There was a request about a year ago already, which I just tried to revive: https://www.mail-archive.com/haproxy@formilux.org/msg42474.html So we'll likely get both soonish, 5.4 for Gentoo as well as HAProxy upstream. Sure, but it's a pretty simple fix, and we have to do stuff like this in lots of ebuilds. I don't know if it's really a big deal. Ah I understand, you want it to auto-detect lua 5.4 Is there a reason we don't just use the patch? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e135fe1d9b508e778de85d44f40382f2221f7ea commit 1e135fe1d9b508e778de85d44f40382f2221f7ea Author: Christian Ruppert <idl0r@gentoo.org> AuthorDate: 2022-06-28 09:25:58 +0000 Commit: Christian Ruppert <idl0r@gentoo.org> CommitDate: 2022-06-28 09:27:12 +0000 net-proxy/haproxy: Add LUA 5.4 support, thanks to Mike Lothian Bug: https://bugs.gentoo.org/852809 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Christian Ruppert <idl0r@gentoo.org> net-proxy/haproxy/files/haproxy-lua54.patch | 63 +++++++++++++++++++++++++++++ net-proxy/haproxy/haproxy-2.4.17.ebuild | 6 ++- net-proxy/haproxy/haproxy-2.4.9999.ebuild | 6 ++- net-proxy/haproxy/haproxy-2.6.1.ebuild | 6 ++- net-proxy/haproxy/haproxy-2.6.9999.ebuild | 6 ++- net-proxy/haproxy/haproxy-9999.ebuild | 6 ++- 6 files changed, 88 insertions(+), 5 deletions(-) Should be fixed now. Thanks! :) |