Skip to content

Commit

Permalink
Merge pull request #144 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 1.24.0
  • Loading branch information
andyone authored Jun 27, 2023
2 parents 20efefc + 1c76689 commit 6ab37fc
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .docker/centos7-unprivileged.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL org.opencontainers.image.title="WEBKAOS (Unprivileged)" \
org.opencontainers.image.url="https://kaos.sh/webkaos" \
org.opencontainers.image.source="https://github.com/essentialkaos/webkaos"

ARG WEBKAOS_VER=1.23.4
ARG WEBKAOS_VER=1.24.0
ARG BROTLI_VER=0.1.5
ARG REPOSITORY=kaos-release

Expand Down
2 changes: 1 addition & 1 deletion .docker/centos7.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL org.opencontainers.image.title="WEBKAOS" \
org.opencontainers.image.url="https://kaos.sh/webkaos" \
org.opencontainers.image.source="https://github.com/essentialkaos/webkaos"

ARG WEBKAOS_VER=1.23.4
ARG WEBKAOS_VER=1.24.0
ARG BROTLI_VER=0.1.5
ARG REPOSITORY=kaos-release

Expand Down
2 changes: 1 addition & 1 deletion .docker/ol7-unprivileged.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL org.opencontainers.image.title="WEBKAOS (Unprivileged)" \
org.opencontainers.image.url="https://kaos.sh/webkaos" \
org.opencontainers.image.source="https://github.com/essentialkaos/webkaos"

ARG WEBKAOS_VER=1.23.4
ARG WEBKAOS_VER=1.24.0
ARG BROTLI_VER=0.1.5
ARG REPOSITORY=kaos-release

Expand Down
2 changes: 1 addition & 1 deletion .docker/ol7.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL org.opencontainers.image.title="WEBKAOS" \
org.opencontainers.image.url="https://kaos.sh/webkaos" \
org.opencontainers.image.source="https://github.com/essentialkaos/webkaos"

ARG WEBKAOS_VER=1.23.4
ARG WEBKAOS_VER=1.24.0
ARG BROTLI_VER=0.1.5
ARG REPOSITORY=kaos-release

Expand Down
2 changes: 1 addition & 1 deletion .docker/ol8-unprivileged.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL org.opencontainers.image.title="WEBKAOS (Unprivileged)" \
org.opencontainers.image.url="https://kaos.sh/webkaos" \
org.opencontainers.image.source="https://github.com/essentialkaos/webkaos"

ARG WEBKAOS_VER=1.23.4
ARG WEBKAOS_VER=1.24.0
ARG BROTLI_VER=0.1.5
ARG REPOSITORY=kaos-release

Expand Down
2 changes: 1 addition & 1 deletion .docker/ol8.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL org.opencontainers.image.title="WEBKAOS" \
org.opencontainers.image.url="https://kaos.sh/webkaos" \
org.opencontainers.image.source="https://github.com/essentialkaos/webkaos"

ARG WEBKAOS_VER=1.23.4
ARG WEBKAOS_VER=1.24.0
ARG BROTLI_VER=0.1.5
ARG REPOSITORY=kaos-release

Expand Down
2 changes: 1 addition & 1 deletion .docker/ol9-unprivileged.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL org.opencontainers.image.title="WEBKAOS (Unprivileged)" \
org.opencontainers.image.url="https://kaos.sh/webkaos" \
org.opencontainers.image.source="https://github.com/essentialkaos/webkaos"

ARG WEBKAOS_VER=1.23.4
ARG WEBKAOS_VER=1.24.0
ARG BROTLI_VER=0.1.5
ARG REPOSITORY=kaos-release

Expand Down
2 changes: 1 addition & 1 deletion .docker/ol9.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL org.opencontainers.image.title="WEBKAOS" \
org.opencontainers.image.url="https://kaos.sh/webkaos" \
org.opencontainers.image.source="https://github.com/essentialkaos/webkaos"

ARG WEBKAOS_VER=1.23.4
ARG WEBKAOS_VER=1.24.0
ARG BROTLI_VER=0.1.5
ARG REPOSITORY=kaos-release

Expand Down
24 changes: 0 additions & 24 deletions SOURCES/boringssl-urand-test-disable.patch

This file was deleted.

