better boring.patch

This commit is contained in:
Wonderfall
2016-05-31 21:54:41 +02:00
parent b7572650ca
commit 5b730a1ee7
2 changed files with 26 additions and 37 deletions

View File

@ -66,10 +66,6 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap
-e "s/\"Server: \" NGINX_VER CRLF/\"Server: ${SIGNATURE}\" NGINX_VER CRLF/g" \
src/http/ngx_http_header_filter_module.c \
&& patch -p1 < /tmp/boring.patch \
&& sed -i \
-e '/SSL_R_BLOCK_CIPHER_PAD_IS_WRONG/d' \
-e '/SSL_R_NO_CIPHERS_SPECIFIED/d' \
src/event/ngx_event_openssl.c \
&& CC=clang CXX=clang++ ./configure \
--prefix=/etc/nginx \
--sbin-path=/usr/local/sbin/nginx \