nginx-cp: update lua module
This commit is contained in:
parent
a0bd9ee321
commit
5dd99e3b8a
@ -1,6 +1,6 @@
|
|||||||
diff -ruN a/lua-nginx-module-0.10.26-pre/src/ngx_http_lua_module.c b/lua-nginx-module-0.10.26-pre/src/ngx_http_lua_module.c
|
diff -ruN a/lua-nginx-module-0.10.26/src/ngx_http_lua_module.c b/lua-nginx-module-0.10.26/src/ngx_http_lua_module.c
|
||||||
--- a/lua-nginx-module-0.10.26-pre/src/ngx_http_lua_module.c 2023-11-14 05:23:08.000000000 +0600
|
--- a/lua-nginx-module-0.10.26/src/ngx_http_lua_module.c 2023-11-14 05:23:08.000000000 +0600
|
||||||
+++ b/lua-nginx-module-0.10.26-pre/src/ngx_http_lua_module.c 2023-11-20 11:08:10.584363198 +0600
|
+++ b/lua-nginx-module-0.10.26/src/ngx_http_lua_module.c 2023-11-20 11:08:10.584363198 +0600
|
||||||
@@ -888,7 +888,7 @@
|
@@ -888,7 +888,7 @@
|
||||||
|
|
||||||
#ifndef OPENRESTY_LUAJIT
|
#ifndef OPENRESTY_LUAJIT
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
# specific package versions
|
# specific package versions
|
||||||
%if %{with lua}
|
%if %{with lua}
|
||||||
%define luamod_ver 0.10.26-pre
|
%define luamod_ver 0.10.26
|
||||||
%define ndk_ver 0.3.1
|
%define ndk_ver 0.3.1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -43,7 +43,7 @@
|
|||||||
Name: nginx-cp
|
Name: nginx-cp
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.24.0
|
Version: 1.24.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
|
|
||||||
Summary: A high performance web server and reverse proxy server
|
Summary: A high performance web server and reverse proxy server
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -130,7 +130,7 @@ BuildRequires: openssl-devel
|
|||||||
|
|
||||||
BuildRequires: pcre2-devel
|
BuildRequires: pcre2-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: gd-devel >= 2.3
|
BuildRequires: pkgconfig(gdlib)
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
BuildRequires: redhat-rpm-config
|
BuildRequires: redhat-rpm-config
|
||||||
|
|
||||||
@ -173,7 +173,8 @@ Requires: lua luajit2
|
|||||||
BuildRequires: luajit-devel lua-devel
|
BuildRequires: luajit-devel lua-devel
|
||||||
Requires: lua luajit lua-socket
|
Requires: lua luajit lua-socket
|
||||||
%endif
|
%endif
|
||||||
Requires: lua luajit2 lua-socket lua-resty-core
|
Requires: lua luajit2 lua-socket
|
||||||
|
Requires: lua-resty-core >= 0.1.26
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -339,7 +340,7 @@ sed -i '1 i\LUAJIT_LIB=%{_libdir}' lua-nginx-module-%{luamod_ver}/config
|
|||||||
|
|
||||||
|
|
||||||
ngx_ldflags="$RPM_LD_FLAGS -Wl,-E"
|
ngx_ldflags="$RPM_LD_FLAGS -Wl,-E"
|
||||||
ngx_cflags="%{optflags} $(pcre-config --cflags) -DTCP_FASTOPEN=23 -fPIC"
|
ngx_cflags="%{optflags} $(pcre2-config --cflags) -DTCP_FASTOPEN=23 -fPIC"
|
||||||
%if 0%{?rhel} <= 8
|
%if 0%{?rhel} <= 8
|
||||||
ngx_cflags="-I%{ssl_prefix}/include/openssl3 $ngx_cflags"
|
ngx_cflags="-I%{ssl_prefix}/include/openssl3 $ngx_cflags"
|
||||||
%endif
|
%endif
|
||||||
@ -680,12 +681,15 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 8 2024 Raven <raven@sysadmins.ws> - 1.24.0-5
|
||||||
|
- upgrade lua-nginx-module to 0.10.26
|
||||||
|
|
||||||
* Mon Nov 20 2023 Raven <raven@sysadmins.ws> - 1.24.0-4
|
* Mon Nov 20 2023 Raven <raven@sysadmins.ws> - 1.24.0-4
|
||||||
- import lua module from master branch to build with
|
- import lua module from master branch to build with
|
||||||
PCRE2 support
|
PCRE2 support
|
||||||
- use OS native gcc compiler
|
- use OS native gcc compiler
|
||||||
|
|
||||||
* Thu Oct 25 2023 Raven <raven@sysadmins.ws> - 1.24.0-3
|
* Wed Oct 25 2023 Raven <raven@sysadmins.ws> - 1.24.0-3
|
||||||
- backported 284a0c7 and c93cb45 from 1.25.3
|
- backported 284a0c7 and c93cb45 from 1.25.3
|
||||||
|
|
||||||
* Mon Oct 23 2023 Raven <raven@sysadmins.ws> - 1.24.0-2
|
* Mon Oct 23 2023 Raven <raven@sysadmins.ws> - 1.24.0-2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user