Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2016 12:49:52 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408724 - in head/www: nginx nginx-devel
Message-ID:  <201602121249.u1CCnq4V084974@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Fri Feb 12 12:49:51 2016
New Revision: 408724
URL: https://svnweb.freebsd.org/changeset/ports/408724

Log:
  Add third-party brotli module.

Modified:
  head/www/nginx-devel/Makefile
  head/www/nginx-devel/distinfo
  head/www/nginx/Makefile
  head/www/nginx/distinfo

Modified: head/www/nginx-devel/Makefile
==============================================================================
--- head/www/nginx-devel/Makefile	Fri Feb 12 12:48:56 2016	(r408723)
+++ head/www/nginx-devel/Makefile	Fri Feb 12 12:49:51 2016	(r408724)
@@ -88,6 +88,7 @@ OPTIONS_DEFINE=	\
 	HTTP_UPSTREAM_STICKY \
 	HTTP_ZIP \
 	ARRAYVAR \
+	BROTLI \
 	DRIZZLE \
 	DYNAMIC_UPSTREAM \
 	ENCRYPTSESSION \
@@ -187,6 +188,7 @@ HTTP_UPSTREAM_FAIR_DESC=	3rd party upstr
 HTTP_UPSTREAM_STICKY_DESC=	3rd party upstream sticky module
 HTTP_ZIP_DESC=			3rd party http_zip module
 ARRAYVAR_DESC=			3rd party array_var module
+BROTLI_DESC=			3rd party brotli module
 DRIZZLE_DESC=			3rd party drizzlie module
 DYNAMIC_UPSTREAM_DESC=		3rd party dynamic_upstream module
 ENCRYPTSESSION_DESC=		3rd party encrypted_session module
@@ -929,6 +931,16 @@ GH_TAGNAME+=	v${NGINX_ARRAYVAR_VERSION}:
 CONFIGURE_ARGS+=--add-module=${WRKSRC_arrayvar}
 .endif
 
+.if ${PORT_OPTIONS:MBROTLI}
+NGINX_BROTLI_VERSION=	86998c6
+LIB_DEPENDS+=	libbrotlidec.so:${PORTSDIR}/devel/libbrotli \
+		libbrotlienc.so:${PORTSDIR}/devel/libbrotli
+GH_ACCOUNT+=	google:brotli
+GH_PROJECT+=	ngx_brotli:brotli
+GH_TAGNAME+=	${NGINX_BROTLI_VERSION}:brotli
+CONFIGURE_ARGS+=--add-module=${WRKSRC_brotli}
+.endif
+
 .if ${PORT_OPTIONS:MFORMINPUT}
 NGINX_FORMINPUT_VERSION=	0.07
 GH_ACCOUNT+=	calio:forminput

Modified: head/www/nginx-devel/distinfo
==============================================================================
--- head/www/nginx-devel/distinfo	Fri Feb 12 12:48:56 2016	(r408723)
+++ head/www/nginx-devel/distinfo	Fri Feb 12 12:49:51 2016	(r408724)
@@ -118,6 +118,8 @@ SHA256 (nginx-njs-466a655_GH0.tar.gz) = 
 SIZE (nginx-njs-466a655_GH0.tar.gz) = 133682
 SHA256 (openresty-array-var-nginx-module-v0.03_GH0.tar.gz) = f9892ec9a2e872d8aabeb2234d0d4c66cf85b8dbb2ca5c108a20c3d8c2111189
 SIZE (openresty-array-var-nginx-module-v0.03_GH0.tar.gz) = 9520
+SHA256 (google-ngx_brotli-86998c6_GH0.tar.gz) = 463a583cfbeacdf6d6db5630afaddc9eebeec44301ca68c660cc8fdf4580e5aa
+SIZE (google-ngx_brotli-86998c6_GH0.tar.gz) = 10890
 SHA256 (calio-form-input-nginx-module-v0.07_GH0.tar.gz) = c0c56cc697a290e98b88d4888bac8828041ef6f3049247d3cd3c63f2808d1e20
 SIZE (calio-form-input-nginx-module-v0.07_GH0.tar.gz) = 10563
 SHA256 (calio-iconv-nginx-module-v0.10_GH0.tar.gz) = 88e326eba7fdf9fd2376b1ba033b48cb0eee45136528cf5430ac9340088ce324

