mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Merge commit 'a3af3ba8c26b21d664fe89641acbbeba47bb5d7e' into 1.5
This commit is contained in:
commit
fdfec1bafd
2 changed files with 13 additions and 6 deletions
13
src/deps/src/lua-resty-signal/.travis.yml
vendored
13
src/deps/src/lua-resty-signal/.travis.yml
vendored
|
|
@ -1,5 +1,9 @@
|
|||
sudo: required
|
||||
dist: xenial
|
||||
dist: focal
|
||||
|
||||
branches:
|
||||
only:
|
||||
- "master"
|
||||
|
||||
os: linux
|
||||
|
||||
|
|
@ -7,7 +11,6 @@ language: c
|
|||
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
|
||||
env:
|
||||
global:
|
||||
|
|
@ -18,7 +21,7 @@ env:
|
|||
- LUAJIT_INC=$LUAJIT_PREFIX/include/luajit-2.1
|
||||
- LD_LIBRARY_PATH=$LUAJIT_LIB:$LD_LIBRARY_PATH
|
||||
matrix:
|
||||
- NGINX_VERSION=1.19.3
|
||||
- NGINX_VERSION=1.27.0
|
||||
|
||||
install:
|
||||
- sudo apt-get install -qq -y cpanminus axel
|
||||
|
|
@ -40,7 +43,7 @@ script:
|
|||
- cd ..
|
||||
- export PATH=$PWD/work/nginx/sbin:$PWD/nginx-devel-utils:$PATH
|
||||
- export NGX_BUILD_CC=$CC
|
||||
- ngx-build $NGINX_VERSION --with-http_realip_module --add-module=../ndk-nginx-module --add-module=../lua-nginx-module --with-debug > build.log 2>&1 || (cat build.log && exit 1)
|
||||
- ngx-build $NGINX_VERSION --without-pcre2 --with-http_realip_module --add-module=../ndk-nginx-module --add-module=../lua-nginx-module --with-debug > build.log 2>&1 || (cat build.log && exit 1)
|
||||
- nginx -V
|
||||
- ldd `which nginx`|grep -E 'luajit|ssl|pcre'
|
||||
- prove -r t
|
||||
- prove -I. -r t
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
local _M = {
|
||||
version = 0.03
|
||||
version = 0.04
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -32,6 +32,10 @@ do
|
|||
local i = 1
|
||||
|
||||
for k, _ in string_gmatch(cpath, "[^;]+") do
|
||||
if k == "?.so" then
|
||||
k = "./"
|
||||
end
|
||||
|
||||
local fpath = string_match(k, "(.*/)")
|
||||
fpath = fpath .. so_name
|
||||
-- Don't get me wrong, the only way to know if a file exist is
|
||||
|
|
|
|||
Loading…
Reference in a new issue