]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
fix build with OPENSSL_NO_TLSEXT (old openssl on ac). lighttpd issue 2547 auto/ac/lighttpd-1.4.34-3
authorElan Ruusamäe <glen@delfi.ee>
Mon, 3 Mar 2014 09:56:09 +0000 (11:56 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 3 Mar 2014 09:56:09 +0000 (11:56 +0200)
2547.diff [new file with mode: 0644]
lighttpd.spec

diff --git a/2547.diff b/2547.diff
new file mode 100644 (file)
index 0000000..b435711
--- /dev/null
+++ b/2547.diff
@@ -0,0 +1,15 @@
+URL: http://redmine.lighttpd.net/issues/2547
+
+Index: network.c
+===================================================================
+--- ./src/network.c    (revision 2936)
++++ ./src/network.c    (revision 2937)
+@@ -583,7 +583,7 @@
+ #ifdef OPENSSL_NO_TLSEXT
+       {
+-              data_config *dc = (data_config *)srv->config_context->data[i];
++              data_config *dc = (data_config *)srv->config_context->data[ndx];
+               if ((ndx > 0 && (COMP_SERVER_SOCKET != dc->comp || dc->cond != CONFIG_COND_EQ))
+                       || !s->ssl_enabled) {
+                       log_error_write(srv, __FILE__, __LINE__, "ss", "SSL:",
index 32263a83370c0cb275ebeb12a2ef692e83fb623b..ed708c99d775508a33c079b278e5f0d125248667 100644 (file)
@@ -30,7 +30,7 @@ Summary:      Fast and light HTTP server
 Summary(pl.UTF-8):     Szybki i lekki serwer HTTP
 Name:          lighttpd
 Version:       1.4.34
-Release:       2
+Release:       3
 License:       BSD
 Group:         Networking/Daemons/HTTP
 Source0:       http://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.bz2
@@ -102,6 +102,7 @@ Patch2:             %{name}-mod_h264_streaming.patch
 Patch3:                %{name}-branding.patch
 Patch5:                %{name}-mod_deflate.patch
 Patch6:                test-port-setup.patch
+Patch7:                2547.diff
 #Patch:                %{name}-modinit-before-fork.patch
 #Patch:                %{name}-errorlog-before-fork.patch
 URL:           http://www.lighttpd.net/
@@ -838,6 +839,7 @@ Plik monitrc do monitorowania serwera www lighttpd.
 %patch3 -p1
 %{?with_deflate:%patch5 -p1}
 %patch6 -p1
+%patch7 -p1
 
 rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
 
This page took 0.148195 seconds and 4 git commands to generate.