Modified: head/www/nginx/Makefile
==============================================================================
--- head/www/nginx/Makefile	Fri Feb 12 12:48:56 2016	(r408723)
+++ head/www/nginx/Makefile	Fri Feb 12 12:49:51 2016	(r408724)
@@ -85,6 +85,7 @@ OPTIONS_DEFINE=	\
 	HTTP_UPSTREAM_STICKY \
 	HTTP_ZIP \
 	ARRAYVAR \
+	BROTLI \
 	DRIZZLE \
 	ENCRYPTSESSION \
 	FORMINPUT \
@@ -179,6 +180,7 @@ HTTP_UPSTREAM_FAIR_DESC=	3rd party upstr
 HTTP_UPSTREAM_STICKY_DESC=	3rd party upstream sticky module
 HTTP_ZIP_DESC=			3rd party http_zip module
 ARRAYVAR_DESC=			3rd party array_var module
+BROTLI_DESC=			3rd party brotli module
 DRIZZLE_DESC=			3rd party drizzlie module
 ENCRYPTSESSION_DESC=		3rd party encrypted_session module
 FORMINPUT_DESC=			3rd party form_input module
@@ -891,6 +893,16 @@ GH_TAGNAME+=	v${NGINX_ARRAYVAR_VERSION}:
 CONFIGURE_ARGS+=--add-module=${WRKSRC_arrayvar}
 .endif
 
+.if ${PORT_OPTIONS:MBROTLI}
+NGINX_BROTLI_VERSION=	86998c6
+LIB_DEPENDS+=	libbrotlidec.so:${PORTSDIR}/devel/libbrotli \
+		libbrotlienc.so:${PORTSDIR}/devel/libbrotli
+GH_ACCOUNT+=	google:brotli
+GH_PROJECT+=	ngx_brotli:brotli
+GH_TAGNAME+=	${NGINX_BROTLI_VERSION}:brotli
+CONFIGURE_ARGS+=--add-module=${WRKSRC_brotli}
+.endif
+
 .if ${PORT_OPTIONS:MFORMINPUT}
 NGINX_FORMINPUT_VERSION=	0.07
 GH_ACCOUNT+=	calio:forminput

Modified: head/www/nginx/distinfo
==============================================================================
--- head/www/nginx/distinfo	Fri Feb 12 12:48:56 2016	(r408723)
+++ head/www/nginx/distinfo	Fri Feb 12 12:49:51 2016	(r408724)
@@ -114,6 +114,8 @@ SHA256 (openresty-xss-nginx-module-v0.04
 SIZE (openresty-xss-nginx-module-v0.04_GH0.tar.gz) = 10536
 SHA256 (openresty-array-var-nginx-module-v0.03_GH0.tar.gz) = f9892ec9a2e872d8aabeb2234d0d4c66cf85b8dbb2ca5c108a20c3d8c2111189
 SIZE (openresty-array-var-nginx-module-v0.03_GH0.tar.gz) = 9520
+SHA256 (google-ngx_brotli-86998c6_GH0.tar.gz) = 463a583cfbeacdf6d6db5630afaddc9eebeec44301ca68c660cc8fdf4580e5aa
+SIZE (google-ngx_brotli-86998c6_GH0.tar.gz) = 10890
 SHA256 (calio-form-input-nginx-module-v0.07_GH0.tar.gz) = c0c56cc697a290e98b88d4888bac8828041ef6f3049247d3cd3c63f2808d1e20
 SIZE (calio-form-input-nginx-module-v0.07_GH0.tar.gz) = 10563
 SHA256 (calio-iconv-nginx-module-v0.10_GH0.tar.gz) = 88e326eba7fdf9fd2376b1ba033b48cb0eee45136528cf5430ac9340088ce324



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602121249.u1CCnq4V084974>