svn commit: r393916 - head/www/nginx-devel
Sergey A. Osokin
osa at FreeBSD.org
Mon Aug 10 22:19:53 UTC 2015
Author: osa
Date: Mon Aug 10 22:19:51 2015
New Revision: 393916
URL: https://svnweb.freebsd.org/changeset/ports/393916
Log:
Add HTTP/2 protocol support.
Please read http://nginx.org/patches/http2/README.txt for details.
Modified:
head/www/nginx-devel/Makefile
head/www/nginx-devel/distinfo
Modified: head/www/nginx-devel/Makefile
==============================================================================
--- head/www/nginx-devel/Makefile Mon Aug 10 22:13:18 2015 (r393915)
+++ head/www/nginx-devel/Makefile Mon Aug 10 22:19:51 2015 (r393916)
@@ -52,6 +52,7 @@ OPTIONS_DEFINE= \
MAIL_SMTP \
MAIL_SSL \
SPDY \
+ HTTPV2 \
STREAM \
STREAM_SSL \
THREADS \
@@ -145,6 +146,7 @@ MAIL_POP3_DESC= Enable POP3 proxy modu
MAIL_SMTP_DESC= Enable SMTP proxy module
MAIL_SSL_DESC= Enable mail_ssl module
SPDY_DESC= Enable SPDY protocol support (SSL req.)
+HTTPV2_DESC= Enable HTTP/2 protocol support (SSL req.)
STREAM_DESC= Enable stream module
STREAM_SSL_DESC= Enable stream_ssl module (SSL req.)
THREADS_DESC= Enable threads support
@@ -818,12 +820,27 @@ GH_TAGNAME+= v${NGINX_XSS_VERSION}:xss
CONFIGURE_ARGS+=--add-module=${WRKSRC_xss}
.endif
+.if ${PORT_OPTIONS:MSPDY} && ${PORT_OPTIONS:MHTTPV2}
+IGNORE= current HTTP/2 implementation replaces SPDY module support, please disable SPDY
+.endif
+
.if ${PORT_OPTIONS:MSPDY}
NGINX_OPENSSL= yes
USE_HTTP_SSL= yes
CONFIGURE_ARGS+=--with-http_spdy_module
.endif
+.if ${PORT_OPTIONS:MHTTPV2}
+NGINX_OPENSSL= yes
+USE_HTTP_SSL= yes
+CONFIGURE_ARGS+=--with-http_v2_module
+USE_OPENSSL_PORT= yes
+NGINX_HTTPV2_VERSION= 1
+PATCH_SITES+= http://nginx.org/patches/http2/:httpv2
+PATCHFILES+= patch.http2-v${NGINX_HTTPV2_VERSION}_${PORTVERSION}.txt:httpv2
+PATCH_DIST_STRIP= -p1
+.endif
+
.if ${PORT_OPTIONS:MSTREAM}
CONFIGURE_ARGS+=--with-stream
.if ${PORT_OPTIONS:MSTREAM_SSL}
Modified: head/www/nginx-devel/distinfo
==============================================================================
--- head/www/nginx-devel/distinfo Mon Aug 10 22:13:18 2015 (r393915)
+++ head/www/nginx-devel/distinfo Mon Aug 10 22:19:51 2015 (r393916)
@@ -114,3 +114,5 @@ SHA256 (calio-form-input-nginx-module-v0
SIZE (calio-form-input-nginx-module-v0.07_GH0.tar.gz) = 10563
SHA256 (calio-iconv-nginx-module-v0.10_GH0.tar.gz) = 88e326eba7fdf9fd2376b1ba033b48cb0eee45136528cf5430ac9340088ce324
SIZE (calio-iconv-nginx-module-v0.10_GH0.tar.gz) = 12513
+SHA256 (patch.http2-v1_1.9.3.txt) = 14e37643c43e24ed7de9cc57bd4a082ff3b5d85423a998dc1a3226c9d00b1d6e
+SIZE (patch.http2-v1_1.9.3.txt) = 308749
More information about the svn-ports-all
mailing list