Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37420661
en ru br
ALT Linux repositórios
S:1.24.0-alt3
5.0: 0.8.15-alt1
4.1: 0.6.29-alt1.M41.2
4.0: 0.5.38-alt0.M40.1
+backports:0.5.33-alt1.M40.1
3.0: 0.1.45-alt1

Group :: Sistema/Servidores
RPM: nginx

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: cache-purge-fix-compatibility.patch
Download


From c7345057ad5429617fc0823e92e3fa8043840cef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Su=C5=82owicz=20Pawe=C5=82?= <Pawel.Sulowicz@grupaonet.pl>
Date: Thu, 2 Feb 2017 09:39:37 +0100
Subject: [PATCH 1/2] Fix compatibility with nginx-1.11.6+
---
 ngx_cache_purge_module.c | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/ngx_cache_purge_module.c b/ngx_cache_purge_module.c
index 62d3818..fd1ebde 100644
--- a/ngx_cache_purge_module.c
+++ b/ngx_cache_purge_module.c
@@ -492,7 +492,11 @@ typedef struct {
     ngx_str_t                      body_source;
 #  endif /* nginx_version < 1007008 */
 
+#  if (nginx_version >= 1011006)
+    ngx_http_complex_value_t      *method;
+#  else
     ngx_str_t                      method;
+#  endif /* nginx_version >= 1011006 */
     ngx_str_t                      location;
     ngx_str_t                      url;
 
From c8ca321b909cb3d9371db4509f1064045d7e0b1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Bie=C5=84kowski?= <jbienkowski311@gmail.com>
Date: Mon, 24 May 2021 13:23:16 +0200
Subject: [PATCH 2/2] Fix compatibility with nginx 1.19.3+ (#1)
* Fix compatibility with nginx 1.19.3+
* Changelog
---
 CHANGES                  | 6 ++++++
 ngx_cache_purge_module.c | 3 +++
 2 files changed, 9 insertions(+)
diff --git a/CHANGES b/CHANGES
index ead3cdf..afb9e78 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,9 @@
+2021-05-24    VERSION 2.5
+    * Fix compatibility with nginx-1.19.3+.
+
+2017-02-02    VERSION 2.4
+    * Fix compatibility with nginx-1.11.6+.
+
 2014-12-23    VERSION 2.3
     * Fix compatibility with nginx-1.7.9+.
 
diff --git a/ngx_cache_purge_module.c b/ngx_cache_purge_module.c
index fd1ebde..804e46f 100644
--- a/ngx_cache_purge_module.c
+++ b/ngx_cache_purge_module.c
@@ -487,6 +487,9 @@ typedef struct {
     ngx_array_t                   *cookie_domains;
     ngx_array_t                   *cookie_paths;
 #  endif /* nginx_version >= 1001015 */
+#  if (nginx_version >= 1019003)
+    ngx_array_t                   *cookie_flags;
+#  endif /* nginx_version >= 1019003 */
 
 #  if (nginx_version < 1007008)
     ngx_str_t                      body_source;
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009