58 changes: 29 additions & 29 deletions SOURCES/webkaos.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff -urN nginx-1.23.4-orig/auto/lib/openssl/make nginx-1.23.4/auto/lib/openssl/make
--- nginx-1.23.4-orig/auto/lib/openssl/make 2023-03-28 18:01:54.000000000 +0300
+++ nginx-1.23.4/auto/lib/openssl/make 2023-03-29 13:08:48.000000000 +0300
diff --color -urN nginx-1.24.0-orig/auto/lib/openssl/make nginx-1.24.0/auto/lib/openssl/make
--- nginx-1.24.0-orig/auto/lib/openssl/make 2023-04-11 04:45:34.000000000 +0300
+++ nginx-1.24.0/auto/lib/openssl/make 2023-06-21 13:58:20.000000000 +0300
@@ -58,18 +58,18 @@
/*) ngx_prefix="$OPENSSL/.openssl" ;;
*) ngx_prefix="$PWD/$OPENSSL/.openssl" ;;
Expand All @@ -24,9 +24,9 @@ diff -urN nginx-1.23.4-orig/auto/lib/openssl/make nginx-1.23.4/auto/lib/openssl/
;;

esac
diff -urN nginx-1.23.4-orig/src/core/nginx.c nginx-1.23.4/src/core/nginx.c
--- nginx-1.23.4-orig/src/core/nginx.c 2023-03-28 18:01:54.000000000 +0300
+++ nginx-1.23.4/src/core/nginx.c 2023-03-29 12:59:12.184527558 +0300
diff --color -urN nginx-1.24.0-orig/src/core/nginx.c nginx-1.24.0/src/core/nginx.c
--- nginx-1.24.0-orig/src/core/nginx.c 2023-04-11 04:45:34.000000000 +0300
+++ nginx-1.24.0/src/core/nginx.c 2023-06-21 13:55:59.855364774 +0300
@@ -390,13 +390,13 @@
static void
ngx_show_version_info(void)
Expand All @@ -45,13 +45,13 @@ diff -urN nginx-1.23.4-orig/src/core/nginx.c nginx-1.23.4/src/core/nginx.c
"Options:" NGX_LINEFEED
" -?,-h : this help" NGX_LINEFEED
" -v : show version and exit" NGX_LINEFEED
diff -urN nginx-1.23.4-orig/src/core/nginx.h nginx-1.23.4/src/core/nginx.h
--- nginx-1.23.4-orig/src/core/nginx.h 2023-03-28 18:01:54.000000000 +0300
+++ nginx-1.23.4/src/core/nginx.h 2023-03-29 13:09:16.000000000 +0300
diff --color -urN nginx-1.24.0-orig/src/core/nginx.h nginx-1.24.0/src/core/nginx.h
--- nginx-1.24.0-orig/src/core/nginx.h 2023-04-11 04:45:34.000000000 +0300
+++ nginx-1.24.0/src/core/nginx.h 2023-06-21 13:54:08.000000000 +0300
@@ -11,7 +11,7 @@

#define nginx_version 1023004
#define NGINX_VERSION "1.23.4"
#define nginx_version 1024000
#define NGINX_VERSION "1.24.0"
-#define NGINX_VER "nginx/" NGINX_VERSION
+#define NGINX_VER "webkaos/" NGINX_VERSION

Expand All @@ -66,9 +66,9 @@ diff -urN nginx-1.23.4-orig/src/core/nginx.h nginx-1.23.4/src/core/nginx.h
#define NGX_OLDPID_EXT ".oldbin"


diff -urN nginx-1.23.4-orig/src/core/ngx_log.c nginx-1.23.4/src/core/ngx_log.c
--- nginx-1.23.4-orig/src/core/ngx_log.c 2023-03-28 18:01:54.000000000 +0300
+++ nginx-1.23.4/src/core/ngx_log.c 2023-03-29 12:59:12.195527524 +0300
diff --color -urN nginx-1.24.0-orig/src/core/ngx_log.c nginx-1.24.0/src/core/ngx_log.c
--- nginx-1.24.0-orig/src/core/ngx_log.c 2023-04-11 04:45:34.000000000 +0300
+++ nginx-1.24.0/src/core/ngx_log.c 2023-06-21 13:55:59.869365935 +0300
@@ -202,9 +202,9 @@
return;
}
Expand Down Expand Up @@ -99,9 +99,9 @@ diff -urN nginx-1.23.4-orig/src/core/ngx_log.c nginx-1.23.4/src/core/ngx_log.c
return NGX_CONF_ERROR;
#endif

diff -urN nginx-1.23.4-orig/src/http/modules/ngx_http_autoindex_module.c nginx-1.23.4/src/http/modules/ngx_http_autoindex_module.c
--- nginx-1.23.4-orig/src/http/modules/ngx_http_autoindex_module.c 2023-03-28 18:01:54.000000000 +0300
+++ nginx-1.23.4/src/http/modules/ngx_http_autoindex_module.c 2023-03-29 12:59:12.201527505 +0300
diff --color -urN nginx-1.24.0-orig/src/http/modules/ngx_http_autoindex_module.c nginx-1.24.0/src/http/modules/ngx_http_autoindex_module.c
--- nginx-1.24.0-orig/src/http/modules/ngx_http_autoindex_module.c 2023-04-11 04:45:34.000000000 +0300
+++ nginx-1.24.0/src/http/modules/ngx_http_autoindex_module.c 2023-06-21 13:55:59.878366682 +0300
@@ -449,9 +449,11 @@
;

Expand Down Expand Up @@ -177,9 +177,9 @@ diff -urN nginx-1.23.4-orig/src/http/modules/ngx_http_autoindex_module.c nginx-1
tm.ngx_tm_mday,
months[tm.ngx_tm_mon - 1],
tm.ngx_tm_year,
diff -urN nginx-1.23.4-orig/src/http/ngx_http_header_filter_module.c nginx-1.23.4/src/http/ngx_http_header_filter_module.c
--- nginx-1.23.4-orig/src/http/ngx_http_header_filter_module.c 2023-03-28 18:01:54.000000000 +0300
+++ nginx-1.23.4/src/http/ngx_http_header_filter_module.c 2023-03-29 12:59:12.207527487 +0300
diff --color -urN nginx-1.24.0-orig/src/http/ngx_http_header_filter_module.c nginx-1.24.0/src/http/ngx_http_header_filter_module.c
--- nginx-1.24.0-orig/src/http/ngx_http_header_filter_module.c 2023-04-11 04:45:34.000000000 +0300
+++ nginx-1.24.0/src/http/ngx_http_header_filter_module.c 2023-06-21 13:55:59.888367511 +0300
@@ -46,7 +46,7 @@
};

Expand Down Expand Up @@ -230,9 +230,9 @@ diff -urN nginx-1.23.4-orig/src/http/ngx_http_header_filter_module.c nginx-1.23.
#define NGX_HTTP_OFF_5XX (NGX_HTTP_LAST_4XX - 400 + NGX_HTTP_OFF_4XX)

ngx_string("500 Internal Server Error"),
diff -urN nginx-1.23.4-orig/src/http/ngx_http_special_response.c nginx-1.23.4/src/http/ngx_http_special_response.c
--- nginx-1.23.4-orig/src/http/ngx_http_special_response.c 2023-03-28 18:01:54.000000000 +0300
+++ nginx-1.23.4/src/http/ngx_http_special_response.c 2023-03-29 12:59:12.214527465 +0300
diff --color -urN nginx-1.24.0-orig/src/http/ngx_http_special_response.c nginx-1.24.0/src/http/ngx_http_special_response.c
--- nginx-1.24.0-orig/src/http/ngx_http_special_response.c 2023-04-11 04:45:34.000000000 +0300
+++ nginx-1.24.0/src/http/ngx_http_special_response.c 2023-06-21 13:55:59.898368341 +0300
@@ -19,21 +19,21 @@


Expand Down Expand Up @@ -705,9 +705,9 @@ diff -urN nginx-1.23.4-orig/src/http/ngx_http_special_response.c nginx-1.23.4/sr
#define NGX_HTTP_OFF_5XX (NGX_HTTP_LAST_4XX - 400 + NGX_HTTP_OFF_4XX)

ngx_string(ngx_http_error_494_page), /* 494, request header too large */
diff -urN nginx-1.23.4-orig/src/http/v2/ngx_http_v2_filter_module.c nginx-1.23.4/src/http/v2/ngx_http_v2_filter_module.c
--- nginx-1.23.4-orig/src/http/v2/ngx_http_v2_filter_module.c 2023-03-28 18:01:54.000000000 +0300
+++ nginx-1.23.4/src/http/v2/ngx_http_v2_filter_module.c 2023-03-29 12:59:12.221527443 +0300
diff --color -urN nginx-1.24.0-orig/src/http/v2/ngx_http_v2_filter_module.c nginx-1.24.0/src/http/v2/ngx_http_v2_filter_module.c
--- nginx-1.24.0-orig/src/http/v2/ngx_http_v2_filter_module.c 2023-04-11 04:45:34.000000000 +0300
+++ nginx-1.24.0/src/http/v2/ngx_http_v2_filter_module.c 2023-06-21 13:55:59.907369088 +0300
@@ -148,7 +148,7 @@
ngx_http_core_srv_conf_t *cscf;
u_char addr[NGX_SOCKADDR_STRLEN];
Expand All @@ -726,9 +726,9 @@ diff -urN nginx-1.23.4-orig/src/http/v2/ngx_http_v2_filter_module.c nginx-1.23.4
}

