Package: nginx / 1.18.0-6.1

0002-Make-sure-signature-stays-the-same-in-all-nginx-buil.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Christos Trochalakis <ctrochalakis@debian.org>
Date: Wed, 30 Mar 2016 09:47:11 +0300
Subject: Make sure signature stays the same in all nginx builds

NGX_HTTP_HEADERS is part of nginx signature. When a dyn
modules is loaded the signature of the module is compared
to the one of the nginx binary.

dyn modules are build from nginx-full, so in order to make
them loadable in other flavors we need to make sure all the
binaries share the same signature.
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index ceff15e..3816fa1 100755
--- a/configure
+++ b/configure
@@ -58,6 +58,10 @@ if [ "$NGX_PLATFORM" != win32 ]; then
     . auto/unix
 fi
 
+# Debian
+# Make sure signature stays the same on all nginx flavors
+have=NGX_HTTP_HEADERS . auto/have
+
 . auto/threads
 . auto/modules
 . auto/lib/conf