Skip to content

Commit

Permalink
Merge pull request #29 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 1.11.8
  • Loading branch information
andyone authored Jan 18, 2017
2 parents ae0b4ce + d785185 commit 893ed30
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 42 deletions.
67 changes: 36 additions & 31 deletions SOURCES/webkaos.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff -urN nginx-1.11.6-orig/auto/lib/openssl/make nginx-1.11.6/auto/lib/openssl/make
--- nginx-1.11.6-orig/auto/lib/openssl/make 2016-11-17 16:51:14.782409651 -0500
+++ nginx-1.11.6/auto/lib/openssl/make 2016-11-17 17:33:34.008215772 -0500
diff -urN nginx-1.11.8-orig/auto/lib/openssl/make nginx-1.11.8/auto/lib/openssl/make
--- nginx-1.11.8-orig/auto/lib/openssl/make 2017-01-18 16:42:17.100182208 -0500
+++ nginx-1.11.8/auto/lib/openssl/make 2017-01-18 16:44:52.999214843 -0500
@@ -45,18 +45,18 @@
/*) ngx_prefix="$OPENSSL/.openssl" ;;
*) ngx_prefix="$PWD/$OPENSSL/.openssl" ;;
Expand All @@ -24,10 +24,15 @@ diff -urN nginx-1.11.6-orig/auto/lib/openssl/make nginx-1.11.6/auto/lib/openssl/
;;

esac
diff -urN nginx-1.11.6-orig/src/core/nginx.c nginx-1.11.6/src/core/nginx.c
--- nginx-1.11.6-orig/src/core/nginx.c 2016-11-17 16:51:14.823406279 -0500
+++ nginx-1.11.6/src/core/nginx.c 2016-11-17 17:33:34.025216124 -0500
@@ -378,9 +378,9 @@
diff -urN nginx-1.11.8-orig/src/core/nginx.c nginx-1.11.8/src/core/nginx.c
--- nginx-1.11.8-orig/src/core/nginx.c 2017-01-18 16:42:17.152181876 -0500
+++ nginx-1.11.8/src/core/nginx.c 2017-01-18 16:46:25.000000000 -0500
@@ -375,13 +375,13 @@
static void
ngx_show_version_info(void)
{
- ngx_write_stderr("nginx version: " NGINX_VER_BUILD NGX_LINEFEED);
+ ngx_write_stderr("webkaos version: " NGINX_VER_BUILD NGX_LINEFEED);

if (ngx_show_help) {
ngx_write_stderr(
Expand All @@ -40,13 +45,13 @@ diff -urN nginx-1.11.6-orig/src/core/nginx.c nginx-1.11.6/src/core/nginx.c
"Options:" NGX_LINEFEED
" -?,-h : this help" NGX_LINEFEED
" -v : show version and exit" NGX_LINEFEED
diff -urN nginx-1.11.6-orig/src/core/nginx.h nginx-1.11.6/src/core/nginx.h
--- nginx-1.11.6-orig/src/core/nginx.h 2016-11-17 16:51:14.827406083 -0500
+++ nginx-1.11.6/src/core/nginx.h 2016-11-17 17:35:27.000000000 -0500
diff -urN nginx-1.11.8-orig/src/core/nginx.h nginx-1.11.8/src/core/nginx.h
--- nginx-1.11.8-orig/src/core/nginx.h 2017-01-18 16:42:17.158181878 -0500
+++ nginx-1.11.8/src/core/nginx.h 2017-01-18 16:45:35.000000000 -0500
@@ -11,7 +11,7 @@

#define nginx_version 1011006
#define NGINX_VERSION "1.11.6"
#define nginx_version 1011008
#define NGINX_VERSION "1.11.8"
-#define NGINX_VER "nginx/" NGINX_VERSION
+#define NGINX_VER "webkaos/" NGINX_VERSION

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


diff -urN nginx-1.11.6-orig/src/core/ngx_log.c nginx-1.11.6/src/core/ngx_log.c
--- nginx-1.11.6-orig/src/core/ngx_log.c 2016-11-17 16:51:14.826406129 -0500
+++ nginx-1.11.6/src/core/ngx_log.c 2016-11-17 17:33:34.047216153 -0500
diff -urN nginx-1.11.8-orig/src/core/ngx_log.c nginx-1.11.8/src/core/ngx_log.c
--- nginx-1.11.8-orig/src/core/ngx_log.c 2017-01-18 16:42:17.156181878 -0500
+++ nginx-1.11.8/src/core/ngx_log.c 2017-01-18 16:44:53.033214851 -0500
@@ -202,9 +202,9 @@
return;
}
Expand Down Expand Up @@ -94,9 +99,9 @@ diff -urN nginx-1.11.6-orig/src/core/ngx_log.c nginx-1.11.6/src/core/ngx_log.c
return NGX_CONF_ERROR;
#endif

diff -urN nginx-1.11.6-orig/src/http/modules/ngx_http_autoindex_module.c nginx-1.11.6/src/http/modules/ngx_http_autoindex_module.c
--- nginx-1.11.6-orig/src/http/modules/ngx_http_autoindex_module.c 2016-11-17 16:51:14.808407309 -0500
+++ nginx-1.11.6/src/http/modules/ngx_http_autoindex_module.c 2016-11-17 17:33:34.063216154 -0500
diff -urN nginx-1.11.8-orig/src/http/modules/ngx_http_autoindex_module.c nginx-1.11.8/src/http/modules/ngx_http_autoindex_module.c
--- nginx-1.11.8-orig/src/http/modules/ngx_http_autoindex_module.c 2017-01-18 16:42:17.135181874 -0500
+++ nginx-1.11.8/src/http/modules/ngx_http_autoindex_module.c 2017-01-18 16:44:53.048214853 -0500
@@ -445,9 +445,11 @@
;

Expand Down Expand Up @@ -172,9 +177,9 @@ diff -urN nginx-1.11.6-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.11.6-orig/src/http/ngx_http_header_filter_module.c nginx-1.11.6/src/http/ngx_http_header_filter_module.c
--- nginx-1.11.6-orig/src/http/ngx_http_header_filter_module.c 2016-11-17 16:51:14.815406766 -0500
+++ nginx-1.11.6/src/http/ngx_http_header_filter_module.c 2016-11-17 17:33:34.075216155 -0500
diff -urN nginx-1.11.8-orig/src/http/ngx_http_header_filter_module.c nginx-1.11.8/src/http/ngx_http_header_filter_module.c
--- nginx-1.11.8-orig/src/http/ngx_http_header_filter_module.c 2017-01-18 16:42:17.143181874 -0500
+++ nginx-1.11.8/src/http/ngx_http_header_filter_module.c 2017-01-18 16:49:28.000000000 -0500
@@ -46,7 +46,7 @@
};

Expand Down Expand Up @@ -228,9 +233,9 @@ diff -urN nginx-1.11.6-orig/src/http/ngx_http_header_filter_module.c nginx-1.11.
#define NGX_HTTP_OFF_5XX (NGX_HTTP_LAST_4XX - 400 + NGX_HTTP_OFF_4XX)

ngx_string("500 Internal Server Error"),
diff -urN nginx-1.11.6-orig/src/http/ngx_http_special_response.c nginx-1.11.6/src/http/ngx_http_special_response.c
--- nginx-1.11.6-orig/src/http/ngx_http_special_response.c 2016-11-17 16:51:14.816406699 -0500
+++ nginx-1.11.6/src/http/ngx_http_special_response.c 2016-11-17 17:46:04.000000000 -0500
diff -urN nginx-1.11.8-orig/src/http/ngx_http_special_response.c nginx-1.11.8/src/http/ngx_http_special_response.c
--- nginx-1.11.8-orig/src/http/ngx_http_special_response.c 2017-01-18 16:42:17.144181874 -0500
+++ nginx-1.11.8/src/http/ngx_http_special_response.c 2017-01-18 16:44:53.070214858 -0500
@@ -19,14 +19,14 @@


Expand Down Expand Up @@ -683,9 +688,9 @@ diff -urN nginx-1.11.6-orig/src/http/ngx_http_special_response.c nginx-1.11.6/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.11.6-orig/src/http/v2/ngx_http_v2_filter_module.c nginx-1.11.6/src/http/v2/ngx_http_v2_filter_module.c
--- nginx-1.11.6-orig/src/http/v2/ngx_http_v2_filter_module.c 2016-11-17 16:51:14.819406507 -0500
+++ nginx-1.11.6/src/http/v2/ngx_http_v2_filter_module.c 2016-11-17 17:48:41.000000000 -0500
diff -urN nginx-1.11.8-orig/src/http/v2/ngx_http_v2_filter_module.c nginx-1.11.8/src/http/v2/ngx_http_v2_filter_module.c
--- nginx-1.11.8-orig/src/http/v2/ngx_http_v2_filter_module.c 2017-01-18 16:42:17.148181876 -0500
+++ nginx-1.11.8/src/http/v2/ngx_http_v2_filter_module.c 2017-01-18 16:51:05.000000000 -0500
@@ -139,7 +139,7 @@
ngx_http_core_srv_conf_t *cscf;
u_char addr[NGX_SOCKADDR_STRLEN];
Expand All @@ -695,7 +700,7 @@ diff -urN nginx-1.11.6-orig/src/http/v2/ngx_http_v2_filter_module.c nginx-1.11.6
#if (NGX_HTTP_GZIP)
static const u_char accept_encoding[12] =
"\x8b\x84\x84\x2d\x69\x5b\x05\x44\x3c\x86\xaa\x6f";
@@ -420,7 +420,7 @@
@@ -422,7 +422,7 @@
if (r->headers_out.server == NULL) {
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, fc->log, 0,
"http2 output header: \"server: %s\"",
Expand All @@ -704,9 +709,9 @@ diff -urN nginx-1.11.6-orig/src/http/v2/ngx_http_v2_filter_module.c nginx-1.11.6

*pos++ = ngx_http_v2_inc_indexed(NGX_HTTP_V2_SERVER_INDEX);

diff -urN nginx-1.11.6-orig/src/os/unix/ngx_setproctitle.c nginx-1.11.6/src/os/unix/ngx_setproctitle.c
--- nginx-1.11.6-orig/src/os/unix/ngx_setproctitle.c 2016-11-17 16:51:14.790409055 -0500
+++ nginx-1.11.6/src/os/unix/ngx_setproctitle.c 2016-11-17 17:33:34.104216158 -0500
diff -urN nginx-1.11.8-orig/src/os/unix/ngx_setproctitle.c nginx-1.11.8/src/os/unix/ngx_setproctitle.c
--- nginx-1.11.8-orig/src/os/unix/ngx_setproctitle.c 2017-01-18 16:42:17.112181966 -0500
+++ nginx-1.11.8/src/os/unix/ngx_setproctitle.c 2017-01-18 16:44:53.092214863 -0500
@@ -89,7 +89,7 @@

ngx_os_argv[1] = NULL;
Expand Down
2 changes: 1 addition & 1 deletion SOURCES/webkaos.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Documentation=http://nginx.org/en/docs/
After=network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
Type=simple
PIDFile=/var/run/webkaos.pid
ExecStart=/etc/init.d/webkaos start
ExecReload=/etc/init.d/webkaos reload
Expand Down
17 changes: 12 additions & 5 deletions webkaos-centos6.spec
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
%define service_name %{name}
%define service_home %{_cachedir}/%{service_name}

%define boring_commit fbbef12918ff23e7e296b976fe47d6fc93d71837
%define boring_commit 1252f8758ab1c4c4a14db25f9fa53e5950e4bcda
%define psol_ver 1.11.33.4
%define lua_module_ver 0.10.7
%define mh_module_ver 0.32
%define pcre_ver 8.39
%define zlib_ver 1.2.8
%define pcre_ver 8.40
%define zlib_ver 1.2.11

%define pagespeed_ver %{psol_ver}-beta
%define pagespeed_fullver release-%{pagespeed_ver}
Expand All @@ -58,7 +58,7 @@

Summary: Superb high performance web server
Name: webkaos
Version: 1.11.6
Version: 1.11.8
Release: 0%{?dist}
License: 2-clause BSD-like license
Group: System Environment/Daemons
Expand Down Expand Up @@ -93,7 +93,7 @@ Patch0: %{name}.patch
Patch1: mime.patch
# https://github.com/cloudflare/sslconfig/blob/master/patches/nginx__1.11.5_dynamic_tls_records.patch
Patch2: %{name}-dynamic-tls-records.patch
# https://github.com/ajhaydock/BoringNginx/blob/master/patches/1.11.6.patch
# https://github.com/ajhaydock/BoringNginx/blob/master/patches/1.11.8.patch
Patch3: boring.patch

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Expand Down Expand Up @@ -523,6 +523,13 @@ rm -rf %{buildroot}
###############################################################################

%changelog
* Thu Jan 19 2017 Anton Novojilov <andy@essentialkaos.com> - 1.11.8-0
- Nginx updated to 1.11.8
- PageSpeed updated to 1.12.34.2
- PCRE updated to 8.40
- zlib updated to 1.2.11
- BoringSSL updated to latest version

* Fri Nov 18 2016 Anton Novojilov <andy@essentialkaos.com> - 1.11.6-0
- Nginx updated to 1.11.6
- BoringSSL updated to latest version
Expand Down
18 changes: 13 additions & 5 deletions webkaos-centos7.spec
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
%define service_name %{name}
%define service_home %{_cachedir}/%{service_name}

%define boring_commit fbbef12918ff23e7e296b976fe47d6fc93d71837
%define boring_commit 1252f8758ab1c4c4a14db25f9fa53e5950e4bcda
%define psol_ver 1.11.33.4
%define lua_module_ver 0.10.7
%define mh_module_ver 0.32
%define pcre_ver 8.39
%define zlib_ver 1.2.8
%define pcre_ver 8.40
%define zlib_ver 1.2.11

%define pagespeed_ver %{psol_ver}-beta
%define pagespeed_fullver release-%{pagespeed_ver}
Expand All @@ -59,7 +59,7 @@

Summary: Superb high performance web server
Name: webkaos
Version: 1.11.6
Version: 1.11.8
Release: 0%{?dist}
License: 2-clause BSD-like license
Group: System Environment/Daemons
Expand Down Expand Up @@ -96,7 +96,7 @@ Patch0: %{name}.patch
Patch1: mime.patch
# https://github.com/cloudflare/sslconfig/blob/master/patches/nginx__1.11.5_dynamic_tls_records.patch
Patch2: %{name}-dynamic-tls-records.patch
# https://github.com/ajhaydock/BoringNginx/blob/master/patches/1.11.6.patch
# https://github.com/ajhaydock/BoringNginx/blob/master/patches/1.11.8.patch
Patch3: boring.patch

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Expand Down Expand Up @@ -543,6 +543,14 @@ rm -rf %{buildroot}
###############################################################################

%changelog
* Thu Jan 19 2017 Anton Novojilov <andy@essentialkaos.com> - 1.11.8-0
- Nginx updated to 1.11.8
- PageSpeed updated to 1.12.34.2
- PCRE updated to 8.40
- zlib updated to 1.2.11
- BoringSSL updated to latest version
- Fixed bug in systemd unit file

* Fri Nov 18 2016 Anton Novojilov <andy@essentialkaos.com> - 1.11.6-0
- Nginx updated to 1.11.6
- BoringSSL updated to latest version
Expand Down

0 comments on commit 893ed30

Please sign in to comment.