*pos++ = ngx_http_v2_inc_indexed(NGX_HTTP_V2_SERVER_INDEX);
diff -urN nginx-1.23.4-orig/src/os/unix/ngx_setproctitle.c nginx-1.23.4/src/os/unix/ngx_setproctitle.c
--- nginx-1.23.4-orig/src/os/unix/ngx_setproctitle.c 2023-03-28 18:01:54.000000000 +0300
+++ nginx-1.23.4/src/os/unix/ngx_setproctitle.c 2023-03-29 12:59:12.227527425 +0300
diff --color -urN nginx-1.24.0-orig/src/os/unix/ngx_setproctitle.c nginx-1.24.0/src/os/unix/ngx_setproctitle.c
--- nginx-1.24.0-orig/src/os/unix/ngx_setproctitle.c 2023-04-11 04:45:34.000000000 +0300
+++ nginx-1.24.0/src/os/unix/ngx_setproctitle.c 2023-06-21 13:55:59.918370000 +0300
@@ -89,7 +89,7 @@

ngx_os_argv[1] = NULL;
Expand Down
14 changes: 8 additions & 6 deletions webkaos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
%define service_name %{name}
%define service_home %{_cachedir}/%{service_name}

%define nginx_version 1.23.4
%define nginx_version 1.24.0
%define lua_module_ver 0.10.24
%define lua_resty_core_ver 0.1.26
%define lua_resty_lru_ver 0.13
Expand All @@ -38,7 +38,7 @@

