Squashed 'src/deps/src/lua-resty-signal/' changes from d07163e8cf..737d8ccfaa

737d8ccfaa bumped version to 0.04.
183f47a846 bugfix: handle '?.so' in package.cpath.
7e5dd34359 tests: update nginx to 1.25.3.
7834226610 tests: upgrade nginx to 1.25.1.
ee4f0f3555 travis-ci: upgrade dist of travis-ci to ubuntu bionic. (#18)
7b247bd308 travis-ci: remove clang compiler mode from travis. (#17)
9a15eea470 travis-ci: bumped the NGINX core to 1.19.9.

git-subtree-dir: src/deps/src/lua-resty-signal
git-subtree-split: 737d8ccfaa59c08ad4d32a712611a856775a61c5
This commit is contained in:
Théophile Diot 2024-08-08 18:58:10 +01:00
parent c3ab460d15
commit 9c00ac3253
2 changed files with 13 additions and 6 deletions

View file

@ -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

View file

@ -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