nginx: Update to 1.15.9

Message ID 20190326061516.1981-1-ummeegge@ipfire.org
State Accepted
Commit effa44650ebc227d99a3781ba962e015a3430d3a
Headers
Series nginx: Update to 1.15.9 |

Commit Message

ummeegge March 26, 2019, 5:15 p.m. UTC
  Fixes #12023 .
Added support for http2.

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
---
 config/rootfiles/packages/nginx |  6 +++---
 lfs/nginx                       | 10 ++++++----
 2 files changed, 9 insertions(+), 7 deletions(-)
  

Comments

ummeegge March 26, 2019, 5:45 p.m. UTC | #1
Fast test also with TLSv1.3 only can be found in here -->
https://forum.ipfire.org/viewtopic.php?f=6&p=123346#p123346

Best,

Erik


On Di, 2019-03-26 at 07:15 +0100, Erik Kapfer wrote:
> Fixes #12023 .
> Added support for http2.
> 
> Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
> ---
>  config/rootfiles/packages/nginx |  6 +++---
>  lfs/nginx                       | 10 ++++++----
>  2 files changed, 9 insertions(+), 7 deletions(-)
> 
> diff --git a/config/rootfiles/packages/nginx
> b/config/rootfiles/packages/nginx
> index 3560e45b9..2ea271bd9 100644
> --- a/config/rootfiles/packages/nginx
> +++ b/config/rootfiles/packages/nginx
> @@ -1,4 +1,4 @@
> -etc/nginx
> +#etc/nginx
>  etc/nginx/fastcgi.conf
>  etc/nginx/fastcgi.conf.default
>  etc/nginx/fastcgi_params
> @@ -16,8 +16,8 @@ etc/nginx/uwsgi_params.default
>  etc/nginx/win-utf
>  etc/rc.d/init.d/nginx
>  usr/sbin/nginx
> -usr/share/nginx
> -usr/share/nginx/html
> +#usr/share/nginx
> +#usr/share/nginx/html
>  usr/share/nginx/html/50x.html
>  usr/share/nginx/html/index.html
>  var/ipfire/backup/addons/includes/nginx
> diff --git a/lfs/nginx b/lfs/nginx
> index f6496196c..5a24678c8 100644
> --- a/lfs/nginx
> +++ b/lfs/nginx
> @@ -1,7 +1,7 @@
>  ####################################################################
> ###########
>  #                                                                   
>           #
>  # IPFire.org - A linux based
> firewall                                         #
> -# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>           
>           #
> +# Copyright (C) 2007-2019  IPFire Team  <info@ipfire.org>           
>           #
>  #                                                                   
>           #
>  # This program is free software: you can redistribute it and/or
> modify        #
>  # it under the terms of the GNU General Public License as published
> by        #
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 1.15.1
> +VER        = 1.15.9
>  
>  THISAPP    = nginx-$(VER)
>  DL_FILE    = $(THISAPP).tar.gz
> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG	   = nginx
> -PAK_VER	   = 8
> +PAK_VER	   = 9
>  
>  ####################################################################
> ###########
>  # Top-level Rules
> @@ -42,7 +42,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = 2dd5a265c54a76b699443931d80a61b9
> +$(DL_FILE)_MD5 = 00dde20d4d2cc65bdaf8950a5bd3e14b
>  
>  install : $(TARGET)
>  
> @@ -99,7 +99,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>  		--with-http_stub_status_module \
>  		--with-http_dav_module \
>  		--with-http_sub_module \
> +		--with-http_v2_module \
>  		--with-pcre
> +
>  	cd $(DIR_APP) && make $(MAKETUNING)
>  	cd $(DIR_APP) && make install
>  	mkdir -p /var/log/nginx /var/spool/nginx
  
Michael Tremer March 26, 2019, 9:40 p.m. UTC | #2
Thank you. Merged.

