Skip to content

Commit 744ec6a

Browse files
authored
Merge pull request #86 from essentialkaos/develop
Version 1.17.2.1
2 parents 3dc709b + dfaf69f commit 744ec6a

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

SOURCES/resty-core-disable.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff -urN lua-nginx-module-0.10.15-orig/src/ngx_http_lua_module.c lua-nginx-module-0.10.15/src/ngx_http_lua_module.c
2+
--- lua-nginx-module-0.10.15-orig/src/ngx_http_lua_module.c 2019-05-08 02:02:31.000000000 +0300
3+
+++ lua-nginx-module-0.10.15/src/ngx_http_lua_module.c 2019-07-26 14:30:07.000000000 +0300
4+
@@ -919,7 +919,7 @@
5+
ngx_http_lua_main_conf_t *lmcf = conf;
6+
7+
if (lmcf->load_resty_core == NGX_CONF_UNSET) {
8+
- lmcf->load_resty_core = 1;
9+
+ lmcf->load_resty_core = 0;
10+
}
11+
12+
#if (NGX_PCRE)

webkaos.spec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
Summary: Superb high performance web server
5757
Name: webkaos
5858
Version: 1.17.2
59-
Release: 0%{?dist}
59+
Release: 1%{?dist}
6060
License: 2-clause BSD-like license
6161
Group: System Environment/Daemons
6262
URL: https://github.com/essentialkaos/webkaos
@@ -91,6 +91,8 @@ Patch2: %{name}-dynamic-tls-records.patch
9191
Patch3: boringssl.patch
9292
Patch5: boringssl-tls13-support.patch
9393
Patch6: boringssl-c6-build-fix.patch
94+
# For resty-core, lua-nginx-module 0.10.16 is required but it not released yet
95+
Patch7: resty-core-disable.patch
9496

9597
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9698

@@ -169,6 +171,10 @@ pushd boringssl
169171
%endif
170172
popd
171173

174+
pushd lua-nginx-module-%{lua_module_ver}
175+
%patch7 -p1
176+
popd
177+
172178
%build
173179

174180
# Renaming and moving docs
@@ -573,6 +579,9 @@ rm -rf %{buildroot}
573579
################################################################################
574580

575581
%changelog
582+
* Wed Jul 24 2019 Anton Novojilov <andy@essentialkaos.com> - 1.17.2-1
583+
- resty-core disabled by default
584+
576585
* Wed Jul 24 2019 Anton Novojilov <andy@essentialkaos.com> - 1.17.2-0
577586
- Nginx updated to 1.17.2
578587
- BoringSSL updated to the latest version

0 commit comments

Comments
 (0)