updated haproxy state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-08-22 04:16:46 +02:00
parent ad5c9f8bd7
commit 4437538629
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ haproxy:
enabled: true
pkgs:
- haproxy
- liblua5.3-dev
- liblua5.4-dev
- lua-filesystem
- lua-socket
- libcurl4-openssl-dev

View File

@ -4,7 +4,7 @@
for i in $(ls *.c)
do
basename=$(echo ${i}|awk -F '.' '{ print $1}')
sudo -u haproxy cc -I/usr/include/ -I/usr/include/lua5.3/ -fPIC -shared -o ${basename}.so ${i} -lcurl -ljansson -lmaxminddb
sudo -u haproxy cc -I/usr/include/ -I/usr/include/lua5.4/ -fPIC -shared -o ${basename}.so ${i} -lcurl -ljansson -lmaxminddb
done
*/
@ -13,8 +13,8 @@ done
#include <sys/socket.h>
#include <stdio.h>
#include <string.h>
#include <lua5.3/lua.h>
#include <lua5.3/lauxlib.h>
#include <lua5.4/lua.h>
#include <lua5.4/lauxlib.h>
#include <curl/curl.h>
#include <maxminddb.h>
#include <jansson.h>

View File

@ -3,7 +3,7 @@ local lfs = require("lfs")
local modpath = "/etc/haproxy/mods"
local compile = {}
local lua_version = "5.3"
local lua_version = "5.4"
local user = "haproxy"
local group = "haproxy"
local libs = {"-ljansson", "-lmaxminddb", "-lcurl"}