# 1. Open https://chromiumdash.appspot.com/releases?platform=Linux and note the latest stable version.
# 2. Open https://chromium.googlesource.com/chromium/src/+/refs/tags/<version>/DEPS and note <boringssl_revision>.
%define boring_commit 45b8d7bbd771cbf7e116db2ba1f1cc7af959497e
%define boring_commit 4b6d950d8921d6dd5365de0797fcc97302b9561b

################################################################################

Expand Down Expand Up @@ -92,7 +92,6 @@ Patch2: %{name}-dynamic-tls-records.patch
# https://github.com/ajhaydock/BoringNginx/blob/master/patches
Patch3: boringssl.patch
Patch5: boringssl-tls13-support.patch
Patch8: boringssl-urand-test-disable.patch

Patch12: naxsi-compat.patch

Expand Down Expand Up @@ -152,7 +151,7 @@ Links for nginx compatibility.

Summary: Module for Brotli compression
Version: 0.1.5
Release: 14%{?dist}
Release: 15%{?dist}

Group: System Environment/Daemons
Requires: %{name} = %{nginx_version}
Expand All @@ -166,7 +165,7 @@ Module for Brotli compression.

Summary: High performance, low rules maintenance WAF
Version: %{naxsi_ver}
Release: 13%{?dist}
Release: 14%{?dist}

Group: System Environment/Daemons
Requires: %{name} = %{nginx_version}
Expand Down Expand Up @@ -202,7 +201,6 @@ tar xzvf %{SOURCE60}

pushd boringssl
%patch5 -p1
%patch8 -p1
popd

pushd naxsi-%{naxsi_ver}
Expand Down Expand Up @@ -671,6 +669,10 @@ rm -rf %{buildroot}
################################################################################

%changelog
* Wed Jun 21 2023 Anton Novojilov <[email protected]> - 1.24.0-0
- Nginx updated to 1.24.0 (mainline → stable)
- BoringSSL updated to the latest stable version for Chromium

* Wed Mar 29 2023 Anton Novojilov <[email protected]> - 1.23.4-0
- Nginx updated to 1.23.4
- lua-nginx-module updated to 0.10.24
Expand Down

0 comments on commit 6ab37fc

Please sign in to comment.