> On 26 Mar 2019, at 06:45, ummeegge <ummeegge@ipfire.org> wrote:
> 
> Fast test also with TLSv1.3 only can be found in here -->
> https://forum.ipfire.org/viewtopic.php?f=6&p=123346#p123346
> 
> Best,
> 
> Erik
> 
> 
> On Di, 2019-03-26 at 07:15 +0100, Erik Kapfer wrote:
>> Fixes #12023 .
>> Added support for http2.
>> 
>> Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
>> ---
>> config/rootfiles/packages/nginx |  6 +++---
>> lfs/nginx                       | 10 ++++++----
>> 2 files changed, 9 insertions(+), 7 deletions(-)
>> 
>> diff --git a/config/rootfiles/packages/nginx
>> b/config/rootfiles/packages/nginx
>> index 3560e45b9..2ea271bd9 100644
>> --- a/config/rootfiles/packages/nginx
>> +++ b/config/rootfiles/packages/nginx
>> @@ -1,4 +1,4 @@
>> -etc/nginx
>> +#etc/nginx
>> etc/nginx/fastcgi.conf
>> etc/nginx/fastcgi.conf.default
>> etc/nginx/fastcgi_params
>> @@ -16,8 +16,8 @@ etc/nginx/uwsgi_params.default
>> etc/nginx/win-utf
>> etc/rc.d/init.d/nginx
>> usr/sbin/nginx
>> -usr/share/nginx
>> -usr/share/nginx/html
>> +#usr/share/nginx
>> +#usr/share/nginx/html
>> usr/share/nginx/html/50x.html
>> usr/share/nginx/html/index.html
>> var/ipfire/backup/addons/includes/nginx
>> diff --git a/lfs/nginx b/lfs/nginx
>> index f6496196c..5a24678c8 100644
>> --- a/lfs/nginx
>> +++ b/lfs/nginx
>> @@ -1,7 +1,7 @@
>> ####################################################################
>> ###########
>> #                                                                   
>>          #
>> # IPFire.org - A linux based
>> firewall                                         #
>> -# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>           
>>          #
>> +# Copyright (C) 2007-2019  IPFire Team  <info@ipfire.org>           
>>          #
>> #                                                                   
>>          #
>> # This program is free software: you can redistribute it and/or
>> modify        #
>> # it under the terms of the GNU General Public License as published
>> by        #
>> @@ -24,7 +24,7 @@
>> 
>> include Config
>> 
>> -VER        = 1.15.1
>> +VER        = 1.15.9
>> 
>> THISAPP    = nginx-$(VER)
>> DL_FILE    = $(THISAPP).tar.gz
>> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>> DIR_APP    = $(DIR_SRC)/$(THISAPP)
>> TARGET     = $(DIR_INFO)/$(THISAPP)
>> PROG	   = nginx
>> -PAK_VER	   = 8
>> +PAK_VER	   = 9
>> 
>> ####################################################################
>> ###########
>> # Top-level Rules
>> @@ -42,7 +42,7 @@ objects = $(DL_FILE)
>> 
>> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>> 
>> -$(DL_FILE)_MD5 = 2dd5a265c54a76b699443931d80a61b9
>> +$(DL_FILE)_MD5 = 00dde20d4d2cc65bdaf8950a5bd3e14b
>> 
>> install : $(TARGET)
>> 
>> @@ -99,7 +99,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>> 		--with-http_stub_status_module \
>> 		--with-http_dav_module \
>> 		--with-http_sub_module \
>> +		--with-http_v2_module \
>> 		--with-pcre
>> +
>> 	cd $(DIR_APP) && make $(MAKETUNING)
>> 	cd $(DIR_APP) && make install
>> 	mkdir -p /var/log/nginx /var/spool/nginx
>
  

Patch

diff --git a/config/rootfiles/packages/nginx b/config/rootfiles/packages/nginx
index 3560e45b9..2ea271bd9 100644
--- a/config/rootfiles/packages/nginx
+++ b/config/rootfiles/packages/nginx
@@ -1,4 +1,4 @@ 
-etc/nginx
+#etc/nginx
 etc/nginx/fastcgi.conf
 etc/nginx/fastcgi.conf.default
 etc/nginx/fastcgi_params
@@ -16,8 +16,8 @@  etc/nginx/uwsgi_params.default
 etc/nginx/win-utf
 etc/rc.d/init.d/nginx
 usr/sbin/nginx
-usr/share/nginx
-usr/share/nginx/html
+#usr/share/nginx
+#usr/share/nginx/html
 usr/share/nginx/html/50x.html
 usr/share/nginx/html/index.html
 var/ipfire/backup/addons/includes/nginx
diff --git a/lfs/nginx b/lfs/nginx
index f6496196c..5a24678c8 100644
--- a/lfs/nginx
+++ b/lfs/nginx
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2019  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 1.15.1
+VER        = 1.15.9
 
 THISAPP    = nginx-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG	   = nginx
-PAK_VER	   = 8
+PAK_VER	   = 9
 
 ###############################################################################
 # Top-level Rules
@@ -42,7 +42,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 2dd5a265c54a76b699443931d80a61b9
+$(DL_FILE)_MD5 = 00dde20d4d2cc65bdaf8950a5bd3e14b
 
 install : $(TARGET)
 
@@ -99,7 +99,9 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 		--with-http_stub_status_module \
 		--with-http_dav_module \
 		--with-http_sub_module \
+		--with-http_v2_module \
 		--with-pcre
+
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	mkdir -p /var/log/nginx /var/spool/nginx