Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2021 18:09:37 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567947 - in head/www/nginx-devel: . files
Message-ID:  <202103091809.129I9bVg062526@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Tue Mar  9 18:09:36 2021
New Revision: 567947
URL: https://svnweb.freebsd.org/changeset/ports/567947

Log:
  Update from 1.19.7 to 1.19.8.
  Add the vendor's patch to build mail module without SSL support.
  
  <Changelog>
  
  *) Feature: flags in the "proxy_cookie_flags" directive can now contain
     variables.
  
  *) Feature: the "proxy_protocol" parameter of the "listen" directive,
     the "proxy_protocol" and "set_real_ip_from" directives in mail proxy.
  
  *) Bugfix: HTTP/2 connections were immediately closed when using
     "keepalive_timeout 0"; the bug had appeared in 1.19.7.
  
  *) Bugfix: some errors were logged as unknown if nginx was built with
     glibc 2.32.
  
  *) Bugfix: in the eventport method.
  
  </Changelog>

Added:
  head/www/nginx-devel/files/patch-src-mail-ngx_mail_auth_http_module.c   (contents, props changed)
Modified:
  head/www/nginx-devel/Makefile
  head/www/nginx-devel/distinfo

Modified: head/www/nginx-devel/Makefile
==============================================================================
--- head/www/nginx-devel/Makefile	Tue Mar  9 17:24:16 2021	(r567946)
+++ head/www/nginx-devel/Makefile	Tue Mar  9 18:09:36 2021	(r567947)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME?=	nginx
-PORTVERSION=	1.19.7
-PORTREVISION=	3
+PORTVERSION=	1.19.8
 CATEGORIES=	www
 MASTER_SITES=	https://nginx.org/download/ \
 		LOCAL/osa

Modified: head/www/nginx-devel/distinfo
==============================================================================
--- head/www/nginx-devel/distinfo	Tue Mar  9 17:24:16 2021	(r567946)
+++ head/www/nginx-devel/distinfo	Tue Mar  9 18:09:36 2021	(r567947)
@@ -1,6 +1,6 @@
-TIMESTAMP = 1615297765
-SHA256 (nginx-1.19.7.tar.gz) = 7ae4dd020c41d3a5e1e6a8578fcc60e508e3e27e7668e845ddc87a05a775b50e
-SIZE (nginx-1.19.7.tar.gz) = 1056631
+TIMESTAMP = 1615304472
+SHA256 (nginx-1.19.8.tar.gz) = 308919b1a1359315a8066578472f998f14cb32af8de605a3743acca834348b05
+SIZE (nginx-1.19.8.tar.gz) = 1060155
 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
 SIZE (nginx_mogilefs_module-1.0.4.tar.gz) = 11208
 SHA256 (nginx_mod_h264_streaming-2.2.7.tar.gz) = 6d974ba630cef59de1f60996c66b401264a345d25988a76037c2856cec756c19

Added: head/www/nginx-devel/files/patch-src-mail-ngx_mail_auth_http_module.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/nginx-devel/files/patch-src-mail-ngx_mail_auth_http_module.c	Tue Mar  9 18:09:36 2021	(r567947)
@@ -0,0 +1,26 @@
+--- src/mail/ngx_mail_auth_http_module.c.orig	2021-03-09 12:50:37.389186000 -0500
++++ src/mail/ngx_mail_auth_http_module.c	2021-03-09 12:55:40.877872000 -0500
+@@ -1135,10 +1135,10 @@
+     size_t                     len;
+     ngx_buf_t                 *b;
+     ngx_str_t                  login, passwd;
++    ngx_connection_t          *c;
+ #if (NGX_MAIL_SSL)
+     ngx_str_t                  verify, subject, issuer, serial, fingerprint,
+                                raw_cert, cert;
+-    ngx_connection_t          *c;
+     ngx_mail_ssl_conf_t       *sslcf;
+ #endif
+     ngx_mail_core_srv_conf_t  *cscf;
+@@ -1151,9 +1151,10 @@
+         return NULL;
+     }
+ 
++    c = s->connection;
++
+ #if (NGX_MAIL_SSL)
+ 
+-    c = s->connection;
+     sslcf = ngx_mail_get_module_srv_conf(s, ngx_mail_ssl_module);
+ 
+     if (c->ssl && sslcf->verify) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103091809.129I9bVg062526>